Sample - OpenAI API
GET/fine_tuning/jobs

List fine-tuning jobs

Lists your organization's fine-tuning jobs. Use after and limit to retrieve successive portions of the collection, and use metadata to filter jobs by key-value metadata. The response includes pagination state and fine-tuning job objects.

  • RetriesRetries up to 2×, 500ms backoff, 30s timeout.

3 parameters
afterstringoptional
The identifier of the last fine-tuning job from the previous pagination request.
limitintegeroptional
The number of fine-tuning jobs to retrieve. Defaults to 20 when omitted.
Default:20
metadataobjectoptional
A metadata filter using `metadata[k]=v`, or `metadata=null` to select jobs without metadata.

1 status code
200Returns a list object containing fine-tuning jobs, a `has_more` pagination flag, and an object type of `list`.
dataarray<FineTuningJob>required
has_morebooleanrequired
objectstringrequired
Allowed:list

Error handling

metadata filters use the metadata[k]=v syntax, or metadata=null to select jobs without metadata. limit controls the number of jobs retrieved and defaults to 20 when omitted; use after with the last job identifier to continue pagination.