{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/rutter/json-schema/rutter-get-request-response-schema.json",
  "title": "GetRequestResponse",
  "description": "Fetches a single logged API request by id. Credential-shaped values in headers, params, body, and response fields are redacted. Lookups are limited to recently made requests — a request outside that window, belonging to a different organization, or that doesn't exist is not found.",
  "x-generated": "2026-11-05",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/rutter-webhooks-api-openapi.yml#/components/schemas/GetRequestResponse",
  "type": "object",
  "properties": {
    "request": {
      "$ref": "#/$defs/Request"
    }
  },
  "required": [
    "request"
  ],
  "$defs": {
    "Request": {
      "type": "object",
      "properties": {
        "apiVersion": {
          "type": "string"
        },
        "asyncResponseBody": {},
        "createdAt": {
          "type": "string"
        },
        "intermediateRequestData": {},
        "organizationId": {
          "type": "string"
        },
        "query": {},
        "responseBody": {},
        "responseError": {},
        "updatedAt": {
          "type": "string"
        },
        "asyncResponseCode": {
          "type": [
            "number",
            "null"
          ]
        },
        "body": {
          "type": [
            "string",
            "null"
          ]
        },
        "createdRutterId": {
          "type": [
            "string",
            "null"
          ]
        },
        "error": {
          "type": [
            "string",
            "null"
          ]
        },
        "headers": {
          "type": [
            "string",
            "null"
          ]
        },
        "httpMethod": {
          "type": [
            "string",
            "null"
          ]
        },
        "itemId": {
          "type": [
            "string",
            "null"
          ]
        },
        "params": {
          "type": [
            "string",
            "null"
          ]
        },
        "path": {
          "type": [
            "string",
            "null"
          ]
        },
        "platform": {
          "type": [
            "string",
            "null"
          ]
        },
        "responseStatusCode": {
          "type": [
            "number",
            "null"
          ]
        },
        "route": {
          "type": [
            "string",
            "null"
          ]
        },
        "jobData": {
          "type": [
            "object",
            "null"
          ],
          "properties": {
            "id": {
              "type": "string"
            },
            "idempotencyKey": {
              "type": [
                "string",
                "null"
              ]
            },
            "executionProgress": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "platformInput": {},
                "platformOutput": {},
                "rutterEntity": {
                  "type": "string"
                },
                "superInput": {},
                "superOutput": {}
              },
              "additionalProperties": false
            }
          },
          "required": [
            "id",
            "idempotencyKey",
            "executionProgress"
          ],
          "additionalProperties": false
        }
      },
      "required": [
        "apiVersion",
        "createdAt",
        "organizationId",
        "updatedAt",
        "asyncResponseCode",
        "body",
        "createdRutterId",
        "error",
        "headers",
        "httpMethod",
        "itemId",
        "params",
        "path",
        "platform",
        "responseStatusCode",
        "route",
        "jobData"
      ]
    }
  }
}