Documentation

Prompts API

MethodPathDescription
GET/api/promptsList prompts (pagination, search, filter)
POST/api/promptsCreate a new prompt
GET/api/prompts/:idGet prompt details (increments use count)
PATCH/api/prompts/:idUpdate prompt (pass only changed fields)
DELETE/api/prompts/:idDelete a prompt
GET/api/prompts/searchKeyword / semantic search
GET/api/prompts/syncFull or incremental pull for offline sync

Query Parameters (GET /api/prompts)

ParamTypeDescription
limitnumberPage size, default 50, max 200
offsetnumberPagination offset
qstringKeyword search across name / description / content
categorystringFilter by category
org_idstringFilter by workspace ID