Groundeddocs
ReferenceAdmin

Read a built-in sample page with an OCR backend (platform admins)

POST/v1/admin/parsing/test

Fields left out use the saved settings, so a backend can be tested before OCR is turned on. A backend that fails is a result with ok false and its error, not an error response. A vision model's test costs tokens.

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

curl -X POST "https://example.com/v1/admin/parsing/test" \  -H "Content-Type: application/json" \  -d '{}'
{  "data": {    "ok": true,    "backend": "tesseract",    "text": "string",    "expected": "string",    "confidence": 0.1,    "latencyMs": 0,    "tokensIn": 0,    "tokensOut": 0,    "error": "string"  }}