List log entries

veryfront__list_project_logs

Requires project.logs.read.

Access

No external-service connection is required. Use a Veryfront credential with access to the requested resources.

Call type: Read-only.

Arguments

FieldTypeRequiredDescription and constraints
startstringNoStart time (RFC 3339). Defaults to 1 hour ago. Logs are kept for 31 days and one query spans at most 30 days; an older start or a wider range returns 400. Cannot be combined with cursor. Format: date-time.
endstringNoEnd time (RFC 3339). Defaults to now. Cannot be combined with cursor. Format: date-time.
cursorstringNoOpaque page_info.next from a previous page. It continues the original window and sort order; repeat the same filters with every cursor.
limitnumberNoMax entries to return (default: 100, max: 1000) Default: 100. Minimum: 1. Maximum: 1000.
sort_orderstringNoSort order by timestamp. Defaults to "desc", newest first. Entries that share a timestamp keep one stable order. Values: "asc", "desc".
levelstringNoFilter by log level Values: "error", "warn", "info", "debug".
searchstringNoFree-text search over the fields each entry shows Maximum length: 200.
environmentstringNoExact runtime environment tag, for example preview or production. Untagged telemetry is excluded. Minimum length: 1. Maximum length: 200.
hoststringNoExact request host (without scheme or path), for example demo.preview.veryfront.com. Untagged telemetry is excluded. Minimum length: 1. Maximum length: 253.
release_idstringNoExact release ID on emitted logs; untagged logs are excluded. Minimum length: 1. Maximum length: 128.
servicestringNoFilter by service: veryfront-server, veryfront-api or veryfront-proxy. Values: "veryfront-server", "veryfront-api", "veryfront-proxy".
trace_idstringNoFilter by exact trace ID to correlate logs with a distributed trace. Minimum length: 1. Maximum length: 64.
request_idstringNoFilter by exact request ID. Minimum length: 1. Maximum length: 128.
run_idstringNoFilter by exact run ID to see every service line that belongs to one run. Minimum length: 1. Maximum length: 128.
project_referencestringNoProject ID or slug

Example request

Send this JSON-RPC request through an initialized MCP client. Replace sample identifiers and values before calling the tool. See MCP client setup.

json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "veryfront__list_project_logs",
    "arguments": {}
  }
}

Result

The published output shape is summarized below. Inspect both the MCP response content and isError when handling a call.

FieldTypeRequiredDescription and constraints
dataobject[]YesLog entries in (timestamp, tie key) order. A page can hold fewer entries than limit, or none, and still carry page_info.next.
page_infoobjectYesPagination cursor values for traversing the result set.
statsobjectYesStructured stats details associated with this tool result.

Full schemas

