/agents/fetch-output

Gets the output of the most recent container of an agent. This API endpoint is specifically designed so that it's easy to get incremental data from an agent.

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

Id of the agent to fetch output from.

number

If set, the returned output will start from the specified position.

string

If set, the output will be retrieved from the container after the specified previous container id.

enum

If set, allows to define which status was previously retrieved on user-side.

number

If set, the container's runtime events will be returned in the response starting from the provided previous runtime event index.

Headers
string

ID of the org that is perfoming the operation (not necessary when using a third party key)

Responses

400

Invalid output position provided.

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