class

Anthropic::BetaSessionThreads

Inherits Reference < Object

Session Threads API resource (beta)

Constructors

new(client : Client)
Source

Instance methods

archive(session_id : String, thread_id : String, betas : Array(String) = [] of String, workspace_id : String | Nil = nil) : BetaManagedAgentsSessionThread

Archive a thread

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

List threads in a session

Source
retrieve(session_id : String, thread_id : String, betas : Array(String) = [] of String, workspace_id : String | Nil = nil) : BetaManagedAgentsSessionThread

Retrieve a thread

Source