{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/pilot5-ai/json-schema/pilot5-ai-post-hooks-pilot5-request-schema.json",
  "title": "PostHooksPilot5Request",
  "x-generated": "2026-11-21",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_ae-authored/pilot5-ai-openapi-generated.yml#/components/schemas/PostHooksPilot5Request",
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "description": "Webhook delivery ID."
    },
    "event": {
      "type": "string",
      "description": "\"deliberation.completed\" or \"deliberation.failed\"."
    },
    "created_at": {
      "type": "string",
      "description": "Timestamp of webhook."
    },
    "data": {
      "type": "object",
      "description": "Payload containing deliberation_id, status, mode, use_case, result_url, completed_at, credits_charged, metadata."
    }
  },
  "required": [
    "id",
    "event",
    "created_at",
    "data"
  ]
}