cURL
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.
file_id