Skip to main content

Smart Routers

List Smart Routers

Lists Smart Routers in the current workspace, ordered newest first. Use cursor pagination and optional key, profile, or enabled-state filters to narrow the results.

Create a Smart Router

Creates a Smart Router in the current workspace from 2 to 50 distinct eligible models. The key must be unique in the workspace and becomes part of the model reference used in AI Gateway requests.

Retrieve a Smart Router

Retrieves a Smart Router by ID from the current workspace, including its model reference, model pool, routing profile, and enabled state.

Delete a Smart Router

Permanently deletes a Smart Router and removes its AI Gateway model configuration. A Smart Router referenced by an experiment cannot be deleted.

Update a Smart Router

Updates the model pool, routing profile, or both. Omitted fields retain their current values. The router key and model reference cannot be changed.