Create Job
JOBS
Create Job
POST
Create Job
Create a one-off messaging job. Jobs are used for fire-and-forget message processing where the agent processes a prompt and returns a response.Documentation Index
Fetch the complete documentation index at: https://docs.elizaos.ai/llms.txt
Use this file to discover all available pages before exploring further.
This endpoint requires API key authentication via the
X-API-Key header.Request Body
UUID of the user sending the message
The message content/prompt to process (max 50KB)
UUID of the agent to process the message. If not provided, uses the first available agent.
Job timeout in milliseconds (min: 1000, max: 300000)
Additional metadata to attach to the job (max 10KB)
Response
Unique job identifier for tracking
Initial job status:
pending or processingUnix timestamp of job creation
Unix timestamp when the job will timeout
Example Request
Job Status Values
| Status | Description |
|---|---|
pending | Job created, waiting for processing |
processing | Agent is processing the message |
completed | Job finished successfully |
failed | Job failed with an error |
timeout | Job timed out waiting for response |

