Skip to main content
After saving and deploying prompts in the Playground, fetch them in your application using the SDK.

Environments

Each project has three deployment environments: Deploy prompts to environments in Studio > Prompts by selecting a saved prompt and choosing an environment.

Fetching and Using Prompts

The Python SDK returns all configurations. Filter client-side by name and env to get specific prompts.

Caching for Production

Cache prompts to reduce API calls:
Set a TTL on your cache to automatically refresh prompts when they’re updated.

YAML Export

For static deployments or version control, export prompts as YAML:
Load in your application:

Prompt Playground

Create and test prompts before deploying.

API Reference

Full configurations API documentation.