Skip to main content
POST
/
v1
/
tasks
Open an agent task
curl --request POST \
  --url https://sync.ablo.app/v1/tasks \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "prompt": "<string>",
  "parentTaskId": "<string>",
  "metadata": {}
}
'
{
  "id": "<string>",
  "agentId": "<string>",
  "organizationId": "<string>",
  "surface": "<string>",
  "parentTaskId": "<string>",
  "onBehalfOfUserId": "<string>",
  "openedAt": "2023-11-07T05:31:56Z",
  "closedAt": "2023-11-07T05:31:56Z"
}

Documentation Index

Fetch the complete documentation index at: https://docs.abloatai.com/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

API key (sk_live_…) or Biscuit capability token. The same header carries both — the server discriminates by token shape.

Body

application/json
prompt
string
required

Input prompt for the agent turn. Hashed for audit + stored under separate retention.

Maximum string length: 256000
surface
enum<string>
Available options:
chat_deck,
chat_spreadsheet,
chat_document,
chat_unified,
mcp,
agent_worker,
eval,
other
parentTaskId
string

When set, links this turn under a parent. Parent must belong to the same agent + org.

metadata
object

Response

Task opened

id
string
object
enum<string>
Available options:
task
agentId
string
organizationId
string
surface
string
parentTaskId
string | null
onBehalfOfUserId
string | null
openedAt
string<date-time>
closedAt
string<date-time> | null