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.
Needs read access. About keys
Request
curl "https://app.vyingfor.com/api/v1/brands/{brandId}/prompt-performance?start=2026-11-01T00:00:00Z&end=2026-12-01T00:00:00Z" \
-H "Authorization: Bearer YOUR_API_KEY"Parameters
| Name | In | Type | Description |
|---|---|---|---|
brandId required | Path | string | Brand identifier. |
start required | Query | string | Inclusive lower bound of the window, an ISO 8601 timestamp such as |
end required | Query | string | Exclusive upper bound of the window, an ISO 8601 timestamp, also aligned down to the quarter hour. The window is half-open: a run at exactly |
model | Query | string | Restrict to one model, e.g. |
tags | Query | string | Comma-separated prompt tags. Only prompts carrying at least one of them are counted. |
countries | Query | string | Comma-separated ISO 3166-1 alpha-2 country codes, e.g. |
languages | Query | string | Comma-separated ISO 639-1 language codes, e.g. |
Response
200 List prompt performance
| Field | Type | Description |
|---|---|---|
brandId | string | |
range | DateRange | The window the response was computed over, echoed back as the half-open instants it resolved to. |
data | PromptPerformance[] | Every prompt sampled over the window, with its results. |
Errors
400Invalid request data401Authentication required403The key is valid but doesn't have the access this request needs.404Resource not found429Per-key rate limit exceeded.500Internal server error