struct

Anthropic::BetaAPIKey

Inherits JSON::Serializable < Struct < Value < Object

An API key in the organization.

Constructors

new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

created_at
Source
created_by

Actor that created the key (user or service-account shape).

Source
expires_at
Source
name
Source
partial_key_hint
Source
principal

Key principal (organization or workspace scope shape).

Source
scope

Key scope shape.

Source
status

Key status: "active", "archived", or "inactive".

Source
type

Object type. Always "api_key".

Source
workspace_id
Source