api_keys

Search API keys

The team's API keys for an access audit: what each may do, its status, last_used_at and expires_at. status for live vs dead keys, last_used_at.lt for stale keys to revoke at offboarding, expires_at for the ones expiring soon, created_by_actor_sid for what one teammate issued. The secret is never returned (token_prefix and token_last4 only). page_size 0 returns the counts only.

Contract:

  • MCP tool search_api_keys, registry package mcp.id/api_keys, mount id.access.
  • Operation search, response envelope search.
  • Flags: read only.
post/api/api-keys/search

Request

  • Base URL
    https://beta.getsales.io/id/v1
  • Auth
    HTTP bearer and API key in header Team-SID

Request body

page_sizeinteger

0..500, default 50; 0 = counts only, 1 = the first row.

cursorstring nullable

pagination.next_cursor of the previous page.

Response

search success envelope.

successtrue required
operation'search' required
applied_filtersobject required
includesstring[] required

Changes

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