Get Query Fan-out
The searches engines ran while answering this brand's prompts. Engines that don't expose their searches still contribute runs, so coverageRate is the honest denominator.
Needs read access. About keys
Request
curl "https://app.vyingfor.com/api/v1/brands/{brandId}/query-fanout?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. |
page | Query | integer | Page number, 1-based. Default 1. |
limit | Query | integer | Items per page. Values above the maximum are clamped, not rejected. The default is large enough that most windows fit on the first page. Default 1000. Up to 1000. |
q | Query | string | Case-insensitive substring match on the search, across every search run in the window. |
Response
200 Get query fan-out
| Field | Type | Description |
|---|---|---|
brandId | string | |
range | DateRange | The window the response was computed over, echoed back as the half-open instants it resolved to. |
totalQueries | integer | |
uniqueQueries | integer | |
fanoutRuns | integer | Runs that searched at all. Engines that don't expose their searches contribute runs but no queries. |
totalRuns | integer | |
avgQueriesPerRun | number | |
coverageRate | number | Ratio 0–1; multiply by 100 for a percentage. |
data | FanoutQuery[] | This page of the distinct sub-queries over the window, ordered by the runs that ran them. The totals cover every query. |
pagination | Pagination |
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