API keys
List API keys
/v1/api-keysList the workspace's API keys, newest first. A member limited to some brands sees only their own keys. See Brand access.
Query parameters
workspaceIdstringOptional. Your API key already belongs to one workspace.
Response
A list of objects. The keys, without the key itself.
idstringrequiredThe key's id. Use it to revoke the key.
namestringrequiredThe name given when the key was made.
prefixstringrequiredThe first 7 characters of the key,
fk_and 4 more, to tell keys apart. The key itself is never returned again.createdAtnumberrequiredWhen the key was made, in milliseconds since the epoch.
lastUsedAtnumber or nullrequiredWhen a request last used the key, in milliseconds since the epoch. Null if it was never used.
revokedAtnumber or nullrequiredWhen the key was revoked, in milliseconds since the epoch. Null while the key works.
createdBystring or nullrequiredThe user id of the member who made the key. A key made with another key gets that key's maker. Null when unknown.
staffbooleanrequiredTrue for a staff key, which may also call staff endpoints. False for every key you make.
sourceenum or nullrequiredWhat made the key:
handoffwhen an AI handoff made it for its brief. Null for a key made by hand.
Errors answer with a status and the error shape.