Sesi
Buat Sesi
client.beta.sessions.create(params, options?): BetaManagedAgentsSessionPOST/v1/sessions
Requires
anthropic-beta: managed-agents-2026-04-01. Learn how to send beta headers.Daftar Sesi
client.beta.sessions.list(params?, options?): BidirectionalPageCursor<BetaManagedAgentsSession>GET/v1/sessions
Requires
anthropic-beta: managed-agents-2026-04-01. Learn how to send beta headers.Dapatkan Sesi
client.beta.sessions.retrieve(sessionID, params?, options?): BetaManagedAgentsSessionGET/v1/sessions/{session_id}
Requires
anthropic-beta: managed-agents-2026-04-01. Learn how to send beta headers.Perbarui Sesi
client.beta.sessions.update(sessionID, params, options?): BetaManagedAgentsSessionPOST/v1/sessions/{session_id}
Requires
anthropic-beta: managed-agents-2026-04-01. Learn how to send beta headers.Hapus Sesi
client.beta.sessions.delete(sessionID, params?, options?): BetaManagedAgentsDeletedSessionDELETE/v1/sessions/{session_id}
Requires
anthropic-beta: managed-agents-2026-04-01. Learn how to send beta headers.Arsipkan Sesi
client.beta.sessions.archive(sessionID, params?, options?): BetaManagedAgentsSessionPOST/v1/sessions/{session_id}/archive
Requires
anthropic-beta: managed-agents-2026-04-01. Learn how to send beta headers.Models
SesiEvent
Daftar Event
client.beta.sessions.events.list(sessionID, params?, options?): PageCursor<BetaManagedAgentsSessionEvent>GET/v1/sessions/{session_id}/events
Requires
anthropic-beta: managed-agents-2026-04-01. Learn how to send beta headers.Kirim Event
client.beta.sessions.events.send(sessionID, params, options?): BetaManagedAgentsSendSessionEventsPOST/v1/sessions/{session_id}/events
Requires
anthropic-beta: managed-agents-2026-04-01. Learn how to send beta headers.Streaming Event
client.beta.sessions.events.stream(sessionID, params?, options?): Stream<BetaManagedAgentsStreamSessionEvents>GET/v1/sessions/{session_id}/events/stream
Requires
anthropic-beta: managed-agents-2026-04-01. Learn how to send beta headers.SesiSumber Daya
Tambah Sumber Daya Sesi
client.beta.sessions.resources.add(sessionID, params, options?): BetaManagedAgentsFileResourcePOST/v1/sessions/{session_id}/resources
Requires
anthropic-beta: managed-agents-2026-04-01. Learn how to send beta headers.Tambah Resource Sesi
Daftar Sumber Daya Sesi
client.beta.sessions.resources.list(sessionID, params?, options?): PageCursor<BetaManagedAgentsSessionResource>GET/v1/sessions/{session_id}/resources
Requires
anthropic-beta: managed-agents-2026-04-01. Learn how to send beta headers.Daftar Resource Sesi
Dapatkan Sumber Daya Sesi
client.beta.sessions.resources.retrieve(resourceID, params, options?): ResourceRetrieveResponseGET/v1/sessions/{session_id}/resources/{resource_id}
Requires
anthropic-beta: managed-agents-2026-04-01. Learn how to send beta headers.Dapatkan Resource Sesi
Perbarui Sumber Daya Sesi
client.beta.sessions.resources.update(resourceID, params, options?): ResourceUpdateResponsePOST/v1/sessions/{session_id}/resources/{resource_id}
Requires
anthropic-beta: managed-agents-2026-04-01. Learn how to send beta headers.Perbarui Resource Sesi
Hapus Sumber Daya Sesi
client.beta.sessions.resources.delete(resourceID, params, options?): BetaManagedAgentsDeleteSessionResourceDELETE/v1/sessions/{session_id}/resources/{resource_id}
Requires
anthropic-beta: managed-agents-2026-04-01. Learn how to send beta headers.Hapus Resource Sesi
SesiThread
Daftar Thread Sesi
client.beta.sessions.threads.list(sessionID, params?, options?): PageCursor<BetaManagedAgentsSessionThread>GET/v1/sessions/{session_id}/threads
Requires
anthropic-beta: managed-agents-2026-04-01. Learn how to send beta headers.Dapatkan Thread Sesi
client.beta.sessions.threads.retrieve(threadID, params, options?): BetaManagedAgentsSessionThreadGET/v1/sessions/{session_id}/threads/{thread_id}
Requires
anthropic-beta: managed-agents-2026-04-01. Learn how to send beta headers.Arsipkan Thread Sesi
client.beta.sessions.threads.archive(threadID, params, options?): BetaManagedAgentsSessionThreadPOST/v1/sessions/{session_id}/threads/{thread_id}/archive
Requires
anthropic-beta: managed-agents-2026-04-01. Learn how to send beta headers.SesiThreadEvent
Daftar Event Thread Sesi
client.beta.sessions.threads.events.list(threadID, params, options?): PageCursor<BetaManagedAgentsSessionEvent>GET/v1/sessions/{session_id}/threads/{thread_id}/events
Requires
anthropic-beta: managed-agents-2026-04-01. Learn how to send beta headers.Streaming Event Thread Sesi
client.beta.sessions.threads.events.stream(threadID, params, options?): Stream<BetaManagedAgentsStreamSessionThreadEvents>GET/v1/sessions/{session_id}/threads/{thread_id}/stream
Requires
anthropic-beta: managed-agents-2026-04-01. Learn how to send beta headers.Stream Event Thread Sesi