Finish uploading files
Step 2: returns a link for every file that arrived, to use as an ImageNode or VideoNode input, and says why for any that did not. For files the user is adding on the upload page, call it after they say they are done.
/v1/upload_finishupload_finishTry it
{
"files": [
{
"url": "https://media.fuser.studio/9c2a5d6e7f8a.png",
"mimeType": "image/png",
"status": "done",
"fileName": "coral-reef.png"
}
]
}Example
curl -X POST https://api.fuser.studio/v1/upload_finish \
-H "x-api-key: $FUSER_API_KEY" \
-H "content-type: application/json" \
-d '{
"uploadId": "3f2b8c1e-7a4d-4e9b-9c2a-5d6e7f8a9b0c"
}'const result = await fuser.upload.finish({
uploadId: '3f2b8c1e-7a4d-4e9b-9c2a-5d6e7f8a9b0c',
});See the TypeScript SDK.
Input
uploadIdstringrequiredPass it to upload_finish once every file is uploaded.
Output
Upload files
Step 1 of putting files from the user's machine on a canvas, for agents that run commands on that machine (Claude Code, Codex, an IDE). List the files (up to 50): each comes back with a link to PUT it to, or done if Fuser already has it. Then call upload_finish with uploadId. In a chat app use upload_box instead; a cloud code sandbox can't reach these links.
Find a saved tool
Search the canvas's tool library (tools you or your workspace built) and Fuser's featured tools by title and description, matching any of your words, best first; one call with several words beats several one-word searches. When nothing matches well it also lists every featured tool by title, so pick from that list rather than searching again. Place a match with canvas_edit (toolId on the new Tool node). Building a new one with tool_build prompt is fine when nothing fits.