Tasks API: Create, Monitor, and Cancel Agent Tasks
REST API reference for creating, listing, cancelling, and downloading deliverables from Miteos AI agent tasks. Includes all request and response schemas.
Tasks are the core unit of work in Miteos. When you create a task, the platform spins up one or more AI agents to carry out your prompt autonomously — researching, building, analysing, or executing actions on your behalf. Each task moves through a lifecycle from pending all the way to complete or failed, and produces deliverable files you can download when the work is done.
Every request must include an Authorization: Bearer <token> header. Use a mt_live_ prefixed token for production and a mt_test_ prefixed token for sandbox testing.
Create a new task and dispatch agents to fulfil the prompt. The response returns immediately with a pending task object — agents begin working asynchronously.
How independently agents act before pausing for human approval. Range 0–100. At 0, agents request approval for every action; at 100, they proceed without interruption.
{ "id": "task_01hwxyz4k8p3mq9rbn2csved", "status": "pending", "prompt": "Research the top 5 open-source vector databases and produce a comparison report as a Markdown file.", "config": { "max_agents": 3, "autonomy_level": 70, "auto_deploy": false, "deploy_target": null }, "created_at": "2025-01-15T10:23:44Z"}
Stop a running or paused task immediately. All active agents are terminated and no further credits are charged. Completed work and any deliverables already produced are preserved.
The unique deliverable file ID (e.g. dlvr_01hwxyzb2c9pk5rt8nv7gmwxq).
The download_url included in each deliverable from GET /tasks/{id}/deliverables is a pre-signed CDN link that lets you download without an Authorization header — useful for browser-side downloads or sharing files with teammates.
The response is a binary stream with the appropriate Content-Type and Content-Disposition headers set. There is no JSON response body for this endpoint.