Get a Run
One model answer, with its text normalized out of the provider’s response and its citations in the order the engine listed them. A run belonging to some other prompt answers 404. The provider’s raw payload is deliberately not exposed — its shape belongs to the provider, not to this API.
Needs read access. About keys
Request
curl "https://app.vyingfor.com/api/v1/prompts/{promptId}/runs/{runId}" \
-H "Authorization: Bearer YOUR_API_KEY"Parameters
| Name | In | Type | Description |
|---|---|---|---|
promptId required | Path | string | |
runId required | Path | string |
Response
200 Get a run
| Field | Type | Description |
|---|---|---|
id | string | |
promptId | string | |
brandId | string | |
model | string | |
provider | string or null | How the answer was obtained. Informational; not a stable enum. |
webSearchEnabled | boolean | Whether the engine answered with its own web search on. |
country | string or null | The country the provider was asked to answer from. Null where it was told none: a model called without web search, a provider answering from its own default location, or a run from before prompts had a country. |
language | string or null | The language the provider was sent as a parameter. Null where the prompt's own wording was all that carried it. |
brandMentioned | boolean | |
competitorsMentioned | string[] | |
assessments | RunAssessments | Experimental — the shape may still change. The mention judge's assessments for one answer. Null when the run's mentions were matched by name, before the judge, until a replay judges it. |
webQueries | string[] | Searches the engine ran, where it exposes them. |
citationCount | integer | |
createdAt | string | |
answer | object | |
citations | RunCitation[] |
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