{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/openai/main/json-schema/openai-webhook-endpoint-test-result-resource-schema.json",
  "title": "WebhookEndpointTestResultResource",
  "x-generated": "2026-09-23",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/openai-webhook-endpoints-api-openapi.yml#/components/schemas/WebhookEndpointTestResultResource",
  "properties": {
    "object": {
      "type": "string",
      "enum": [
        "webhook_endpoint.test"
      ],
      "description": "The object type, which is always webhook_endpoint.test.",
      "default": "webhook_endpoint.test",
      "x-stainless-const": true
    },
    "webhook_endpoint_id": {
      "type": "string",
      "description": "The ID of the webhook endpoint that received the test."
    },
    "event_type": {
      "type": "string",
      "description": "The event type sent in the test."
    },
    "status_code": {
      "type": "integer",
      "description": "The HTTP status code returned by the endpoint."
    },
    "success": {
      "type": "boolean",
      "enum": [
        true
      ],
      "description": "Whether the test request completed. Always true for returned results; use status_code to determine the endpoint response.",
      "default": true,
      "x-stainless-const": true
    }
  },
  "type": "object",
  "required": [
    "object",
    "webhook_endpoint_id",
    "event_type",
    "status_code",
    "success"
  ]
}