Hanzo
OpenapiO11y

Receive a Sentry envelope on the SDK's own DSN path

Accepts an application/x-sentry-envelope frame from a Sentry SDK — the batched wire format carrying events, sessions and attachments — and ingests it…

POST /v1/o11y/api/{project_id}/envelope/

Addresshttps://api.hanzo.ai/v1/o11y/api/{project_id}/envelope/
MethodPOST
Operationpost_o11y_api_by_project_id_envelope
AuthAuthorization: Bearer $HANZO_API_KEY

Accepts an application/x-sentry-envelope frame from a Sentry SDK — the batched wire format carrying events, sessions and attachments — and ingests it against the project named in the path.

THE /api/ SEGMENT IS NOT OURS TO NAME. An SDK appends its own fixed /api/<project>/envelope/ suffix to whatever DSN it is given, so this address is the SDK's, received verbatim. We receive this shape; we do not publish it. The clean spelling of the same wire is /v1/event/{project}/envelope/.

AUTHENTICATED BY THE DSN PUBLIC KEY, never a Hanzo session, and therefore exempt from the principal gate: the ingest verifier checks the key in constant time, fails closed, and derives the org from it. A keyless submission is a 401 from that verifier — not a 403 from the gate, and not a 404 — which is how you tell the hops apart. The exemption is matched by method plus prefix plus suffix, never a bare prefix, so no read is reachable through it.

Request

1 field.

FieldInTypeRequiredDescription
project_idpathstringyes

Response

The document declares no response body for this operation. It answers 200 on success and the platform error shape on failure — see Errors.

Examples

hanzo o11y api envelope <project_id>

O11y API · All Hanzo APIs · Interactive reference

How is this guide?

On this page