from line 1
1---
2title: List Session Resources
3url: https://platform.claude.com/docs/en/api/beta/sessions/resources/list
4---
1# List Session Resources
52
6## List Session Resources
3**GET** `/v1/sessions/{session_id}/resources`
74
8**get** `/v1/sessions/{session_id}/resources`
9
105List Session Resources
116
12### Path Parameters
7## Path parameters
138
149- `session_id: string`
1510
16### Query Parameters
11## Query parameters
1712
1813- `limit: optional number`
1914
2015 Maximum number of resources to return per page (max 1000). If omitted, returns all resources.
2116
17 format: int32
18
2219- `page: optional string`
2320
2421 Opaque cursor from a previous response's next_page field.
2522
26### Header Parameters
23## Headers
2724
2825- `"anthropic-beta": optional array of AnthropicBeta`
2926
from line 98
10198
10299 - `"mid-conversation-tool-changes-2026-07-01"`
103100
104### Returns
101## Returns
105102
106103- `data: array of BetaManagedAgentsSessionResource`
107104
108105 Resources for the session, ordered by `created_at`.
109106
110 - `BetaManagedAgentsGitHubRepositoryResource object { id, created_at, mount_path, 4 more }`
107 - `BetaManagedAgentsGitHubRepositoryResource object`
111108
112109 - `id: string`
113110
from line 112
115112
116113 A timestamp in RFC 3339 format
117114
115 format: date-time
116
118117 - `mount_path: string`
119118
120119 - `type: "github_repository"`
121120
122 - `"github_repository"`
123
124121 - `updated_at: string`
125122
126123 A timestamp in RFC 3339 format
127124
125 format: date-time
126
128127 - `url: string`
129128
130129 - `checkout: optional BetaManagedAgentsBranchCheckout or BetaManagedAgentsCommitCheckout or null`
131130
132 - `BetaManagedAgentsBranchCheckout object { name, type }`
131 - `BetaManagedAgentsBranchCheckout object`
133132
134133 - `name: string`
135134
136135 Branch name to check out.
137136
137 minLength: 1, maxLength: 255
138
138139 - `type: "branch"`
139140
140 - `"branch"`
141 - `BetaManagedAgentsCommitCheckout object`
141142
142 - `BetaManagedAgentsCommitCheckout object { sha, type }`
143
144143 - `sha: string`
145144
146145 Full commit SHA to check out.
147146
147 minLength: 7, maxLength: 64
148
148149 - `type: "commit"`
149150
150 - `"commit"`
151 - `BetaManagedAgentsFileResource object`
151152
152 - `BetaManagedAgentsFileResource object { id, created_at, file_id, 3 more }`
153
154153 - `id: string`
155154
156155 - `created_at: string`
from line 156
157156
158157 A timestamp in RFC 3339 format
159158
159 format: date-time
160
160161 - `file_id: string`
161162
162163 - `mount_path: string`
from line 164
163164
164165 - `type: "file"`
165166
166 - `"file"`
167
168167 - `updated_at: string`
169168
170169 A timestamp in RFC 3339 format
171170
172 - `BetaManagedAgentsMemoryStoreResource object { memory_store_id, type, access, 4 more }`
171 format: date-time
173172
173 - `BetaManagedAgentsMemoryStoreResource object`
174
174175 A memory store attached to an agent session.
175176
176177 - `memory_store_id: string`
from line 180
179180
180181 - `type: "memory_store"`
181182
182 - `"memory_store"`
183
184183 - `access: optional "read_write" or "read_only" or null`
185184
186185 Access mode for an attached memory store.
from line 196
197196
198197 Per-attachment guidance for the agent on how to use this store. Rendered into the memory section of the system prompt. Max 4096 chars.
199198
199 maxLength: 4096
200
200201 - `mount_path: optional string or null`
201202
202203 Filesystem path where the store is mounted in the session container, e.g. /mnt/memory/user-preferences. Derived from the store's name. Output-only.
from line 210
209210
210211 Opaque cursor for the next page. Null when no more results.
211212
212### Example
213## Example
213214
214```http
215```bash
215216curl https://api.anthropic.com/v1/sessions/$SESSION_ID/resources \
216217 -H 'anthropic-version: 2023-06-01' \
217218 -H 'anthropic-beta: managed-agents-2026-04-01' \
from line 219
218219 -H "X-Api-Key: $ANTHROPIC_API_KEY"
219220```
220221
221#### Response
222### Response (200)
222223
223224```json
224225{
No line in this hunk matches that.