Retrieve Tag Details

GET /api/0/issues/{issue_id}/tags/{key}/

Return a list of values associated with this key for an issue. When paginated can return at most 1000 values.

Path Parameters

issue_id (integer)
REQUIRED

The ID of the issue you'd like to query.

key (string)
REQUIRED

The tag key to look the values up for.

Query Parameters:

environment (array(string))

The name of environments to filter by.

Scopes

<auth_token> requires one of the following scopes:
  • event:admin
  • event:read
  • event:write
Copied
curl https://sentry.io/api/0/issues/{issue_id}/tags/{key}/ \
 -H 'Authorization: Bearer <auth_token>'
RESPONSESCHEMA
Copied
{ "key": "flavors", "name": "Flavors", "uniqueValues": 2, "totalValues": 3, "topValues": [ { "key": "chunkymonkey", "name": "Chunky Monkey", "value": "chunkymonkey", "count": 2, "lastSeen": "2024-01-01T00:00:00Z", "firstSeen": "2024-01-01T00:00:00Z" }, { "key": "halfbaked", "name": "Half Baked", "value": "halfbaked", "count": 1, "lastSeen": "2024-01-01T00:00:00Z", "firstSeen": "2024-01-01T00:00:00Z" } ] }