DocumentationData handling and security

Data handling and security

Authentication isolation, encryption, retention and response caching.

On this page

The extraction path uses Cloudflare Workers, Images and Workers AI. Uploaded photographs and generated crops are processed during the request and are not persisted by the application. Processing is not restricted to Mexico.

Credential scopes

CredentialScope
X-API-KeyExtraction and retrieval of results owned by the authenticated API account. Stored as a hash.
Dashboard access codeRead-only usage access through a separate session. No extraction permission.
Webhook signing secretHMAC verification of completion events. No extraction or retrieval permission.
request_idRequest identifier; not an access credential.

Result access is account-scoped. Redirects and arbitrary callback/status URLs are outside the authenticated API origin. The HTTP clients disable redirect following.

Storage and retention

Results use AES-256-GCM encryption before database storage. Authenticated additional data binds ciphertext to the owning API account and request.

DataBehavior
Photographs and cropsNo application persistence.
Extracted resultEncrypted; available until expires_at, 23 hours after reservation.
Expired ciphertextCleared from the active table by the next successful hourly cleanup.
Job metadataRetained for usage accounting and idempotency.
Operational metricsDurations, outcomes and usage; active-table records older than seven days are removed by scheduled cleanup.

Expiry is an access deadline. Recovery history and backups may retain earlier encrypted versions; scheduled cleanup is not immediate physical erasure. Copies retained by the integrating application have independent access and retention policies.

Logging and caching

SurfaceCurrent behavior
API responsesCache-Control: no-store.
Public API errorsNo raw provider diagnostics.
Application metricsNo image content, extracted text, API keys or client/job identifiers.
Integration diagnosticsrequest_id, HTTP status, error code and duration are sufficient for request correlation.

The service does not configure retention or redaction in external proxies, tracing systems or application logs. Request bodies and full OCR responses contain personal data; credentials and identity fields remain outside the public telemetry contract.

Trust boundary

HTTP success indicates completed extraction. Format checks and checksums are local computations; they do not perform official INE lookups or establish authenticity, liveness or identity ownership. Successful readings currently return needs_review: true.

data and model observations are untrusted document-derived input. Nullable fields and check outcomes remain distinct from application-level acceptance decisions.