List API keys
Returns API keys visible to the current workspace as a JSON array. Raw tokens are never included; the token field contains a masked display value.
Query parameters
Page size, 1–200. Unset uses the server default (25).
Cursor for forward pagination. Set to the api_key_id of the last item from the previous page.
Cursor for backward pagination. Set to the api_key_id of the first item from the previous page.
Optional filter: only return keys belonging to this project. When omitted, returns workspace-scoped and any single-project keys.
Optional filter: only return keys with this status.
Optional case-insensitive substring match against the api-key name. Empty means no name filter.
Optional filter: only return keys whose owner.kind matches one of the requested types. Combines the user / service-account oneof cases into a single repeated enum so the wire stays flat and multi-select filters travel as a single field. Empty means no owner-type filter.
Optional filter: only return keys whose permission mode is one of the listed presets. Empty means no permission-mode filter.
When true, embed each key's api-key-scoped budget (config and limits only, no live usage) on the returned records. Adds one budget lookup for the page; omit to skip it.
Response
API keys in the workspace.