Get log filters
/api/logs/filtersThe sources and areas that have written a line, and how many are stored.
Needs the ViewOperationalLog permission.
An API key, made on Settings, API keys. Every key starts with mbk_.
In: header
Response Body
application/json
application/problem+json
application/problem+json
curl -X GET "https://example.com/api/logs/filters"{ "levels": [ "string" ], "sources": [ "string" ], "areas": [ "string" ], "stored": 0, "oldest": null}List log lines GET
Modbot's own log, newest first. `level` is the lowest level shown, so `Warning` gives warnings, errors and fatal lines. `text` matches the message and the exception, anywhere in either. Outbound API traffic is not in this table. It is written to `modbot_log_http_*.jsonl` and to Seq, and there is far too much of it to keep for six months in the database. Needs the `ViewOperationalLog` permission.
Get log settings GET
How long stored log lines are kept, and whether they go to Modbot Cloud. Needs the `ViewOperationalLog` permission.