List an Organization's trusted Relays

GET /api/0/organizations/{organization_id_or_slug}/relay_usage/

Return a list of trusted relays bound to an organization.

If the organization doesn't have Relay usage enabled it returns a 404.

Path Parameters

organization_id_or_slug (string)
REQUIRED

The id or slug of the organization the resource belongs to.

Scopes

<auth_token> requires one of the following scopes:
  • org:admin
  • org:read
  • org:write
curl https://sentry.io/api/0/organizations/{organization_id_or_slug}/relay_usage/ \
 -H 'Authorization: Bearer <auth_token>'
RESPONSESCHEMA
[
  {
    "relayId": "0123abcd-4567-efgh-ij89-012aaa456bbb",
    "version": "23.11.2",
    "firstSeen": "2023-12-10T00:00:00.000000Z",
    "lastSeen": "2023-12-20T22:22:22.222222Z",
    "publicKey": "asdfa54g9987ga9dfha0f8adfhkj324-dafd78321-I"
  }
]