List the workspace's API keys
Lists the active workspace's API keys, with each key's secret, so a key can be copied again later. Needs an admin key, or a signed-in workspace Owner or Admin.
Without limit, every key comes back, newest first. With limit, keys come back oldest first so a page never shifts while you read it, and nextCursor says whether more remain.
Request
- Base URL: https://api.dotsy.ai
- URL: https://api.dotsy.ai/api/v1/account/keys
- Auth: HTTP bearer
Query parameters
Page size (1–1000). Omit it to get the whole list in one response, without nextCursor.
Opaque cursor from the previous page's nextCursor. Send it with limit to get the next page.
Headers
Org id or slug to act as for this request (session/MCP user actors only — ignored for pga_ keys). Validated against the caller's own memberships (id match first, then slug); 403 if not a member. Takes precedence over session.activeOrganizationId and the auto-provisioned home-workspace fallback.
Response
The keys.
Changes
No recorded changes to this operation across all 1 revision of this API.