Skip to main content
POST
Start Thread

Authorizations

Authorization
string
header
required

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

Query Parameters

internal_user_id
string

Override user ID for system operations (optional)

Body

application/json

Request model for async chat endpoint.

organization_id
string
required
query
string
default:""
thread_id
string | null
llm_config
ModelConfig · object | null

Configuration for model selection and reasoning effort.

user_timezone
string | null
images
ImageInput · object[] | null
file_uploads
FileUploadMetadata · object[] | null
force_architecture
enum<string> | null
Available options:
monolith,
sandbox,
deepagents
source
enum<string> | null
Available options:
typed,
suggestion
idempotency_key
string | null

Response

Successful Response