v28

latestOpenAPI 3.1.0raw.githubusercontent.com2026-05-013593344.3 KB
Prompts

Get Prompt

Retrieve a prompt and optionally personalize it with dynamic variables. Perfect for fetching the prompt you want to use right before sending it to your AI.

Dynamic Variables: Use handlebars-style placeholders like {{userName}} in your prompt, then pass query parameters to fill them in.

Example: Calling /prompts/abc-123?userName=Alice&productName=Premium will replace {{userName}} with "Alice" and {{productName}} with "Premium" in the returned prompt.

get/prompts/{id}

Path parameters

idstring required

The prompt identifier. Can be: internal prompt ID (UUID), or externalPromptId (your custom ID).

The prompt identifier. Can be: internal prompt ID (UUID), or externalPromptId (your custom ID).

Response

Prompt retrieved successfully

composedPromptstring required

The prompt with variables interpolated from query parameters.