Skip to Content
Extract

Suggest an extraction schema

POST
/suggest-schema

Suggest an extraction JSON Schema from a tenant-owned succeeded parse result. Optional hint is capped at 500 characters. Definitive failures return schema_suggestion_failed.

Authorization

bearerAuth
AuthorizationBearer <token>

Existing Eigenpal API key presented as a bearer token.

In: header

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Suggest an extraction JSON Schema from a tenant-owned succeeded parse job. Optional hint is caller guidance capped at 500 characters.

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

curl -X POST "https://example.com/suggest-schema" \  -H "Authorization: Bearer $OPENPARSER_API_KEY" \  -H "Content-Type: application/json" \  -d '{    "parse_job_id": "string"  }'
{  "name": "string",  "schema": {    "property1": null,    "property2": null  }}