Agent files upload presign
Create a temporary upload URL for a generated file. Use this endpoint to start the file upload flow when you need a temporary upload URL and afileId that can later be confirmed.
Endpoint
GET /external/agent-files/upload-presign
Authentication
See AuthenticationSuccess status code
200 OK
Query parameters
| Name | Required | Type | Notes |
|---|---|---|---|
name | Yes | string | Original file name to associate with the upload record. |
contentType | Yes | string | MIME type for the file upload. |
Response body
| Field | Type | Notes |
|---|---|---|
fileId | string | File identifier used by Agent files confirm upload. |
putUrl | string | Temporary upload URL. |
Response example
Error responses
401 Unauthorized
Notes
- This is step 1 of the upload flow: request
putUrl, upload the file, then call Agent files confirm upload. - Upload URLs expire after 10 minutes.