Uploads

Create presigned URLs for batch file upload

Generate presigned URLs for uploading multiple files to the specified namespace. Files are limited to 5 MB on the Free plan and 200 MB on paid plans.

post/v1/namespace/{namespaceId}/uploads/batch

Request

  • Base URL
    https://api.agentset.ai
  • Auth
    HTTP bearer

Path parameters

namespaceIdstring required

The id of the namespace (prefixed with ns_)

Example:ns_123

Request body

Example request

{
  "files": [
    {
      "fileName": "document.pdf",
      "contentType": "application/pdf",
      "fileSize": 1024
    }
  ]
}

Response

Presigned URLs generated successfully

successtrue required

Changes

No recorded changes to this operation across all 2 revisions of this API.