Runs an agent schedule.

Immediately starts a new agent session for the selected schedule. <Check title="Required Permissions" icon="key">Any authenticated user.</Check>

Authentication

AuthorizationBearer

Bearer authentication of the form Bearer <token>, where token is your auth token.

Path parameters

agentIdstringRequiredformat: "uuid"
The agent id.
scheduleIdstringRequiredformat: "uuid"
The schedule id.

Response

OK
idstringOptionalformat: "uuid"
The thread id.
threadRunIdstring or nullOptionalformat: "uuid"
The current run id.
acceptedMessageIdstring or nullOptionalformat: "uuid"

The accepted first-message id, or null when the thread was created without a message.

typestring or nullOptional
The thread type.
titlestring or nullOptional
The thread title.
statusenumOptional

The creation result: ready without a first message, accepted with a first message, queued when the first message waits for a run, or failed to start.

createdOnstring or nullOptionalformat: "date-time"
The creation timestamp.
createdBystringOptionalformat: "uuid"
The id of the user who created the thread.
updatedOnstring or nullOptionalformat: "date-time"
The last update timestamp.
updatedBystringOptionalformat: "uuid"
The id of the user who last updated the thread.
agentIdstring or nullOptionalformat: "uuid"
The custom agent assigned to the thread.
projectIdstring or nullOptionalformat: "uuid"
The associated project id.
taskIdstring or nullOptionalformat: "uuid"
The associated task id.
clientIdstring or nullOptionalformat: "uuid"
The associated client id.
documentIdstring or nullOptionalformat: "uuid"
The associated document id.

Errors

400
Bad Request Error
401
Unauthorized Error
404
Not Found Error