Skip to main content
GET
cURL

Authorizations

Authorization
string
header
required

Authorization: Bearer <your API key> -- the same key as inference. A key reaches the account it belongs to and no other.

Path Parameters

account
string
required

Your account id -- the one in the console's address bar (my-account for this key). It must be the account the key belongs to.

Maximum string length: 64
job
string
required

The job's id: the last segment of its name (accounts/{account}/trainingJobs/{job}). A job is only found through the collection of its own type -- an SFT job through supervisedFineTuningJobs, a DPO job through dpoJobs.

Maximum string length: 64

Response

OK.

name
string
jobId
string
jobType
enum<string>
Available options:
JOB_TYPE_SFT,
JOB_TYPE_DPO
state
enum<string>
Available options:
JOB_STATE_QUEUED,
JOB_STATE_RUNNING,
JOB_STATE_CHECKPOINTING,
JOB_STATE_FINALIZING,
JOB_STATE_SUCCEEDED,
JOB_STATE_FAILED,
JOB_STATE_CANCELLED,
JOB_STATE_EXPIRED
stateDetail
string
errorClass
string
baseModel
string
inputDatasetVersion
string
evaluationDatasetVersion
string
outputModel
string
config
object
progress
object
estimatedCost
object
execution
object
createdBy
string
createTime
string<date-time>
startTime
string<date-time>
completeTime
string<date-time>