Fine-tuning job management is a Pro+ feature. JSONL export for self-managed fine-tuning is available on all plans.
Advanced
Fine-Tuning
Export JSONL datasets and submit fine-tuning jobs to OpenAI.
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Export JSONL datasets and submit fine-tuning jobs to OpenAI.
curl "https://api.flexorch.com/v1/datasets/{id}/export?format=jsonl" \
-H "X-API-KEY: dfx_your_key_here" \
-o training_data.jsonl
curl -X POST https://api.flexorch.com/v1/fine-tune \
-H "X-API-KEY: dfx_your_key_here" \
-H "Content-Type: application/json" \
-d '{
"dataset_id": "ds_abc123",
"model": "gpt-4o-mini-2024-07-18",
"suffix": "invoice-extractor"
}'
curl https://api.flexorch.com/v1/fine-tune/{job_id} \
-H "X-API-KEY: dfx_your_key_here"