v51

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

Trains and deploys a fine-tuned model.

Creates a new fine-tuned model. The model will be trained on the dataset specified in the request body. The training process may take some time, and the model will be available once the training is complete.

post/v1/finetuning/finetuned-models

Headers

X-Client-Namestring

The name of the project that is making the request.

Request body

idstring

read-only. FinetunedModel ID.

namestring required

FinetunedModel name (e.g. foobar).

creator_idstring

read-only. User ID of the creator.

organization_idstring

read-only. 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

read-only. Creation timestamp.

updated_atstring date-time

read-only. Latest update timestamp.

completed_atstring date-time

read-only. Timestamp for the completed fine-tuning.

last_usedstring date-time

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

Response

A successful response.