Skip to main content
POST
Send task input

Authorizations

Authorization
string
header
required

Company API key (mwk_) or personal access token (mel_). A PAT requires X-Workspace-ID on company-scoped routes. An API key implies its own company.

Headers

X-Workspace-ID
string<uuid>

Company UUID for a personal token on company-scoped operations. A company API key already binds its company.

Path Parameters

id
string
required

id from the corresponding authorized response.

Body

application/json
execution
object | null
mcp_servers
object[]

At most 10 servers with unique, non-reserved names. Each server uses exactly one of a remote HTTPS url or a stdio command. headers belong to remote servers; args and env belong to stdio servers. The encrypted set is limited to 64 KiB; the server rejects a larger sealed set with HTTP 413. This encrypted-size limit cannot be measured as JSON character count. Header and environment values are write-only; GET returns McpServerSummary objects.

Maximum array length: 10
content
string
attachment_ids
string[]
client_request_id
string
fresh_session
boolean
max_attempts
integer | null

Response

TaskInputResponse.

message_id
string
required
run_id
string
required
queued
boolean
required
attachment_ids
string[]
required
created_at
string
required