v2

latestOpenAPI 3.1.02026-08-08556285514.3 KB
OCR Processing

Process Ocr

Process document with OCR using DeepSeek-OCR service

Flow:

  1. Authenticate user (JWT token)
  2. Check user's token balance
  3. Upload file to S3 storage
  4. Forward request to DeepSeek with company API key
  5. Store structured data (tables, JSON, etc.)
  6. Track token usage
  7. Return OCR results with structured data
post/api/ocr/process

Response

Successful Response

document_idstring required
textstring required
bounding_boxesobject[] nullable
api_dimensionsobject nullable
structured_dataobject nullable
tokens_usedinteger required
tokens_remaininginteger required
processing_time_msinteger required