Skip to main content
POST
/
v1
/
files
CreateFile
curl --request POST \
  --url https://api.manus.ai/v1/files \
  --header 'API_KEY: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '{
  "filename": "<string>"
}'
{
  "id": "<string>",
  "object": "<string>",
  "filename": "<string>",
  "status": "<string>",
  "upload_url": "<string>",
  "upload_expires_at": "2023-11-07T05:31:56Z",
  "created_at": "2023-11-07T05:31:56Z"
}
Creates a file record and returns a presigned URL for uploading the file content to S3. After receiving the upload URL, use a PUT request to upload your file content. The file can then be referenced in task attachments using the returned file_id.

Authorizations

API_KEY
string
header
required

Body

application/json
filename
string
required

Response

200 - application/json
id
string
object
string
filename
string
status
string
upload_url
string
upload_expires_at
string<date-time>
created_at
string<date-time>