Skip to main content
GET
List Account API Keys
Lists API key metadata for the AgentMail account: count, next_page_token and api_keys, each with api_key_id, prefix, name, pod_id, inbox_id, used_at, permissions and created_at. The key secret itself is never returned, only its prefix. 🔴 This is the account-management surface, not a per-caller one. Every AIsa caller shares one AgentMail account, so this reaches inboxes other callers created, so the keys listed are the AIsa platform’s own, not yours. Nothing in normal mail workflows needs this — use get_agentmail_inboxes to find inboxes and get_agentmail_inbox_messages to read mail.

Example

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

Authorization
string
required

Bearer authentication

Query Parameters

limit
integer

Limit of number of items returned.

page_token
string

Page token for pagination.

ascending
boolean

Sort in ascending temporal order.

Response

200 - application/json

Response with status 200

count
integer
required

Number of items returned.

api_keys
ApiKey · object[]
required

Ordered by created_at descending.

next_page_token
string

Page token for pagination.