Tasks
List, read and register tasks and their spec versions.
AuthorizationBearer <token>
An API key (ms_live_...), an MCP OAuth access token, or the admin token
In: header
Response Body
application/json
curl -X GET "https://example.com/v1/tasks"{ "tasks": [ { "slug": "string", "version": 0, "snapshotHash": "string", "mode": "off", "deferralShare": 0, "lastGatePassed": true } ]}AuthorizationBearer <token>
An API key (ms_live_...), an MCP OAuth access token, or the admin token
In: header
Path Parameters
slug*string
Response Body
application/json
application/json
curl -X GET "https://example.com/v1/tasks/string"{ "task": { "slug": "string", "version": 0, "snapshotHash": "string", "mode": "off", "deferralShare": 0, "lastGatePassed": true }}{ "error": "not_found"}AuthorizationBearer <token>
An API key (ms_live_...), an MCP OAuth access token, or the admin token
In: header
Path Parameters
slug*string
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
application/json
application/json
curl -X PUT "https://example.com/v1/tasks/string" \ -H "Content-Type: application/json" \ -d '{ "version": 1, "snapshotHash": "string", "gitSha": "string", "spec": { "property1": null, "property2": null } }'{ "task": { "slug": "string", "version": 0, "snapshotHash": "string", "mode": "off", "deferralShare": 0, "lastGatePassed": true }, "version": { "id": "string", "version": 0, "snapshotHash": "string", "gitSha": "string", "createdAt": "string" }}{ "error": "string", "issues": [ { "message": "string", "path": [ "string" ] } ]}{ "error": "unauthorized"}{ "error": "forbidden"}{ "error": "not_found"}AuthorizationBearer <token>
An API key (ms_live_...), an MCP OAuth access token, or the admin token
In: header
Path Parameters
slug*string
Response Body
application/json
curl -X GET "https://example.com/v1/tasks/string/versions"{ "versions": [ { "id": "string", "version": 0, "snapshotHash": "string", "gitSha": "string", "createdAt": "string" } ]}