Help CenterVying
Open Vying
Menu

Get a Run

GET/prompts/{promptId}/runs/{runId}

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

NameInTypeDescription
promptId requiredPathstring
runId requiredPathstring

Response

200 Get a run

FieldTypeDescription
idstring
promptIdstring
brandIdstring
modelstring
providerstring or null

How the answer was obtained. Informational; not a stable enum.

webSearchEnabledboolean

Whether the engine answered with its own web search on.

countrystring 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.

languagestring or null

The language the provider was sent as a parameter. Null where the prompt's own wording was all that carried it.

brandMentionedboolean
competitorsMentionedstring[]
assessmentsRunAssessments

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.

webQueriesstring[]

Searches the engine ran, where it exposes them.

citationCountinteger
createdAtstring
answerobject
citationsRunCitation[]

Errors