Skip to main content
GET
/
tasks
List Tasks
curl --request GET \
  --url https://api.miteos.com/tasks \
  --header 'Authorization: Bearer <token>'
{
  "tasks": [
    {
      "id": "<string>",
      "prompt": "<string>",
      "status": "<string>",
      "total_tokens_used": 123,
      "total_cost_cents": 123,
      "created_at": "2023-11-07T05:31:56Z",
      "completed_at": "2023-11-07T05:31:56Z",
      "subtasks": [
        {
          "id": "<string>",
          "agent_type": "<string>",
          "prompt": "<string>",
          "status": "<string>",
          "tokens_used": 123,
          "model_used": "<string>"
        }
      ]
    }
  ],
  "total": 123
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Query Parameters

limit
integer
default:20
offset
integer
default:0

Response

Successful Response

tasks
TaskResponse · object[]
required
total
integer
required