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.

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.

Authorization

BearerAuth
AuthorizationBearer <token>

An instance admin key from ADMIN_API_KEYS, or an organization key (elmo_…) issued from the dashboard.

In: header

Path Parameters

promptId*string
Formatuuid
runId*string
Formatuuid

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

application/json

curl -X GET "https://example.com/prompts/497f6eca-6276-4993-bfeb-53cbbbba6f08/runs/497f6eca-6276-4993-bfeb-53cbbbba6f08"
{  "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",  "promptId": "b5415d63-4390-40ec-8c2b-33a2db2f5c67",  "brandId": "string",  "model": "string",  "provider": "string",  "webSearchEnabled": true,  "brandMentioned": true,  "competitorsMentioned": [    "string"  ],  "webQueries": [    "string"  ],  "citationCount": 0,  "createdAt": "2019-08-24T14:15:22Z",  "answer": {    "text": "string"  },  "citations": [    {      "url": "http://example.com",      "domain": "string",      "title": "string",      "citationIndex": 0    }  ]}