struct

Anthropic::Metadata

Inherits JSON::Serializable < Struct < Value < Object

Metadata for message requests

metadata = Anthropic::Metadata.new(user_id: "user-123")

Constructors

new(user_id : String | Nil = nil)
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

user_id
Source