key management

List Keys

List all keys for a given user / team / organization.

Returns: { "keys": List[str] or List[UserAPIKeyAuth], "total_count": int, "current_page": int, "total_pages": int, }

get/key/list

Request

  • Base URL: https://api.aiaw.app (the document declares no server; this is the origin it was published from)
  • URL: https://api.aiaw.app/key/list
  • Auth: one of:
    • API key in header x-litellm-api-key
    • API key in header x-litellm-api-key
    • API key in header x-litellm-api-key
    • API key in header x-litellm-api-key
    • API key in header x-litellm-api-key
    • API key in header x-litellm-api-key

Query parameters

pageinteger

Page number

sizeinteger

Page size

user_idstring nullable

Filter keys by user ID

team_idstring nullable

Filter keys by team ID

organization_idstring nullable

Filter keys by organization ID

key_hashstring nullable

Filter keys by key hash

key_aliasstring nullable

Filter keys by key alias

return_full_objectboolean

Return full key object

include_team_keysboolean

Include all keys for teams that user is an admin of.

sort_bystring nullable

Column to sort by (e.g. 'user_id', 'created_at', 'spend')

sort_orderstring

Sort order ('asc' or 'desc')

Response

Successful Response

total_countinteger nullable
current_pageinteger nullable
total_pagesinteger nullable

Changes

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