Skip to main content
POST
/
v1
/
flow
/
data-jobs
Submit data job
curl --request POST \
  --url https://flow.seekr.com/v1/flow/data-jobs \
  --header 'Authorization: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "name": "<string>",
  "system_prompt": "<string>",
  "instructions": "<string>",
  "vector_database_id": "<string>"
}
'
{
  "id": "<string>",
  "user_id": "<string>",
  "name": "<string>",
  "job_type": "<string>",
  "alignment_job_id": "<string>",
  "created_at": "2023-11-07T05:31:56Z",
  "updated_at": "2023-11-07T05:31:56Z",
  "system_prompt": "<string>",
  "system_prompt_updated_at": "2023-11-07T05:31:56Z",
  "instructions": "<string>",
  "instructions_updated_at": "2023-11-07T05:31:56Z",
  "resolved_instructions": "<string>",
  "vector_database_id": "<string>"
}
Create a new data job. The job_type field determines the workflow:
  • principle_files — generates a QA pair dataset for instruction fine-tuning
  • context_grounded_files — generates context-grounded training data from uploaded documents
  • context_grounded_vector_db — generates context-grounded training data using an existing vector database
Newly created jobs have no files attached. Use 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

Authorization
string
header
required

Seekr API Key without 'Bearer' Prefix

Body

application/json
name
string
required
Required string length: 1 - 255
job_type
enum<string>
required

Valid job types for data jobs.

Available options:
principle_files,
context_grounded_files,
context_grounded_vector_db
system_prompt
string | null
Minimum string length: 1
instructions
string | null
Minimum string length: 1
vector_database_id
string | null

Response

Successful Response

Lightweight response for list view performance.

id
string
required
user_id
string
required
name
string
required
job_type
string
required
alignment_job_id
string | null
required
created_at
string<date-time>
required
updated_at
string<date-time>
required
status
enum<string>
required

Status values for data jobs.

Available options:
file_processing,
needs_review,
ready_to_start,
pending,
queued,
running,
cancelled,
failed,
completed
system_prompt
string | null
system_prompt_updated_at
string<date-time> | null
instructions
string | null
instructions_updated_at
string<date-time> | null
resolved_instructions
string | null
vector_database_id
string | null
Last modified on June 18, 2026