List all prompts
Retrieve a paginated list of all prompts across all brands
Authorization
BearerAuth AuthorizationBearer <token>
An instance admin key from ADMIN_API_KEYS, or an organization key (elmo_…) issued from the dashboard.
In: header
Query Parameters
brandId?string
Filter prompts by brand ID
page?integer
Page number, 1-based.
Range
1 <= valueDefault
1limit?integer
Items per page. Values above the maximum are clamped, not rejected. This list had no ceiling before, so the maximum is set to bound a runaway query rather than to change what an existing caller gets back.
Range
1 <= value <= 1000Default
20enabled?boolean
Only prompts with this tracking state.
q?string
Case-insensitive substring match on prompt text.
Response Body
application/json
application/json
application/json
application/json
application/json
curl -X GET "https://example.com/prompts"{ "data": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "brandId": "string", "value": "string", "enabled": true, "tags": [ "string" ], "systemTags": [ "string" ], "createdAt": "2019-08-24T14:15:22Z", "updatedAt": "2019-08-24T14:15:22Z", "premiumModels": [ "string" ] } ], "prompts": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "brandId": "string", "value": "string", "enabled": true, "tags": [ "string" ], "systemTags": [ "string" ], "createdAt": "2019-08-24T14:15:22Z", "updatedAt": "2019-08-24T14:15:22Z", "premiumModels": [ "string" ] } ], "pagination": { "page": 0, "limit": 0, "total": 0, "totalPages": 0 }}