Skip to main content

Models

User-deployed models and model aliases. These endpoints let you deploy and undeploy models, list available models, manage model aliases, and retrieve deployment details.

Core


GET

List models

Returns all models available to the authenticated user, including base models and fine-tuned owned models.

GET

List owned models

Returns all fine-tuned models owned by the authenticated user, with full metadata including training configuration, deployment status, and evaluation state.

GET

Get model

Returns detailed information for a specific fine-tuned model by its numeric ID, including training hyperparameters and deployment records.

GET

List model choices

Returns a simplified list of models available for selection in the AI Studio interface.

DEL

Delete model

Permanently deletes a fine-tuned model and all associated data including training records and evaluation results.

Deployment


POST

Deploy model

Deploys a fine-tuned or imported model to a dedicated inference endpoint, making it available for chat completions.

POST

Undeploy model

Removes a deployed model from its inference endpoint, stopping compute billing for the deployment.

Aliases


GET

List model aliases

Returns all model aliases configured by the authenticated user.

POST

Create model alias

Creates a named alias that maps to a specific deployed model.

PUT

Update model alias

Updates an existing model alias to point to a different deployed model, or detaches it by setting model_name to null.

DEL

Delete model alias

Permanently deletes a model alias by name. The alias must be detached from its model before deletion.