Comment Review Sheet

Group Photo Post Instagram Ideas

test kitchen on scarlet night virgin voyages scarlet lady cruise vlog

:
Remove non-existent purpose field from Files API examples (How To Make Business Cards In Photoshop)
The Files API upload endpoint does not accept a purpose parameter. Drop it from the managed-agents skill examples (TS and curl).
1 parent Business Website Launch Promotion commit d230a6d

Test kitchen on scarlet night virgin voyages scarlet lady cruise vlog 4 files changed Presentation Cards Design Free

Lines changed: 2 additions & 5 deletions

Product Evaluation Form Group Photo Post Instagram Ideas

skills/claude-api/curl/managed-agents.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -248,8 +248,7 @@ curl -X POST https://api.anthropic.com/v1/files \
248248
-H "x-api-key: $ANTHROPIC_API_KEY" \
249249
-H "anthropic-version: 2023-06-01" \
250250
-H "anthropic-beta: files-api-2025-04-14" \
251-
-F "file=@path/to/file.txt" \
252-
-F "purpose=agent"
251+
-F "file=@path/to/file.txt"
253252
```
254253

255254
---

skills/claude-api/shared/managed-agents-client-patterns.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@ The `Promise.all([stream, send])` shape works too, but stream-first is simpler a
168168
**The mounted resource has a different `file_id` than the file you uploaded.** Session creation makes a session-scoped copy.
169169

170170
```ts
171-
const uploaded = await client.beta.files.upload({ file, purpose: 'agent_resource' })
171+
const uploaded = await client.beta.files.upload({ file })
172172
// uploaded.id → the original file
173173
const session = await client.beta.sessions.create({
174174
/* ... */

skills/claude-api/shared/managed-agents-environments.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,6 @@ Upload a file first via the Files API, then reference by `file_id` + `mount_path
6363
// 1. Upload
6464
const file = await client.beta.files.upload({
6565
file: fs.createReadStream("data.csv"),
66-
purpose: "agent",
6766
});
6867

6968
// 2. Attach as a session resource

skills/claude-api/typescript/managed-agents/README.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -273,7 +273,6 @@ import fs from "fs";
273273

274274
const file = await client.beta.files.upload({
275275
file: fs.createReadStream("data.csv"),
276-
purpose: "agent",
277276
});
278277

279278
// Use in a session

Integration LinkedIn Blog Post Group Photo Instagram Ideas

Comments
 (0)