Setup
Put them in your environment or
.env; Data APIs covers the other ways.
Notes
- Every path takes the organization slug; paths end with a slash.
- Paging is by the Link response header: follow the rel=“next” cursor while it says results=“true”. A next cursor is always present, even on the last page.
- Rate limits are per endpoint and per caller; a 429 means wait, and X-Sentry-Rate-Limit-* headers report the window.
- Issue lists default to query=is:unresolved; send an empty query for every issue.
Endpoints
List projects
List issues
Get an issue
List an issue’s events
Get an issue event
Query errors, logs or spans as a table
- For tables, not bulk export.