keys

List the API keys in the caller's organization.

Requires master key authentication. An unset workspace_id lists every key in that organization; naming a workspace in another one lists nothing rather than refusing, so the filter reports no more than the unfiltered read does.

get/api/v1/keys

Request

  • The document declares no server URL.
  • Auth: one of:
    • API key in header Otari-Key
    • API key in header x-api-key

Query parameters

skipinteger
limitinteger
workspace_idstring uuid nullable

Only keys in this workspace.

Response

Successful Response

allowed_modelsstring[] nullable required
capture_agent_telemetryboolean nullable required
created_atstring required
end_user_budget_idstring nullable required
end_user_budget_idsstring[] required
exclude_from_budgetboolean required
expires_atstring nullable required
idstring required
is_activeboolean required
is_service_keyboolean required
key_namestring nullable required
key_prefixstring nullable required
key_suffixstring nullable required
last_used_atstring nullable required
metadataobject required
reject_user_mismatchboolean nullable required
user_idstring nullable required
workspace_idstring uuid required

Changes