Claude Platform Docs

Recursos

Adicionar recurso de sessão
POST/v1/sessions/{session_id}/resources
Listar recursos de sessão
GET/v1/sessions/{session_id}/resources
Obter recurso de sessão
GET/v1/sessions/{session_id}/resources/{resource_id}
Atualizar recurso de sessão
POST/v1/sessions/{session_id}/resources/{resource_id}
Excluir recurso de sessão
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: