AnthropicClaude Managed Agents

List Session Resources

List the extra resources (files, repositories, etc.) attached to a session.

GET /anthropic/v1/sessions/{session_id}/resources◐ Partial

Request parameters

  • session_idstring必填

    path: Session ID (path or query parameter).

  • limitnumber可选

    query: Maximum number of items per page.

  • pagestring可选

    query: Pagination cursor taken from the previous response's next_page.

Returns

501

Supports persistence, retrieval and removal of file resource references, up to 500 per session. Files must be live and owned by the current tenant. Paths default to /mnt/session/uploads/<file_id>; custom paths are rooted there and parent traversal is rejected. File content is immutable through this API. Sandbox synchronization is not implemented in this batch.

Errors follow the Claude Managed Agents format — see error codes

Response

HTTP 200

Successful response

application/json

NameTypeDescription
dataarray<object>
data[].idstring
data[].created_atstringA timestamp in RFC 3339 format
data[].mount_pathstring | null | stringFilesystem path where the store is mounted in the session container, e.g. /mnt/memory/user-preferences. Derived from the store's name. Output-only.
data[].typestring
data[].updated_atstringA timestamp in RFC 3339 format
data[].urlstring
data[].checkoutnull | object
data[].file_idstring
data[].memory_store_idstringThe memory store ID (memstore_...). Must belong to the caller's organization and workspace.
data[].accessnull | stringAccess mode for an attached memory store.
data[].descriptionstringDescription of the memory store, snapshotted at attach time. Rendered into the agent's system prompt. Empty string when the store has no description.
data[].instructionsnull | stringPer-attachment guidance for the agent on how to use this store. Rendered into the memory section of the system prompt. Max 4096 chars.
data[].namenull | stringDisplay name of the memory store, snapshotted at attach time. Later edits to the store's name do not propagate to this resource.
next_pagestring | null