/api/0/. You can search errors, inspect events, assign and resolve issues, add comments and record releases and deploys. Its key is sentry.
Connect
TypeScript
ancha connect sentry --lang ts prints. Lists page through the Link response header: follow the next page when it has rel="next" and results="true", using its cursor.
Endpoints
Issue routes under
/api/0/organizations/:org/issues/:issue also accept /api/0/issues/:issue, with the same suffix. Run ancha twins coverage sentry for the endpoint notes.
The organization issue list defaults to is:unresolved issue.priority:[high, medium] over 14 days. Set query and statsPeriod explicitly when your agent needs a different set of issues. The project issue list defaults to is:unresolved.
Starter data
Thesentry-starter dataset is the organization Acme (acme). Your token belongs to Ancha assistant. Ben, Rachel, Greg and Victor are members, with Backend, Frontend and Data Platform teams.
The dataset has eleven issues and nine releases, with deploys, error histories, tags, stack traces and comments.
ancha sandbox configuration --tools sentry --json prints every record.
Checks
Sentry has no state checks. Use trace checks, for example{ called: "PUT /api/0/organizations/*/issues/*/" } or { not_called: "DELETE /api/0/organizations/*/issues/*/" }. If your client uses the shorter issue routes, use /api/0/issues/*/ in the pattern instead.
Limits
- Client keys return DSNs pointing at the replica, but event ingestion is a coverage gap.
- No issue merging or discarding, release commits or alerts.
- The organization events query serves the errors dataset. Other datasets, unlisted aggregate functions, aggregate conditions and
OR/ANDare gaps. - Issue sorts
trendsandrecommendedare gaps.