Modbot Docs
APIAPI referenceAI settings

List AI calls

GET/api/settings/ai/calls

AI 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
Formatdate-time
to?string
Formatdate-time
flagged?boolean
skip?integer
Formatint32

Response 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}

Modbot is not endorsed by or affiliated with VRChat Inc. or Discord Inc. VRChat is a trademark of VRChat Inc. Discord is a trademark of Discord Inc. SteamVR is a trademark of Valve Corporation. Windows is a trademark of Microsoft Corporation. Docker is a trademark of Docker, Inc. PostgreSQL is a trademark of the PostgreSQL Community Association of Canada. Railway is a trademark of Railway Corp. Other names are trademarks of their respective owners; see Legal. Modbot and its logo are trademarks of the Modbot project. Open source under AGPL-3.0.