v51

latestOpenAPI 3.1.0proprietaryraw.githubusercontent.com2026-07-21411711.1 MB
/finetuning

Updates a fine-tuned model.

Updates the fine-tuned model with the given ID. The model will be updated with the new settings and name provided in the request body.

patch/v1/finetuning/finetuned-models/{id}

Path parameters

idstring required

FinetunedModel ID.

Headers

X-Client-Namestring

The name of the project that is making the request.

Request body

namestring required

FinetunedModel name (e.g. foobar).

creator_idstring

User ID of the creator.

organization_idstring

Organization ID.

status'STATUS_UNSPECIFIED' | 'STATUS_FINETUNING' | 'STATUS_DEPLOYING_API' | 'STATUS_READY' | 'STATUS_FAILED' | 'STATUS_DELETED' | 'STATUS_TEMPORARILY_OFFLINE' | 'STATUS_PAUSED' | 'STATUS_QUEUED'

The possible stages of a fine-tuned model life-cycle.

  • STATUS_UNSPECIFIED: Unspecified status.
  • STATUS_FINETUNING: The fine-tuned model is being fine-tuned.
  • STATUS_DEPLOYING_API: Deprecated: The fine-tuned model is being deployed.
  • STATUS_READY: The fine-tuned model is ready to receive requests.
  • STATUS_FAILED: The fine-tuned model failed.
  • STATUS_DELETED: The fine-tuned model was deleted.
  • STATUS_TEMPORARILY_OFFLINE: Deprecated: The fine-tuned model is temporarily unavailable.
  • STATUS_PAUSED: Deprecated: The fine-tuned model is paused (Vanilla only).
  • STATUS_QUEUED: The fine-tuned model is queued for training.
created_atstring date-time

Creation timestamp.

updated_atstring date-time

Latest update timestamp.

completed_atstring date-time

Timestamp for the completed fine-tuning.

last_usedstring date-time

Deprecated: Timestamp for the latest request to this fine-tuned model.

Response

A successful response.