Agent Configuration
Create Prompt
Create a new prompt version.
First write for a given promptId is version 1. Subsequent POSTs with the same promptId allocate the next version. The whole SELECT MAX + INSERT runs under _reload_mutex so concurrent admin POSTs serialize.
post/admin/api/v1/prompts
Request body
Response
Successful Response