Skip to main content
POST
Analyze a PDF document for safety and compliance concerns

Authorizations

Authorization
string
header
required

API key as Bearer token

Response

200 - application/json

Default Response

file_id
string

Client-provided file identifier (echoed back)

document_hash
string

SHA-256 hash of the uploaded PDF for chain-of-custody verification

total_pages
number

Total pages in the document

pages_analyzed
number

Pages with extractable text that were analyzed

extraction_summary
object
page_results
object[]
overall_risk_score
number

Highest risk score across all pages

overall_severity
enum<string>
Available options:
none,
low,
medium,
high,
critical
detected_endpoints
string[]

Endpoints that detected threats

flagged_pages
object[]
credits_used
number
processing_time_ms
number
language
string
language_status
string
support
object
external_id
string
incident_moderation_enabled
string

Per-call override of account incident logging: "true" forces persistence, "false" suppresses it. Omit for account default.

customer_id
string
metadata
object