v27

latestOpenAPI 3.1.0raw.githubusercontent.com2026-07-2193427579.9 KB
Prompts

Create a prompt.

Create a new prompt.

post/v1/prompts

Request body

promptstring required

The prompt text content with variable placeholders.

variablesstring[] nullable

List of variable names that can be used in the prompt template.

Response

The created Prompt resource.

promptstring nullable

The system prompt with variable placeholders

versioninteger required

Version (integer starting at 1, incremented on save)

prompt_idstring required

Unique identifier in format 'pmpt_<48-digit-hash>'

variablesstring[]

List of variable names that can be used in the prompt template

is_defaultboolean

Boolean indicating whether this version is the default version