full diff

dev.knotless.getLogs

From
bafyreia7uqy6c326pdv5tla2z7hidwcb6pma7iv456pdf5odwcsao2lo7m indexed 2026-11-02 18:38 UTC View this version
To
bafyreidqw2fa4tjknvl4ibxkvoyakv3g52tnvfaaivq5vwv3wc4pdmlxhi indexed 2026-11-08 18:54 UTC View this version

Compatibility

backward compatible No changes detected.

Changes

11{
22 "$type": "com.atproto.lexicon.schema",
33 "defs": {
44 "line": {
55 "description": "One line, as logged.",
66 "properties": {
77 "line": {
88 "description": "The JSON line, as written to the log: its time, level, message and the fields the event had.",
99 "type": "unknown"
1010 }
1111 },
1212 "required": [
1313 "line"
1414 ],
1515 "type": "object"
1616 },
1717 "main": {
1818 "description": "The lines an appview logged, for its operators, oldest first: all of one request's by its trace, or the last of a message, a level or a duration. It takes a service token for this method from one of the accounts it names as its operators, or the session cookie of one logged in to its pages. Kept across restarts, at most 30 days. Each read is itself logged, with who asked.",
1919 "output": {
2020 "encoding": "application/json",
2121 "schema": {
2222 "properties": {
2323 "lines": {
2424 "description": "The lines asked for, oldest first.",
2525 "items": {
2626 "ref": "#line",
2727 "type": "ref"
2828 },
2929 "type": "array"
3030 }
3131 },
3232 "required": [
3333 "lines"
3434 ],
3535 "type": "object"
3636 }
3737 },
3838 "parameters": {
3939 "properties": {
4040 "level": {
4141 "description": "Only lines at this level or above.",
4242 "knownValues": [
4343 "error",
4444 "warn",
4545 "info",
4646 "debug",
4747 "trace"
4848 ],
4949 "type": "string"
5050 },
5151 "limit": {
5252 "description": "How many, the last of those asked for. Unless given, 500 for a trace, so a request's lines come whole, and 100 otherwise.",
5353 "maximum": 500,
5454 "minimum": 1,
5555 "type": "integer"
5656 },
5757 "message": {
5858 "description": "Only lines with this message.",
5959 "knownValues": [
6060 "request",
6161 "outgoing",
6262 "sql",
6363 "git",
6464 "mcp tool",
6565 "mcp tool failed",
66 "mcp resource",
67 "mcp resource failed",
6668 "mirror sync",
6769 "logs read"
6870 ],
6971 "type": "string"
7072 },
7173 "minMs": {
7274 "description": "Only lines that took this many milliseconds or more.",
7375 "minimum": 0,
7476 "type": "integer"
7577 },
7678 "trace": {
7779 "description": "All of one request's lines, by the trace ID each carries and its answer's x-trace-id names.",
7880 "type": "string"
7981 }
8082 },
8183 "type": "params"
8284 },
8385 "type": "query"
8486 }
8587 },
8688 "id": "dev.knotless.getLogs",
8789 "lexicon": 1
8890}

Compare other versions