List releases for an organization
project:releases
Path parameters
The ID or slug of the organization.
Query parameters
Filters releases to those whose version string starts with the given value.
Pagination cursor from the
Link response header.Example request
Example response
Response fields
The internal ID of the release.
The release version string (commit hash, semver, etc.).
A shortened version of the version string for display purposes.
An optional commit reference (e.g. a branch name or tag).
An optional URL pointing to the release (e.g. a changelog or CI build).
ISO 8601 timestamp of when the release was created in Sentry.
ISO 8601 timestamp of when the release went live, if provided.
Number of commits associated with this release.
Number of deploys for this release.
Number of new issues first seen in this release.
Details of the most recent deploy for this release.
A list of projects associated with this release.
Create a release
project:releases
Path parameters
The ID or slug of the organization.
Request body
A version identifier such as a commit hash, semver string, or custom version.
A list of project slugs that this release is associated with.
An optional commit reference (e.g. a branch name or tag).
An optional URL for the release (e.g. a CI build or changelog).
ISO 8601 timestamp of when the release went live. Defaults to the current time.
An optional list of commit objects to associate with the release. Each commit may include
id (required), repository, message, author_name, author_email, timestamp, and patch_set.An optional list of repository refs. Each ref requires
repository and commit, and optionally previousCommit.Example request
Example response
Create a deploy
project:releases
Path parameters
The ID or slug of the organization.
The version string of the release to deploy.
Request body
The environment being deployed to (e.g.
production, staging).An optional name for the deploy (e.g. a deployment pipeline name).
An optional URL that points to the deploy output.
ISO 8601 timestamp of when the deploy started.
ISO 8601 timestamp of when the deploy finished.