Skip to main content
POST
Create Prompt

Body

application/json

Body for POST /admin/api/v1/prompts.

Creating a prompt with an existing prompt_id creates a new version at the DB layer (Phase 4+); the schema does not enforce uniqueness.

promptId
string
required
content
string
required
tags
string[]

Response

Successful Response

data
StandalonePromptRead · object
required

GET response and the data payload of POST/PATCH/DELETE responses.

reload
StandaloneReloadResult · object
required

Reload outcome attached to every admin mutation response.

reloaded means DB committed and runtime now uses the new config. restart_required means DB committed and process restart is needed. reload_failed means DB rolled back and runtime is unchanged.

Last modified on May 22, 2026