{{variableName}} placeholders still in place.
Dynamic variables
Any{{variableName}} placeholder in a prompt’s content is replaced with the value you pass at fetch time when compilation is enabled. It’s plain text substitution - there’s no escaping, no nested variables, and no default values, so make sure you pass a value for every placeholder the prompt uses.
Every fetch is counted, so the Downloads column on the prompt list and the per-version counts on the Versions tab reflect real usage from your application.
Create an API key
To authenticate SDK or API requests, you need an API key:1
Create an API Key
- Go to OpenLIT and navigate to the API Keys page.
- Click Create API Key.
- Enter a name for your API key.
- Save the key displayed - store it securely, since you’ll pass it to the SDK for authentication.
Get a prompt using the SDK or API
GET Prompt API reference
Full request/response schema, plus Python and TypeScript SDK examples for fetching and compiling a prompt
Versioning
Fetch a specific version by number instead of always getting the latest
Manage Prompts
Where prompts, names, and IDs come from in the first place

