API Reference
Replace the domain's custom prompts
Declarative write: send the complete desired list. Prompts sent with their existing id keep that id (and their tags); prompts without an id are created. Stored prompts missing from the list are deleted.
PUT
header
AuthorizationBearer <JWT>Session JWT signed with HS256. Verification pins the algorithm and rejects expired tokens, per RFC8725.
domainId*stringPublic UUID of the domain whose custom prompt pool is addressed
application/json- body
prompts*array<>Items
items <= 2000Custom prompts stored
application/json- response
prompts*array<>curl -X PUT 'https://api.getmint.ai/api/domains/3fa85f64-5717-4562-b3fc-2c963f66afa6/custom-prompts' \ -H 'Content-Type: application/json' \ -d '{ "prompts": [ { "text": "Which running shoe brands do marathon coaches recommend?" } ]}'Example Response
{ "prompts": [ { "id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", "text": "Which running shoe brands do marathon coaches recommend?", "createdAt": "2026-05-25T10:30:00.000Z", "updatedAt": "2026-05-25T10:30:00.000Z" } ]}