Компания и доступ · Чтение
Система · Журналы · Поиск
system_logs_search
Попробуйте три запроса
Получить данные
- Вы указываетеОбъект
- ПомощникЧтение
- Вы получаетеПоля ответа
Запрос в чат
Для задачи «Система / Журналы / Поиск» выполни чтение в текущей компании. Выведи кратко: entries, начало.
- entries
- Поле ответа
- from
- Начало
- to
- Конец
Следующая страница
- Вы указываетеПредыдущий ответ
- ПомощникПродолжение
- Вы получаетеСледующая страница
Запрос в чат
Продолжи «Система / Журналы / Поиск» с позиции прошлого ответа. Сохрани фильтры и размер страницы 3. Покажи новые строки отдельно.
Страница 1До 3 строк
Страница 2Продолжение
Разобрать ответ
- Вы указываетеПолученный ответ
- ПомощникРазбор значений
- Вы получаетеКраткое пояснение
Запрос в чат
На основании уже полученного ответа «Система / Журналы / Поиск» объясни entries, начало. Отметь отсутствующие значения.
- entries
- Поле ответа
- from
- Начало
- to
- Конец
Как работает действие
Это чтение. Выберите запись или задайте фильтры в доступной компании. При постраничном чтении используйте продолжение ответа с теми же фильтрами.
Описание разработчика
Search existing server logs for the authenticated company only. Filters by time, severity, service, module and exact request/call/Flow/diagnostic ID. Includes metadata, error codes and source frames; never raw payloads, credentials, other companies or untagged platform logs. Read-only: does not retry, restart, deploy or fix anything. Requires current company administration and all locations.
Параметры запроса
- from
- Inclusive UTC/offset start. Defaults to 24 hours before to. Maximum window seven days. необязательно · string
- to
- Exclusive window end. Defaults to now. Retained history may be shorter than requested. необязательно · string
- minimumSeverity
- Minimum severity. Use DEFAULT or INFO to follow successful operations and start events. обязательно по схеме · string · по умолчанию "WARNING" · варианты DEFAULT, DEBUG, INFO, NOTICE, WARNING, ERROR, CRITICAL, ALERT, EMERGENCY
- service
- Exact Cloud Run service or Cloud Function name returned by system_logs_sources. необязательно · string
- module
- Exact module. Matches structured module tags; legacy untagged rows do not match. необязательно · string
- correlation
- Optional exact correlation. Does not broaden company or time scope. необязательно · object
- limit
- Максимальное число элементов на этой странице. обязательно по схеме · integer · по умолчанию 20 · минимум 1 · максимум 30
- cursor
- Продолжение из предыдущего ответа при тех же фильтрах. необязательно · string · до символов 14000
Что вернёт команда
- entries
- Sanitized company log entries. обязательно по схеме · array · до элементов 30
- from
- Fixed search start; preserved by cursor. обязательно по схеме · string
- to
- Fixed search end; preserved by cursor. обязательно по схеме · string
- nextCursor
- Курсор для получения следующей страницы. обязательно по схеме · string / null
- coverage
- Attribution, retention and evidence limits. обязательно по схеме · string
Поля и технические схемы

