Logstreem
List tokens
GET

List tokens

Every token on the organisation, with its scopes and last use.

Secrets are never returned after creation — listing shows the last four characters only.

GET/v1/tokens

This endpoint takes no parameters.

curl -X GET https://api.logstreem.com/v1/tokens \
  -H "Authorization: Bearer $LOGSTREEM_TOKEN"

Responses

200OK
{
  "object": "list",
  "data": [
    {
      "object": "token",
      "id": "tok_1d7e4b3a09c2f856d4a1",
      "name": "CI ingest",
      "scopes": ["ingest"],
      "datasets": ["api-gateway-prod"],
      "suffix": "5b2d",
      "last_used_at": "2026-09-06T09:12:00.000Z",
      "created_at": "2026-08-02T09:40:00.000Z"
    }
  ],
  "has_more": false,
  "next_cursor": null
}
401Unauthorized
{
  "error": {
    "type": "authentication_error",
    "code": "missing_token",
    "message": "No API token provided.",
    "doc_url": "https://logstreem.com/docs/errors#missing_token",
    "request_id": "req_9f3c2a7b41de08c5b2e6"
  }
}
Try itsandbox