class

Anthropic::BetaSessionResources

Inherits Reference < Object

Session Resources API resource (beta)

Constructors

new(client : Client)
Source

Instance methods

add_file(session_id : String, file_id : String, mount_path : String | Nil = nil, betas : Array(String) = [] of String) : JSON::Any

Retrieve a specific resource

Source
list(session_id : String, limit : Int32 = 20, page : String | Nil = nil, betas : Array(String) = [] of String) : JSON::Any

List resources in a session

Source
retrieve(session_id : String, resource_id : String, betas : Array(String) = [] of String) : JSON::Any
Source