POST
/mediaUpload a media file
Uploads a media file. Send the file as a binary value using multipart/form-data; the request body schema does not define additional metadata fields.
- IdempotentThe SDK sends
Idempotency-Key, so a retried request is only applied once.
200Returns a media object in the `data` field, including file identifiers, names, content type, timestamps, and media URLs.
dataobjectoptional
Error handling
Send the request body as a binary file using multipart/form-data. The schema defines no additional fields or value constraints.