Prompts
Get all prompts for the current user
Returns the full PromptDocument array owned by the caller. For non-admin callers, the prompt body field is stripped on entries marked isHidden. Returns an empty object {} when the user has no prompts.
Authorization
bearerAuth AuthorizationBearer <token>
In: header
Response Body
application/json
application/json
application/json
curl -X GET "https://example.com/api/prompts/user"[ { "_id": "5f7b1c2e8a1d4e0012c3b4a5", "name": "Leasing follow-up assistant", "prompt": "<prompt>...</prompt>", "description": "Follow up with leads 24h after their last response.", "temperature": 0.7, "responseTime": 45, "isHidden": false, "organizationId": "64a1b2c3d4e5f60012345678", "userId": "64a1b2c3d4e5f60012345679" }]