PdfParse API API

PdfParse REST API for project-scoped tables, rows, documents, and jobs.

GitHub OpenAPI

Operations 46

GET /health Health check
GET /openapi.json Fetch OpenAPI document
GET /docs Swagger UI HTML
POST /tables Create table
GET /tables List tables
GET /tables/{table_id} Get table
PATCH /tables/{table_id} Update table
DELETE /tables/{table_id} Delete table
POST /rows Insert row
GET /rows List rows
POST /rows/search Query rows
PATCH /rows/{row_id} Update row
DELETE /rows/{row_id} Delete row
GET /documents List documents
GET /documents/{document_id} Get document
DELETE /documents/{document_id} Delete a document, source file, and extracted rows
POST /documents/{document_id}/route Manually route a document and start extraction
GET /documents/{document_id}/attempts List extraction attempts for a document
GET /tables/{table_id}/failed-attempts List latest failed extraction attempts for a table
POST /jobs Create extraction job
GET /jobs List recent extraction jobs
GET /jobs/{job_id} Get job
POST /uploads Create a TUS resumable upload
HEAD /uploads/{upload_id} Read a TUS upload offset
PATCH /uploads/{upload_id} Append bytes to a TUS upload
POST /webhooks Create a webhook endpoint
GET /webhooks List webhook endpoints
PATCH /webhooks/{id} Update a webhook endpoint
DELETE /webhooks/{id} Delete a webhook endpoint and its deliveries
GET /webhooks/{id}/deliveries List webhook delivery attempts
POST /routing-rules Create a document routing rule
GET /routing-rules List document routing rules
GET /routing-rules/{id} Get a document routing rule
PATCH /routing-rules/{id} Update a document routing rule
DELETE /routing-rules/{id} Delete a document routing rule
POST /splitters Create a page-range splitter draft
GET /splitters List splitters
POST /splitters/logical Create a logical splitter draft for mixed documents
GET /splitters/{id} Get a splitter and its published versions
PATCH /splitters/{id} Update a splitter draft
DELETE /splitters/{id} Delete an unpublished splitter or archive a published splitter
PATCH /splitters/{id}/logical Update a logical splitter draft
POST /splitters/{id}/publish Publish an immutable splitter version
POST /splitters/{id}/test Preview a splitter without writing document segments
POST /splitters/{id}/run Run a published page-range splitter on a stored document
POST /sql/query Run a read-only SQLite query

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/pdfparse-net:pdfparse-api-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

