Prompts
Get summarized user prompts including reference prompts
Returns a flat summarized list mixing own-prompt summaries and acquired reference-prompt summaries (marketplace references). Each entry is discriminated by isReference/isOwned. An optional userId query selects another user (admin use).
Authorization
bearerAuth AuthorizationBearer <token>
In: header
Query Parameters
userId?string
Optional user ID to fetch prompts for (defaults to current user)
Response Body
application/json
application/json
application/json
curl -X GET "https://example.com/api/prompts/user/summary"[ { "_id": "5f7b1c2e8a1d4e0012c3b4a5", "name": "Leasing follow-up assistant", "description": "Follow up with leads 24h after their last response.", "isReference": false, "isOwned": true, "isPublished": false }, { "_id": "5f7b1c2e8a1d4e0012c3b4a7", "name": "Tether published - Leasing starter", "description": "Marketplace starter prompt.", "isReference": true, "isOwned": false, "isContentVisible": true }]