Start an agent task
Authentication
Pass your EmpirioLabs API key as a bearer token. The Anthropic-style
x-api-key header is also accepted on every endpoint.
Request
Instruction for the agent. For a new task this is the initial prompt; for a follow-up (when task_id is set) this is the new message added mid-run.
Optional. When set, the call sends input as a follow-up message to this existing task instead of creating a new one.
Files for the agent to work with (any type, audio, video, images, documents, data). Each item is a URL string or an object with url, filename, and mime_type. Files are placed in the agent’s workspace before the task starts. Up to 10 files per message.
Stream Server-Sent Events as the agent works. When false, the call blocks until the task reaches a terminal state or max_wait_seconds elapses.
Upstream agent profile. Available profiles depend on the model (e.g. Manus exposes manus-1.6).
How often the worker polls upstream while waiting on the task. Only relevant when stream is false.
Maximum time the worker will block on a non-streaming call before returning the in-progress task status.
Skip the EmpirioLabs Markdown wrapper around the agent run. Aliases raw, passthrough, raw_response.
Response
Task accepted. Poll /v1/agents/{task_id} for status.
