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.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
The prompt identifier. Can be: internal prompt ID (UUID), or externalPromptId (your custom ID).