Skip to main content
POST
Resume Supervised Fine-tuning Job

Authorizations

Authorization
string
header
required

Bearer authentication using your Fireworks API key. Format: Bearer <API_KEY>

Path Parameters

account_id
string
required

The Account Id

supervised_fine_tuning_job_id
string
required

The Supervised Fine-tuning Job Id

Body

application/json

The body is of type object.

Response

200 - application/json

A successful response.

dataset
string
required

The name of the dataset used for training.

name
string
read-only
displayName
string
createTime
string<date-time>
read-only
completedTime
string<date-time>
read-only
awsS3Config
object

The AWS configuration for S3 dataset access.

azureBlobStorageConfig
object

The Azure configuration for Azure Blob Storage dataset access.

state
enum<string>
default:JOB_STATE_UNSPECIFIED
read-only

JobState represents the state an asynchronous job can be in.

  • JOB_STATE_PAUSED: Job is paused, typically due to account suspension or manual intervention.
  • JOB_STATE_DELETED: Job has been deleted.
Available options:
JOB_STATE_UNSPECIFIED,
JOB_STATE_CREATING,
JOB_STATE_RUNNING,
JOB_STATE_COMPLETED,
JOB_STATE_FAILED,
JOB_STATE_CANCELLED,
JOB_STATE_DELETING,
JOB_STATE_WRITING_RESULTS,
JOB_STATE_VALIDATING,
JOB_STATE_DELETING_CLEANING_UP,
JOB_STATE_PENDING,
JOB_STATE_EXPIRED,
JOB_STATE_RE_QUEUEING,
JOB_STATE_CREATING_INPUT_DATASET,
JOB_STATE_IDLE,
JOB_STATE_CANCELLING,
JOB_STATE_EARLY_STOPPED,
JOB_STATE_PAUSED,
JOB_STATE_DELETED
status
Mimics [https://github.com/googleapis/googleapis/blob/master/google/rpc/status.proto] · object
read-only
createdBy
string
read-only

The email address of the user who initiated this fine-tuning job.

outputModel
string

The model ID to be assigned to the resulting fine-tuned model. If not specified, the job ID will be used.

baseModel
string

The name of the base model to be fine-tuned Only one of 'base_model' or 'warm_start_from' should be specified.

warmStartFrom
string

The PEFT addon model in Fireworks format to be fine-tuned from Only one of 'base_model' or 'warm_start_from' should be specified.

jinjaTemplate
string
deprecated

Deprecated: literal Jinja templates are not supported by Training V2. Conversation rendering is selected from the base model's registered renderer configuration instead.

earlyStop
boolean
deprecated

Deprecated: early stopping is not supported by managed training.

epochs
integer<int32>

The number of epochs to train for.

learningRate
number<float>

The learning rate used for training.

maxContextLength
integer<int32>

The maximum context length to use with the model.

loraRank
integer<int32>

The rank of the LoRA layers.

wandbConfig
object

The Weights & Biases team/user account for logging training progress.

evaluationDataset
string

The name of a separate dataset to use for evaluation.

isTurbo
boolean

Whether to run the fine-tuning job in turbo mode.

evalAutoCarveout
boolean

Whether to auto-carve the dataset for eval.

updateTime
string<date-time>
read-only

The update time for the supervised fine-tuning job.

nodes
integer<int32>

Deprecated: multi-node scheduling is now handled by the cookbook orchestrator in V2 workflows. This field is ignored for V2 jobs and will be removed in a future release.

batchSize
integer<int32>
deprecated

Deprecated: legacy V1 token budget. Training V2 batches by samples via batch_size_samples.

mtpEnabled
boolean
deprecated

Deprecated: MTP is no longer supported by managed training. This field is retained for API wire compatibility only.

mtpNumDraftTokens
integer<int32>
deprecated

Deprecated: see mtp_enabled.

mtpFreezeBaseModel
boolean
deprecated

Deprecated: see mtp_enabled.

jobProgress
object
read-only

Job progress.

metricsFileSignedUrl
string
trainerLogsSignedUrl
string
read-only

The signed URL for the trainer logs file (stdout/stderr). Only populated if the account has trainer log reading enabled.

gradientAccumulationSteps
integer<int32>
deprecated

Deprecated: legacy V1 gradient accumulation. Training V2 batches by samples via batch_size_samples and rejects this field when set.

learningRateWarmupSteps
integer<int32>
batchSizeSamples
integer<int32>

The number of samples per gradient batch.

estimatedCost
object
read-only

The estimated cost of the job.

optimizerWeightDecay
number<float>

Weight decay (L2 regularization) for optimizer.

purpose
enum<string>
default:PURPOSE_UNSPECIFIED

Scheduling purpose for this job.

Available options:
PURPOSE_UNSPECIFIED,
PURPOSE_PILOT