GET/fine_tuning/jobs

List fine-tuning jobs

Lists fine-tuning jobs belonging to your organization. Use after to continue from the last job in a previous page, and use limit to control how many jobs to retrieve. You can filter jobs by metadata using the metadata[k]=v query syntax.

3 parameters
afterstringoptional
Identifier of the last job from the previous pagination request.
limitintegeroptional
Number of fine-tuning jobs to retrieve. Defaults to 20 when omitted.
Default:20
metadataobjectoptional
Metadata filter using `metadata[k]=v`; omit it or pass an empty object for no filter. Use an empty value to match an empty string, or the literal query string `metadata=null` to select jobs with null metadata.

3 status codes
200Returns a page of fine-tuning job objects, a `has_more` flag, and the list object type.
dataarray<FineTuningJob>required
has_morebooleanrequired
objectstringrequired
Allowed:list
400Returned when a query parameter is invalid.
errorobjectrequired
429Returned when the request rate limit has been exceeded.
errorobjectrequired

Error handling

A 400 is returned when a query parameter is invalid, and a 429 is returned when the request rate limit is exceeded. Use after with an identifier from the previous page, and provide metadata as metadata[k]=v to filter by a key and value; use the literal query string metadata=null to select jobs with null metadata.