class

Anthropic::BetaOrganizationAPIKeys

Inherits Reference < Object

Organization API keys.

Constructors

new(client : Client)
Source

Instance methods

list(limit : Int32 = 20, page : String | Nil = nil) : BetaAPIKeyListResponse

List API keys with optional pagination.

Source
retrieve(api_key_id : String) : BetaAPIKey

Retrieve an API key by ID.

Source
update(api_key_id : String, name : String | Nil = nil, status : String | Nil = nil) : BetaAPIKey

Update an API key's name or status ("active", "archived", or "inactive").

Source