Create an agent run
Creates a new agent run
Authentication
AuthorizationBearer
Bearer authentication of the form Bearer <token>, where token is your auth token.
Request
This endpoint expects an object.
type
The agent type to use for this agent run
input
The input prompt for the agent run
thread_id
Optional agent thread ID in which to execute the agent run
Response
agent run created within existing agent thread
object
Object type identifier.
id
Unique identifier for the agent run.
created_at
Timestamp when the agent run record was created.
updated_at
Timestamp when the agent run record was last updated.
status
Current lifecycle status of the agent run.
Allowed values:
started_at
Timestamp when the agent run started.
ended_at
Timestamp when the agent run finished.
steps
Top-level execution steps for this run, filtered by run_id. Only included when requesting run details with step state.