Skip to main content
GET
/
api
/
policy-gateway
/
projects
/
{project_id}
/
keys
List project keys
curl --request GET \
  --url https://api.abliteration.ai/api/policy-gateway/projects/{project_id}/keys \
  --header 'Authorization: Bearer <token>'
{
  "project": {
    "id": "<string>",
    "name": "<string>"
  },
  "keys": [
    {
      "id": "<string>",
      "label": "<string>",
      "key_preview": "<string>",
      "revoked": true,
      "created_at": "<string>",
      "last_used_at": "<string>"
    }
  ]
}

Authorizations

Authorization
string
header
required

Use a JWT or API key as a Bearer token.

Path Parameters

project_id
string
required

Response

Project keys

project
object
keys
object[]