Get AI call
GET
/api/settings/ai/calls/{id}One AI call, with what the model was sent and what it answered.
Needs the ManageSettings permission.
AuthorizationBearer <token>
An API key, made on Settings, API keys. Every key starts with mbk_.
In: header
Path Parameters
id*string
Format
uuidResponse Body
application/json
application/problem+json
application/problem+json
application/problem+json
curl -X GET "https://example.com/api/settings/ai/calls/497f6eca-6276-4993-bfeb-53cbbbba6f08"{ "call": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "at": "2019-08-24T14:15:22Z", "feature": "string", "featureLabel": "string", "modelAsked": "string", "modelAnswered": null, "provider": null, "fallback": true, "outcome": "string", "outcomeLabel": "string", "error": null, "inputTokens": 0, "cachedInputTokens": 0, "outputTokens": 0, "cost": null, "durationMs": 0, "userId": null, "username": null, "flagged": true, "hasText": true }, "prompt": null, "answer": null}