v1

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

List Model Versions

Get model versions according to query filters.

This endpoint serves the purpose of allowing scoped filtering by model_id.

Args: model_name_or_id: The name or ID of the model to list in. model_version_filter_model: Filter model used for pagination, sorting, filtering. hydrate: Flag deciding whether to hydrate the output model(s) by including metadata fields in the response. auth_context: The authentication context.

Returns: The model versions according to query filters.

get/api/v1/models/{model_name_or_id}/model_versions

Path parameters

string required
OR
string uuid required

Query parameters

hydrateboolean
sort_bystring
logical_operator'or' | 'and'

Logical Ops to use to combine filters on list methods.

pageinteger
sizeinteger
string uuid
OR
string
string date-time
OR
string
string date-time
OR
string
scope_workspacestring uuid nullable
tagstring nullable
namestring nullable
numberinteger nullable
string uuid
OR
string
string uuid
OR
string
string
OR
'none' | 'staging' | 'production' | 'archived' | 'latest'

All possible stages of a Model Version.

Response

Successful Response

indexinteger required
max_sizeinteger required
total_pagesinteger required
totalinteger required