Sentry
Управление issues, проектами, событиями и релизами в Sentry
Усильте мониторинг ошибок и надёжность ваших приложений с помощью Sentry — ведущей платформы для отслеживания ошибок в реальном времени, мониторинга производительности и управления релизами. Бесшовно интегрируйте Sentry в свои автоматизированные воркфлоу, чтобы легко отслеживать issues, фиксировать критичные события, управлять проектами и оркестрировать релизы во всех ваших приложениях и сервисах.
Инструмент Sentry позволяет:
- Мониторинг и сортировка issues: получайте полные списки issues через операцию
sentry_issues_list и подробную информацию по конкретным ошибкам и багам через sentry_issues_get. Мгновенно обращайтесь к метаданным, тегам, стек-трейсам и статистике, чтобы сократить среднее время до решения.
- Отслеживание событий: анализируйте конкретные ошибки и события с помощью
sentry_events_list и sentry_events_get, получая глубокое понимание возникновения ошибок и их влияния на пользователей.
- Управление проектами и командами: используйте
sentry_projects_list и sentry_project_get, чтобы получать список и просматривать все ваши проекты Sentry — для удобной командной работы и централизованной настройки.
- Координация релизов: автоматизируйте отслеживание версий, состояния деплоев и управления изменениями в кодовой базе с помощью таких операций, как
sentry_releases_list, sentry_release_get и других.
- Получение мощных инсайтов о приложениях: используйте расширенные фильтры и запросы, чтобы находить нерешённые или приоритетные issues, агрегировать статистику событий со временем и отслеживать регрессии по мере развития кода.
Интеграция Sentry даёт инженерным и DevOps-командам возможность раньше выявлять проблемы, приоритизировать самые значимые баги и непрерывно улучшать состояние приложений в разных стэках. Программно оркестрируйте автоматизацию для современного observability, реагирования на инциденты и управления жизненным циклом релизов — сокращая простои и повышая удовлетворённость пользователей.
Доступные ключевые операции Sentry:
sentry_issues_list: получение списка issues Sentry по организациям и проектам с мощным поиском и фильтрацией.
sentry_issues_get: получение подробной информации по конкретному issue Sentry.
sentry_events_list: получение списка событий по конкретному issue для анализа первопричин.
sentry_events_get: полная информация по отдельному событию, включая стек-трейсы, контекст и метаданные.
sentry_projects_list: получение списка всех проектов Sentry в вашей организации.
sentry_project_get: получение конфигурации и деталей конкретного проекта.
sentry_releases_list: получение списка недавних релизов и их статуса деплоя.
sentry_release_get: подробная информация о релизе, включая связанные коммиты и issues.
Проактивно управляете ли вы состоянием приложения, разбираетесь с прод-ошибками или автоматизируете воркфлоу релизов — Sentry даёт вам первоклассный мониторинг, полезные алерты и бесшовную DevOps-интеграцию. Повышайте качество ПО и видимость в поиске, используя Sentry для отслеживания ошибок, observability и управления релизами — прямо из ваших воркфлоу.
Интегрируйте Sentry в рабочий процесс. Мониторить issues, manage projects, track events, и coordinate releases across your applications.
Список issues from Sentry для a specific organization и optionally a specific project. Returns issue details including status, error counts, и last seen timestamps.
| Параметр | Тип | Обязательный | Описание |
|---|
apiKey | string | Да | Sentry API authentication token |
organizationSlug | string | Да | The slug of the organization (e.g., "my-org") |
projectSlug | string | Нет | Filter issues by specific project slug (e.g., "my-project") |
query | string | Нет | Search query to filter issues. Supports Sentry search syntax (e.g., "is:unresolved", "level:error") |
statsPeriod | string | Нет | Time period for stats (e.g., "24h", "7d", "30d"). Defaults to 24h if not specified. |
cursor | string | Нет | Pagination cursor for retrieving next page of results |
limit | number | Нет | Number of issues to return per page (default: 25, max: 100) |
status | string | Нет | Filter by issue status: unresolved, resolved, ignored, or muted |
sort | string | Нет | Sort order: date, new, freq, priority, or user (default: date) |
| Параметр | Тип | Описание |
|---|
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 | Произошла ли 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 | Произошла ли issue is bookmarked |
↳ isSubscribed | boolean | Whether subscribed to updates |
↳ hasSeen | boolean | Произошла ли user has seen this issue |
↳ annotations | array | Issue annotations |
↳ isUnhandled | boolean | Произошла ли 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 | Произошла лиre are more results available |
Получить подробную информацию about a specific Sentry issue by its ID. Returns complete issue details including metadata, tags, и statistics.
| Параметр | Тип | Обязательный | Описание |
|---|
apiKey | string | Да | Sentry API authentication token |
organizationSlug | string | Да | The slug of the organization (e.g., "my-org") |
issueId | string | Да | The unique ID of the issue to retrieve (e.g., "12345") |
| Параметр | Тип | Описание |
|---|
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 | Произошла ли 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 | Произошла ли issue is bookmarked |
↳ isSubscribed | boolean | Произошла ли user is subscribed to updates |
↳ hasSeen | boolean | Произошла ли user has seen this issue |
↳ annotations | array | Issue annotations |
↳ isUnhandled | boolean | Произошла ли 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 |
Обновить Sentry issue by changing its status, assignment, bookmark state, или other properties. Returns the updated issue details.
| Параметр | Тип | Обязательный | Описание |
|---|
apiKey | string | Да | Sentry API authentication token |
organizationSlug | string | Да | The slug of the organization (e.g., "my-org") |
issueId | string | Да | The unique ID of the issue to update (e.g., "12345") |
status | string | Нет | New status for the issue: resolved, unresolved, ignored, or resolvedInNextRelease |
assignedTo | string | Нет | User ID or email to assign the issue to. Use empty string to unassign. |
isBookmarked | boolean | Нет | Whether to bookmark the issue |
isSubscribed | boolean | Нет | Whether to subscribe to issue updates |
isPublic | boolean | Нет | Произошла ли issue should be publicly visible |
| Параметр | Тип | Описание |
|---|
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 | Произошла ли issue is bookmarked |
↳ isSubscribed | boolean | Произошла ли user is subscribed to updates |
↳ isPublic | boolean | Произошла ли issue is publicly visible |
↳ permalink | string | Direct link to the issue in Sentry |
Список всех projects in a Sentry organization. Returns project details including name, platform, teams, и configuration.
| Параметр | Тип | Обязательный | Описание |
|---|
apiKey | string | Да | Sentry API authentication token |
organizationSlug | string | Да | The slug of the organization (e.g., "my-org") |
cursor | string | Нет | Pagination cursor for retrieving next page of results |
limit | number | Нет | Number of projects to return per page (default: 25, max: 100) |
| Параметр | Тип | Описание |
|---|
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 | Произошла ли project is bookmarked |
↳ isMember | boolean | Произошла ли 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 С помощью project |
↳ id | string | Team ID |
↳ name | string | Team name |
↳ slug | string | Team slug |
↳ status | string | Project status |
↳ isPublic | boolean | Произошла ли project is publicly visible |
metadata | object | Pagination metadata |
↳ nextCursor | string | Cursor for the next page of results (if available) |
↳ hasMore | boolean | Произошла лиre are more results available |
Получить подробную информацию about a specific Sentry project by its slug. Returns complete project details including teams, features, и configuration.
| Параметр | Тип | Обязательный | Описание |
|---|
apiKey | string | Да | Sentry API authentication token |
organizationSlug | string | Да | The slug of the organization (e.g., "my-org") |
projectSlug | string | Да | The slug of the project to retrieve (e.g., "my-project") |
| Параметр | Тип | Описание |
|---|
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 | Произошла ли project is bookmarked |
↳ isMember | boolean | Произошла ли 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 С помощью project |
↳ id | string | Team ID |
↳ name | string | Team name |
↳ slug | string | Team slug |
↳ status | string | Project status |
↳ color | string | Project color code |
↳ isPublic | boolean | Произошла ли project is publicly visible |
↳ isInternal | boolean | Произошла ли project is internal |
↳ hasAccess | boolean | Произошла ли user has access to this project |
↳ hasMinifiedStackTrace | boolean | Whether minified stack traces are available |
↳ hasMonitors | boolean | Произошла ли project has monitors configured |
↳ hasProfiles | boolean | Произошла ли project has profiling enabled |
↳ hasReplays | boolean | Произошла ли project has session replays enabled |
↳ hasSessions | boolean | Произошла ли project has sessions enabled |
Создать новый Sentry project in an organization. Требуется team to associate the project with. Returns the created project details.
| Параметр | Тип | Обязательный | Описание |
|---|
apiKey | string | Да | Sentry API authentication token |
organizationSlug | string | Да | The slug of the organization (e.g., "my-org") |
name | string | Да | The name of the project |
teamSlug | string | Да | The slug of the team that will own this project |
slug | string | Нет | URL-friendly project identifier (auto-generated from name if not provided) |
platform | string | Нет | Platform/language for the project (e.g., javascript, python, node, react-native). If not specified, defaults to "other" |
defaultRules | boolean | Нет | Whether to create default alert rules (default: true) |
| Параметр | Тип | Описание |
|---|
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 | Произошла ли project is bookmarked |
↳ isMember | boolean | Произошла ли user is a member |
↳ hasAccess | boolean | Произошла ли 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 С помощью project |
↳ id | string | Team ID |
↳ name | string | Team name |
↳ slug | string | Team slug |
↳ status | string | Project status |
↳ color | string | Project color code |
↳ isPublic | boolean | Произошла ли project is public |
Обновить Sentry project by changing its name, slug, platform, или other settings. Returns the updated project details.
| Параметр | Тип | Обязательный | Описание |
|---|
apiKey | string | Да | Sentry API authentication token |
organizationSlug | string | Да | The slug of the organization (e.g., "my-org") |
projectSlug | string | Да | The slug of the project to update (e.g., "my-project") |
name | string | Нет | New name for the project |
slug | string | Нет | New URL-friendly project identifier |
platform | string | Нет | New platform/language for the project (e.g., javascript, python, node) |
isBookmarked | boolean | Нет | Whether to bookmark the project |
digestsMinDelay | number | Нет | Minimum delay (in seconds) for digest notifications |
digestsMaxDelay | number | Нет | Maximum delay (in seconds) for digest notifications |
| Параметр | Тип | Описание |
|---|
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 | Произошла ли project is bookmarked |
↳ organization | object | Organization information |
↳ id | string | Organization ID |
↳ slug | string | Organization slug |
↳ name | string | Organization name |
↳ teams | array | Teams associated С помощью project |
↳ id | string | Team ID |
↳ name | string | Team name |
↳ slug | string | Team slug |
Список events from a Sentry project. Can be filtered by issue ID, запрос, или time period. Returns event details including context, tags, и user information.
| Параметр | Тип | Обязательный | Описание |
|---|
apiKey | string | Да | Sentry API authentication token |
organizationSlug | string | Да | The slug of the organization (e.g., "my-org") |
projectSlug | string | Да | The slug of the project to list events from (e.g., "my-project") |
issueId | string | Нет | Filter events by a specific issue ID (e.g., "12345") |
query | string | Нет | Search query to filter events. Supports Sentry search syntax (e.g., "user.email:*@example.com") |
cursor | string | Нет | Pagination cursor for retrieving next page of results |
limit | number | Нет | Number of events to return per page (default: 50, max: 100) |
statsPeriod | string | Нет | Time period to query (e.g., "24h", "7d", "30d"). Defaults to 90d if not specified. |
| Параметр | Тип | Описание |
|---|
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 С помощью 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 С помощью 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 | Произошла лиre are more results available |
Получить подробную информацию about a specific Sentry event by its ID. Returns complete event details including stack traces, breadcrumbs, context, и user information.
| Параметр | Тип | Обязательный | Описание |
|---|
apiKey | string | Да | Sentry API authentication token |
organizationSlug | string | Да | The slug of the organization (e.g., "my-org") |
projectSlug | string | Да | The slug of the project (e.g., "my-project") |
eventId | string | Да | The unique ID of the event to retrieve (e.g., "abc123def456") |
| Параметр | Тип | Описание |
|---|
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 С помощью 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 С помощью 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 |
Список releases для a Sentry organization или project. Returns release details including version, commits, deploy information, и associated projects.
| Параметр | Тип | Обязательный | Описание |
|---|
apiKey | string | Да | Sentry API authentication token |
organizationSlug | string | Да | The slug of the organization (e.g., "my-org") |
projectSlug | string | Нет | Filter releases by specific project slug (e.g., "my-project") |
query | string | Нет | Search query to filter releases (e.g., "1.0" to match version patterns) |
cursor | string | Нет | Pagination cursor for retrieving next page of results |
limit | number | Нет | Number of releases to return per page (default: 25, max: 100) |
| Параметр | Тип | Описание |
|---|
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 | Произошла лиre are more results available |
Создать новый release in Sentry. A release — это version of your code deployed to an environment. Can include commit information и associated projects. Returns the created release details.
| Параметр | Тип | Обязательный | Описание |
|---|
apiKey | string | Да | Sentry API authentication token |
organizationSlug | string | Да | The slug of the organization (e.g., "my-org") |
version | string | Да | Version identifier for the release (e.g., "2.0.0", "my-app@1.0.0", or a git commit SHA) |
projects | string | Да | Comma-separated list of project slugs to associate with this release |
ref | string | Нет | Git reference (commit SHA, tag, or branch) for this release |
url | string | Нет | URL pointing to the release (e.g., GitHub release page) |
dateReleased | string | Нет | ISO 8601 timestamp for when the release was deployed (defaults to current time) |
commits | string | Нет | JSON array of commit objects with id, repository (optional), and message (optional). Example: [{"id":"abc123","message":"Fix bug"}] |
| Параметр | Тип | Описание |
|---|
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 |
Создать a deploy record для a Sentry release in a specific environment. Deploys track when и where releases are deployed. Returns the created deploy details.
| Параметр | Тип | Обязательный | Описание |
|---|
apiKey | string | Да | Sentry API authentication token |
organizationSlug | string | Да | The slug of the organization (e.g., "my-org") |
version | string | Да | Version identifier of the release being deployed (e.g., "1.0.0" or "abc123") |
environment | string | Да | Environment name where the release is being deployed (e.g., "production", "staging") |
name | string | Нет | Optional name for this deploy (e.g., "Deploy v2.0 to Production") |
url | string | Нет | URL pointing to the deploy (e.g., CI/CD pipeline URL) |
dateStarted | string | Нет | ISO 8601 timestamp for when the deploy started (defaults to current time) |
dateFinished | string | Нет | ISO 8601 timestamp for when the deploy finished |
| Параметр | Тип | Описание |
|---|
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) |