Review and labelled items

Queue items for human review, decide them, and read the labelled dataset items.

POST
/v1/tasks/{slug}/review-items

Authorization

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 POST "https://example.com/v1/tasks/string/review-items" \  -H "Content-Type: application/json" \  -d '{    "items": [      {        "inputHash": "string"      }    ]  }'
{  "upserted": 0}
{  "error": "string",  "issues": [    {      "message": "string",      "path": [        "string"      ]    }  ]}
{  "error": "unauthorized"}
{  "error": "forbidden"}
{  "error": "not_found"}
GET
/v1/tasks/{slug}/review-queue

Authorization

AuthorizationBearer <token>

An API key (ms_live_...), an MCP OAuth access token, or the admin token

In: header

Path Parameters

slug*string

Query Parameters

limit?integer

Response Body

application/json

application/json

curl -X GET "https://example.com/v1/tasks/string/review-queue"
{  "items": [    {      "id": "string",      "inputHash": "string",      "input": null,      "teacherOutputs": null,      "agreement": true,      "reviewState": "none"    }  ]}
{  "error": "string",  "issues": [    {      "message": "string",      "path": [        "string"      ]    }  ]}
POST
/v1/review-queue/{itemId}/decision

Authorization

AuthorizationBearer <token>

An API key (ms_live_...), an MCP OAuth access token, or the admin token

In: header

Path Parameters

itemId*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 POST "https://example.com/v1/review-queue/string/decision" \  -H "Content-Type: application/json" \  -d '{    "verdict": "accept",    "reviewer": "string"  }'
{  "item": {    "id": "string",    "inputHash": "string",    "input": null,    "teacherOutputs": null,    "agreement": true,    "reviewState": "none"  }}
{  "error": "string",  "issues": [    {      "message": "string",      "path": [        "string"      ]    }  ]}
{  "error": "unauthorized"}
{  "error": "forbidden"}
{  "error": "not_found"}
POST
/v1/review-queue/decisions

Authorization

AuthorizationBearer <token>

An API key (ms_live_...), an MCP OAuth access token, or the admin token

In: header

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

application/json

curl -X POST "https://example.com/v1/review-queue/decisions" \  -H "Content-Type: application/json" \  -d '{    "itemIds": [      "string"    ],    "verdict": "accept",    "reviewer": "string"  }'
{  "items": [    {      "id": "string",      "inputHash": "string",      "input": null,      "teacherOutputs": null,      "agreement": true,      "reviewState": "none"    }  ],  "missing": [    "string"  ]}
{  "error": "string",  "issues": [    {      "message": "string",      "path": [        "string"      ]    }  ]}
{  "error": "unauthorized"}
{  "error": "forbidden"}
GET
/v1/tasks/{slug}/dataset-items

Authorization

AuthorizationBearer <token>

An API key (ms_live_...), an MCP OAuth access token, or the admin token

In: header

Path Parameters

slug*string

Query Parameters

state?string
limit?integer

Response Body

application/json

application/json

curl -X GET "https://example.com/v1/tasks/string/dataset-items"
{  "items": [    {      "id": "string",      "inputHash": "string",      "input": null,      "teacherOutputs": null,      "agreement": true,      "reviewState": "none",      "finalOutput": null    }  ]}
{  "error": "string",  "issues": [    {      "message": "string",      "path": [        "string"      ]    }  ]}