Upload File
Uploads a file to the chosen provider for use with batch, fine-tuning, or other endpoints.
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Headers
Name of the provider
Optional metadata for the request
Vertex AI storage bucket name
Vertex AI region (e.g., europe-west4)
Provider-specific model identifier
Body
Multipart/form-data file payload.
The file data to upload (not the file name)
Response
File uploaded successfully
Id of the uploaded file.
Type of the object, e.g., 'file'.
Timestamp of when the file was created.
The purpose of the file, e.g., 'batch'.
The size of the file in bytes.
The status of the file, e.g., 'processed'.