Claude Platform Docs

リソース

セッションリソースを追加
POST/v1/sessions/{session_id}/resources
セッションリソースの一覧
GET/v1/sessions/{session_id}/resources
セッションリソースを取得
GET/v1/sessions/{session_id}/resources/{resource_id}
セッションリソースを更新
POST/v1/sessions/{session_id}/resources/{resource_id}
セッションリソースを削除
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: