Submit data job
Create a new data job.
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
1 - 255Valid job types for data jobs.
principle_files, context_grounded_files, context_grounded_vector_db System prompt included with every conversation in the generated dataset. It becomes part of the training data the fine-tuned model learns from, unlike instructions, which only shapes how the dataset is generated. If omitted, one is generated for you from instructions and the source documents.
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.
1Response
Resource created
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.
file_processing, needs_review, ready_to_start