Prompt Runs
Run Live Prompt Version
Renders the active 'live' template version and executes it against the configured model provider (e.g. OpenAI or Anthropic). Supports ad-hoc overrides for models and params, and unified stream mode.
post/v1/projects/{projectID}/prompts/{slug}/run
Path parameters
projectIDstring uuid required
The ID of the project the prompt belongs to.
slugstring required
Prompt slug, unique within the project.
Request body
Response
Completed response text (non-streaming) or stream chunk headers (streaming). Streaming SSE events where each line is formatted as data: {"delta": string, "done": boolean}.
Example response
{
"response": "Greetings from the model!",
"model": "openai/gpt-4o",
"version": 2,
"slug": "my-prompt"
}