Docs/Platform/GET /v1/keys

GET /v1/keysList API keys (metadata only)

Platform platform (cross-worker)

Returns metadata for the authenticated caller's API key(s): the key used for the request plus any sibling keys that share its owner_email. Keys are stored as SHA-256 hashes and are NEVER returned in full — only metadata (prefix, tier, active, created, expires_at, last_used, total_calls, owner_email). Requires authentication (admin sees all keys sharing the owner_email).

Response Schema

result (object): Response payload

cURL Example

curl 'https://lf-format-utils.laminarforge.dev/v1/keys' -H 'Authorization: Bearer lf_YourApiKey'

Python Example

import requests
url = 'https://lf-format-utils.laminarforge.dev/v1/keys'
headers = {'Authorization': 'Bearer lf_YourApiKey'}
response = requests.get(url, headers=headers)
print(response.json())