Skip to main content
GET
/
api
/
v1
/
keys
List API keys for current interface
curl --request GET \
  --url https://forge.gloo.ai/api/v1/keys \
  --header 'Authorization: Bearer <token>'
{
  "data": [
    {
      "id": "<string>",
      "keyPrefix": "<string>",
      "interfaceId": "<string>",
      "label": "<string>",
      "scopes": [
        "<string>"
      ],
      "status": "active",
      "createdAt": 123,
      "expiresAt": 123,
      "revokedAt": 123,
      "lastUsedAt": 123
    }
  ],
  "meta": {
    "requestId": "<string>",
    "hasMore": true,
    "nextCursor": "<string>"
  }
}

Authorizations

Authorization
string
header
required

API key from /api/v1/keys. Pass as Authorization: Bearer <key>.

Response

200 - application/json

Key list

data
object[]
meta
object