API reference

Build verification into a business workflow, with separate paths for decided results and the records that still need review.

New here? Send your first request with a complete cURL, Python or JavaScript example. You can also download the Postman collection or open the API schema. The current free plan includes console and API access.

The base URL is https://openauditor.ai/api. Endpoint paths begin /v1, so a single verification is sent to https://openauditor.ai/api/v1/verify. Requests and responses use JSON.

Choose the operation you need

GuideUse it to
AuthenticationCreate a key, authenticate a request and inspect the running configuration.
Verify an itemSubmit one record or decision with the context required by its checks.
Verification resultsInterpret verdicts, assertion outcomes, evidence, risk and measured certainty.
Batch auditsQueue a population, follow progress and retrieve filtered, paged results.
Review marksRecord whether a human reviewer found an audit verdict correct.
Schemas and discoveryInspect supported record types, context requirements and generated JSON Schemas.

Endpoint directory

MethodPathReferenceAccess
GET/v1/use-casesList the use casesPublic
GET/v1/use-cases/{id}One use case, by id (its latest version) or id@version, with its item schemas, assertions and questionsPublic
GET/v1/evalsPublished evaluation resultsPublic
GET/v1/usageThe account's plan, limits, today's usage and what remains; answered by the gatewayAPI key
GET/v1/configurationEngine, model and question thresholds in forceAPI key
POST/v1/verifyVerify one itemAPI key
POST/v1/auditsQueue a population for verificationAPI key
GET/v1/audits/{id}Audit status and summaryAPI key
DELETE/v1/audits/{id}Delete an audit's inputs and resultsAPI key
GET/v1/audits/{id}/itemsVerifications in an audit, pagedAPI key
GET/v1/audits/{id}/manifestThe run manifest recorded when the audit completedAPI key
GET/v1/audits/{id}/evidenceThe evidence index of an audit built from a sourceAPI key
GET/v1/audits/{id}/associationsThe associations of an audit built with supporting documents, pagedAPI key
POST/v1/audits/{id}/cancelCancel a queued or running auditAPI key
POST/v1/audits/{id}/verificationsMark sampled verdicts correct or incorrectAPI key
POST/v1/sourcesUpload a CSV, XLSX or text-PDF originalAPI key
GET/v1/sourcesThe account's sources, newest first (at most 100)API key
GET/v1/sources/{id}One sourceAPI key
DELETE/v1/sources/{id}Delete a source and its file; audits built from it are unchangedAPI key
GET/v1/sources/{id}/contentThe original bytesAPI key
GET/v1/sources/{id}/pages/{n}One page of a PDF source: its size and text lines with their boxesAPI key
POST/v1/sources/{id}/locateFind the text lines of a PDF source that contain a text, as page_region locatorsAPI key
POST/v1/sources/{id}/previewTry a mapping: the items it builds and the rows it withholds, without creating an auditAPI key

This directory is generated from the service’s OpenAPI 3.1 document. GET /api/v1/health and GET /api/v1/openapi.json are also public. Public reads are cached at the edge: fresh for 60 seconds, then served from the cache while it refreshes, so after a release they can lag the origin briefly. health is never served stale.

One request, a defined scope

Each request chooses one use case. Its item types and supplied context determine what the engine can check. The API does not retrieve omitted business records or execute the approval, payment or agent action being reviewed. Your application retains that business decision and acts on the returned findings.

All three verdicts—true, false and uncertain—can be successful HTTP responses. Keep request failures separate from business findings, and give unresolved items an explicit route to review.

Operate the integration

Retain the request’s Request-Id when diagnosing an HTTP problem. Preserve the verification’s configuration and input_sha256 with its source evidence when investigating a finding. Respect Retry-After when present, and plan batches within both the request-size limits and your account quotas.

Continue reading

  • Quickstart — send a complete supplier-invoice example with curl, Python or JavaScript.
  • Limits — plan request sizes, batch sizes and account usage.
  • Error guide — identify input, authentication and temporary service failures.