GET
/tasks List tasks
Mission Control tasks. Requires `tasks:read`.
Authenticate with
Authorization: Bearer obk_live_xxx. See authentication. Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
X-Workspace-Id | header | string | required | The workspace to scope the request to. Can also be passed as a `workspace_id` query parameter. |
status | query | string | optional | |
type | query | string | optional | |
limit | query | integer | optional | Maximum number of items to return. |
Responses
200 OK
| Field | Type | Description |
|---|---|---|
workspace_id | string | |
tasks | Task[] |
Example request
curl --request GET \
--url https://app.orchly.ai/api/v1/tasks \
--header 'Authorization: Bearer obk_live_xxx' \
--header 'X-Workspace-Id: ws_xxx'const res = await fetch(`https://app.orchly.ai/api/v1/tasks`, {
method: 'GET',
headers: {
'Authorization': 'Bearer obk_live_xxx',
'X-Workspace-Id': 'ws_xxx',
},
});
const data = await res.json();import requests
resp = requests.get(
"https://app.orchly.ai/api/v1/tasks",
headers={
"Authorization": "Bearer obk_live_xxx",
"X-Workspace-Id": "ws_xxx",
},
)
data = resp.json() Example response
A 200 response. Dynamic fields are shown as their type.
{
"workspace_id": "string",
"tasks": [
{
"id": "string",
"type": "string",
"title": "string",
"summary": "string",
"status": "string",
"priority_score": 0,
"origin": "string",
"assigned_agent_id": "string",
"current_thread_id": "string",
"scheduled_for": "string",
"created_at": "string"
}
]
}