Skip to main content
POST

Authorizations

Authorization
string
header
required

User-bound credential carrying an identity: either a session JWT or a user access token (at:*) generated from the user settings UI. Send as Authorization: Bearer <token>. The organization and the permissions applied are those of this user.

Path Parameters

agent_id
string
required

Agent ID (as returned by the Agent Creator API).

Maximum string length: 64
Pattern: ^[a-zA-Z0-9_-]+$

Body

application/json
mode
enum<string>
default:batch
Available options:
batch,
realtime
Maximum string length: 16
conversation_ids
string[]

Conversations to analyze. Required for realtime.

model
string

LLM used for the analysis. Defaults to the agent's model.

Maximum string length: 64
force
boolean

Realtime only - re-analyze conversations that already have an insight.

Response

Analysis queued (batch) or completed (realtime).

status
enum<string>
Available options:
queued
queue_id
string
Example:

"aq_8f2c1e"

mode
enum<string>
Available options:
batch
message
string
Example:

"Analysis queued for processing"