API keys
These endpoints manage API keys. The API Keys page in the app uses them. They need a dashboard session: a key can't create or revoke keys. To use a key, see Authentication.
The API key object
| Field | Type | Description |
|---|---|---|
id | string | Unique id. Use it to revoke the key. |
name | string | Your label, 1–64 characters. |
prefix | string | The 8 characters after ll_live_. Shown in the app so you can tell keys apart. |
permissions | string[] | The key's scopes. |
created_at | string | ISO 8601. |
last_used_at | string | null | Time of the latest request with this key. |
revoked | boolean | true once revoked. |
key | string | The full secret. Only in the create response. |
Create a key
Body parameters
| Name | Type | Required | Description |
|---|---|---|---|
name | string | Yes | A label, 1–64 characters. |
permissions | string[] | No | Any of links:read, links:write, analytics:read. Empty or missing means all three. Unknown scopes return 400. |
Request body
{ "name": "ci-bot", "permissions": ["links:read", "links:write"] }
Response · 200 OK
{
"id": "2c8f3a91-6b5e-4d70-9f12-8e4d3c2b1a09",
"name": "ci-bot",
"prefix": "a1b2c3d4",
"permissions": ["links:read", "links:write"],
"created_at": "2026-11-30T10:00:00+00:00",
"last_used_at": null,
"revoked": false,
"key": "ll_live_a1b2c3d4…"
}
Store key now. No later response includes it.
List keys
Returns up to 100 of your keys, newest first, revoked ones included. The secret is never returned.
Revoke a key
The key stops working at once. Returns { "ok": true }, or 404 if the key is unknown or already revoked.