Per-engine answers for one prompt in one run
const url = 'https://api.traaker.ai/api/public/v1/brands/example/prompts/example/responses?latest=false&includeResponseText=true';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url 'https://api.traaker.ai/api/public/v1/brands/example/prompts/example/responses?latest=false&includeResponseText=true' \ --header 'Authorization: Bearer <token>'The full signal set behind a prompt’s score, one row per engine: whether the brand was cited and recommended, its position in any recommendation list, sentiment, alignment, the citation list, and the engine’s prose.
Pick the run with exactly one of auditId, date or latest. Sending none is the same as latest=true; sending two is a 400.
Only the last 3 completed audits per brand and axis are addressable. Asking for an older run returns 404 naming the oldest available.
Authorizations
Section titled “ Authorizations ”Parameters
Section titled “ Parameters ”Path Parameters
Section titled “ Path Parameters ”The prompt’s queryId. The axis is resolved automatically.
Query Parameters
Section titled “ Query Parameters ”An auditId from /audits. Must be among the last 3 completed runs for this brand and axis.
Calendar day (UTC) of a completed run, YYYY-MM-DD. meta.auditId echoes which run answered.
Most recent completed run. Implied when no selector is given.
Set false to null out response and keep payloads small when you only need the signals.
Responses
Section titled “ Responses ”OK. data is empty (not a 404) when the resolved run completed without scoring this prompt.
object
One engine’s answer to one prompt in one audit run.
object
Engine that produced the answer, e.g. “openai”, “gemini”, “perplexity”.
The prompt text as it was sent AT RUN TIME. May differ from the prompt’s current text if it has been edited since.
Full engine prose. Null when the request set includeResponseText=false.
The answer cited at least one source.
The brand’s own domain appears among the cited sources. Null on rows written before this signal existed.
The answer recommended the brand.
The brand’s rank in the answer’s recommendation list (1 = first). Referral axis only.
Length of that recommendation list. Referral axis only.
The recommendation list in order. Referral axis only.
One-line justification for the alignment judgement.
One citation. POSITIONAL: inline [n] markers in response are 1-based indices into the sources array, so entries must never be reordered, deduplicated or filtered out. An entry with url: null is a real citation the engine gave no link for.
object
What the engine labelled the source, a URL for every engine except Gemini, which gives a domain.
Click-through URL, or null when the engine gave none.
object
The run that actually answered.
Example
{ "data": [ { "sentiment": "positive" } ], "meta": { "axis": "narrative" }}Invalid or unknown query parameter.
object
Machine-readable discriminator, present on some errors (e.g. RATE_LIMITED on 429).
On 429 only, how long to wait before retrying, in milliseconds.
Example generated
{ "statusCode": 1, "message": "example", "code": "example", "retryAfterMs": 1}Missing, malformed or revoked API key.
object
Machine-readable discriminator, present on some errors (e.g. RATE_LIMITED on 429).
On 429 only, how long to wait before retrying, in milliseconds.
Example generated
{ "statusCode": 1, "message": "example", "code": "example", "retryAfterMs": 1}API access is not enabled for this account.
object
Machine-readable discriminator, present on some errors (e.g. RATE_LIMITED on 429).
On 429 only, how long to wait before retrying, in milliseconds.
Example generated
{ "statusCode": 1, "message": "example", "code": "example", "retryAfterMs": 1}No such brand or prompt on this account.
object
Machine-readable discriminator, present on some errors (e.g. RATE_LIMITED on 429).
On 429 only, how long to wait before retrying, in milliseconds.
Example generated
{ "statusCode": 1, "message": "example", "code": "example", "retryAfterMs": 1}Hourly rate limit exhausted.
object
Machine-readable discriminator, present on some errors (e.g. RATE_LIMITED on 429).
On 429 only, how long to wait before retrying, in milliseconds.
Example generated
{ "statusCode": 1, "message": "example", "code": "example", "retryAfterMs": 1}