pdfparse-net-api-openapi.json Raw ↑
{"openapi":"3.0.3","info":{"title":"PdfParse API","version":"1.0.0","description":"PdfParse REST API for project-scoped tables, rows, documents, and jobs."},"servers":[{"url":"/v1","description":"Versioned API server"}],"tags":[{"name":"System"},{"name":"Tables"},{"name":"Rows"},{"name":"Documents"},{"name":"Jobs"},{"name":"Uploads"},{"name":"Webhooks"},{"name":"Extraction Attempts"},{"name":"Routing Rules"},{"name":"Splitters"},{"name":"SQL"}],"components":{"securitySchemes":{"BearerAuth":{"type":"http","scheme":"bearer","bearerFormat":"API Key","description":"Project-scoped user API key"}},"schemas":{},"parameters":{}},"paths":{"/health":{"get":{"tags":["System"],"summary":"Health check","responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"string"}},"required":["status"]}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"},"details":{"type":"object","additionalProperties":{"nullable":true}}},"required":["code","message"]}},"required":["error"]}}}},"500":{"description":"Workflow error","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"},"details":{"type":"object","additionalProperties":{"nullable":true}}},"required":["code","message"]}},"required":["error"]}}}}}}},"/openapi.json":{"get":{"tags":["System"],"summary":"Fetch OpenAPI document","responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":{"nullable":true}}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"},"details":{"type":"object","additionalProperties":{"nullable":true}}},"required":["code","message"]}},"required":["error"]}}}},"500":{"description":"Workflow error","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"},"details":{"type":"object","additionalProperties":{"nullable":true}}},"required":["code","message"]}},"required":["error"]}}}}}}},"/docs":{"get":{"tags":["System"],"summary":"Swagger UI HTML","responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":{"nullable":true}}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"},"details":{"type":"object","additionalProperties":{"nullable":true}}},"required":["code","message"]}},"required":["error"]}}}},"500":{"description":"Workflow error","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"},"details":{"type":"object","additionalProperties":{"nullable":true}}},"required":["code","message"]}},"required":["error"]}}}}}}},"/tables":{"post":{"tags":["Tables"],"summary":"Create table","security":[{"BearerAuth":[]}],"parameters":[{"schema":{"type":"string","minLength":1,"description":"Scopes replay protection to the authenticated project, method, and route for 24 hours."},"required":false,"description":"Scopes replay protection to the authenticated project, method, and route for 24 hours.","name":"Idempotency-Key","in":"header"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"name":{"type":"string","minLength":1},"columns":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string"},"prompt":{"type":"string"},"primaryKey":{"type":"boolean"},"unique":{"type":"boolean"},"autoIncrement":{"type":"boolean"},"nullable":{"type":"boolean"},"reanalyzeExisting":{"type":"boolean"},"type":{"type":"string","enum":["text","number","date","boolean","foreign_key"]},"referencedTable":{"type":"string"},"referencedColumn":{"type":"string"},"parentTable":{"type":"string"}},"required":["name","prompt"]},"minItems":1},"inlineArrays":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string"},"columns":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string"},"prompt":{"type":"string"},"primaryKey":{"type":"boolean"},"unique":{"type":"boolean"},"autoIncrement":{"type":"boolean"},"nullable":{"type":"boolean"},"reanalyzeExisting":{"type":"boolean"},"type":{"type":"string","enum":["text","number","date","boolean","foreign_key"]},"referencedTable":{"type":"string"},"referencedColumn":{"type":"string"},"parentTable":{"type":"string"}},"required":["name","prompt"]}}},"required":["name","columns"]}},"childTables":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string"},"columns":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string"},"prompt":{"type":"string"},"primaryKey":{"type":"boolean"},"unique":{"type":"boolean"},"autoIncrement":{"type":"boolean"},"nullable":{"type":"boolean"},"reanalyzeExisting":{"type":"boolean"},"type":{"type":"string","enum":["text","number","date","boolean","foreign_key"]},"referencedTable":{"type":"string"},"referencedColumn":{"type":"string"},"parentTable":{"type":"string"}},"required":["name","prompt"]}}},"required":["name","columns"]}}},"required":["name","columns"]}}}},"responses":{"201":{"description":"Created","content":{"application/json":{"schema":{"type":"object","additionalProperties":{"nullable":true}}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"},"details":{"type":"object","additionalProperties":{"nullable":true}}},"required":["code","message"]}},"required":["error"]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"},"details":{"type":"object","additionalProperties":{"nullable":true}}},"required":["code","message"]}},"required":["error"]}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"},"details":{"type":"object","additionalProperties":{"nullable":true}}},"required":["code","message"]}},"required":["error"]}}}},"500":{"description":"Workflow error","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"},"details":{"type":"object","additionalProperties":{"nullable":true}}},"required":["code","message"]}},"required":["error"]}}}}}},"get":{"tags":["Tables"],"summary":"List tables","security":[{"BearerAuth":[]}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"array","items":{"type":"object","additionalProperties":{"nullable":true}}}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"},"details":{"type":"object","additionalProperties":{"nullable":true}}},"required":["code","message"]}},"required":["error"]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"},"details":{"type":"object","additionalProperties":{"nullable":true}}},"required":["code","message"]}},"required":["error"]}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"},"details":{"type":"object","additionalProperties":{"nullable":true}}},"required":["code","message"]}},"required":["error"]}}}},"500":{"description":"Workflow error","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"},"details":{"type":"object","additionalProperties":{"nullable":true}}},"required":["code","message"]}},"required":["error"]}}}}}}},"/tables/{table_id}":{"get":{"tags":["Tables"],"summary":"Get table","security":[{"BearerAuth":[]}],"parameters":[{"schema":{"type":"string","minLength":1},"required":true,"name":"table_id","in":"path"}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":{"nullable":true}}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"},"details":{"type":"object","additionalProperties":{"nullable":true}}},"required":["code","message"]}},"required":["error"]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"},"details":{"type":"object","additionalProperties":{"nullable":true}}},"required":["code","message"]}},"required":["error"]}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"},"details":{"type":"object","additionalProperties":{"nullable":true}}},"required":["code","message"]}},"required":["error"]}}}},"500":{"description":"Workflow error","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"},"details":{"type":"object","additionalProperties":{"nullable":true}}},"required":["code","message"]}},"required":["error"]}}}}}},"patch":{"tags":["Tables"],"summary":"Update table","security":[{"BearerAuth":[]}],"parameters":[{"schema":{"type":"string","minLength":1},"required":true,"name":"table_id","in":"path"},{"schema":{"type":"string","minLength":1,"description":"Scopes replay protection to the authenticated project, method, and route for 24 hours."},"required":false,"description":"Scopes replay protection to the authenticated project, method, and route for 24 hours.","name":"Idempotency-Key","in":"header"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"name":{"type":"string","minLength":1},"columns":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string"},"prompt":{"type":"string"},"primaryKey":{"type":"boolean"},"unique":{"type":"boolean"},"autoIncrement":{"type":"boolean"},"nullable":{"type":"boolean"},"reanalyzeExisting":{"type":"boolean"},"type":{"type":"string","enum":["text","number","date","boolean","foreign_key"]},"referencedTable":{"type":"string"},"referencedColumn":{"type":"string"},"parentTable":{"type":"string"}},"required":["name","prompt"]},"minItems":1}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","additionalProperties":{"nullable":true}}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"},"details":{"type":"object","additionalProperties":{"nullable":true}}},"required":["code","message"]}},"required":["error"]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"},"details":{"type":"object","additionalProperties":{"nullable":true}}},"required":["code","message"]}},"required":["error"]}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"},"details":{"type":"object","additionalProperties":{"nullable":true}}},"required":["code","message"]}},"required":["error"]}}}},"500":{"description":"Workflow error","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"},"details":{"type":"object","additionalProperties":{"nullable":true}}},"required":["code","message"]}},"required":["error"]}}}}}},"delete":{"tags":["Tables"],"summary":"Delete table","security":[{"BearerAuth":[]}],"parameters":[{"schema":{"type":"string","minLength":1},"required":true,"name":"table_id","in":"path"},{"schema":{"type":"string","minLength":1,"description":"Scopes replay protection to the authenticated project, method, and route for 24 hours."},"required":false,"description":"Scopes replay protection to the authenticated project, method, and route for 24 hours.","name":"Idempotency-Key","in":"header"}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean"}},"required":["success"]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"},"details":{"type":"object","additionalProperties":{"nullable":true}}},"required":["code","message"]}},"required":["error"]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"},"details":{"type":"object","additionalProperties":{"nullable":true}}},"required":["code","message"]}},"required":["error"]}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"},"details":{"type":"object","additionalProperties":{"nullable":true}}},"required":["code","message"]}},"required":["error"]}}}},"500":{"description":"Workflow error","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"},"details":{"type":"object","additionalProperties":{"nullable":true}}},"required":["code","message"]}},"required":["error"]}}}}}}},"/rows":{"post":{"tags":["Rows"],"summary":"Insert row","security":[{"BearerAuth":[]}],"parameters":[{"schema":{"type":"string","minLength":1,"description":"Scopes replay protection to the authenticated project, method, and route for 24 hours."},"required":false,"description":"Scopes replay protection to the authenticated project, method, and route for 24 hours.","name":"Idempotency-Key","in":"header"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"table_id":{"type":"string","minLength":1},"document_record_id":{"type":"string","minLength":1},"values":{"type":"object","additionalProperties":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"nullable":true},{"type":"array","items":{"nullable":true}},{"type":"object","additionalProperties":{"nullable":true}}]}}},"required":["table_id","values"]}}}},"responses":{"201":{"description":"Created","content":{"application/json":{"schema":{"type":"object","properties":{"row_id":{"type":"string"},"document_record_id":{"type":"string"},"row":{"type":"object","nullable":true,"properties":{"row_id":{"type":"string"}},"required":["row_id"],"additionalProperties":{"nullable":true}}},"required":["row_id","document_record_id","row"]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"},"details":{"type":"object","additionalProperties":{"nullable":true}}},"required":["code","message"]}},"required":["error"]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"},"details":{"type":"object","additionalProperties":{"nullable":true}}},"required":["code","message"]}},"required":["error"]}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"},"details":{"type":"object","additionalProperties":{"nullable":true}}},"required":["code","message"]}},"required":["error"]}}}},"500":{"description":"Workflow error","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"},"details":{"type":"object","additionalProperties":{"nullable":true}}},"required":["code","message"]}},"required":["error"]}}}}}},"get":{"tags":["Rows"],"summary":"List rows","security":[{"BearerAuth":[]}],"parameters":[{"schema":{"type":"string","minLength":1},"required":true,"name":"table_id","in":"query"}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"page":{"type":"number"},"pageSize":{"type":"number"},"total":{"type":"number"},"results":{"type":"array","items":{"type":"object","properties":{"row_id":{"type":"string"}},"required":["row_id"],"additionalProperties":{"nullable":true}}},"pageCount":{"type":"number"}},"required":["page","pageSize","total","results","pageCount"]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"},"details":{"type":"object","additionalProperties":{"nullable":true}}},"required":["code","message"]}},"required":["error"]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"},"details":{"type":"object","additionalProperties":{"nullable":true}}},"required":["code","message"]}},"required":["error"]}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"},"details":{"type":"object","additionalProperties":{"nullable":true}}},"required":["code","message"]}},"required":["error"]}}}},"500":{"description":"Workflow error","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"},"details":{"type":"object","additionalProperties":{"nullable":true}}},"required":["code","message"]}},"required":["error"]}}}}}}},"/rows/search":{"post":{"tags":["Rows"],"summary":"Query rows","security":[{"BearerAuth":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"table_id":{"type":"string","minLength":1},"filters":{"type":"array","items":{"type":"object","properties":{"column":{"type":"string","minLength":1},"op":{"type":"string","enum":["eq","ne","gt","gte","lt","lte","like","in"]},"value":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"nullable":true},{"type":"array","items":{"nullable":true}},{"type":"object","additionalProperties":{"nullable":true}},{"type":"array","items":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"nullable":true},{"type":"array","items":{"nullable":true}},{"type":"object","additionalProperties":{"nullable":true}}]}}]}},"required":["column","op","value"]},"default":[]},"orderBy":{"type":"object","properties":{"column":{"type":"string","minLength":1},"direction":{"type":"string","enum":["asc","desc"],"default":"asc"}},"required":["column"]},"page":{"type":"integer","minimum":1,"default":1},"pageSize":{"type":"integer","minimum":1,"maximum":200,"default":50}},"required":["table_id"]}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"page":{"type":"number"},"pageSize":{"type":"number"},"total":{"type":"number"},"results":{"type":"array","items":{"type":"object","properties":{"row_id":{"type":"string"}},"required":["row_id"],"additionalProperties":{"nullable":true}}},"pageCount":{"type":"number"}},"required":["page","pageSize","total","results","pageCount"]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"},"details":{"type":"object","additionalProperties":{"nullable":true}}},"required":["code","message"]}},"required":["error"]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"},"details":{"type":"object","additionalProperties":{"nullable":true}}},"required":["code","message"]}},"required":["error"]}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"},"details":{"type":"object","additionalProperties":{"nullable":true}}},"required":["code","message"]}},"required":["error"]}}}},"500":{"description":"Workflow error","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"},"details":{"type":"object","additionalProperties":{"nullable":true}}},"required":["code","message"]}},"required":["error"]}}}}}}},"/rows/{row_id}":{"patch":{"tags":["Rows"],"summary":"Update row","security":[{"BearerAuth":[]}],"parameters":[{"schema":{"type":"string","minLength":1},"required":true,"name":"row_id","in":"path"},{"schema":{"type":"string","minLength":1,"description":"Scopes replay protection to the authenticated project, method, and route for 24 hours."},"required":false,"description":"Scopes replay protection to the authenticated project, method, and route for 24 hours.","name":"Idempotency-Key","in":"header"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"values":{"type":"object","additionalProperties":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"nullable":true},{"type":"array","items":{"nullable":true}},{"type":"object","additionalProperties":{"nullable":true}}]}}},"required":["values"]}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"row_id":{"type":"string"},"row":{"type":"object","properties":{"row_id":{"type":"string"}},"required":["row_id"],"additionalProperties":{"nullable":true}}},"required":["row_id","row"]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"},"details":{"type":"object","additionalProperties":{"nullable":true}}},"required":["code","message"]}},"required":["error"]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"},"details":{"type":"object","additionalProperties":{"nullable":true}}},"required":["code","message"]}},"required":["error"]}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"},"details":{"type":"object","additionalProperties":{"nullable":true}}},"required":["code","message"]}},"required":["error"]}}}},"500":{"description":"Workflow error","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"},"details":{"type":"object","additionalProperties":{"nullable":true}}},"required":["code","message"]}},"required":["error"]}}}}}},"delete":{"tags":["Rows"],"summary":"Delete row","security":[{"BearerAuth":[]}],"parameters":[{"schema":{"type":"string","minLength":1},"required":true,"name":"row_id","in":"path"},{"schema":{"type":"string","minLength":1,"description":"Scopes replay protection to the authenticated project, method, and route for 24 hours."},"required":false,"description":"Scopes replay protection to the authenticated project, method, and route for 24 hours.","name":"Idempotency-Key","in":"header"}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean"}},"required":["success"]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"},"details":{"type":"object","additionalProperties":{"nullable":true}}},"required":["code","message"]}},"required":["error"]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"},"details":{"type":"object","additionalProperties":{"nullable":true}}},"required":["code","message"]}},"required":["error"]}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"},"details":{"type":"object","additionalProperties":{"nullable":true}}},"required":["code","message"]}},"required":["error"]}}}},"500":{"description":"Workflow error","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"},"details":{"type":"object","additionalProperties":{"nullable":true}}},"required":["code","message"]}},"required":["error"]}}}}}}},"/documents":{"get":{"tags":["Documents"],"summary":"List documents","security":[{"BearerAuth":[]}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"array","items":{"type":"object","properties":{"id":{"type":"number"},"document_record_id":{"type":"string"},"name":{"type":"string"},"status":{"type":"string","nullable":true},"file_size":{"type":"number","nullable":true},"page_count":{"type":"number","nullable":true},"table_id":{"type":"string","nullable":true},"tableName":{"type":"string","nullable":true},"tableSlug":{"type":"string","nullable":true},"routingStatus":{"type":"string","nullable":true},"routingConfidence":{"type":"number","nullable":true},"routingReasoning":{"type":"string","nullable":true},"routingError":{"type":"string","nullable":true},"routingRuleId":{"type":"string","nullable":true},"routingRuleName":{"type":"string","nullable":true},"routingSuggestedTableId":{"type":"string","nullable":true},"routingThreshold":{"type":"number","nullable":true},"created_at":{"type":"string","nullable":true}},"required":["id","document_record_id","name","status","file_size","page_count","table_id","tableName","tableSlug","routingStatus","routingConfidence","routingReasoning","routingError","routingRuleId","routingRuleName","routingSuggestedTableId","routingThreshold","created_at"]}}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"},"details":{"type":"object","additionalProperties":{"nullable":true}}},"required":["code","message"]}},"required":["error"]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"},"details":{"type":"object","additionalProperties":{"nullable":true}}},"required":["code","message"]}},"required":["error"]}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"},"details":{"type":"object","additionalProperties":{"nullable":true}}},"required":["code","message"]}},"required":["error"]}}}},"500":{"description":"Workflow error","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"},"details":{"type":"object","additionalProperties":{"nullable":true}}},"required":["code","message"]}},"required":["error"]}}}}}}},"/documents/{document_id}":{"get":{"tags":["Documents"],"summary":"Get document","security":[{"BearerAuth":[]}],"parameters":[{"schema":{"type":"string","minLength":1},"required":true,"name":"document_id","in":"path"}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"number"},"file_id":{"type":"string"},"upload_id":{"type":"string","nullable":true},"name":{"type":"string"},"status":{"type":"string","nullable":true},"file_size":{"type":"number","nullable":true},"page_count":{"type":"number","nullable":true},"is_duplicate":{"type":"boolean"},"duplicate_count":{"type":"number"},"mistral_id":{"type":"string","nullable":true},"user_id":{"type":"string","nullable":true},"project_id":{"type":"number","nullable":true},"table_id":{"type":"string","nullable":true},"processed_at":{"type":"string","nullable":true},"created_at":{"type":"string","nullable":true},"updated_at":{"type":"string","nullable":true}},"required":["id","file_id","name"]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"},"details":{"type":"object","additionalProperties":{"nullable":true}}},"required":["code","message"]}},"required":["error"]}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"},"details":{"type":"object","additionalProperties":{"nullable":true}}},"required":["code","message"]}},"required":["error"]}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"},"details":{"type":"object","additionalProperties":{"nullable":true}}},"required":["code","message"]}},"required":["error"]}}}},"500":{"description":"Workflow error","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"},"details":{"type":"object","additionalProperties":{"nullable":true}}},"required":["code","message"]}},"required":["error"]}}}}}},"delete":{"tags":["Documents"],"summary":"Delete a document, source file, and extracted rows","security":[{"BearerAuth":[]}],"parameters":[{"schema":{"type":"string","minLength":1},"required":true,"name":"document_id","in":"path"},{"schema":{"type":"string","minLength":1,"description":"Scopes replay protection to the authenticated project, method, and route for 24 hours."},"required":false,"description":"Scopes replay protection to the authenticated project, method, and route for 24 hours.","name":"Idempotency-Key","in":"header"}],"responses":{"202":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"document_id":{"type":"number"},"workflow_id":{"type":"string"},"status":{"type":"string"}},"required":["document_id","workflow_id","status"]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"},"details":{"type":"object","additionalProperties":{"nullable":true}

# --- truncated at 32 KB (122 KB total) ---
# Full source: https://artifacts.apis.io/pdfparse-net/openapi/_original/pdfparse-net-api-openapi.json