Skip to content

Getting Started

Basic example showing how to create a client and list prompt deployments.

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

1
2
3
4
5
6
// Create a Vellum client using your API key.
using var client = new VellumClient(apiKey);

// List all prompt deployments in your workspace.
var deployments = await client.SubpackageDeployments.ListAsync(
    limit: 10);