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.

GET
/brands/{brandId}/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.

Authorization

BearerAuth
AuthorizationBearer <token>

An instance admin key from ADMIN_API_KEYS, or an organization key (elmo_…) issued from the dashboard.

In: header

Path Parameters

brandId*string

Brand identifier.

Query Parameters

start*string

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.

Formatdate-time
end*string

Exclusive upper bound of the window, an ISO 8601 timestamp. The window is half-open: a run at exactly end is outside it.

Formatdate-time
model?string

Restrict to one model, e.g. chatgpt. See GET /models.

tags?string

Comma-separated prompt tags. Only prompts carrying at least one of them are counted.

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"    }  ]}