Sentry API bindings.
::sentry::issues— search, read, update (single and bulk), events, comments::sentry::releases— releases, commits, finalize, and deploys (the CI path)::sentry::projects— projects and teams::sentry::webhooks— integration-platform webhook verification::sentry::api— base URL, auth, errors, cursor pagination, raw calls
Setup — context variables:
sentry.token— an organization auth token (sntrys_...) or a user auth tokensentry.org— the organization slugsentry.base.url— optional: self-hosted or explicit region host (defaulthttps://sentry.io)sentry.region— optional:usorde, to callhttps://{region}.sentry.iosentry.webhook.secret— an integration's client secret, for::sentry::webhooks
The token, organization, and host can also come per call, in the
trailing opts Map of any API-calling function (see ::sentry::api).
Quick start
::issues ::sentry::issues
fresh ::issues/list-issues({project: "my-api", query: "is:unresolved firstSeen:-24h", statsPeriod: "24h"})
latest ::issues/get-latest-event(first(fresh.items).id)
::issues/resolve-issue(first(fresh.items).id)
Values
DEFAULT_BASE_URL
DEFAULT_BASE_URL: Str "https://sentry.io"