List agent task messages
Return every step-by-step message the agent has emitted while
working on this task. Combine with GET /v1/agents/{task_id}
for the final result. Polled by clients that want to render a
live reasoning trace.
Authentication
AuthorizationBearer
Pass your EmpirioLabs API key as a bearer token. The Anthropic-style
x-api-key header is also accepted on every endpoint.
Path parameters
task_id
Agent task id returned when the task started.
Response
Messages collected so far.
object
model
task_id
result
The agent’s messages: raw, every message event, and extracted, the same events grouped into thinking, content, and files.
Errors
401
Unauthorized Error
403
Forbidden Error
404
Not Found Error
429
Too Many Requests Error
