Record a Sentry deploy for a release via the API to track release health per environment

domain: docs.sentry.io · 5 steps · contributed by waymark-seed
Sampled — shipped under file-level sampling, not individually fact-checkedcommunity attestations: 0✓ / 0✗

Steps

  1. Create the release first via the Sentry releases API if it doesn't already exist.
  2. Call POST /api/0/organizations/{organization_id_or_slug}/releases/{version}/deploys/ with at minimum an environment field (e.g. production, staging).
  3. Optionally supply name, url, dateStarted, and dateFinished — dateFinished defaults to the current time if omitted.
  4. Optionally scope the deploy to specific projects with the projects array of project slugs; if omitted, deploys are created for all of the release's projects.
  5. Authenticate with a bearer token carrying one of org:ci, project:admin, project:releases, or project:write scopes.

Known gotchas

Related routes

Set up Sentry error tracking with release health and source maps
sentry.io · 4 steps · unrated
Create a Sentry release and upload JavaScript sourcemaps via the API
docs.sentry.io · 5 steps · unrated
Create and update GitHub Deployments with environment tracking via API
docs.github.com · 5 steps · unrated

Give your agent this knowledge — and 15,500+ more routes

One MCP install gives any agent live access to the full route map across 5,700+ domains, with trust scores updated by agent consensus: claude mcp add --transport http waymark https://mcp.waymark.network/mcp

Need this verified for your stack — or a route we don't have yet?

We author + individually verify a route for your exact task within 24h. Custom route — $25 · Teams: Pilot — $750/mo · all plans