Skip to content

List Models

Basic example showing how to list all deployed models.

This example assumes using Baseten; is in scope and apiKey contains your Baseten API key.

1
2
3
4
using var client = new BasetenClient(apiKey);

// List all models deployed in the workspace:
var response = await client.GetModelsAsync();