Upload file
Files
Upload file
Upload a file to your organization for use in fine-tuning, alignment, or vector databases.
PUT
Upload file
Purpose values and file formats
Eachpurpose value requires a specific JSONL schema. Each line of the file must be a valid JSON object matching the format for the chosen purpose.
fine-tune and alignment
Each line requires a messages array of {"role", "content"} objects. Valid roles are system, user, and assistant.
preference-fine-tune
Each line requires three fields — messages, chosen, and rejected — each an array of {"role", "content"} objects.
pre-train
Each line requires a single text field containing raw training text.
Authorizations
Seekr API Key without 'Bearer' Prefix
Body
multipart/form-data
Response
Successful Response
Files API response type
Allowed value:
"file"Available options:
jsonl, parquet, pt Available options:
reinforcement-fine-tune, fine-tune, preference-fine-tune, pre-train, alignment Last modified on June 18, 2026