Sentry
Manage Sentry issues, projects, events, and releases
Integrate Sentry into the workflow. Monitor issues, manage projects, track events, and coordinate releases across your applications.
List issues from Sentry for a specific organization and optionally a specific project. Returns issue details including status, error counts, and last seen timestamps.
| Parameter | Type | Required | Description |
|---|
apiKey | string | Yes | No description |
organizationSlug | string | Yes | The slug of the organization (e.g., "my-org") |
projectSlug | string | No | Filter issues by specific project slug (e.g., "my-project") |
query | string | No | Search query to filter issues. Supports Sentry search syntax (e.g., "is:unresolved", "level:error") |
statsPeriod | string | No | Time period for stats (e.g., "24h", "7d", "30d"). Defaults to 24h if not specified. |
cursor | string | No | No description |
limit | number | No | No description |
status | string | No | No description |
sort | string | No | No description |
| Parameter | Type | Description |
|---|
issues | array | List of Sentry issues |
↳ id | string | Unique issue ID |
↳ shortId | string | Short issue identifier |
↳ title | string | Issue title |
↳ culprit | string | Function or location that caused the issue |
↳ permalink | string | Direct link to the issue in Sentry |
↳ logger | string | Logger name that reported the issue |
↳ level | string | Severity level (error, warning, info, etc.) |
↳ status | string | Current issue status |
↳ statusDetails | object | Additional details about the status |
↳ isPublic | boolean | Whether the issue is publicly visible |
↳ platform | string | Platform where the issue occurred |
↳ project | object | Project information |
↳ id | string | Project ID |
↳ name | string | Project name |
↳ slug | string | Project slug |
↳ platform | string | Project platform |
↳ type | string | Issue type |
↳ metadata | object | Error metadata |
↳ type | string | Type of error (e.g., TypeError) |
↳ value | string | Error message or value |
↳ function | string | Function where the error occurred |
↳ numComments | number | Number of comments on the issue |
↳ assignedTo | object | User assigned to the issue |
↳ id | string | User ID |
↳ name | string | User name |
↳ email | string | User email |
↳ isBookmarked | boolean | Whether the issue is bookmarked |
↳ isSubscribed | boolean | Whether subscribed to updates |
↳ hasSeen | boolean | Whether the user has seen this issue |
↳ annotations | array | Issue annotations |
↳ isUnhandled | boolean | Whether the issue is unhandled |
↳ count | string | Total number of occurrences |
↳ userCount | number | Number of unique users affected |
↳ firstSeen | string | When the issue was first seen (ISO timestamp) |
↳ lastSeen | string | When the issue was last seen (ISO timestamp) |
↳ stats | object | Statistical information about the issue |
metadata | object | Pagination metadata |
↳ nextCursor | string | Cursor for the next page of results (if available) |
↳ hasMore | boolean | Whether there are more results available |
Retrieve detailed information about a specific Sentry issue by its ID. Returns complete issue details including metadata, tags, and statistics.
| Parameter | Type | Required | Description |
|---|
apiKey | string | Yes | No description |
organizationSlug | string | Yes | The slug of the organization (e.g., "my-org") |
issueId | string | Yes | The unique ID of the issue to retrieve (e.g., "12345") |
| Parameter | Type | Description |
|---|
issue | object | Detailed information about the Sentry issue |
↳ id | string | Unique issue ID |
↳ shortId | string | Short issue identifier |
↳ title | string | Issue title |
↳ culprit | string | Function or location that caused the issue |
↳ permalink | string | Direct link to the issue in Sentry |
↳ logger | string | Logger name that reported the issue |
↳ level | string | Severity level (error, warning, info, etc.) |
↳ status | string | Current issue status |
↳ statusDetails | object | Additional details about the status |
↳ isPublic | boolean | Whether the issue is publicly visible |
↳ platform | string | Platform where the issue occurred |
↳ project | object | Project information |
↳ id | string | Project ID |
↳ name | string | Project name |
↳ slug | string | Project slug |
↳ platform | string | Project platform |
↳ type | string | Issue type |
↳ metadata | object | Error metadata |
↳ type | string | Type of error (e.g., TypeError, ValueError) |
↳ value | string | Error message or value |
↳ function | string | Function where the error occurred |
↳ numComments | number | Number of comments on the issue |
↳ assignedTo | object | User assigned to the issue (if any) |
↳ id | string | User ID |
↳ name | string | User name |
↳ email | string | User email |
↳ isBookmarked | boolean | Whether the issue is bookmarked |
↳ isSubscribed | boolean | Whether the user is subscribed to updates |
↳ hasSeen | boolean | Whether the user has seen this issue |
↳ annotations | array | Issue annotations |
↳ isUnhandled | boolean | Whether the issue is unhandled |
↳ count | string | Total number of occurrences |
↳ userCount | number | Number of unique users affected |
↳ firstSeen | string | When the issue was first seen (ISO timestamp) |
↳ lastSeen | string | When the issue was last seen (ISO timestamp) |
↳ stats | object | Statistical information about the issue |
Update a Sentry issue by changing its status, assignment, bookmark state, or other properties. Returns the updated issue details.
| Parameter | Type | Required | Description |
|---|
apiKey | string | Yes | No description |
organizationSlug | string | Yes | The slug of the organization (e.g., "my-org") |
issueId | string | Yes | The unique ID of the issue to update (e.g., "12345") |
status | string | No | New status for the issue: resolved, unresolved, ignored, or resolvedInNextRelease |
assignedTo | string | No | No description |
isBookmarked | boolean | No | No description |
isSubscribed | boolean | No | No description |
isPublic | boolean | No | No description |
| Parameter | Type | Description |
|---|
issue | object | The updated Sentry issue |
↳ id | string | Unique issue ID |
↳ shortId | string | Short issue identifier |
↳ title | string | Issue title |
↳ status | string | Updated issue status |
↳ assignedTo | object | User assigned to the issue (if any) |
↳ id | string | User ID |
↳ name | string | User name |
↳ email | string | User email |
↳ isBookmarked | boolean | Whether the issue is bookmarked |
↳ isSubscribed | boolean | Whether the user is subscribed to updates |
↳ isPublic | boolean | Whether the issue is publicly visible |
↳ permalink | string | Direct link to the issue in Sentry |
List all projects in a Sentry organization. Returns project details including name, platform, teams, and configuration.
| Parameter | Type | Required | Description |
|---|
apiKey | string | Yes | No description |
organizationSlug | string | Yes | The slug of the organization (e.g., "my-org") |
cursor | string | No | No description |
limit | number | No | No description |
| Parameter | Type | Description |
|---|
projects | array | List of Sentry projects |
↳ id | string | Unique project ID |
↳ slug | string | URL-friendly project identifier |
↳ name | string | Project name |
↳ platform | string | Platform/language (e.g., javascript, python) |
↳ dateCreated | string | When the project was created (ISO timestamp) |
↳ isBookmarked | boolean | Whether the project is bookmarked |
↳ isMember | boolean | Whether the user is a member of the project |
↳ features | array | Enabled features for the project |
↳ organization | object | Organization information |
↳ id | string | Organization ID |
↳ slug | string | Organization slug |
↳ name | string | Organization name |
↳ teams | array | Teams associated with the project |
↳ id | string | Team ID |
↳ name | string | Team name |
↳ slug | string | Team slug |
↳ status | string | Project status |
↳ isPublic | boolean | Whether the project is publicly visible |
metadata | object | Pagination metadata |
↳ nextCursor | string | Cursor for the next page of results (if available) |
↳ hasMore | boolean | Whether there are more results available |
Retrieve detailed information about a specific Sentry project by its slug. Returns complete project details including teams, features, and configuration.
| Parameter | Type | Required | Description |
|---|
apiKey | string | Yes | No description |
organizationSlug | string | Yes | The slug of the organization (e.g., "my-org") |
projectSlug | string | Yes | The slug of the project to retrieve (e.g., "my-project") |
| Parameter | Type | Description |
|---|
project | object | Detailed information about the Sentry project |
↳ id | string | Unique project ID |
↳ slug | string | URL-friendly project identifier |
↳ name | string | Project name |
↳ platform | string | Platform/language (e.g., javascript, python) |
↳ dateCreated | string | When the project was created (ISO timestamp) |
↳ isBookmarked | boolean | Whether the project is bookmarked |
↳ isMember | boolean | Whether the user is a member of the project |
↳ features | array | Enabled features for the project |
↳ firstEvent | string | When the first event was received (ISO timestamp) |
↳ firstTransactionEvent | string | When the first transaction event was received |
↳ access | array | Access permissions |
↳ organization | object | Organization information |
↳ id | string | Organization ID |
↳ slug | string | Organization slug |
↳ name | string | Organization name |
↳ team | object | Primary team for the project |
↳ id | string | Team ID |
↳ name | string | Team name |
↳ slug | string | Team slug |
↳ teams | array | Teams associated with the project |
↳ id | string | Team ID |
↳ name | string | Team name |
↳ slug | string | Team slug |
↳ status | string | Project status |
↳ color | string | Project color code |
↳ isPublic | boolean | Whether the project is publicly visible |
↳ isInternal | boolean | Whether the project is internal |
↳ hasAccess | boolean | Whether the user has access to this project |
↳ hasMinifiedStackTrace | boolean | Whether minified stack traces are available |
↳ hasMonitors | boolean | Whether the project has monitors configured |
↳ hasProfiles | boolean | Whether the project has profiling enabled |
↳ hasReplays | boolean | Whether the project has session replays enabled |
↳ hasSessions | boolean | Whether the project has sessions enabled |
Create a new Sentry project in an organization. Requires a team to associate the project with. Returns the created project details.
| Parameter | Type | Required | Description |
|---|
apiKey | string | Yes | No description |
organizationSlug | string | Yes | The slug of the organization (e.g., "my-org") |
name | string | Yes | No description |
teamSlug | string | Yes | No description |
slug | string | No | No description |
platform | string | No | Platform/language for the project (e.g., javascript, python, node, react-native). If not specified, defaults to "other" |
defaultRules | boolean | No | No description |
| Parameter | Type | Description |
|---|
project | object | The newly created Sentry project |
↳ id | string | Unique project ID |
↳ slug | string | URL-friendly project identifier |
↳ name | string | Project name |
↳ platform | string | Platform/language |
↳ dateCreated | string | When the project was created (ISO timestamp) |
↳ isBookmarked | boolean | Whether the project is bookmarked |
↳ isMember | boolean | Whether the user is a member |
↳ hasAccess | boolean | Whether the user has access |
↳ features | array | Enabled features |
↳ firstEvent | string | First event timestamp |
↳ organization | object | Organization information |
↳ id | string | Organization ID |
↳ slug | string | Organization slug |
↳ name | string | Organization name |
↳ team | object | Primary team for the project |
↳ id | string | Team ID |
↳ name | string | Team name |
↳ slug | string | Team slug |
↳ teams | array | Teams associated with the project |
↳ id | string | Team ID |
↳ name | string | Team name |
↳ slug | string | Team slug |
↳ status | string | Project status |
↳ color | string | Project color code |
↳ isPublic | boolean | Whether the project is public |
Update a Sentry project by changing its name, slug, platform, or other settings. Returns the updated project details.
| Parameter | Type | Required | Description |
|---|
apiKey | string | Yes | No description |
organizationSlug | string | Yes | The slug of the organization (e.g., "my-org") |
projectSlug | string | Yes | The slug of the project to update (e.g., "my-project") |
name | string | No | No description |
slug | string | No | No description |
platform | string | No | No description |
isBookmarked | boolean | No | No description |
digestsMinDelay | number | No | No description |
digestsMaxDelay | number | No | No description |
| Parameter | Type | Description |
|---|
project | object | The updated Sentry project |
↳ id | string | Unique project ID |
↳ slug | string | URL-friendly project identifier |
↳ name | string | Project name |
↳ platform | string | Platform/language |
↳ isBookmarked | boolean | Whether the project is bookmarked |
↳ organization | object | Organization information |
↳ id | string | Organization ID |
↳ slug | string | Organization slug |
↳ name | string | Organization name |
↳ teams | array | Teams associated with the project |
↳ id | string | Team ID |
↳ name | string | Team name |
↳ slug | string | Team slug |
List events from a Sentry project. Can be filtered by issue ID, query, or time period. Returns event details including context, tags, and user information.
| Parameter | Type | Required | Description |
|---|
apiKey | string | Yes | No description |
organizationSlug | string | Yes | The slug of the organization (e.g., "my-org") |
projectSlug | string | Yes | The slug of the project to list events from (e.g., "my-project") |
issueId | string | No | Filter events by a specific issue ID (e.g., "12345") |
query | string | No | Search query to filter events. Supports Sentry search syntax (e.g., "user.email:*@example.com") |
cursor | string | No | No description |
limit | number | No | No description |
statsPeriod | string | No | Time period to query (e.g., "24h", "7d", "30d"). Defaults to 90d if not specified. |
| Parameter | Type | Description |
|---|
events | array | List of Sentry events |
↳ id | string | Unique event ID |
↳ eventID | string | Event identifier |
↳ projectID | string | Project ID |
↳ groupID | string | Issue group ID |
↳ message | string | Event message |
↳ title | string | Event title |
↳ location | string | Location information |
↳ culprit | string | Function or location that caused the event |
↳ dateCreated | string | When the event was created (ISO timestamp) |
↳ dateReceived | string | When Sentry received the event (ISO timestamp) |
↳ user | object | User information associated with the event |
↳ id | string | User ID |
↳ email | string | User email |
↳ username | string | Username |
↳ ipAddress | string | IP address |
↳ name | string | User display name |
↳ tags | array | Tags associated with the event |
↳ key | string | Tag key |
↳ value | string | Tag value |
↳ contexts | object | Additional context data (device, OS, etc.) |
↳ platform | string | Platform where the event occurred |
↳ type | string | Event type |
↳ metadata | object | Error metadata |
↳ type | string | Type of error (e.g., TypeError) |
↳ value | string | Error message or value |
↳ function | string | Function where the error occurred |
↳ entries | array | Event entries (exception, breadcrumbs, etc.) |
↳ errors | array | Processing errors |
↳ dist | string | Distribution identifier |
↳ fingerprints | array | Fingerprints for grouping |
↳ sdk | object | SDK information |
↳ name | string | SDK name |
↳ version | string | SDK version |
metadata | object | Pagination metadata |
↳ nextCursor | string | Cursor for the next page of results (if available) |
↳ hasMore | boolean | Whether there are more results available |
Retrieve detailed information about a specific Sentry event by its ID. Returns complete event details including stack traces, breadcrumbs, context, and user information.
| Parameter | Type | Required | Description |
|---|
apiKey | string | Yes | No description |
organizationSlug | string | Yes | The slug of the organization (e.g., "my-org") |
projectSlug | string | Yes | The slug of the project (e.g., "my-project") |
eventId | string | Yes | The unique ID of the event to retrieve (e.g., "abc123def456") |
| Parameter | Type | Description |
|---|
event | object | Detailed information about the Sentry event |
↳ id | string | Unique event ID |
↳ eventID | string | Event identifier |
↳ projectID | string | Project ID |
↳ groupID | string | Issue group ID this event belongs to |
↳ message | string | Event message |
↳ title | string | Event title |
↳ location | string | Location information |
↳ culprit | string | Function or location that caused the event |
↳ dateCreated | string | When the event was created (ISO timestamp) |
↳ dateReceived | string | When Sentry received the event (ISO timestamp) |
↳ user | object | User information associated with the event |
↳ id | string | User ID |
↳ email | string | User email |
↳ username | string | Username |
↳ ipAddress | string | IP address |
↳ name | string | User display name |
↳ tags | array | Tags associated with the event |
↳ key | string | Tag key |
↳ value | string | Tag value |
↳ contexts | object | Additional context data (device, OS, browser, etc.) |
↳ platform | string | Platform where the event occurred |
↳ type | string | Event type (error, transaction, etc.) |
↳ metadata | object | Error metadata |
↳ type | string | Type of error (e.g., TypeError, ValueError) |
↳ value | string | Error message or value |
↳ function | string | Function where the error occurred |
↳ entries | array | Event entries including exception, breadcrumbs, and request data |
↳ errors | array | Processing errors that occurred |
↳ dist | string | Distribution identifier |
↳ fingerprints | array | Fingerprints used for grouping events |
↳ sdk | object | SDK information |
↳ name | string | SDK name |
↳ version | string | SDK version |
List releases for a Sentry organization or project. Returns release details including version, commits, deploy information, and associated projects.
| Parameter | Type | Required | Description |
|---|
apiKey | string | Yes | No description |
organizationSlug | string | Yes | The slug of the organization (e.g., "my-org") |
projectSlug | string | No | Filter releases by specific project slug (e.g., "my-project") |
query | string | No | Search query to filter releases (e.g., "1.0" to match version patterns) |
cursor | string | No | No description |
limit | number | No | No description |
| Parameter | Type | Description |
|---|
releases | array | List of Sentry releases |
↳ id | string | Unique release ID |
↳ version | string | Release version identifier |
↳ shortVersion | string | Shortened version identifier |
↳ ref | string | Git reference (commit SHA, tag, or branch) |
↳ url | string | URL to the release (e.g., GitHub release page) |
↳ dateReleased | string | When the release was deployed (ISO timestamp) |
↳ dateCreated | string | When the release was created (ISO timestamp) |
↳ dateStarted | string | When the release started (ISO timestamp) |
↳ newGroups | number | Number of new issues introduced in this release |
↳ owner | object | Owner of the release |
↳ id | string | User ID |
↳ name | string | User name |
↳ email | string | User email |
↳ commitCount | number | Number of commits in this release |
↳ deployCount | number | Number of deploys for this release |
↳ lastCommit | object | Last commit in the release |
↳ id | string | Commit SHA |
↳ message | string | Commit message |
↳ dateCreated | string | Commit timestamp |
↳ lastDeploy | object | Last deploy of the release |
↳ id | string | Deploy ID |
↳ environment | string | Deploy environment |
↳ dateStarted | string | Deploy start timestamp |
↳ dateFinished | string | Deploy finish timestamp |
↳ authors | array | Authors of commits in the release |
↳ id | string | Author ID |
↳ name | string | Author name |
↳ email | string | Author email |
↳ projects | array | Projects associated with this release |
↳ id | string | Project ID |
↳ name | string | Project name |
↳ slug | string | Project slug |
↳ platform | string | Project platform |
↳ firstEvent | string | First event timestamp |
↳ lastEvent | string | Last event timestamp |
↳ versionInfo | object | Version metadata |
↳ buildHash | string | Build hash |
↳ version | object | Version details |
↳ raw | string | Raw version string |
↳ package | string | Package name |
metadata | object | Pagination metadata |
↳ nextCursor | string | Cursor for the next page of results (if available) |
↳ hasMore | boolean | Whether there are more results available |
Create a new release in Sentry. A release is a version of your code deployed to an environment. Can include commit information and associated projects. Returns the created release details.
| Parameter | Type | Required | Description |
|---|
apiKey | string | Yes | No description |
organizationSlug | string | Yes | The slug of the organization (e.g., "my-org") |
version | string | Yes | Version identifier for the release (e.g., "2.0.0", "my-app@1.0.0", or a git commit SHA) |
projects | string | Yes | No description |
ref | string | No | No description |
url | string | No | No description |
dateReleased | string | No | ISO 8601 timestamp for when the release was deployed (defaults to current time) |
commits | string | No | JSON array of commit objects with id, repository (optional), and message (optional). Example: [{"id":"abc123","message":"Fix bug"}] |
| Parameter | Type | Description |
|---|
release | object | The newly created Sentry release |
↳ id | string | Unique release ID |
↳ version | string | Release version identifier |
↳ shortVersion | string | Shortened version identifier |
↳ ref | string | Git reference (commit SHA, tag, or branch) |
↳ url | string | URL to the release |
↳ dateReleased | string | When the release was deployed (ISO timestamp) |
↳ dateCreated | string | When the release was created (ISO timestamp) |
↳ dateStarted | string | When the release started (ISO timestamp) |
↳ newGroups | number | Number of new issues introduced |
↳ commitCount | number | Number of commits in this release |
↳ deployCount | number | Number of deploys for this release |
↳ owner | object | Release owner |
↳ id | string | Owner ID |
↳ name | string | Owner name |
↳ email | string | Owner email |
↳ lastCommit | object | Last commit in the release |
↳ id | string | Commit SHA |
↳ message | string | Commit message |
↳ dateCreated | string | Commit timestamp |
↳ lastDeploy | object | Last deploy of the release |
↳ id | string | Deploy ID |
↳ environment | string | Deploy environment |
↳ dateStarted | string | Deploy start timestamp |
↳ dateFinished | string | Deploy finish timestamp |
↳ authors | array | Authors of commits in the release |
↳ id | string | Author ID |
↳ name | string | Author name |
↳ email | string | Author email |
↳ projects | array | Projects associated with this release |
↳ id | string | Project ID |
↳ name | string | Project name |
↳ slug | string | Project slug |
↳ platform | string | Project platform |
↳ firstEvent | string | First event timestamp |
↳ lastEvent | string | Last event timestamp |
↳ versionInfo | object | Version metadata |
↳ buildHash | string | Build hash |
↳ version | object | Version details |
↳ raw | string | Raw version string |
↳ package | string | Package name |
Create a deploy record for a Sentry release in a specific environment. Deploys track when and where releases are deployed. Returns the created deploy details.
| Parameter | Type | Required | Description |
|---|
apiKey | string | Yes | No description |
organizationSlug | string | Yes | The slug of the organization (e.g., "my-org") |
version | string | Yes | Version identifier of the release being deployed (e.g., "1.0.0" or "abc123") |
environment | string | Yes | Environment name where the release is being deployed (e.g., "production", "staging") |
name | string | No | Optional name for this deploy (e.g., "Deploy v2.0 to Production") |
url | string | No | No description |
dateStarted | string | No | No description |
dateFinished | string | No | No description |
| Parameter | Type | Description |
|---|
deploy | object | The newly created deploy record |
↳ id | string | Unique deploy ID |
↳ environment | string | Environment name where the release was deployed |
↳ name | string | Name of the deploy |
↳ url | string | URL pointing to the deploy |
↳ dateStarted | string | When the deploy started (ISO timestamp) |
↳ dateFinished | string | When the deploy finished (ISO timestamp) |