Supported Sentry data
Every Sentry envelope item type, whether axonpush keeps it and where it shows, plus transport limits, grouping, retention and the endpoints that don't exist.
This page describes what the Sentry-compatible endpoint does with each part of
what a Sentry SDK sends. It is checked against fixtures recorded from
@sentry/node 11.13 and sentry-sdk 2.75 for Python.
Endpoints
| Method and path | Accepts |
|---|---|
POST /api/{projectId}/envelope/ | Sentry envelopes, the format every current SDK uses |
POST /api/{projectId}/store/ | A single JSON event, the legacy format |
{projectId} is ignored. The key is read, in this order, from the sentry_key
in X-Sentry-Auth, from an Authorization: DSN ... header, or from the
sentry_key query parameter, which is what SDKs send. It must be a public ingest
token (pt_). An ak_ API key is rejected.
Anything else under /api/{projectId}/ returns 404, including:
/minidump/(send minidumps as envelope attachments instead, see below)/security/(CSP, Expect-CT and other browser security reports)/unreal/- every
sentry-cliand web API route: releases, deploys, commits, artifact bundles, chunk upload, debug files, monitors and issues
Envelope item types
| Item type | Kept | Stored as | Shows in |
|---|---|---|---|
event with an exception, or level error / fatal | Yes | Error event, grouped into an issue | Errors |
event without an exception, below error | Yes | Log-level message | Events |
transaction | Yes | A root span plus one span per child in spans, each with start, end and status | Traces |
span, streamed v2 (application/vnd.sentry.items.span.v2+json) | Yes | One span per item in the batch | Traces |
span, legacy v1 standalone | Yes | One span | Traces |
log (application/vnd.sentry.items.log+json) | Yes | One log event per record, with level, body, attributes and message template | Events |
trace_metric | Yes: counter, gauge, distribution | Metric points with unit and attributes | Metrics |
check_in | Yes: in_progress, ok, error | Monitor runs; monitor_config upserts the monitor | Monitors |
attachment | Yes, up to 5 MiB each | File in object storage plus a metadata row | The issue or trace it belongs to |
session | Yes, when it has a release | Hourly release health counters and per-user status | Releases |
sessions (aggregates) | Yes, when it has a release | Same as session | Releases |
feedback | Yes | Feedback event | The linked issue in Errors |
user_report | Yes | Feedback event | The linked issue in Errors |
client_report | Read | SDK-side drop counts | What we receive |
replay_event, replay_recording, replay_video | No | Counted as not supported | What we receive |
profile, profile_chunk, profile_chunk_ui | No | Counted as not supported | What we receive |
| Any other type | No | Counted as not recognised | What we receive |
Notes on specific items:
- AI and MCP spans. Spans with a
gen_ai.*operation or from MCP server instrumentation are treated as agent, model and tool steps. Older attribute names that SDKs still send (for examplegen_ai.request.messages,gen_ai.system,gen_ai.usage.input_tokens.cached,mcp.tool.name) are also copied to their current names, so older and newer SDKs read the same. - Streamed spans take their release and environment from the envelope’s trace header when a span doesn’t carry them.
- Transactions keep the raw transaction (without the child list) on the root span, and child spans inherit its release, environment, host, user and SDK.
- Logs use the message template (
sentry.message.template) as the event name, so records from onelogger.info("cart {id} ...")call group together.warningis stored aswarn. - Metrics of any other type, or without a name, value or timestamp, are skipped.
- Check-ins need a
monitor_slug, acheck_in_idand a known status. A check-in id of all zeros finishes the monitor’s latestin_progressrun.durationis stored in milliseconds. - Attachments can belong to an error event or, with the trace attachment
content types (
application/vnd.sentry.trace-attachment,application/vnd.sentry.attachment.v2), to a trace or span. Minidumps sent asevent.minidumpattachments are stored as files without symbolication. A deployment without object storage counts attachments as “no storage configured” instead of storing them. - Sessions count users by the SDK’s distinct id (
did), hashed with the organisation id before it is stored. - Feedback keeps the message, contact email, name, page URL, linked event id and source.
Fields kept on events
The full Sentry event is stored with each error and message, and the issue page reads the exception chain, stack frames, breadcrumbs, request and contexts from it. These fields are also indexed as attributes for search and filtering:
| Sentry field | Attribute |
|---|---|
exception.values[0].type, .value | error.type, error.message |
message, logentry | message |
release | deployment.release |
environment | deployment.environment.name |
server_name | host.name |
user.id | user.id |
tags (object or list of pairs) | sentry.tag.<key> |
transaction | sentry.transaction |
contexts.trace.op | sentry.op |
platform, dist, level | sentry.platform, sentry.dist, sentry.level |
sdk.name, sdk.version | sentry.sdk.name, sentry.sdk.version |
event_id | sentry.event_id |
fingerprint | sentry.fingerprint |
Timestamps come from the SDK: an event’s timestamp, a span’s start and end, a
log record’s time. Events queued offline or retried keep the time they happened.
Grouping
An issue’s fingerprint is a hash of:
- the exception type,
- the message, lowercased, with UUIDs, hex ids, numbers, quoted strings, paths
and URLs replaced by placeholders, so
order 4812 not foundandorder 4813 not foundgroup together, - the last in-app stack frame (
file:function), or the last frame when none is marked in-app. Without a stack, the HTTP route template is used when present.
A fingerprint set in the SDK replaces this. If it contains {{ default }}, the
custom parts extend the default grouping instead of replacing it.
server_name is stored as host.name and is not part of the fingerprint, so
the same error on many replicas is one issue.
More than error events open issues
Error and fatal log records, and spans whose status is a failure, are also
grouped into issues. If you send errors both as exceptions and as
logger.error records, you may see both.
Issues are grouped across the organisation, not per application or environment. There is no server-side grouping configuration and no issue merge.
Transport
Compression. The request body may use Content-Encoding gzip, deflate,
br or zstd (or none), on both endpoints. Envelope items may also carry their
own content_encoding. Other encodings return 400.
Size. A request body over 6 MB returns 413, and a body or envelope that
decompresses to more than 6 MB returns 400. Each attachment is limited to
5 MiB; larger ones are dropped with a “too large” outcome rather than cut.
Responses. A successful envelope returns 200 with {"id": "<event_id>"}.
When some items were not kept, the body adds a partialSuccess object listing
them; SDKs ignore it, so use What we receive to see drops. One bad item never
fails the rest of the envelope. If nothing in the envelope could be stored, the
response is 503 with Retry-After: 60.
Rate limits. When the organisation is over its monthly quota (429), or
ingest is refused for billing (402: trial ended, payment overdue past its grace
period, subscription paused or not activated), the response carries
X-Sentry-Rate-Limits covering every category and a matching Retry-After: 60
seconds for quota, an hour for 402. SDKs stop sending for that long and report
the dropped data in their next client report. Self-hosted installs have no
quota, but an inactive licence also answers 402 with an
hour’s back-off. Browser SDKs can read both headers across origins.
Other errors. 401 with WWW-Authenticate: Sentry for a missing, revoked
or unbound key, and 403 when Sentry ingest is turned off on the server.
What we receive
Every item is accounted for per day, environment and category under
Settings › Integrations › Sentry › What we receive, and through the
GET /ingest/outcomes API and the ingest_outcomes MCP tool:
| Reason | Meaning |
|---|---|
| Accepted | Stored |
| Not supported | Replays and profiles |
| Not recognised | An item type axonpush doesn’t map |
| Invalid | The item could not be read |
| Too large | An attachment over 5 MiB |
| No storage configured | This deployment has no storage for the type (attachments without object storage) |
| Could not be stored, ingest failed | A storage error on the axonpush side |
| Dropped by the SDK | From the SDK’s client reports: sampling, before_send, rate-limit back-off, queue or buffer overflow, network errors |
See Ingest outcomes.
Retention
Errors, spans, logs, messages and feedback are events and follow the organisation’s retention, measured from when they happened (or were received, if earlier). Metrics, check-ins, attachments, release health and ingest outcomes are kept for 30 days.
Privacy
Event content passes through the organisation’s redaction policy before it is stored. Credential-looking values (authorization headers, cookies, passwords, bearer tokens, JWTs, API keys, private keys) are always removed. The capture mode under Settings › Privacy decides whether prompt and response content on AI and MCP spans is kept, shortened or dropped. See Privacy.