Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.mesa.dev/llms.txt

Use this file to discover all available pages before exploring further.

List API keys visible to the authenticated key. Key secret values are not returned.
keys = await mesa.api_keys.list(limit=50)

for key in keys.api_keys:
    print(key.id, key.name, key.scopes)

Options

org
str | None
Organization override.
cursor
str | None
Opaque pagination cursor from a previous response.
limit
int | None
Maximum number of items to return. The server maximum is 100.

Response

next_cursor
str | None
Cursor for the next page, or None when no more results remain.
has_more
bool
Whether another page is available.
api_keys
list
API key summaries. Includes fields such as id, name, scopes, repo_ids, tags, last_used_at, expires_at, revoked_at, and created_at.

Required scope

admin
Generated filters such as status, scope, and repo_id are available through mesa.raw today.