The whole hunk
from line 148, old and new numbered
/
lines
from line 148
148148
149149 default: false
150150
151 - `expires_at: optional string or null`
152
153 RFC 3339 datetime string representing when the file will expire and become unavailable for download. Null if the file does not expire. For files uploaded with `expires_in_seconds`, this is the upload time plus that value.
154
155 format: date-time
156
151157 - `scope: optional BetaFileScope or null`
152158
153159 The scope of this file, indicating the context in which it was created (e.g., a session).
from line 171
165171```bash
166172curl https://api.anthropic.com/v1/files/$FILE_ID \
167173 -H 'anthropic-version: 2023-06-01' \
168 -H 'anthropic-beta: files-api-2025-04-14' \
169174 -H "X-Api-Key: $ANTHROPIC_API_KEY"
170175```
171176
from line 185
180185 "size_bytes": 102400,
181186 "type": "file",
182187 "downloadable": false,
188 "expires_at": "2025-05-15T18:37:24.100435Z",
183189 "scope": {
184190 "id": "id",
185191 "type": "session"