List log entries

List project log entries. Requires project.logs.read.

Arguments

  • startstring · date-time

    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.

  • endstring · date-time

    End time (RFC 3339). Defaults to now. Cannot be combined with cursor.

  • cursorstring

    Opaque page_info.next from a previous page. It continues the original window and sort order; repeat the same filters with every cursor.

  • limitnumber · min 1 · max 1000 · default 100

    Max entries to return (default: 100, max: 1000)

  • sort_orderstring

    Sort order by timestamp. Defaults to "desc", newest first. Entries that share a timestamp keep one stable order. One of asc, desc.

  • levelstring

    Filter by log level One of error, warn, info, debug.

  • searchstring · max length 200

    Free-text search over the fields each entry shows

  • environmentstring · min length 1 · max length 200

    Exact runtime environment tag, for example preview or production. Untagged telemetry is excluded.

  • hoststring · min length 1 · max length 253

    Exact request host (without scheme or path), for example demo.preview.veryfront.com. Untagged telemetry is excluded.

  • release_idstring · min length 1 · max length 128

    Exact release ID on emitted logs; untagged logs are excluded.

  • servicestring

    Filter by service: veryfront-server, veryfront-api or veryfront-proxy. One of veryfront-server, veryfront-api, veryfront-proxy.

  • trace_idstring · min length 1 · max length 64

    Filter by exact trace ID to correlate logs with a distributed trace.

  • request_idstring · min length 1 · max length 128

    Filter by exact request ID.

  • run_idstring · min length 1 · max length 128

    Filter by exact run ID to see every service line that belongs to one run.

  • project_referencestring

    Project ID or slug

Responses

curl -X POST -N "https://api.veryfront.com/mcp" \  -H "Authorization: Bearer $VERYFRONT_API_KEY" \  -H "Accept: application/json, text/event-stream" \  -H "Content-Type: application/json" \  -d '{  "jsonrpc": "2.0",  "id": 1,  "method": "tools/call",  "params": {    "name": "veryfront__list_project_logs",    "arguments": {}  }}'
{  "jsonrpc": "2.0",  "id": 1,  "result": {    "content": [      {        "type": "text",        "text": "{\"data\":[{\"timestamp\":\"string\",\"level\":\"string\",\"message\":\"string\",\"service\":\"string\",\"trace_id\":\"string\",\"request_id\":\"string\",\"run_id\":\"string\",\"environment\":\"string\",\"host\":\"string\",\"release_id\":\"string\",\"metadata\":{}}],\"page_info\":{\"self\":\"string\",\"first\":null,\"next\":\"string\",\"prev\":\"string\"},\"stats\":{\"bytes_processed\":0,\"lines_processed\":0,\"query_time_ms\":0}}"      }    ],    "structuredContent": {      "data": [        {          "timestamp": "string",          "level": "string",          "message": "string",          "service": "string",          "trace_id": "string",          "request_id": "string",          "run_id": "string",          "environment": "string",          "host": "string",          "release_id": "string",          "metadata": {}        }      ],      "page_info": {        "self": "string",        "first": null,        "next": "string",        "prev": "string"      },      "stats": {        "bytes_processed": 0,        "lines_processed": 0,        "query_time_ms": 0      }    }  }}

The tool ran; its output is result.structuredContent.