Skip to main content

Overview

The model catalog is the registry of ML models available in your workspace. Each record stores metadata about where the model runs (cloud, edge, hybrid), what inputs it accepts, and how to load it via the SDK. Public models are visible without authentication; private models are scoped to workspace members. Browse and load catalog rows from Python with cw.models — see ML Models (Python SDK). Typed create / update helpers are not on cw.models yet; call POST / PUT on this API or use generated cw.api.* wrappers until SDK methods land.

GET /api/v1/mlmodels

List all ML model records visible to the authenticated user: workspace-private models plus any public ones.

Query parameters

Response — 200 OK

Array of MLModelSchema.

GET /api/v1/mlmodels/public

List all public models. No authentication required. Accepts the same deployment query parameter as the authenticated list endpoint.

GET /api/v1/mlmodels/by-slug

Retrieve a model by its unified slug ({workspace-slug}/models/{entity-slug}).
Anonymous callers see public models. Authenticated callers additionally see private models they have access to.

Query parameters

Response codes


GET /api/v1/mlmodels/{uuid}

Get a single model by UUID. Requires read access.

Path parameters


POST /api/v1/mlmodels

Create a new ML model record. Only admins can create public models.

Request body — MLModelCreateSchema

Example request

Response — 200 OK

Returns the created MLModelSchema.

PUT /api/v1/mlmodels/{uuid}

Update a model. Write access required. Only admins can change visibility to/from public.

Request body — MLModelUpdateSchema

All fields are optional. Omitting a field leaves it unchanged.

DELETE /api/v1/mlmodels/{uuid}

Delete a model record. Write access required. Only admins can delete public models.

Response — 200 OK


MLModelSchema

Full model record returned by all read endpoints.

Python SDK

MCP tools


Model Playground API

Run inference, evaluate, download weights

Python SDK — ML Models

SDK reference for catalog + runtime

Edge Workers

Run edge models on hardware

ML Models (UI overview)

Dashboard walkthrough