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".

Changes

Changed in 2 of the 26 revisions of this API.22

  • 2022-03-01-previewb177dc430e392See the full diff
    • added the media type application/json for the response with the status 200

      response-media-type-added

    • added the media type application/json for the response with the status default

      response-media-type-added

    This revision also has 2 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog

  • 2022-03-01-preview9d525b5caa312See the full diff
    • removed the media type application/json for the response with the status 200

      response-media-type-removed

    • removed the media type application/json for the response with the status default

      response-media-type-removed

    This revision also has 149 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog