Skip to main content
GET
Retrieve a job

Overview

Returns a single job, including status and — once the job succeeds — the fine_tuned_model id to use for prediction.

Authorizations

Authorization
string
header
required

Morph API key, passed as Authorization: Bearer sk-.... Create keys at https://www.morphllm.com/dashboard/api-keys.

Path Parameters

job_id
string
required

Identifies the job to read. The ftjob- prefixed id returned when the job was created.

Example:

"ftjob-a1b2c3d4-5e6f-7a8b-9c0d-1e2f3a4b5c6d"

Response

The job.

An OpenAI-compatible fine_tuning.job, with additive Reflex fields (labels, trained_examples, result, suffix).

id
string
required

Job id, prefixed ftjob-.

Example:

"ftjob-a1b2c3d4-5e6f-7a8b-9c0d-1e2f3a4b5c6d"

object
string
required

Always fine_tuning.job.

Example:

"fine_tuning.job"

model
string
required

What the job trained from: the reflex you warm-started from, or the from-scratch base for a cold start.

Example:

"guardrail"

created_at
integer
required

Unix timestamp (seconds) at creation.

Example:

1780107000

finished_at
integer | null
required

Unix timestamp at a terminal state, else null.

Example:

1780107148

fine_tuned_model
string | null
required

Served model name once succeeded (the suffix, or the job id if none).

Example:

"support-classifier"

status
enum<string>
required

validating_files is the data-prep phase for generate/label_data jobs.

Available options:
queued,
validating_files,
running,
succeeded,
failed,
cancelled
Example:

"succeeded"

labels
string[]
required

The classes this job trained on.

One class the model predicts.

Example:
trained_examples
integer
required

Number of training examples.

Example:

10

hyperparameters
object
required

Fully managed.

Example:
result
object | null
required

{accuracy, f1_score} when succeeded, else null. Each value may be null.

Example:
error
object | null
required

{code, message, param} when failed, else null.

Example:
suffix
string | null
required

The suffix supplied at creation, else null.

Example:

"support-classifier"