Help CenterVying
Open Vying
Menu

List Named Organisations

GET/brands/{brandId}/entities

Every organisation the engines named when answering this brand's prompts over the window, tracked or not, with how many answers named each. Names are grouped case-, accent- and punctuation-insensitively; the spelling, domain and kind shown are the ones answers used most. Only answers with stored text count, since those are the ones whose organisations could be listed.

Needs read access. About keys

Request

curl "https://app.vyingfor.com/api/v1/brands/{brandId}/entities?start=2026-11-01T00:00:00Z&end=2026-12-01T00:00:00Z" \
  -H "Authorization: Bearer YOUR_API_KEY"

Parameters

NameInTypeDescription
brandId requiredPathstring

Brand identifier.

start requiredQuerystring

Inclusive lower bound of the window, an ISO 8601 timestamp such as 2026-01-01T00:00:00Z. Aligned down to the quarter hour, the grain analytics are aggregated at; where a response repeats the window, it repeats the aligned one. A bare YYYY-MM-DD is rejected: that is /prompts/{promptId}/snapshot's spelling and means a UTC calendar day there.

end requiredQuerystring

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 end is outside it. start and end inside one quarter-hour bucket leave an empty window and are rejected. The window can be at most 1,096 days long.

modelQuerystring

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

tagsQuerystring

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

countriesQuerystring

Comma-separated ISO 3166-1 alpha-2 country codes, e.g. DE,CH. Only prompts asked from one of them are counted. A code outside the supported list is a 400.

languagesQuerystring

Comma-separated ISO 639-1 language codes, e.g. de,fr. Only prompts written in one of them are counted. Combined with countries, a prompt must match both. A code outside the supported list is a 400.

pageQueryinteger

Page number, 1-based. Default 1.

limitQueryinteger

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.

qQuerystring

Case-insensitive substring match on the organisation's name.

kindsQuerystring

Comma-separated kinds to keep, e.g. business,media. Omit for every kind.

Response

200 List named organisations

FieldTypeDescription
brandIdstring
rangeDateRange

The window the response was computed over, echoed back as the half-open instants it resolved to.

totalsobject
dataNamedEntity[]

This page of the organisations named over the window, most answers first.

paginationPagination

Errors