List a Tag's Values for an Issue
GET /api/0/issues/{issue_id}/tags/{key}/values/
Returns a list of values associated with this key for an issue. Returns at most 1000 values when paginated.
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:
sort
(string)- choices:
- age
- count
- date
- id
Sort order of the resulting tag values. Prefix with '-' for descending order. Default is '-id'.
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
Copied
curl https://sentry.io/api/0/issues/{issue_id}/tags/{key}/values/ \ -H 'Authorization: Bearer <auth_token>'
RESPONSESCHEMA
Copied[ { "key": "strawberry", "name": "Strawberry", "value": "strawberry", "count": 2, "lastSeen": "2024-01-01T00:00:00Z", "firstSeen": "2024-01-01T00:00:00Z" }, { "key": "vanilla", "name": "Vanilla", "value": "vanilla", "count": 1, "lastSeen": "2024-01-01T00:00:00Z", "firstSeen": "2024-01-01T00:00:00Z" }, { "key": "chocolate", "name": "Chocolate", "value": "chocolate", "count": 1, "lastSeen": "2024-01-01T00:00:00Z", "firstSeen": "2024-01-01T00:00:00Z" }, { "key": "Neopolitan", "name": "Neopolitan", "value": "neopolitan", "count": 1, "lastSeen": "2024-01-01T00:00:00Z", "firstSeen": "2024-01-01T00:00:00Z" } ]