v2

latestOpenAPI 3.1.0raw.githubusercontent.com2024-09-26192307950.1 KB
models

Update Model

Updates a model.

Args: model_id: Name of the stack. model_update: Stack to use for the update.

Returns: The updated model.

put/api/v1/models/{model_id}

Path parameters

model_idstring uuid required

Request body

namestring nullable
licensestring nullable
descriptionstring nullable
audiencestring nullable
use_casesstring nullable
limitationsstring nullable
trade_offsstring nullable
ethicsstring nullable
add_tagsstring[] nullable
remove_tagsstring[] nullable
save_models_to_registryboolean nullable

Response

Successful Response

resourcesModelResponseResources

Class for all resource models associated with the model entity.

idstring uuid required
permission_deniedboolean
namestring required