Claude Platform Docs

Resources

Add Session Resource
POST/v1/sessions/{session_id}/resources
List Session Resources
GET/v1/sessions/{session_id}/resources
Get Session Resource
GET/v1/sessions/{session_id}/resources/{resource_id}
Update Session Resource
POST/v1/sessions/{session_id}/resources/{resource_id}
Delete Session Resource
DELETE/v1/sessions/{session_id}/resources/{resource_id}
Models
BetaManagedAgentsDeleteSessionResource object{ id, type }

Confirmation of resource deletion.

id: string
type: "session_resource_deleted"
BetaManagedAgentsFileResource object{ id, created_at, file_id, 3 more }
id: string
created_at: string

A timestamp in RFC 3339 format

formatdate-time
file_id: string
mount_path: string
type: "file"
updated_at: string

A timestamp in RFC 3339 format

formatdate-time
BetaManagedAgentsGitHubRepositoryResource object{ id, created_at, mount_path, 4 more }
BetaManagedAgentsMemoryStoreResource object{ memory_store_id, type, access, 4 more }

A memory store attached to an agent session.

BetaManagedAgentsSessionResource = BetaManagedAgentsGitHubRepositoryResource { id, created_at, mount_path, 4 more } or BetaManagedAgentsFileResource { id, created_at, file_id, 3 more } or BetaManagedAgentsMemoryStoreResource { memory_store_id, type, access, 4 more }

A memory store attached to an agent session.

One of the following:
ResourceRetrieveResponse = BetaManagedAgentsGitHubRepositoryResource { id, created_at, mount_path, 4 more } or BetaManagedAgentsFileResource { id, created_at, file_id, 3 more } or BetaManagedAgentsMemoryStoreResource { memory_store_id, type, access, 4 more }

The requested session resource.

One of the following:
ResourceUpdateResponse = BetaManagedAgentsGitHubRepositoryResource { id, created_at, mount_path, 4 more } or BetaManagedAgentsFileResource { id, created_at, file_id, 3 more } or BetaManagedAgentsMemoryStoreResource { memory_store_id, type, access, 4 more }

The updated session resource.

One of the following: