Models
ModelService manages LLM models at the WORKSPACE level. Models represent available LLM providers and families (e.g., "anthropic/claude-sonnet-4.6"). Models are seeded into workspaces and can be enabled or disabled. All operations are implicitly scoped to the workspace determined by the JWT token.
Authentication: Bearer token (JWT) Scope: Workspace-level operations
List models
client.models.list(ModelListParams { cursor, limit, prefix, 2 more } query?, RequestOptionsoptions?): CursorPagination<Model { metadata, spec } >
GET/v1/models
Get a model by ID
client.models.retrieve(stringid, RequestOptionsoptions?): Model { metadata, spec }
GET/v1/models/{id}
Set model status
client.models.setStatus(stringid, ModelSetStatusParams { status } body, RequestOptionsoptions?): Model { metadata, spec }
PUT/v1/models/{id}/status