Skip to main content
POST
Create a fine-tuning job

Authorizations

Authorization
string
header
required

Dashboard JWT token from Clerk

Path Parameters

agentId
string
required

Body

application/json
provider
enum<string>
required
Available options:
openai,
anthropic,
hf
Example:

"openai"

base_model
string
required
Example:

"gpt-4o-mini-2024-07-18"

eval_run_id
string
required
Example:

"evalRun_7Xy2Qa"

format
enum<string>
default:openai
Available options:
openai,
anthropic,
hf
provider_job_id
string

Optional external job id if you already submitted upstream.

Example:

"ftjob-abc123"

Response

201 - application/json

The created fine-tuning job.

data
object
meta
object