BrainAPI
BrainAPI
ReferenceCore API

For the complete BrainAPI documentation index, see llms.txt. A markdown version of any docs page is available by appending .md to its URL. Docs MCP: /docs/mcp.

BrainAPI Tasks API

Inspect asynchronous task status and results.

GET
/tasks/

Get Tasks. See the BrainAPI developer documentation for request, response, authentication, and retry semantics.

Authorization

BrainPAT<token>

BrainAPI personal access token.

In: header

Header Parameters

X-Brain-ID?string

Preferred brain scope. Query/body/multipart fallbacks remain supported.

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

curl -X GET "https://example.com/tasks/"
{  "tasks": [    {      "error": "string",      "id": "string",      "result": null,      "stage": "string",      "status": "string",      "task_id": "string"    }  ]}
GET
/tasks/{task_id}

Get the result of a task by its ID.

Authorization

BrainPAT<token>

BrainAPI personal access token.

In: header

Path Parameters

task_id*Task Id

Header Parameters

X-Brain-ID?string

Preferred brain scope. Query/body/multipart fallbacks remain supported.

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

curl -X GET "https://example.com/tasks/string"
{  "error": "string",  "id": "string",  "result": null,  "stage": "string",  "status": "string",  "task_id": "string"}
Edit on GitHub

Last updated on