For the complete documentation index, see llms.txt. This page is also available as Markdown.

Agents

List Agent Conversations

get

List all agent conversations for the authenticated user.

Authorizations
AuthorizationstringRequired

API key passed in the Authorization header. Format: <api-key>

Query parameters
filter[title]stringOptional

Filter conversations by title.

filter[feature_type]stringOptional

Filter conversations by feature type.

includestring · enumOptional

Comma-separated list of relationships to include. Available: messages.

Possible values:
sortstringOptional

Sort results. Prefix with - for descending. Available: id, title, created_at.

Responses
200

Successful response

application/json
objectOptional
get
/api/v1/agents/conversations

Start Agent Conversation

post

Start a new agent conversation. The agent will process the initial prompt asynchronously — poll the conversation for updated messages.

Authorizations
AuthorizationstringRequired

API key passed in the Authorization header. Format: <api-key>

Body
featurestringRequired

The feature type to use for the conversation (e.g. script_editor).

promptstring · max: 5000Required

The initial prompt message.

payloadobject · nullableOptional

Optional context payload passed to the agent.

Responses
post
/api/v1/agents/conversations

Get Agent Conversation

get

Get a single agent conversation by ID.

Authorizations
AuthorizationstringRequired

API key passed in the Authorization header. Format: <api-key>

Path parameters
conversationstringRequired

The unique identifier of the conversation.

Query parameters
includestring · enumOptional

Comma-separated list of relationships to include. Available: messages.

Possible values:
Responses
200

Successful response

application/json
objectOptional
get
/api/v1/agents/conversations/{conversation}

Reply to Agent Conversation

post

Send a follow-up message to an existing agent conversation. The agent processes the reply asynchronously — poll the conversation for updated messages.

Authorizations
AuthorizationstringRequired

API key passed in the Authorization header. Format: <api-key>

Path parameters
conversationstringRequired

The unique identifier of the conversation.

Body
messagestring · max: 5000Required

The reply message.

Responses
post
/api/v1/agents/conversations/{conversation}/reply

No content

Get Agent Token Usage

get

Get the current month's agent token usage and allowance for your organisation.

Authorizations
AuthorizationstringRequired

API key passed in the Authorization header. Format: <api-key>

Responses
200

Successful response

application/json
objectOptional
get
/api/v1/agents/usage

Last updated

Was this helpful?