Create a presigned upload URL
POST/api/v1/files/presigned-url
Creates a short-lived, single-use presigned upload URL — the local-storage equivalent of an S3 presigned URL. The client then uploads the file content directly to the returned upload_url via POST /api/v1/files/upload/{token}, bypassing MCP payload size limits. When the server is configured with SOAT_BASE_URL, upload_url is a fully-qualified absolute URL so MCP agents and other clients can POST to it without knowing the server base URL in advance.
Request
Responses
- 201
- 400
- 401
- 403
Presigned URL created successfully
Missing or invalid project
Authentication required
Insufficient permissions