Private preview of the new site. Not live.

keys.list

List a shop's named agent keys (owner only): label, scopes, audience, when made, last used and revoked. The key itself is never returned. Filter by audience (any or mcp) or include revoked keys.

WhoAgents can call this
RESTGET /v1/keys
MCP toolkeys_list
Writesno
AreaSign-in and agent access

When to use it

The owner makes a key for each agent they use, with a name they will recognize. The key is shown once and never again, so save it when it is made.

What to tell the owner

Tell them what you found in plain words. Don't read back raw fields.

Input

FieldTypeRequired
shop_idstringyes
audiencestring (one of any, mcp)no
include_revokedbooleanno

Example

GET https://doingwork.work/v1/keys?shop_id=00000000-0000-4000-8000-000000000000

Output

JSON. The response shape isn't published yet; read the fields you need and ignore the rest. Errors are {code, message, status}.

Errors

CodeStatusWhat to do
invalid_input, invalid_token, rate_limitedCan happen on any call. See errors.