List prompt performance
Per-prompt mention rates over the window. The analytics counterpart to `GET /prompts?brandId=`, which returns prompt configuration rather than results. A prompt the brand stopped tracking is not sampled, so it has no results over the window and does not appear here.
Per-prompt mention rates over the window. The analytics counterpart to GET /prompts?brandId=, which returns prompt configuration rather than results.
A prompt the brand stopped tracking is not sampled, so it has no results over the window and does not appear here.
Authorization
BearerAuth An instance admin key from ADMIN_API_KEYS, or an organization key (elmo_…) issued from the dashboard.
In: header
Path Parameters
Brand identifier.
Query Parameters
Inclusive lower bound of the window, an ISO 8601 timestamp such as 2026-01-01T00:00:00Z. A bare YYYY-MM-DD is rejected: that is /prompts/{promptId}/snapshot's spelling and means a local calendar day there.
date-timeExclusive upper bound of the window, an ISO 8601 timestamp. The window is half-open: a run at exactly end is outside it.
date-timeRestrict to one model, e.g. chatgpt. See GET /models.
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
application/json
curl -X GET "https://example.com/brands/string/prompt-performance?start=2019-08-24T14%3A15%3A22Z&end=2019-08-24T14%3A15%3A22Z"{ "brandId": "string", "range": { "start": "2019-08-24T14:15:22Z", "end": "2019-08-24T14:15:22Z" }, "data": [ { "promptId": "b5415d63-4390-40ec-8c2b-33a2db2f5c67", "value": "string", "tags": [ "string" ], "totalRuns": 0, "brandMentionRate": 0, "competitorMentionRate": 0, "lastRunAt": "2019-08-24T14:15:22Z", "firstEvaluatedAt": "2019-08-24T14:15:22Z" } ]}