# The Sentry API endpoints your agents use are now fully documented

Published: 2026-06-08

Source: https://sentry.io/changelog/the-sentry-api-endpoints-your-agents-use-are-now-fully-documented

---

We've added 10 newly documented endpoints and cleaned up the ones developers and agents reach for most (tracing, profiling, and attachments), making building automated, self-healing workflows with Sentry more straightforward.

**What changed**
- **New data access:** 10 new endpoints are now live, including tracing, profiling, and attachments.
- **Fetch only what you :** Optional parameters are now documented across endpoints so you can include or omit response fields, fetching only what your agent or script needs.
- **More reliability:** OpenAPI spec mismatches are fixed, including required vs. optional field inconsistencies and incorrect response types that broke generated clients and type inference.

**Newly documented** 
- `GET /api/0/organizations/{org}/trace/{trace_id}/` — Fetch every span, error, and uptime check in a trace.
- `GET /api/0/organizations/{org}/trace-meta/{trace_id}/` — Get aggregate counts for a trace (spans, errors, issues, logs) before pulling the full payload.
- `GET /api/0/organizations/{org}/trace-items/attributes/` — Discover which attributes you can filter spans and logs by.
- `GET /api/0/organizations/{org}/profiling/flamegraph/` — Build an aggregated flamegraph across a project from transactions, profiles, functions, or spans.
- `GET /api/0/organizations/{org}/profiling/chunks/` — Pull continuous-profiling data for a given profiler.
- `GET /api/0/projects/{org}/{project}/profiling/profiles/{profile_id}/` — Fetch a single profile by ID.
- `GET /api/0/projects/{org}/{project}/events/{event_id}/attachments/` — List an event's attachments (filter to screenshots with is:screenshot).
- `GET /api/0/projects/{org}/{project}/events/{event_id}/attachments/{attachment_id}/` — Get attachment metadata, or the raw file with download.
- `GET /api/0/projects/{org}/{project}/releases/` — List a project's releases.
- `GET /api/0/projects/{org}/{project}/events/{event_id}/source-map-debug/` — Diagnose why source maps aren't resolving for an event.

**Improved**
- `GET /api/0/projects/{org}/{project}/events/{event_id}/` — Event details.
- `GET • PUT • DELETE /api/0/organizations/{org}/issues/{issue_id}/` — Read, update, or delete an issue; expand/collapse shape the response.
- `GET /api/0/organizations/{org}/issues/{issue_id}/hashes/` — List the grouping hashes that make up an issue.
- `GET /api/0/projects/{org}/{project}/files/dsyms/` — List a project's debug information files.

[Read the API docs](https://docs.sentry.io/api/)