Claude Platform Docs

Ressourcen

Session-Ressource hinzufügen
beta.sessions.resources.add(session_id, **kwargs) -> BetaManagedAgentsFileResource
POST/v1/sessions/{session_id}/resources
Requires anthropic-beta: managed-agents-2026-04-01. Learn how to send beta headers.
Session-Ressourcen auflisten
beta.sessions.resources.list(session_id, **kwargs) -> PageCursor<BetaManagedAgentsSessionResource>
GET/v1/sessions/{session_id}/resources
Requires anthropic-beta: managed-agents-2026-04-01. Learn how to send beta headers.
Session-Ressource abrufen
beta.sessions.resources.retrieve(resource_id, **kwargs) -> ResourceRetrieveResponse
GET/v1/sessions/{session_id}/resources/{resource_id}
Requires anthropic-beta: managed-agents-2026-04-01. Learn how to send beta headers.
Session-Ressource aktualisieren
beta.sessions.resources.update(resource_id, **kwargs) -> ResourceUpdateResponse
POST/v1/sessions/{session_id}/resources/{resource_id}
Requires anthropic-beta: managed-agents-2026-04-01. Learn how to send beta headers.
Session-Ressource löschen
beta.sessions.resources.delete(resource_id, **kwargs) -> BetaManagedAgentsDeleteSessionResource
DELETE/v1/sessions/{session_id}/resources/{resource_id}
Requires anthropic-beta: managed-agents-2026-04-01. Learn how to send beta headers.
Models
class BetaManagedAgentsDeleteSessionResource { type: :session_resource_deleted, id }

Confirmation of resource deletion.

type: :session_resource_deleted
id: String
class BetaManagedAgentsFileResource { type: :file, id, created_at, 3 more }
type: :file
id: String
created_at: Time

A timestamp in RFC 3339 format

formatdate-time
file_id: String
mount_path: String
updated_at: Time

A timestamp in RFC 3339 format

formatdate-time
class BetaManagedAgentsGitHubRepositoryResource { type: :github_repository, id, created_at, 4 more }
class BetaManagedAgentsMemoryStoreResource { type: :memory_store, memory_store_id, access, 4 more }

A memory store attached to an agent session.

One of the following:
One of the following: