v2

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

Get Model

Get a model by name or ID.

Args: model_name_or_id: The name or ID of the model to get. hydrate: Flag deciding whether to hydrate the output model(s) by including metadata fields in the response.

Returns: The model with the given name or ID.

get/api/v1/models/{model_name_or_id}

Path parameters

string required
OR
string uuid required

Query parameters

hydrateboolean

Response

Successful Response

resourcesModelResponseResources

Class for all resource models associated with the model entity.

idstring uuid required
permission_deniedboolean
namestring required