API Reference
Upload asset
Upload an image, document or audio file for use in a multimodal context. The request body is the raw file (not JSON or multipart), and Content-Type is its MIME type, checked against the content. Assets are project-scoped and expire 24 hours after upload.
POST
Upload asset
Authorizations
Body
The body is of type file.
Response
Asset created.
An uploaded media file, usable only by the project that uploaded it.