List all prompts
GET
Retrieve a paginated list of all prompts across all brands
BearerAuthheader
AuthorizationBearer <token>An instance admin key from ADMIN_API_KEYS, or an organization key (elmo_…) issued from the dashboard.
brandId?stringFilter prompts by brand ID
page?integerPage number, 1-based.
Range
1 <= valueDefault
1limit?integerItems 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?booleanOnly prompts with this tracking state.
q?stringCase-insensitive substring match on prompt text.
List of prompts
application/json- response
data*array<>The items on this page. Read this rather than the named key below.
prompts*array<>DeprecatedDeprecated: read data instead. Kept while the one known consumer migrates, and removed in a future release.
pagination*curl -X GET 'https://app.elmohq.com/api/v1/prompts'Example Response
{
"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
}
}