Models

List OCR models

GET
/models/ocr

Returns the hosted OCR model registry with current capabilities, option defaults, retail page prices, and availability. Clients should discover this endpoint instead of hard-coding model IDs or provider-specific options.

Authorization

bearerAuth
AuthorizationBearer <token>

Existing Eigenpal API key presented as a bearer token.

In: header

Response Body

application/json

application/json

application/json

application/json

curl -X GET "https://example.com/models/ocr" \  -H "Authorization: Bearer $OPENPARSER_API_KEY"
{  "data": [    {      "id": "string",      "label": "string",      "is_default": true,      "provider": {        "key": "string",        "label": "string",        "logo": "string",        "logo_data": {          "title": "string",          "view_box": "string",          "paths": [            {              "d": "string",              "clip_rule": "evenodd",              "fill_opacity": "string"            }          ]        }      },      "guidance": {        "summary": "string",        "best_for": "string",        "trade_off": "string",        "output": "string"      },      "benchmark": {        "score": 0,        "version": "string",        "qualification": "string",        "source_url": "http://example.com"      },      "output_summary": "string",      "capabilities": {        "parse": true,        "extract_source": true,        "markdown": true,        "regions": true,        "options": {          "property1": true,          "property2": true        }      },      "option_defaults": {        "property1": null,        "property2": null      },      "option_controls": [        {          "key": "string",          "label": "string",          "summary": "string",          "kind": "boolean",          "choices": [            {              "value": "string",              "label": "string"            }          ],          "placeholder": "string",          "nullable_sentinel": "string"        }      ],      "pricing": {        "usd_per_page": 0,        "basis": "customer_retail",        "configurations": [          {            "label": "string",            "usd_per_page": 0,            "options": {              "property1": true,              "property2": true            }          }        ]      },      "availability": "available"    }  ]}
{  "error": {    "code": "unauthorized",    "message": "invalid API key",    "request_id": "req_01h2example",    "retryable": false  }}
{  "error": {    "code": "forbidden",    "message": "API key lacks required scope",    "request_id": "req_01h2example",    "retryable": false  }}

{  "error": {    "code": "rate_limited",    "message": "request rate limit exceeded",    "request_id": "req_01h2example",    "retryable": true  }}