json
{
  "type": "object",
  "properties": {
    "start": {
      "type": "string",
      "format": "date-time",
      "description": "Start time (RFC 3339). Defaults to 1 hour ago. Logs are kept for 31 days and one query spans at most 30 days; an older start or a wider range returns 400. Cannot be combined with cursor."
    },
    "end": {
      "type": "string",
      "format": "date-time",
      "description": "End time (RFC 3339). Defaults to now. Cannot be combined with cursor."
    },
    "cursor": {
      "type": "string",
      "description": "Opaque page_info.next from a previous page. It continues the original window and sort order; repeat the same filters with every cursor."
    },
    "limit": {
      "type": "number",
      "minimum": 1,
      "maximum": 1000,
      "description": "Max entries to return (default: 100, max: 1000)",
      "default": 100
    },
    "sort_order": {
      "type": "string",
      "enum": [
        "asc",
        "desc"
      ],
      "description": "Sort order by timestamp. Defaults to \"desc\", newest first. Entries that share a timestamp keep one stable order."
    },
    "level": {
      "type": "string",
      "enum": [
        "error",
        "warn",
        "info",
        "debug"
      ],
      "description": "Filter by log level"
    },
    "search": {
      "type": "string",
      "maxLength": 200,
      "description": "Free-text search over the fields each entry shows"
    },
    "environment": {
      "type": "string",
      "minLength": 1,
      "maxLength": 200,
      "pattern": "^[A-Za-z0-9._-]+$",
      "description": "Exact runtime environment tag, for example preview or production. Untagged telemetry is excluded."
    },
    "host": {
      "type": "string",
      "minLength": 1,
      "maxLength": 253,
      "pattern": "^[A-Za-z0-9.-]+(?::[0-9]+)?$",
      "description": "Exact request host (without scheme or path), for example demo.preview.veryfront.com. Untagged telemetry is excluded."
    },
    "release_id": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9._-]+$",
      "description": "Exact release ID on emitted logs; untagged logs are excluded."
    },
    "service": {
      "type": "string",
      "enum": [
        "veryfront-server",
        "veryfront-api",
        "veryfront-proxy"
      ],
      "description": "Filter by service: veryfront-server, veryfront-api or veryfront-proxy."
    },
    "trace_id": {
      "type": "string",
      "minLength": 1,
      "maxLength": 64,
      "pattern": "^[A-Za-z0-9._-]+$",
      "description": "Filter by exact trace ID to correlate logs with a distributed trace."
    },
    "request_id": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9._-]+$",
      "description": "Filter by exact request ID."
    },
    "run_id": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9._-]+$",
      "description": "Filter by exact run ID to see every service line that belongs to one run."
    },
    "project_reference": {
      "type": "string",
      "description": "Project ID or slug"
    }
  },
  "additionalProperties": false,
  "description": "Runtime logs, not a stored build-log archive, from the runtime, API and proxy services; use them to debug SSR failures and runtime exceptions. Target filters (environment, host, release_id) exclude untagged logs, and an empty data array does not prove telemetry was emitted. Page with page_info.next: an empty data array with page_info.next set means more entries may exist, so call again with that cursor.",
  "$schema": "http://json-schema.org/draft-07/schema#"
}
json
{
  "type": "object",
  "properties": {
    "data": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "timestamp": {
            "type": "string"
          },
          "level": {
            "type": "string"
          },
          "message": {
            "type": "string"
          },
          "service": {
            "type": "string"
          },
          "trace_id": {
            "type": "string"
          },
          "request_id": {
            "type": "string"
          },
          "run_id": {
            "type": "string",
            "description": "Run identifier associated with this result."
          },
          "environment": {
            "type": "string"
          },
          "host": {
            "type": "string"
          },
          "release_id": {
            "type": "string",
            "description": "Release identifier associated with this result."
          },
          "metadata": {
            "type": "object",
            "additionalProperties": {
              "type": "string",
              "description": "Additional structured values associated with this result."
            },
            "description": "Additional structured metadata returned by the tool."
          }
        },
        "required": [
          "timestamp",
          "level",
          "message",
          "service"
        ],
        "additionalProperties": false
      },
      "description": "Log entries in (timestamp, tie key) order. A page can hold fewer entries than limit, or none, and still carry page_info.next."
    },
    "page_info": {
      "type": "object",
      "properties": {
        "self": {
          "type": [
            "string",
            "null"
          ],
          "description": "Cursor that refers to the current page."
        },
        "first": {
          "type": "null"
        },
        "next": {
          "type": [
            "string",
            "null"
          ],
          "description": "Cursor for the next page when pagination is available."
        },
        "prev": {
          "type": [
            "string",
            "null"
          ],
          "description": "Cursor for the previous page when pagination is available."
        }
      },
      "required": [
        "self",
        "first",
        "next",
        "prev"
      ],
      "additionalProperties": false,
      "description": "Pagination cursor values for traversing the result set."
    },
    "stats": {
      "type": "object",
      "properties": {
        "bytes_processed": {
          "type": "number"
        },
        "lines_processed": {
          "type": "number"
        },
        "query_time_ms": {
          "type": "number"
        }
      },
      "required": [
        "bytes_processed",
        "lines_processed",
        "query_time_ms"
      ],
      "additionalProperties": false,
      "description": "Structured stats details associated with this tool result."
    }
  },
  "required": [
    "data",
    "page_info",
    "stats"
  ],
  "additionalProperties": false,
  "description": "Structured result returned by the list_project_logs tool.",
  "$schema": "http://json-schema.org/draft-07/schema#"
}