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)REQUIREDThe ID of the issue you'd like to query.
key
(string)REQUIREDThe tag key to look the values up for.
Query Parameters:
environment
(array(string))The name of environments to filter by.
Scopes
You need to authenticate via bearer auth token.
<auth_token>
requires one of the following scopes:event:admin
event:read
event:write
curl https://sentry.io/api/0/issues/{issue_id}/tags/{key}/ \ -H 'Authorization: Bearer <auth_token>'
RESPONSESCHEMA
{
"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"
}
]
}