Upload file
POST
Documentation Index
Fetch the complete documentation index at: https://inference-docs.cerebras.ai/llms.txt
Use this file to discover all available pages before exploring further.
This feature is in Private Preview. For access or more information, contact us or reach out to your account representative.
Request
The file to upload. Must be a binary file.
The intended purpose of the file. Currently supported values:
batch: Input file for batch processing
The expiration policy for the file. Files with
purpose=batch expire after 7 days by default.Response
A unique identifier for the file.
The object type, which is always
file.The name of the uploaded file.
The intended purpose of the file.
The size of the file in bytes.
The Unix timestamp (in seconds) of when the file was created.
The Unix timestamp (in seconds) of when the file will be automatically deleted.

