Method
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_QUEUEDJOB_STATE_PENDINGJOB_STATE_RUNNINGJOB_STATE_SUCCEEDEDJOB_STATE_FAILEDJOB_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
- tunings.tune - Create a new tuning job
- tunings.list - List all tuning jobs
- tunings.cancel - Cancel a running job