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
chatId
string
includeCosts
boolean

Response

Success

usage
LlmUsage · object[]
contextWindowUsed
number<double>
estimatedCost
number<double> | null
estimatedComputeCost
number<double> | null
sandboxId
string | null
estimatedComputeAcus
number<double> | null