Submit data job
Data jobs
Submit data job
Create a new data job.
POST
Submit data job
Create a new data job. The
job_type field determines the workflow:
principle_files— generates a QA pair dataset for instruction fine-tuningcontext_grounded_files— generates context-grounded training data from uploaded documentscontext_grounded_vector_db— generates context-grounded training data using an existing vector database
POST /v1/flow/data-jobs/{id}/add-files to attach uploaded file IDs after creation.
For the complete workflow, see Create instruction fine-tuning data or Create context-grounded fine-tuning data.Authorizations
Your Seekr API key, sent in the Authorization header with no 'Bearer' prefix.
Body
application/json
Required string length:
1 - 255Valid job types for data jobs.
Available options:
principle_files, context_grounded_files, context_grounded_vector_db Minimum string length:
1Natural-language description of the task the generated dataset should support. Alignment uses it to shape the examples it produces, such as the topics and the kinds of questions a fine-tuned model should be able to handle.
Minimum string length:
1Response
Successful Response
Lightweight response for list view performance.
Status values that exist BEFORE an alignment job is linked. Once linked, the real status comes from AlignmentJobStatus directly — see DataJobResponse.status's union type and derive_data_job_status.
Available options:
file_processing, needs_review, ready_to_start Last modified on June 18, 2026