v27

latestOpenAPI 3.0.02026-07-1347144237.4 KB
Models:

Gets details for the model specified by the given modelId.

get/models/{model-id}

Path parameters

model-idstring required

The identifier of the model.

Query parameters

api-versionstring required

The requested API version.

Response

Success

object'list' | 'fine_tuning.job' | 'file' | 'fine_tuning.job.event' | 'fine_tuning.job.checkpoint' | 'model' | 'upload' | 'upload.part' | 'batch' | 'wandb'

Defines the type of an object.

created_atinteger

A timestamp when this job or item was created (in unix epochs).

idstring

The identity of this item.

status'created' | 'pending' | 'running' | 'pausing' | 'paused' | 'resuming' | 'succeeded' | 'cancelled' | 'failed'

The state of a finetunes object or fine tuning job.

modelstring

The base model identity (model-id) if this is a fine tune model; otherwise null.

fine_tunestring

The fine tune job identity (fine-tune-id) if this is a fine tune model; otherwise null.

lifecycle_status'preview' | 'generally-available' | 'deprecating' | 'deprecated' required

The life cycle status of a model. Note: A model can be promoted from "preview" to "generally-available", but never from "generally-available" to "preview".