parse
Parse a document asynchronously
Changed onAdmit a durable parse job and return immediately.
Example (multipart/form-data):
curl -X POST 'https://api.openparser.dev/parse/async' \
-H 'Authorization: Bearer YOUR_API_KEY' \
-H "Idempotency-Key: $(uuidgen 2>/dev/null || openssl rand -hex 16)" \
-F 'request={"ocr_model":"paddleocr-vl-1.6","output_format":"openparser@1"};type=application/json' \
-F 'file=@./document.pdf'
post/parse/async
Request
- Base URL: https://api.openparser.dev
- URL: https://api.openparser.dev/parse/async
- Auth: HTTP bearer
Headers
Idempotency-Keystring required
Client-supplied idempotency key. Required on every parse or extract POST. Must be unique per distinct request body for a given tenant and operation.
Response
Durable non-terminal job admitted. Returned by async endpoints and by sync endpoints when the wait limit expires before a terminal status.
Example response
{
"id": "opj_V1StGXR8_Z5jdHi6B-myT"
}Changes
- breaking
added 'propertyNames' constraint to the request property
/ - warning
removed the request property
// - warning
removed the request property
// - warning
removed the request property
//
- breaking