List request logs

OpenAPI contract

Method
GET
Path
/api/v1/request-logs
Security
jwtBearer (bearer) OR automationKey (bearer)
Response status
200 400 401 403 429 500
Request and response schemas
JSON
{
  "requestBody": {},
  "responses": {
    "200": {
      "description": "Request log page",
      "content": {
        "application/json": {
          "$ref": "#/components/schemas/RequestLogPageResponse"
        }
      }
    },
    "400": {
      "description": "Invalid request",
      "content": {
        "application/json": {
          "$ref": "#/components/schemas/RequestError"
        }
      }
    },
    "401": {
      "description": "Authentication required or invalid",
      "content": {
        "application/json": {
          "$ref": "#/components/schemas/SecurityError"
        }
      }
    },
    "403": {
      "description": "Authenticated but not permitted",
      "content": {
        "application/json": {
          "$ref": "#/components/schemas/SecurityError"
        }
      }
    },
    "429": {
      "description": "Rate limit exceeded",
      "content": {
        "application/json": {
          "$ref": "#/components/schemas/SecurityError"
        }
      }
    },
    "500": {
      "description": "Unexpected server error",
      "content": {
        "application/json": {
          "$ref": "#/components/schemas/ApiError"
        }
      }
    }
  }
}

GET /api/v1/request-logs accepts a JWT or an nfy_ key with analytics:read and returns a page of the authenticated account's recorded API calls, newest first. page defaults to 0; size defaults to 20 and is clamped to 1..100.

Narrow results with search (matches path or query string), repeatable method and status filters, statusClass (2xx, 4xx, or 5xx), a *-wildcard path pattern, apiKeyId, minLatencyMs/maxLatencyMs, and a from/to timestamp window. Each entry includes the API key used (id and prefix), auth type, method, path, a redacted query string, status code, latency, client IP, truncated user agent, owning user id, and creation time.

http
GET /api/v1/request-logs?page=0&size=20&statusClass=4xx
Authorization: Bearer <access token>