Account

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.

get/api/v1/account/keys

Request

  • Base URL: https://api.dotsy.ai
  • URL: https://api.dotsy.ai/api/v1/account/keys
  • Auth: HTTP bearer

Query parameters

limitinteger

Page size (1–1000). Omit it to get the whole list in one response, without nextCursor.

cursorstring

Opaque cursor from the previous page's nextCursor. Send it with limit to get the next page.

Headers

X-Dotsy-Workspacestring

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.

nextCursorstring nullable

Present only when the request sent limit. Pass it as cursor (with the same limit) for the next page; null on the last page.

Changes

No recorded changes to this operation across all 1 revision of this API.