Skip to main content
GET
/
v2
/
api-keys
List API Keys
curl --request GET \
  --url https://api.tusky.io/v2/api-keys
List all API keys on the account. Key values are not returned — only metadata.

Response

Returns an array of API key objects (without the key field).

Example

curl https://api.tusky.io/v2/api-keys \
  -H "Api-Key: YOUR_API_KEY"

Response

{
  "data": [
    {
      "id": "key_abc123",
      "name": "production-backend",
      "scopes": ["files:read", "files:write", "environments:read"],
      "expiresAt": null,
      "createdAt": "2026-03-07T14:00:00Z",
      "lastUsedAt": "2026-03-07T18:30:00Z"
    }
  ]
}