APIReferenceRuns

Get what changed for a prompt vs its last run

Deterministic diff of this prompt's latest scored run against its predecessor: model-mention flips, rank shift, competitor appear/disappear, sentiment shift.

GET/api/prompts/{prompt_id}/changes/

Authorization

AuthorizationBearer <token>

Personal Access Token (create one from Settings -> API Keys in the dashboard). Send as Authorization: Bearer gr_live_.... An X-API-Key: gr_live_... header (see the apiKeyAuth scheme) is accepted as an equivalent alternative — send ONE of the two, not both.

In: header

Path Parameters

prompt_id*integer

Response Body

application/json

curl -X GET "https://example.com/api/prompts/0/changes/"
{  "hasBaseline": true,  "comparedToRunId": 9902,  "baselineIncomplete": false,  "changes": [    {      "kind": "model_mention",      "model": "gpt-5",      "direction": "started"    },    {      "kind": "rank",      "from": 3,      "to": 1,      "direction": "improved"    },    {      "kind": "competitor",      "name": "Competitor Co",      "direction": "disappeared"    },    {      "kind": "sentiment",      "from": "neutral",      "to": "positive"    }  ]}