OP Inference
API reference

List tasks

GET
/v1/tasks

The latest version of every task your key may call: a key may call a task only if it may use every model the task lists. Each entry carries its input and output schema and an estimated price. Accuracy targets, each a target and not a measurement: field F1 of at least 0.90 for receipt-extract and entities, and at least 0.80 for keywords, scored against a committed corpus of at least 50 cases per task.

Authorization

bearerAuth
headerAuthorizationBearer <token>

Your API key, sent as Authorization: Bearer <key>.

Response Body

The tasks.

application/json
  1. response
object*string
data*array<>
curl -X GET "https://example.com/v1/tasks" \  -H "Authorization: Bearer $OP_API_KEY"
{  "object": "list",  "data": [    {      "name": "string",      "version": 0,      "description": "string",      "input_schema": {},      "output_schema": {},      "price": {        "estimate": true,        "usd": "string",        "input_tokens": 0,        "output_tokens": 0      }    }  ]}