Hanzo
OpenapiEvent

Sentry SDK envelope ingest — errors and traces from an unmodified Sentry client

Accepts the CURRENT Sentry wire — the framed envelope a modern SDK posts, carrying its items in one request — so an application already instrumented with…

POST /v1/event/{project}/envelope

Addresshttps://api.hanzo.ai/v1/event/{project}/envelope
MethodPOST
Operationpost_event_by_project_envelope
AuthAuthorization: Bearer $HANZO_API_KEY

Accepts the CURRENT Sentry wire — the framed envelope a modern SDK posts, carrying its items in one request — so an application already instrumented with Sentry reports into Hanzo's error tracking by pointing its DSN here and changing nothing else.

CLOUD ROUTES IT AND READS NONE OF IT. The body is relayed byte-for-byte to the observability plane, which parses the wire, verifies the credential and answers; this door declares no response shape because it does not know one. A deployment with no observability plane mounted answers 503.

THE CREDENTIAL IS A SENTRY DSN KEY, NOT A HANZO PRINCIPAL. This is one of the few writes on the platform that carries no bearer and no org header by design — a Sentry SDK has neither — and it is exempt from the principal gate for that reason. The observability plane verifies the DSN key itself, fail-closed: a request without a valid one is refused there, never admitted here. Presenting a Hanzo bearer instead does nothing.

project IS THE DSN'S PROJECT ID — the identifier in the DSN the SDK was configured with, and what the tenant is derived from. It is NOT a Hanzo IAM project and NOT a todo project key. Only these two ingest paths map through: no observability READ API is reachable by any other suffix under this prefix.

Request

2 fields, body application/octet-stream.

FieldInTypeRequiredDescription
projectpathstringyes
(body)bodystring (binary)yes

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 event envelope <project>

Event API · All Hanzo APIs · Interactive reference

How is this guide?

On this page