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

promptIdstring required
contentstring required
tagsstring[]

Response

Successful Response

Changes

No recorded changes to this endpoint across all 2 revisions of this API.