Claim anonymous uploads, list files, organize folders, and delete files safely.
Anonymous uploads work without an account but return one-time ownership credentials. Save them if the file may need to be claimed or deleted later.
Save fileId and claimToken from the upload response. After beecargo register --save or supplying an API key, claim with npx --yes github:Beecargo/cli claim FILE_ID CLAIM_TOKEN, or use the API / MCP.
Endpoint
Authentication
Required. Use an API key from agent register (MCP/CLI or challenge + PoW + POST /agent/register), or a dashboard API key with write access.
Request examples
curl -X POST https://api.beecargo.net/files/claim \
-H "Authorization: Bearer YOUR_BC_KEY" \
-H "Content-Type: application/json" \
-d '{"fileId":"abc12xyz","claimToken":"YOUR_CLAIM_TOKEN"}'Parameters
Usage notes
GET /files/list and uses signed-in retention limits.beecargo_claim_file after beecargo_register_agentclaimTokenTool
Authentication
Needs an API key (from beecargo_register_agent or x-beecargo-api-key).
Parameters
Usage notes
POST https://api.beecargo.net/files/claim with Authorization: Bearer …Command
Authentication
Requires --key or a saved key from register --save.
Usage notes
fileId and claimToken from the upload response.claimToken with deletionToken.Authenticated identities can list files, create folders, and filter by folder. From a terminal: npx --yes github:Beecargo/cli list --key YOUR_BC_KEY, folders list, and folders create NAME.
Endpoint
Authentication
Required. Send Authorization: Bearer YOUR_API_KEY.
Request examples
# List all files (first page, 50 per page)
curl https://api.beecargo.net/files/list \
-H "Authorization: Bearer YOUR_API_KEY"
# With pagination
curl "https://api.beecargo.net/files/list?page=2&limit=25" \
-H "Authorization: Bearer YOUR_API_KEY"
# Filter by folder
curl "https://api.beecargo.net/files/list?folderId=550e8400-e29b-41d4-a716-446655440000" \
-H "Authorization: Bearer YOUR_API_KEY"
# List files in root folder only (no folder)
curl "https://api.beecargo.net/files/list?folderId=null" \
-H "Authorization: Bearer YOUR_API_KEY"
# List folder contents (files + subfolders)
curl "https://api.beecargo.net/files/list?folderId=550e8400-e29b-41d4-a716-446655440000" \
-H "Authorization: Bearer YOUR_API_KEY"Parameters
Usage notes
data holds files. folders is included when you list a folder and includeFolders is true. With runId, the response is a run artifact list (data.runId + data.artifacts) instead of the paginated library shape.parentId (folder UUID or "null" for root), page, limit, search. Response: { success, data: [ folders ], pagination }. Each folder includes id, name, parent_id, file_count, and total_size when not searching.Tool
Authentication
API key required (BEECARGO_API_KEY, x-beecargo-api-key, or register an agent first).
Parameters
Usage notes
runId to list only files uploaded with that pipeline id (same as the former dedicated run-artifacts tool).runId on beecargo_upload across outputs, then list with runId here.Tool
Parameters
Usage notes
folderId or parentId.beecargo_list_files with includeFolders: true for a combined view.Command
Authentication
Requires --key or BEECARGO_API_KEY.
Usage notes
--page and --limit to page through larger libraries.--include-folders or --folder-id when organizing a library.Command
Authentication
Requires --key or BEECARGO_API_KEY.
Usage notes
folders list and folders create NAME match the folder API / MCP tools.Owned files use an API key. Anonymous files use the deletionToken returned once by upload. Do not confuse it with the claimToken. From a terminal, use npx --yes github:Beecargo/cli delete FILE_ID --key YOUR_BC_KEY or --token DELETION_TOKEN.
Endpoint
Authentication
Required. Send Authorization: Bearer YOUR_API_KEY. You can only delete files you own.
Anonymous files: delete with the token from upload: ?fileId=FILE_ID&token=DELETION_TOKEN
Request examples
# Delete a file with API key
curl -X DELETE "https://api.beecargo.net/files/delete?fileId=550e8400-e29b-41d4-a716-446655440000" \
-H "Authorization: Bearer YOUR_API_KEY"
# Delete an anonymous file with deletion token (no API key needed)
curl -X DELETE "https://api.beecargo.net/files/delete?fileId=550e8400-e29b-41d4-a716-446655440000&token=YOUR_DELETION_TOKEN"Parameters
Usage notes
token param is only needed when deleting anonymous files without an API key.Tool
Authentication
API key for owned files, or deletionToken for anonymous uploads.
Parameters
Usage notes
deletionToken returned at upload time.Command
Authentication
Owned files: --key. Anonymous files: --token DELETION_TOKEN.
Usage notes
deletionToken with claimToken.--force only when the API requires it for dependent files.