Poll task.

Returns the current processing state of a task.

While the task is running, returns status: processing with any stream events flushed since the last poll. Once the session completes, returns status: completed with result.message_id pointing to the final message. The completed result is consumed on first read — subsequent polls return 404.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
integer
required

The unique identifier of the agent.

string
required

The task ID (UUID session identifier).

Responses

Language
Credentials
Bearer
JWT
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json