List AI calls
GET
/api/settings/ai/callsAI calls, newest first, with counts and what went wrong.
Needs the ViewOperationalLog permission.
AuthorizationBearer <token>
An API key, made on Settings, API keys. Every key starts with mbk_.
In: header
Query Parameters
feature?string
outcome?string
model?string
from?string
Format
date-timeto?string
Format
date-timeflagged?boolean
skip?integer
Format
int32Response Body
application/json
application/problem+json
application/problem+json
curl -X GET "https://example.com/api/settings/ai/calls"{ "calls": [ { "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 } ], "next": null, "now": "2019-08-24T14:15:22Z", "models": [ "string" ], "features": [ "string" ], "outcomes": [ "string" ], "keepDays": 0}