Skip to main content

Method

Retrieves detailed information about a specific tuning job by its resource name.
string
required
The resource name of the tuning job. Format:
  • Vertex AI: projects/{project}/locations/{location}/tuningJobs/{job_id}
  • Gemini API: tunedModels/{model_id}
GetTuningJobConfig
Optional configuration for the request

Response

string
The resource name of the tuning job
JobState
Current state of the tuning job:
  • JOB_STATE_QUEUED
  • JOB_STATE_PENDING
  • JOB_STATE_RUNNING
  • JOB_STATE_SUCCEEDED
  • JOB_STATE_FAILED
  • JOB_STATE_CANCELLED
string
ISO 8601 timestamp when the job was created
string
ISO 8601 timestamp when the job started
string
ISO 8601 timestamp when the job completed
string
ISO 8601 timestamp of the last update
string
The base model that is being tuned
TunedModel
Information about the resulting tuned model (available after completion)
object
Error information if the job failed
string
Description of the tuning job (Vertex AI only)
object
Statistics about the training data (Vertex AI only)

Usage

Check Job Status

Monitor Job Progress

Handle Job Completion

See Also