Skip to main content
POST
cURL

Authorizations

Authorization
string
header
required

API key or UI session JWT passed as a Bearer token.

Headers

AiQL-Workspace
string
required

ID of the workspace the request operates on.

Path Parameters

id
string
required

Body

application/json
content
string
required

Follow-up user prompt.

run_id
string | null

In-flight run to signal; starts a new workflow when absent or signal fails.

interactionMode
enum<string>
default:ask

Inquiry interaction mode for a new run.

Available options:
ask,
reason,
build
message_history
Message History · object[] | null

Optional history override when starting a new run.

Response

Successful Response

chat_id
string
required
run_id
string
required
channel
string
required
token
string
required
subscription_token
string
required
ws_url
string
required
since
StreamPosition · object | null