Skip to main content
POST
TypeScript (SDK)

Authorizations

tql_api_key
string
header
required

Headers

Connect-Protocol-Version
enum<number>
required

Define the version of the Connect protocol

Available options:
1
Connect-Timeout-Ms
number

Define the timeout, in ms

Body

application/json
cellId
string
editedContext
string

Response

Success

success
boolean
message
string

range: [0, 1]

status
enum<string>

Estimated LLM-token cost (USD, list model prices). LLM only.

Available options:
STATUS_UNKNOWN,
STATUS_DRAFT,
STATUS_PENDING,
STATUS_REJECTED,
STATUS_APPLIED
resumed
boolean

Estimated sandbox/compute cost for this chat (USD): chat sandbox-seconds → ACUs → USD at the org's effective rate. Add to estimated_cost for the thread's total cost. Requires the console rate (0/omitted if unavailable).

resumeError
string

The chat's sandbox id ({orgID}-{chatID}), set when the thread used any sandbox compute. Lets the UI deep-link to the sandbox detail. Empty/omitted when the thread had no sandbox usage.