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
name
string
agentId
string
prompt
string
appDb
string
continueAskId
string

ask id of an earlier base-agent ask to follow up in; empty starts a new thread

Response

Success

ask_id is "chat:<chat_id>" for base-agent asks, "agent:<task_id>" for named-agent runs.

askId
string
chatId
string
chatUrl
string
cursor
string
error
string
refreshedToken
string | null