Upload File Multipart
Changed onUpload a file directly in the request body. Use this for single file uploads from your application.
For video files, processing happens asynchronously - use GET /files/{file_uuid}/status to check processing status before accessing frames.
Args: file: The file to upload (multipart form data) workspace_uuid: Optional workspace to associate the file with
Returns: FileUploadResult with file_uuid for future reference and file_url for immediate access. For videos, check processing_status field - use status endpoint to poll until "completed".
Request
- Base URLhttps://api.aymara.ai
- Auth
- API key in header x-api-key
- or HTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Query parameters
Request body multipart/form-data
Response
OK
Changes
- warning
added the new
auth.workspace_requiredenum value to the/response property for the response status - warning
added the new
auth.workspace_requiredenum value to the/response property for the response status - warning
added the new
auth.workspace_requiredenum value to the/response property for the response status - warning
added the new
auth.workspace_requiredenum value to the/response property for the response status - warning
added the new
auth.workspace_requiredenum value to the/response property for the response status - warning
added the new
auth.workspace_requiredenum value to the/response property for the response status - warning
added the new
auth.workspace_requiredenum value to the/response property for the response status - warning
added the new
auth.workspace_requiredenum value to the/response property for the response status - warning
added the new
auth.workspace_requiredenum value to the/response property for the response status - info
added the new optional
queryrequest parameterworkspace_uuid - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status
- warning
- info
endpoint added
- info