Retrieve Statuses of Release Thresholds (Alpha)
[WARNING]: This API is an experimental Alpha feature and is subject to change!
List all derived statuses of releases that fall within the provided start/end datetimes.
Constructs a response key'd off {release_version}-{project_slug} that lists thresholds with their status for specified projects.
Each returned enriched threshold will contain the full serialized release_threshold instance as well as it's derived health statuses.
Path Parameters
- organization_id_or_slug(string)REQUIRED
- The ID or slug of the organization the resource belongs to. 
Query Parameters:
- start(string)REQUIRED
- The start of the time series range as an explicit datetime, either in UTC ISO8601 or epoch seconds. Use along with - end.
- end(string)REQUIRED
- The inclusive end of the time series range as an explicit datetime, either in UTC ISO8601 or epoch seconds. Use along with - start.
- environment(array(string))
- A list of environment names to filter your results by. 
- projectSlug(array(string))
- A list of project slugs to filter your results by. 
- release(array(string))
- A list of release versions to filter your results by. 
Scopes
<auth_token> requires one of the following scopes:- org:ci
- project:admin
- project:read
- project:releases
- project:write
curl https://sentry.io/api/0/organizations/{organization_id_or_slug}/release-threshold-statuses/ \
 -H 'Authorization: Bearer <auth_token>'{
  "the-spoiled-yoghurt-v1.0.0": [
    {
      "project_id": 0,
      "project_slug": "the-spoiled-yoghurt",
      "environment": {
        "name": "production"
      },
      "project": {
        "id": "4505321021243392",
        "slug": "the-spoiled-yoghurt",
        "name": "The Spoiled Yoghurt",
        "platform": "python",
        "dateCreated": "2023-06-08T00:13:06.004534Z",
        "isBookmarked": false,
        "isMember": true,
        "features": [
          "alert-filters",
          "custom-inbound-filters",
          "data-forwarding",
          "discard-groups",
          "minidump",
          "race-free-group-creation",
          "rate-limits",
          "servicehooks",
          "similarity-indexing",
          "similarity-indexing-v2",
          "similarity-view",
          "similarity-view-v2"
        ],
        "firstEvent": null,
        "firstTransactionEvent": false,
        "access": [
          "member:read",
          "event:read",
          "project:admin",
          "team:write",
          "project:write",
          "team:admin",
          "project:read",
          "org:integrations",
          "org:read",
          "project:releases",
          "team:read",
          "alerts:write",
          "event:admin",
          "event:write",
          "alerts:read"
        ],
        "hasAccess": true,
        "hasMinifiedStackTrace": false,
        "hasCustomMetrics": false,
        "hasFeedbacks": false,
        "hasMonitors": false,
        "hasNewFeedbacks": false,
        "hasProfiles": false,
        "hasReplays": false,
        "hasSessions": false,
        "hasInsightsHttp": true,
        "hasInsightsDb": false,
        "hasInsightsAssets": true,
        "hasInsightsAppStart": false,
        "hasInsightsScreenLoad": false,
        "hasInsightsVitals": false,
        "hasInsightsCaches": false,
        "hasInsightsQueues": false,
        "hasInsightsLlmMonitoring": false,
        "isInternal": false,
        "isPublic": false,
        "avatar": {
          "avatarType": "letter_avatar",
          "avatarUuid": null
        },
        "color": "#3f70bf",
        "status": "active"
      },
      "threshold_type": 0,
      "trigger_type": "over",
      "value": 100,
      "window_in_seconds": 600,
      "key": "foobar-v1.0.0",
      "release": "the-spoiled-yoghurt-v1.0.0",
      "is_healthy": true,
      "start": "2022-02-14T19:00:00Z",
      "end": "2022-02-28T18:03:00Z",
      "metric_value": 0.1
    }
  ]
}