Вход · JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"properties": {
"from": {
"description": "Inclusive UTC/offset start. Defaults to 24 hours before to. Maximum window seven days.",
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
},
"to": {
"description": "Exclusive window end. Defaults to now. Retained history may be shorter than requested.",
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
},
"minimumSeverity": {
"default": "WARNING",
"description": "Minimum severity. Use DEFAULT or INFO to follow successful operations and start events.",
"type": "string",
"enum": [
"DEFAULT",
"DEBUG",
"INFO",
"NOTICE",
"WARNING",
"ERROR",
"CRITICAL",
"ALERT",
"EMERGENCY"
]
},
"service": {
"description": "Exact Cloud Run service or Cloud Function name returned by system_logs_sources.",
"type": "string",
"pattern": "^[A-Za-z][A-Za-z0-9_-]{0,127}$"
},
"module": {
"description": "Exact module. Matches structured module tags; legacy untagged rows do not match.",
"type": "string",
"pattern": "^[a-z][a-z0-9_]{1,39}$"
},
"correlation": {
"description": "Optional exact correlation. Does not broaden company or time scope.",
"type": "object",
"properties": {
"type": {
"type": "string",
"enum": [
"diagnosticId",
"requestId",
"callId",
"flowId",
"runId",
"nodeId",
"traceId"
],
"description": "Exact correlation field to search."
},
"id": {
"type": "string",
"minLength": 1,
"maxLength": 160,
"pattern": "^[A-Za-z0-9_~:@+.\\/-]+$",
"description": "Existing operation, call, Flow run or diagnostic ID. Never supply a credential."
}
},
"required": [
"type",
"id"
],
"additionalProperties": false
},
"limit": {
"default": 20,
"description": "Maximum entries per page.",
"type": "integer",
"minimum": 1,
"maximum": 30
},
"cursor": {
"description": "Opaque continuation from the identical query and current access. Empty pages may have a continuation.",
"type": "string",
"maxLength": 14000
}
},
"required": [
"minimumSeverity",
"limit"
],
"additionalProperties": false
}Выход · JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"properties": {
"entries": {
"maxItems": 30,
"type": "array",
"items": {
"type": "object",
"properties": {
"logId": {
"type": "string",
"description": "Opaque locator for system_logs_get. It does not grant access."
},
"timestamp": {
"type": "string",
"description": "Original server log timestamp."
},
"severity": {
"type": "string",
"enum": [
"DEFAULT",
"DEBUG",
"INFO",
"NOTICE",
"WARNING",
"ERROR",
"CRITICAL",
"ALERT",
"EMERGENCY"
],
"description": "Cloud Logging severity."
},
"service": {
"type": "string",
"description": "Cloud Run service or Cloud Function."
},
"revision": {
"description": "Deployed revision where present.",
"type": [
"string",
"null"
]
},
"module": {
"description": "Explicit module tag, or null for older logs.",
"type": [
"string",
"null"
]
},
"event": {
"description": "Structured event name, or null.",
"type": [
"string",
"null"
]
},
"action": {
"description": "Canonical MCP action where recorded.",
"type": [
"string",
"null"
]
},
"errorCode": {
"description": "Stored technical code; no code is inferred from arbitrary provider text.",
"type": [
"string",
"null"
]
},
"causeCode": {
"description": "Underlying transport/provider code if logged.",
"type": [
"string",
"null"
]
},
"reasonCode": {
"description": "Bounded symbolic backend reason, when recorded.",
"type": [
"string",
"null"
]
},
"upstreamService": {
"description": "Exact existing callable/backend name, without a URL.",
"type": [
"string",
"null"
]
},
"errorType": {
"description": "Exception class if recorded.",
"type": [
"string",
"null"
]
},
"statusCode": {
"anyOf": [
{
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991
},
{
"type": "null"
}
],
"description": "Stored upstream HTTP status if available."
},
"durationMs": {
"anyOf": [
{
"type": "number",
"minimum": 0
},
{
"type": "null"
}
],
"description": "Recorded elapsed duration, not inferred."
},
"status": {
"description": "Recorded operation state. A completed MCP request is not proof of customer delivery.",
"type": [
"string",
"null"
]
},
"correlation": {
"type": "object",
"properties": {
"diagnosticId": {
"description": "Stored safe diagnosticId, or null.",
"type": [
"string",
"null"
]
},
"requestId": {
"description": "Stored safe requestId, or null.",
"type": [
"string",
"null"
]
},
"callId": {
"description": "Stored safe callId, or null.",
"type": [
"string",
"null"
]
},
"flowId": {
"description": "Stored safe flowId, or null.",
"type": [
"string",
"null"
]
},
"runId": {
"description": "Stored safe runId, or null.",
"type": [
"string",
"null"
]
},
"nodeId": {
"description": "Stored safe nodeId, or null.",
"type": [
"string",
"null"
]
},
"traceId": {
"description": "Stored safe traceId, or null.",
"type": [
"string",
"null"
]
}
},
"required": [
"diagnosticId",
"requestId",
"callId",
"flowId",
"runId",
"nodeId",
"traceId"
],
"additionalProperties": false,
"description": "Available exact references for further diagnosis."
},
"frames": {
"maxItems": 6,
"type": "array",
"items": {
"type": "string"
},
"description": "Source basenames and line/column numbers only. No arbitrary stack text."
},
"fingerprint": {
"description": "Failure grouping key, stored or derived from code, exception type and source frames; never from business payloads.",
"type": [
"string",
"null"
]
},
"retryable": {
"description": "Recorded transport retryability; does not authorize replaying a business write.",
"type": [
"boolean",
"null"
]
},
"beforeSideEffect": {
"description": "Whether the producer proved failure before side effects; null means unknown.",
"type": [
"boolean",
"null"
]
},
"nextStep": {
"type": "string",
"description": "Diagnostic guidance, not a repair action or proof of the root cause."
},
"payloadOmitted": {
"type": "boolean",
"const": true,
"description": "Raw messages, payloads, headers, URLs, customer text and secrets are deliberately omitted."
}
},
"required": [
"logId",
"timestamp",
"severity",
"service",
"revision",
"module",
"event",
"action",
"errorCode",
"causeCode",
"reasonCode",
"upstreamService",
"errorType",
"statusCode",
"durationMs",
"status",
"correlation",
"frames",
"fingerprint",
"retryable",
"beforeSideEffect",
"nextStep",
"payloadOmitted"
],
"additionalProperties": false
},
"description": "Sanitized company log entries."
},
"from": {
"type": "string",
"description": "Fixed search start; preserved by cursor."
},
"to": {
"type": "string",
"description": "Fixed search end; preserved by cursor."
},
"nextCursor": {
"description": "Continuation even when this page is empty; null means the query is exhausted.",
"type": [
"string",
"null"
]
},
"coverage": {
"type": "string",
"description": "Attribution, retention and evidence limits."
}
},
"required": [
"entries",
"from",
"to",
"nextCursor",
"coverage"
],
"additionalProperties": false
}