Skip to main content
POST
/
upload
/
presigned
Presigned Upload URL
curl --request POST \
  --url https://api.example.com/upload/presigned \
  --header 'Content-Type: application/json' \
  --data '
{
  "filename": "<string>",
  "contentType": "<string>",
  "size": 123
}
'

Documentation Index

Fetch the complete documentation index at: https://docs.agentbazaar.dev/llms.txt

Use this file to discover all available pages before exploring further.

For large files, get a presigned URL and upload directly to R2 without going through the API server.
filename
string
required
File name
contentType
string
required
MIME type
size
number
required
File size in bytes