Upload a file asset

Uploads a file and creates a file asset record. The request is a multipart/form-data body containing the file content and optional metadata (name, tags, format). Supported formats: CSV, PSV, JSON, JSONL, XLSX. Once uploaded, the file asset can be used as the data_source of a batch job via POST /v6/batches. The file enters AVAILABLE status on successful upload; use POST /v6/files/{fileId}/expire to release it when no longer needed.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Body Params
fileAssetMetadata
object
required
fileInputStreamRequest
object
required
Responses
200

File asset created. Returns the new file asset record with status: AVAILABLE.

Language
Credentials
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json