Skip to main content
GET
/
api
/
admin
/
api-keys
List API Keys
curl --request GET \
  --url https://otel.logclaw.ai/api/admin/api-keys \
  --header 'x-logclaw-api-key: <api-key>'
[
  {
    "id": "key_abc123",
    "name": "production-backend",
    "prefix": "lc_proj_5a33...c717",
    "createdAt": "2024-03-01T10:00:00Z",
    "lastUsedAt": "2024-03-01T15:30:00Z"
  },
  {
    "id": "key_def456",
    "name": "staging-worker",
    "prefix": "lc_proj_8b21...a4f2",
    "createdAt": "2024-02-15T08:00:00Z",
    "lastUsedAt": null
  }
]

Authorizations

x-logclaw-api-key
string
header
required

Your project API key (starts with lc_proj_)

Response

List of API keys

id
string
Example:

"key_abc123"

name
string
Example:

"production-backend"

prefix
string
Example:

"lc_proj_5a33...c717"

createdAt
string<date-time>
Example:

"2024-03-01T10:00:00Z"

lastUsedAt
string<date-time> | null
Example:

"2024-03-01T15:30:00Z"