{
  "generated_at": "2026-07-14T20:56:35+00:00",
  "source_commit": "199448f",
  "planes": {
    "postgrest": {
      "base_url_note": "Supabase PostgREST at {SUPABASE_URL}/rest/v1 with Accept-Profile: api for view reads and Content-Profile: api for RPC calls; the ops UI wires this through apps/ops_ui/src/lib/supabase.ts.",
      "auth_note": "Supabase JWT required; RLS enforces RBAC on two axes (permission via identity.has_permission AND account scope via identity.has_account_access). All views are security_invoker, all RPCs are SECURITY INVOKER, anon has no grants.",
      "views": [
        {
          "name": "account_briefs",
          "domain": "accounts",
          "purpose": "Read-only view of account briefs for authorized readers",
          "columns": [
            {
              "name": "account_id",
              "type": "string",
              "nullable": true
            },
            {
              "name": "bullets",
              "type": "Json",
              "nullable": true
            },
            {
              "name": "context",
              "type": "Json",
              "nullable": true
            },
            {
              "name": "created_at",
              "type": "string",
              "nullable": true
            },
            {
              "name": "created_by",
              "type": "string",
              "nullable": true
            },
            {
              "name": "health",
              "type": "string",
              "nullable": true
            },
            {
              "name": "kind",
              "type": "string",
              "nullable": true
            },
            {
              "name": "model",
              "type": "string",
              "nullable": true
            },
            {
              "name": "summarized_at",
              "type": "string",
              "nullable": true
            }
          ]
        },
        {
          "name": "account_commercial_summary",
          "domain": "accounts",
          "purpose": "Read-only view of account commercial summary for authorized readers",
          "columns": [
            {
              "name": "account_id",
              "type": "string",
              "nullable": true
            },
            {
              "name": "active_usd",
              "type": "number",
              "nullable": true
            },
            {
              "name": "completed_usd",
              "type": "number",
              "nullable": true
            },
            {
              "name": "pipeline_usd",
              "type": "number",
              "nullable": true
            },
            {
              "name": "project_count",
              "type": "number",
              "nullable": true
            },
            {
              "name": "pursuit_count",
              "type": "number",
              "nullable": true
            },
            {
              "name": "sold_count",
              "type": "number",
              "nullable": true
            },
            {
              "name": "weighted_usd",
              "type": "number",
              "nullable": true
            },
            {
              "name": "won_count",
              "type": "number",
              "nullable": true
            }
          ]
        },
        {
          "name": "account_coverage_gaps",
          "domain": "accounts",
          "purpose": "Read-only view of account coverage gaps for authorized readers",
          "columns": [
            {
              "name": "account_id",
              "type": "string",
              "nullable": true
            },
            {
              "name": "account_name",
              "type": "string",
              "nullable": true
            },
            {
              "name": "core",
              "type": "boolean",
              "nullable": true
            },
            {
              "name": "existing_engagements",
              "type": "number",
              "nullable": true
            },
            {
              "name": "gap_no_account_row",
              "type": "boolean",
              "nullable": true
            },
            {
              "name": "gap_no_engagement",
              "type": "boolean",
              "nullable": true
            },
            {
              "name": "gap_no_lifecycle",
              "type": "boolean",
              "nullable": true
            },
            {
              "name": "internal",
              "type": "boolean",
              "nullable": true
            },
            {
              "name": "last_seen",
              "type": "string",
              "nullable": true
            },
            {
              "name": "lifecycle_status",
              "type": "string",
              "nullable": true
            },
            {
              "name": "project_id",
              "type": "string",
              "nullable": true
            },
            {
              "name": "project_key",
              "type": "string",
              "nullable": true
            },
            {
              "name": "project_name",
              "type": "string",
              "nullable": true
            },
            {
              "name": "suggested_end",
              "type": "string",
              "nullable": true
            },
            {
              "name": "suggested_start",
              "type": "string",
              "nullable": true
            },
            {
              "name": "tickets",
              "type": "number",
              "nullable": true
            }
          ]
        },
        {
          "name": "account_github_repos",
          "domain": "accounts",
          "purpose": "Read-only view of account github repos for authorized readers",
          "columns": [
            {
              "name": "account_id",
              "type": "string",
              "nullable": true
            },
            {
              "name": "archived_at",
              "type": "string",
              "nullable": true
            },
            {
              "name": "created_at",
              "type": "string",
              "nullable": true
            },
            {
              "name": "default_branch",
              "type": "string",
              "nullable": true
            },
            {
              "name": "id",
              "type": "string",
              "nullable": true
            },
            {
              "name": "metadata",
              "type": "Json",
              "nullable": true
            },
            {
              "name": "repo_full",
              "type": "string",
              "nullable": true
            },
            {
              "name": "role",
              "type": "string",
              "nullable": true
            },
            {
              "name": "updated_at",
              "type": "string",
              "nullable": true
            }
          ]
        },
        {
          "name": "account_jira_projects",
          "domain": "tickets",
          "purpose": "Read-only view of account jira projects for authorized readers",
          "columns": [
            {
              "name": "account_id",
              "type": "string",
              "nullable": true
            },
            {
              "name": "account_name",
              "type": "string",
              "nullable": true
            },
            {
              "name": "created_at",
              "type": "string",
              "nullable": true
            },
            {
              "name": "display_name",
              "type": "string",
              "nullable": true
            },
            {
              "name": "project_key",
              "type": "string",
              "nullable": true
            }
          ]
        },
        {
          "name": "account_meeting_series",
          "domain": "accounts",
          "purpose": "Read-only view of account meeting series for authorized readers",
          "columns": [
            {
              "name": "account_id",
              "type": "string",
              "nullable": true
            },
            {
              "name": "archived_at",
              "type": "string",
              "nullable": true
            },
            {
              "name": "created_at",
              "type": "string",
              "nullable": true
            },
            {
              "name": "id",
              "type": "string",
              "nullable": true
            },
            {
              "name": "join_url",
              "type": "string",
              "nullable": true
            },
            {
              "name": "metadata",
              "type": "Json",
              "nullable": true
            },
            {
              "name": "organizer_email",
              "type": "string",
              "nullable": true
            },
            {
              "name": "role",
              "type": "string",
              "nullable": true
            },
            {
              "name": "thread_id",
              "type": "string",
              "nullable": true
            },
            {
              "name": "title",
              "type": "string",
              "nullable": true
            },
            {
              "name": "updated_at",
              "type": "string",
              "nullable": true
            }
          ]
        },
        {
          "name": "account_sharepoint_sites",
          "domain": "accounts",
          "purpose": "Read-only view of account sharepoint sites for authorized readers",
          "columns": [
            {
              "name": "account_id",
              "type": "string",
              "nullable": true
            },
            {
              "name": "archived_at",
              "type": "string",
              "nullable": true
            },
            {
              "name": "created_at",
              "type": "string",
              "nullable": true
            },
            {
              "name": "drive_id",
              "type": "string",
              "nullable": true
            },
            {
              "name": "id",
              "type": "string",
              "nullable": true
            },
            {
              "name": "metadata",
              "type": "Json",
              "nullable": true
            },
            {
              "name": "root_folder_path",
              "type": "string",
              "nullable": true
            },
            {
              "name": "site_id",
              "type": "string",
              "nullable": true
            },
            {
              "name": "site_name",
              "type": "string",
              "nullable": true
            },
            {
              "name": "site_url",
              "type": "string",
              "nullable": true
            },
            {
              "name": "updated_at",
              "type": "string",
              "nullable": true
            }
          ]
        },
        {
          "name": "accounts",
          "domain": "accounts",
          "purpose": "Read-only view of accounts for authorized readers",
          "columns": [
            {
              "name": "account_id",
              "type": "string",
              "nullable": true
            },
            {
              "name": "archive_state",
              "type": "string",
              "nullable": true
            },
            {
              "name": "archived_at",
              "type": "string",
              "nullable": true
            },
            {
              "name": "core",
              "type": "boolean",
              "nullable": true
            },
            {
              "name": "created_at",
              "type": "string",
              "nullable": true
            },
            {
              "name": "custom_fields",
              "type": "Json",
              "nullable": true
            },
            {
              "name": "delivery_teams",
              "type": "Json",
              "nullable": true
            },
            {
              "name": "github_branch",
              "type": "string",
              "nullable": true
            },
            {
              "name": "github_repo",
              "type": "string",
              "nullable": true
            },
            {
              "name": "heavy_task_queue",
              "type": "string",
              "nullable": true
            },
            {
              "name": "hub_task_queue",
              "type": "string",
              "nullable": true
            },
            {
              "name": "internal",
              "type": "boolean",
              "nullable": true
            },
            {
              "name": "jira_projects",
              "type": "Json",
              "nullable": true
            },
            {
              "name": "lifecycle_status",
              "type": "string",
              "nullable": true
            },
            {
              "name": "name",
              "type": "string",
              "nullable": true
            },
            {
              "name": "purge_at",
              "type": "string",
              "nullable": true
            },
            {
              "name": "question_task_queue",
              "type": "string",
              "nullable": true
            },
            {
              "name": "sharepoint_site_id",
              "type": "string",
              "nullable": true
            },
            {
              "name": "short_code",
              "type": "string",
              "nullable": true
            },
            {
              "name": "sources",
              "type": "Json",
              "nullable": true
            },
            {
              "name": "spaces",
              "type": "Json",
              "nullable": true
            },
            {
              "name": "teams_channels",
              "type": "Json",
              "nullable": true
            },
            {
              "name": "teams_team_id",
              "type": "string",
              "nullable": true
            },
            {
              "name": "updated_at",
              "type": "string",
              "nullable": true
            }
          ]
        },
        {
          "name": "active_roles",
          "domain": "identity",
          "purpose": "Read-only view of active roles for authorized readers",
          "columns": [
            {
              "name": "archived_at",
              "type": "string",
              "nullable": true
            },
            {
              "name": "billability",
              "type": "number",
              "nullable": true
            },
            {
              "name": "category",
              "type": "Json",
              "nullable": true
            },
            {
              "name": "category_id",
              "type": "string",
              "nullable": true
            },
            {
              "name": "created_at",
              "type": "string",
              "nullable": true
            },
            {
              "name": "display_person",
              "type": "string",
              "nullable": true
            },
            {
              "name": "effective_billability",
              "type": "number",
              "nullable": true
            },
            {
              "name": "eligible_sow_role_ids",
              "type": "string[]",
              "nullable": true
            },
            {
              "name": "end_date",
              "type": "string",
              "nullable": true
            },
            {
              "name": "fte",
              "type": "number",
              "nullable": true
            },
            {
              "name": "id",
              "type": "string",
              "nullable": true
            },
            {
              "name": "leadership",
              "type": "boolean",
              "nullable": true
            },
            {
              "name": "name",
              "type": "string",
              "nullable": true
            },
            {
              "name": "sort_order",
              "type": "number",
              "nullable": true
            },
            {
              "name": "start_date",
              "type": "string",
              "nullable": true
            },
            {
              "name": "updated_at",
              "type": "string",
              "nullable": true
            },
            {
              "name": "user",
              "type": "Json",
              "nullable": true
            },
            {
              "name": "user_id",
              "type": "string",
              "nullable": true
            },
            {
              "name": "weekly_capacity_hours",
              "type": "number",
              "nullable": true
            }
          ]
        },
        {
          "name": "activity_runs",
          "domain": "adw",
          "purpose": "Read-only view of activity runs for authorized readers",
          "columns": [
            {
              "name": "account_id",
              "type": "string",
              "nullable": true
            },
            {
              "name": "activity_type",
              "type": "string",
              "nullable": true
            },
            {
              "name": "duration_ms",
              "type": "number",
              "nullable": true
            },
            {
              "name": "error",
              "type": "string",
              "nullable": true
            },
            {
              "name": "id",
              "type": "string",
              "nullable": true
            },
            {
              "name": "run_time",
              "type": "string",
              "nullable": true
            },
            {
              "name": "success",
              "type": "boolean",
              "nullable": true
            },
            {
              "name": "workflow_id",
              "type": "string",
              "nullable": true
            }
          ]
        },
        {
          "name": "actors",
          "domain": "identity",
          "purpose": "Read-only view of actors for authorized readers",
          "columns": [
            {
              "name": "active_role",
              "type": "Json",
              "nullable": true
            },
            {
              "name": "active_role_id",
              "type": "string",
              "nullable": true
            },
            {
              "name": "aliases",
              "type": "Json",
              "nullable": true
            },
            {
              "name": "created_at",
              "type": "string",
              "nullable": true
            },
            {
              "name": "custom_fields",
              "type": "Json",
              "nullable": true
            },
            {
              "name": "display_name",
              "type": "string",
              "nullable": true
            },
            {
              "name": "email",
              "type": "string",
              "nullable": true
            },
            {
              "name": "end_date",
              "type": "string",
              "nullable": true
            },
            {
              "name": "id",
              "type": "string",
              "nullable": true
            },
            {
              "name": "kind",
              "type": "string",
              "nullable": true
            },
            {
              "name": "notes",
              "type": "string",
              "nullable": true
            },
            {
              "name": "start_date",
              "type": "string",
              "nullable": true
            },
            {
              "name": "status",
              "type": "string",
              "nullable": true
            },
            {
              "name": "updated_at",
              "type": "string",
              "nullable": true
            },
            {
              "name": "user_id",
              "type": "string",
              "nullable": true
            }
          ]
        },
        {
          "name": "adjustment_entries",
          "domain": "misc",
          "purpose": "Read-only view of adjustment entries for authorized readers",
          "columns": [
            {
              "name": "account_id",
              "type": "string",
              "nullable": true
            },
            {
              "name": "active_role_id",
              "type": "string",
              "nullable": true
            },
            {
              "name": "adjustment_id",
              "type": "string",
              "nullable": true
            },
            {
              "name": "created_at",
              "type": "string",
              "nullable": true
            },
            {
              "name": "description",
              "type": "string",
              "nullable": true
            },
            {
              "name": "engagement_id",
              "type": "string",
              "nullable": true
            },
            {
              "name": "entry_date",
              "type": "string",
              "nullable": true
            },
            {
              "name": "hours",
              "type": "number",
              "nullable": true
            },
            {
              "name": "id",
              "type": "string",
              "nullable": true
            },
            {
              "name": "kind",
              "type": "string",
              "nullable": true
            },
            {
              "name": "op",
              "type": "string",
              "nullable": true
            },
            {
              "name": "target_entry_id",
              "type": "string",
              "nullable": true
            },
            {
              "name": "ticket_id",
              "type": "string",
              "nullable": true
            }
          ]
        },
        {
          "name": "adw_run_intents",
          "domain": "adw",
          "purpose": "Read-only view of adw run intents for authorized readers",
          "columns": [
            {
              "name": "account_id",
              "type": "string",
              "nullable": true
            },
            {
              "name": "agent_session_id",
              "type": "string",
              "nullable": true
            },
            {
              "name": "agent_turn_id",
              "type": "string",
              "nullable": true
            },
            {
              "name": "cancel_requested_at",
              "type": "string",
              "nullable": true
            },
            {
              "name": "created_at",
              "type": "string",
              "nullable": true
            },
            {
              "name": "error",
              "type": "string",
              "nullable": true
            },
            {
              "name": "id",
              "type": "string",
              "nullable": true
            },
            {
              "name": "inputs",
              "type": "Json",
              "nullable": true
            },
            {
              "name": "outputs",
              "type": "Json",
              "nullable": true
            },
            {
              "name": "parent_run_id",
              "type": "string",
              "nullable": true
            },
            {
              "name": "requested_by",
              "type": "string",
              "nullable": true
            },
            {
              "name": "requested_by_email",
              "type": "string",
              "nullable": true
            },
            {
              "name": "requested_via",
              "type": "string",
              "nullable": true
            },
            {
              "name": "sandbox_id",
              "type": "string",
              "nullable": true
            },
            {
              "name": "status",
              "type": "string",
              "nullable": true
            },
            {
              "name": "template_id",
              "type": "string",
              "nullable": true
            },
            {
              "name": "updated_at",
              "type": "string",
              "nullable": true
            },
            {
              "name": "workflow_id",
              "type": "string",
              "nullable": true
            }
          ]
        },
        {
          "name": "agent_messages",
          "domain": "agent",
          "purpose": "Read-only view of agent messages for authorized readers",
          "columns": [
            {
              "name": "content_md",
              "type": "string",
              "nullable": true
            },
            {
              "name": "cost_usd",
              "type": "number",
              "nullable": true
            },
            {
              "name": "created_at",
              "type": "string",
              "nullable": true
            },
            {
              "name": "id",
              "type": "string",
              "nullable": true
            },
            {
              "name": "kind",
              "type": "string",
              "nullable": true
            },
            {
              "name": "role",
              "type": "string",
              "nullable": true
            },
            {
              "name": "seq",
              "type": "number",
              "nullable": true
            },
            {
              "name": "session_id",
              "type": "string",
              "nullable": true
            },
            {
              "name": "tool_calls",
              "type": "Json",
              "nullable": true
            },
            {
              "name": "turn_id",
              "type": "string",
              "nullable": true
            }
          ]
        },
        {
          "name": "agent_sessions",
          "domain": "agent",
          "purpose": "Read-only view of agent sessions for authorized readers",
          "columns": [
            {
              "name": "created_at",
              "type": "string",
              "nullable": true
            },
            {
              "name": "id",
              "type": "string",
              "nullable": true
            },
            {
              "name": "last_message_at",
              "type": "string",
              "nullable": true
            },
            {
              "name": "status",
              "type": "string",
              "nullable": true
            },
            {
              "name": "title",
              "type": "string",
              "nullable": true
            },
            {
              "name": "total_cost_usd",
              "type": "number",
              "nullable": true
            },
            {
              "name": "updated_at",
              "type": "string",
              "nullable": true
            },
            {
              "name": "user_id",
              "type": "string",
              "nullable": true
            },
            {
              "name": "user_message_count",
              "type": "number",
              "nullable": true
            }
          ]
        },
        {
          "name": "allocations",
          "domain": "time",
          "purpose": "Read-only view of allocations for authorized readers",
          "columns": [
            {
              "name": "account",
              "type": "Json",
              "nullable": true
            },
            {
              "name": "account_id",
              "type": "string",
              "nullable": true
            },
            {
              "name": "active_role",
              "type": "Json",
              "nullable": true
            },
            {
              "name": "active_role_id",
              "type": "string",
              "nullable": true
            },
            {
              "name": "created_at",
              "type": "string",
              "nullable": true
            },
            {
              "name": "from_date",
              "type": "string",
              "nullable": true
            },
            {
              "name": "id",
              "type": "string",
              "nullable": true
            },
            {
              "name": "notes",
              "type": "string",
              "nullable": true
            },
            {
              "name": "pct",
              "type": "number",
              "nullable": true
            },
            {
              "name": "until_date",
              "type": "string",
              "nullable": true
            },
            {
              "name": "updated_at",
              "type": "string",
              "nullable": true
            },
            {
              "name": "workstream",
              "type": "string",
              "nullable": true
            }
          ]
        },
        {
          "name": "app_settings",
          "domain": "misc",
          "purpose": "Read-only view of app settings for authorized readers",
          "columns": [
            {
              "name": "cascade_mode",
              "type": "string",
              "nullable": true
            },
            {
              "name": "rbac_enforced",
              "type": "boolean",
              "nullable": true
            },
            {
              "name": "updated_at",
              "type": "string",
              "nullable": true
            }
          ]
        },
        {
          "name": "bdr_analysis",
          "domain": "bdr",
          "purpose": "Read-only view of bdr analysis for authorized readers",
          "columns": [
            {
              "name": "asks",
              "type": "Json",
              "nullable": true
            },
            {
              "name": "created_at",
              "type": "string",
              "nullable": true
            },
            {
              "name": "decision_maker_status",
              "type": "string",
              "nullable": true
            },
            {
              "name": "model_versions",
              "type": "Json",
              "nullable": true
            },
            {
              "name": "next_steps",
              "type": "Json",
              "nullable": true
            },
            {
              "name": "qualification_reasoning",
              "type": "string",
              "nullable": true
            },
            {
              "name": "qualification_score",
              "type": "number",
              "nullable": true
            },
            {
              "name": "session_id",
              "type": "string",
              "nullable": true
            },
            {
              "name": "signals",
              "type": "Json",
              "nullable": true
            },
            {
              "name": "summary_md",
              "type": "string",
              "nullable": true
            },
            {
              "name": "triage_rubric",
              "type": "Json",
              "nullable": true
            },
            {
              "name": "updated_at",
              "type": "string",
              "nullable": true
            }
          ]
        },
        {
          "name": "bdr_calendar_config_active",
          "domain": "bdr",
          "purpose": "Read-only view of bdr calendar config active for authorized readers",
          "columns": [
            {
              "name": "booking_url",
              "type": "string",
              "nullable": true
            },
            {
              "name": "calcom_event_type_id",
              "type": "string",
              "nullable": true
            },
            {
              "name": "created_at",
              "type": "string",
              "nullable": true
            },
            {
              "name": "created_by_user_id",
              "type": "string",
              "nullable": true
            },
            {
              "name": "headshot_url",
              "type": "string",
              "nullable": true
            },
            {
              "name": "id",
              "type": "string",
              "nullable": true
            },
            {
              "name": "is_active",
              "type": "boolean",
              "nullable": true
            },
            {
              "name": "min_prior_agent_turns",
              "type": "number",
              "nullable": true
            },
            {
              "name": "named_human",
              "type": "string",
              "nullable": true
            },
            {
              "name": "named_human_role",
              "type": "string",
              "nullable": true
            },
            {
              "name": "notes",
              "type": "string",
              "nullable": true
            },
            {
              "name": "provider",
              "type": "string",
              "nullable": true
            },
            {
              "name": "slots_days_ahead",
              "type": "number",
              "nullable": true
            },
            {
              "name": "slots_max",
              "type": "number",
              "nullable": true
            },
            {
              "name": "version",
              "type": "number",
              "nullable": true
            }
          ]
        },
        {
          "name": "bdr_calendar_configs",
          "domain": "bdr",
          "purpose": "Read-only view of bdr calendar configs for authorized readers",
          "columns": [
            {
              "name": "booking_url",
              "type": "string",
              "nullable": true
            },
            {
              "name": "calcom_event_type_id",
              "type": "string",
              "nullable": true
            },
            {
              "name": "created_at",
              "type": "string",
              "nullable": true
            },
            {
              "name": "created_by_user_id",
              "type": "string",
              "nullable": true
            },
            {
              "name": "headshot_url",
              "type": "string",
              "nullable": true
            },
            {
              "name": "id",
              "type": "string",
              "nullable": true
            },
            {
              "name": "is_active",
              "type": "boolean",
              "nullable": true
            },
            {
              "name": "min_prior_agent_turns",
              "type": "number",
              "nullable": true
            },
            {
              "name": "named_human",
              "type": "string",
              "nullable": true
            },
            {
              "name": "named_human_role",
              "type": "string",
              "nullable": true
            },
            {
              "name": "notes",
              "type": "string",
              "nullable": true
            },
            {
              "name": "provider",
              "type": "string",
              "nullable": true
            },
            {
              "name": "slots_days_ahead",
              "type": "number",
              "nullable": true
            },
            {
              "name": "slots_max",
              "type": "number",
              "nullable": true
            },
            {
              "name": "version",
              "type": "number",
              "nullable": true
            }
          ]
        },
        {
          "name": "bdr_contact_sessions",
          "domain": "bdr",
          "purpose": "Read-only view of bdr contact sessions for authorized readers",
          "columns": [
            {
              "name": "app_env",
              "type": "string",
              "nullable": true
            },
            {
              "name": "captured_at",
              "type": "string",
              "nullable": true
            },
            {
              "name": "captured_via",
              "type": "string",
              "nullable": true
            },
            {
              "name": "contact_id",
              "type": "string",
              "nullable": true
            },
            {
              "name": "ended_at",
              "type": "string",
              "nullable": true
            },
            {
              "name": "session_id",
              "type": "string",
              "nullable": true
            },
            {
              "name": "session_status",
              "type": "string",
              "nullable": true
            },
            {
              "name": "started_at",
              "type": "string",
              "nullable": true
            },
            {
              "name": "surface",
              "type": "string",
              "nullable": true
            }
          ]
        },
        {
          "name": "bdr_contacts",
          "domain": "bdr",
          "purpose": "Read-only view of bdr contacts for authorized readers",
          "columns": [
            {
              "name": "company_domain",
              "type": "string",
              "nullable": true
            },
            {
              "name": "company_name",
              "type": "string",
              "nullable": true
            },
            {
              "name": "email",
              "type": "string",
              "nullable": true
            },
            {
              "name": "first_seen_at",
              "type": "string",
              "nullable": true
            },
            {
              "name": "first_source",
              "type": "string",
              "nullable": true
            },
            {
              "name": "id",
              "type": "string",
              "nullable": true
            },
            {
              "name": "last_seen_at",
              "type": "string",
              "nullable": true
            },
            {
              "name": "last_session_at",
              "type": "string",
              "nullable": true
            },
            {
              "name": "name",
              "type": "string",
              "nullable": true
            },
            {
              "name": "notes",
              "type": "string",
              "nullable": true
            },
            {
              "name": "session_count",
              "type": "number",
              "nullable": true
            },
            {
              "name": "status",
              "type": "string",
              "nullable": true
            },
            {
              "name": "title",
              "type": "string",
              "nullable": true
            },
            {
              "name": "updated_at",
              "type": "string",
              "nullable": true
            }
          ]
        },
        {
          "name": "bdr_events",
          "domain": "bdr",
          "purpose": "Read-only view of bdr events for authorized readers",
          "columns": [
            {
              "name": "id",
              "type": "string",
              "nullable": true
            },
            {
              "name": "kind",
              "type": "string",
              "nullable": true
            },
            {
              "name": "occurred_at",
              "type": "string",
              "nullable": true
            },
            {
              "name": "payload",
              "type": "Json",
              "nullable": true
            },
            {
              "name": "session_id",
              "type": "string",
              "nullable": true
            }
          ]
        },
        {
          "name": "bdr_persona_active",
          "domain": "bdr",
          "purpose": "Read-only view of bdr persona active for authorized readers",
          "columns": [
            {
              "name": "blocks",
              "type": "Json",
              "nullable": true
            },
            {
              "name": "created_at",
              "type": "string",
              "nullable": true
            },
            {
              "name": "id",
              "type": "string",
              "nullable": true
            },
            {
              "name": "notes",
              "type": "string",
              "nullable": true
            },
            {
              "name": "version",
              "type": "number",
              "nullable": true
            }
          ]
        },
        {
          "name": "bdr_persona_configs",
          "domain": "bdr",
          "purpose": "Read-only view of bdr persona configs for authorized readers",
          "columns": [
            {
              "name": "blocks",
              "type": "Json",
              "nullable": true
            },
            {
              "name": "created_at",
              "type": "string",
              "nullable": true
            },
            {
              "name": "created_by_user_id",
              "type": "string",
              "nullable": true
            },
            {
              "name": "id",
              "type": "string",
              "nullable": true
            },
            {
              "name": "is_active",
              "type": "boolean",
              "nullable": true
            },
            {
              "name": "notes",
              "type": "string",
              "nullable": true
            },
            {
              "name": "version",
              "type": "number",
              "nullable": true
            }
          ]
        },
        {
          "name": "bdr_precall_tokens",
          "domain": "bdr",
          "purpose": "Read-only view of bdr precall tokens for authorized readers",
          "columns": [
            {
              "name": "company_domain",
              "type": "string",
              "nullable": true
            },
            {
              "name": "company_name",
              "type": "string",
              "nullable": true
            },
            {
              "name": "consumed_at",
              "type": "string",
              "nullable": true
            },
            {
              "name": "contact_email",
              "type": "string",
              "nullable": true
            },
            {
              "name": "contact_name",
              "type": "string",
              "nullable": true
            },
            {
              "name": "contact_title",
              "type": "string",
              "nullable": true
            },
            {
              "name": "created_at",
              "type": "string",
              "nullable": true
            },
            {
              "name": "created_by_user_id",
              "type": "string",
              "nullable": true
            },
            {
              "name": "expires_at",
              "type": "string",
              "nullable": true
            },
            {
              "name": "id",
              "type": "string",
              "nullable": true
            },
            {
              "name": "latest_session_id",
              "type": "string",
              "nullable": true
            },
            {
              "name": "research_bundle",
              "type": "Json",
              "nullable": true
            },
            {
              "name": "scenario",
              "type": "string",
              "nullable": true
            },
            {
              "name": "token",
              "type": "string",
              "nullable": true
            },
            {
              "name": "updated_at",
              "type": "string",
              "nullable": true
            }
          ]
        },
        {
          "name": "bdr_realtime_config_active",
          "domain": "bdr",
          "purpose": "Read-only view of bdr realtime config active for authorized readers",
          "columns": [
            {
              "name": "created_at",
              "type": "string",
              "nullable": true
            },
            {
              "name": "id",
              "type": "string",
              "nullable": true
            },
            {
              "name": "modalities",
              "type": "string[]",
              "nullable": true
            },
            {
              "name": "model",
              "type": "string",
              "nullable": true
            },
            {
              "name": "notes",
              "type": "string",
              "nullable": true
            },
            {
              "name": "temperature",
              "type": "number",
              "nullable": true
            },
            {
              "name": "vad_eagerness",
              "type": "string",
              "nullable": true
            },
            {
              "name": "vad_type",
              "type": "string",
              "nullable": true
            },
            {
              "name": "version",
              "type": "number",
              "nullable": true
            },
            {
              "name": "voice",
              "type": "string",
              "nullable": true
            }
          ]
        },
        {
          "name": "bdr_realtime_configs",
          "domain": "bdr",
          "purpose": "Read-only view of bdr realtime configs for authorized readers",
          "columns": [
            {
              "name": "created_at",
              "type": "string",
              "nullable": true
            },
            {
              "name": "created_by_user_id",
              "type": "string",
              "nullable": true
            },
            {
              "name": "id",
              "type": "string",
              "nullable": true
            },
            {
              "name": "is_active",
              "type": "boolean",
              "nullable": true
            },
            {
              "name": "modalities",
              "type": "string[]",
              "nullable": true
            },
            {
              "name": "model",
              "type": "string",
              "nullable": true
            },
            {
              "name": "notes",
              "type": "string",
              "nullable": true
            },
            {
              "name": "temperature",
              "type": "number",
              "nullable": true
            },
            {
              "name": "vad_eagerness",
              "type": "string",
              "nullable": true
            },
            {
              "name": "vad_type",
              "type": "string",
              "nullable": true
            },
            {
              "name": "version",
              "type": "number",
              "nullable": true
            },
            {
              "name": "voice",
              "type": "string",
              "nullable": true
            }
          ]
        },
        {
          "name": "bdr_research_bundles",
          "domain": "bdr",
          "purpose": "Read-only view of bdr research bundles for authorized readers",
          "columns": [
            {
              "name": "created_at",
              "type": "string",
              "nullable": true
            },
            {
              "name": "id",
              "type": "string",
              "nullable": true
            },
            {
              "name": "kind",
              "type": "string",
              "nullable": true
            },
            {
              "name": "payload",
              "type": "Json",
              "nullable": true
            },
            {
              "name": "session_id",
              "type": "string",
              "nullable": true
            }
          ]
        },
        {
          "name": "bdr_scheduled_calls",
          "domain": "bdr",
          "purpose": "Read-only view of bdr scheduled calls for authorized readers",
          "columns": [
            {
              "name": "contact_email",
              "type": "string",
              "nullable": true
            },
            {
              "name": "contact_name",
              "type": "string",
              "nullable": true
            },
            {
              "name": "created_at",
              "type": "string",
              "nullable": true
            },
            {
              "name": "created_by_user_id",
              "type": "string",
              "nullable": true
            },
            {
              "name": "failure_reason",
              "type": "string",
              "nullable": true
            },
            {
              "name": "fired_at",
              "type": "string",
              "nullable": true
            },
            {
              "name": "id",
              "type": "string",
              "nullable": true
            },
            {
              "name": "notes",
              "type": "string",
              "nullable": true
            },
            {
              "name": "persona",
              "type": "Json",
              "nullable": true
            },
            {
              "name": "phone",
              "type": "string",
              "nullable": true
            },
            {
              "name": "scenario",
              "type": "string",
              "nullable": true
            },
            {
              "name": "scheduled_for",
              "type": "string",
              "nullable": true
            },
            {
              "name": "session_id",
              "type": "string",
              "nullable": true
            },
            {
              "name": "status",
              "type": "string",
              "nullable": true
            },
            {
              "name": "updated_at",
              "type": "string",
              "nullable": true
            }
          ]
        },
        {
          "name": "bdr_sessions",
          "domain": "bdr",
          "purpose": "Read-only view of bdr sessions for authorized readers",
          "columns": [
            {
              "name": "app_env",
              "type": "string",
              "nullable": true
            },
            {
              "name": "app_host",
              "type": "string",
              "nullable": true
            },
            {
              "name": "auth_user_id",
              "type": "string",
              "nullable": true
            },
            {
              "name": "company_name",
              "type": "string",
              "nullable": true
            },
            {
              "name": "contact_email",
              "type": "string",
              "nullable": true
            },
            {
              "name": "contact_name",
              "type": "string",
              "nullable": true
            },
            {
              "name": "contact_title",
              "type": "string",
              "nullable": true
            },
            {
              "name": "email_verified_at",
              "type": "string",
              "nullable": true
            },
            {
              "name": "ended_at",
              "type": "string",
              "nullable": true
            },
            {
              "name": "has_analysis",
              "type": "boolean",
              "nullable": true
            },
            {
              "name": "id",
              "type": "string",
              "nullable": true
            },
            {
              "name": "identity_payload",
              "type": "Json",
              "nullable": true
            },
            {
              "name": "last_turn_at",
              "type": "string",
              "nullable": true
            },
            {
              "name": "modality_timeline",
              "type": "Json",
              "nullable": true
            },
            {
              "name": "page_url",
              "type": "string",
              "nullable": true
            },
            {
              "name": "precall_token_id",
              "type": "string",
              "nullable": true
            },
            {
              "name": "started_at",
              "type": "string",
              "nullable": true
            },
            {
              "name": "status",
              "type": "string",
              "nullable": true
            },
            {
              "name": "surface",
              "type": "string",
              "nullable": true
            },
            {
              "name": "turn_count",
              "type": "number",
              "nullable": true
            },
            {
              "name": "updated_at",
              "type": "string",
              "nullable": true
            }
          ]
        },
        {
          "name": "bdr_transcript_turns",
          "domain": "bdr",
          "purpose": "Read-only view of bdr transcript turns for authorized readers",
          "columns": [
            {
              "name": "audio_url",
              "type": "string",
              "nullable": true
            },
            {
              "name": "content_md",
              "type": "string",
              "nullable": true
            },
            {
              "name": "duration_ms",
              "type": "number",
              "nullable": true
            },
            {
              "name": "id",
              "type": "string",
              "nullable": true
            },
            {
              "name": "modality",
              "type": "string",
              "nullable": true
            },
            {
              "name": "role",
              "type": "string",
              "nullable": true
            },
            {
              "name": "seq",
              "type": "number",
              "nullable": true
            },
            {
              "name": "session_id",
              "type": "string",
              "nullable": true
            },
            {
              "name": "started_at",
              "type": "string",
              "nullable": true
            },
            {
              "name": "tool_payload",
              "type": "Json",
              "nullable": true
            }
          ]
        },
        {
          "name": "bdr_vignettes",
          "domain": "bdr",
          "purpose": "Read-only view of bdr vignettes for authorized readers",
          "columns": [
            {
              "name": "anonymized_summary",
              "type": "string",
              "nullable": true
            },
            {
              "name": "approved_at",
              "type": "string",
              "nullable": true
            },
            {
              "name": "approved_by_user_id",
              "type": "string",
              "nullable": true
            },
            {
              "name": "created_at",
              "type": "string",
              "nullable": true
            },
            {
              "name": "created_by_user_id",
              "type": "string",
              "nullable": true
            },
            {
              "name": "id",
              "type": "string",
              "nullable": true
            },
            {
              "name": "problem_shape",
              "type": "string",
              "nullable": true
            },
            {
              "name": "status",
              "type": "string",
              "nullable": true
            },
            {
              "name": "tags",
              "type": "string[]",
              "nullable": true
            },
            {
              "name": "title",
              "type": "string",
              "nullable": true
            },
            {
              "name": "updated_at",
              "type": "string",
              "nullable": true
            }
          ]
        },
        {
          "name": "bdr_vignettes_approved",
          "domain": "bdr",
          "purpose": "Read-only view of bdr vignettes approved for authorized readers",
          "columns": [
            {
              "name": "anonymized_summary",
              "type": "string",
              "nullable": true
            },
            {
              "name": "id",
              "type": "string",
              "nullable": true
            },
            {
              "name": "problem_shape",
              "type": "string",
              "nullable": true
            },
            {
              "name": "tags",
              "type": "string[]",
              "nullable": true
            },
            {
              "name": "title",
              "type": "string",
              "nullable": true
            },
            {
              "name": "updated_at",
              "type": "string",
              "nullable": true
            }
          ]
        },
        {
          "name": "directory_users",
          "domain": "identity",
          "purpose": "Read-only view of directory users for authorized readers",
          "columns": [
            {
              "name": "active_role_id",
              "type": "string",
              "nullable": true
            },
            {
              "name": "created_at",
              "type": "string",
              "nullable": true
            },
            {
              "name": "display_name",
              "type": "string",
              "nullable": true
            },
            {
              "name": "email",
              "type": "string",
              "nullable": true
            },
            {
              "name": "is_active",
              "type": "boolean",
              "nullable": true
            },
            {
              "name": "is_admin",
              "type": "boolean",
              "nullable": true
            },
            {
              "name": "notes",
              "type": "string",
              "nullable": true
            },
            {
              "name": "provisioned",
              "type": "boolean",
              "nullable": true
            },
            {
              "name": "updated_at",
              "type": "string",
              "nullable": true
            }
          ]
        },
        {
          "name": "engagement_financials",
          "domain": "accounts",
          "purpose": "Read-only view of engagement financials for authorized readers",
          "columns": [
            {
              "name": "account_id",
              "type": "string",
              "nullable": true
            },
            {
              "name": "billed_estimate_usd",
              "type": "number",
              "nullable": true
            },
            {
              "name": "blended_bill_rate",
              "type": "number",
              "nullable": true
            },
            {
              "name": "blended_cost_rate",
              "type": "number",
              "nullable": true
            },
            {
              "name": "burn_pct",
              "type": "number",
              "nullable": true
            },
            {
              "name": "engagement_id",
              "type": "string",
              "nullable": true
            },
            {
              "name": "hours_budget",
              "type": "number",
              "nullable": true
            },
            {
              "name": "hours_burned",
              "type": "number",
              "nullable": true
            },
            {
              "name": "margin_pct",
              "type": "number",
              "nullable": true
            },
            {
              "name": "recognized_usd",
              "type": "number",
              "nullable": true
            },
            {
              "name": "remaining_usd",
              "type": "number",
              "nullable": true
            },
            {
              "name": "seat_count",
              "type": "number",
              "nullable": true
            },
            {
              "name": "value",
              "type": "number",
              "nullable": true
            }
          ]
        },
        {
          "name": "engagement_managers",
          "domain": "accounts",
          "purpose": "Read-only view of engagement managers for authorized readers",
          "columns": [
            {
              "name": "can_approve_time",
              "type": "boolean",
              "nullable": true
            },
            {
              "name": "created_at",
              "type": "string",
              "nullable": true
            },
            {
              "name": "created_by",
              "type": "string",
              "nullable": true
            },
            {
              "name": "engagement",
              "type": "Json",
              "nullable": true
            },
            {
              "name": "engagement_id",
              "type": "string",
              "nullable": true
            },
            {
              "name": "manager",
              "type": "Json",
              "nullable": true
            },
            {
              "name": "manager_user_id",
              "type": "string",
              "nullable": true
            },
            {
              "name": "note",
              "type": "string",
              "nullable": true
            }
          ]
        },
        {
          "name": "engagement_milestones",
          "domain": "accounts",
          "purpose": "Read-only view of engagement milestones for authorized readers",
          "columns": [
            {
              "name": "amount_usd",
              "type": "number",
              "nullable": true
            },
            {
              "name": "created_at",
              "type": "string",
              "nullable": true
            },
            {
              "name": "due_on",
              "type": "string",
              "nullable": true
            },
            {
              "name": "engagement",
              "type": "Json",
              "nullable": true
            },
            {
              "name": "engagement_id",
              "type": "string",
              "nullable": true
            },
            {
              "name": "id",
              "type": "string",
              "nullable": true
            },
            {
              "name": "kind",
              "type": "string",
              "nullable": true
            },
            {
              "name": "label",
              "type": "string",
              "nullable": true
            },
            {
              "name": "project",
              "type": "Json",
              "nullable": true
            },
            {
              "name": "project_id",
              "type": "string",
              "nullable": true
            },
            {
              "name": "sort_order",
              "type": "number",
              "nullable": true
            },
            {
              "name": "status",
              "type": "string",
              "nullable": true
            },
            {
              "name": "updated_at",
              "type": "string",
              "nullable": true
            }
          ]
        },
        {
          "name": "engagement_phases",
          "domain": "accounts",
          "purpose": "Read-only view of engagement phases for authorized readers",
          "columns": [
            {
              "name": "created_at",
              "type": "string",
              "nullable": true
            },
            {
              "name": "end_date",
              "type": "string",
              "nullable": true
            },
            {
              "name": "engagement",
              "type": "Json",
              "nullable": true
            },
            {
              "name": "engagement_id",
              "type": "string",
              "nullable": true
            },
            {
              "name": "id",
              "type": "string",
              "nullable": true
            },
            {
              "name": "name",
              "type": "string",
              "nullable": true
            },
            {
              "name": "sort_order",
              "type": "number",
              "nullable": true
            },
            {
              "name": "start_date",
              "type": "string",
              "nullable": true
            },
            {
              "name": "status",
              "type": "string",
              "nullable": true
            },
            {
              "name": "updated_at",
              "type": "string",
              "nullable": true
            }
          ]
        },
        {
          "name": "engagement_rates",
          "domain": "time",
          "purpose": "Read-only view of engagement rates for authorized readers",
          "columns": [
            {
              "name": "active_role",
              "type": "Json",
              "nullable": true
            },
            {
              "name": "active_role_id",
              "type": "string",
              "nullable": true
            },
            {
              "name": "bill_rate",
              "type": "number",
              "nullable": true
            },
            {
              "name": "cost_rate",
              "type": "number",
              "nullable": true
            },
            {
              "name": "created_at",
              "type": "string",
              "nullable": true
            },
            {
              "name": "engagement",
              "type": "Json",
              "nullable": true
            },
            {
              "name": "engagement_id",
              "type": "string",
              "nullable": true
            },
            {
              "name": "margin_rate",
              "type": "number",
              "nullable": true
            },
            {
              "name": "notes",
              "type": "string",
              "nullable": true
            },
            {
              "name": "updated_at",
              "type": "string",
              "nullable": true
            }
          ]
        },
        {
          "name": "engagement_role_financials",
          "domain": "accounts",
          "purpose": "Read-only view of engagement role financials for authorized readers",
          "columns": [
            {
              "name": "active_role_id",
              "type": "string",
              "nullable": true
            },
            {
              "name": "bill_rate",
              "type": "number",
              "nullable": true
            },
            {
              "name": "cost_rate",
              "type": "number",
              "nullable": true
            },
            {
              "name": "display_person",
              "type": "string",
              "nullable": true
            },
            {
              "name": "engagement_id",
              "type": "string",
              "nullable": true
            },
            {
              "name": "hours_burned",
              "type": "number",
              "nullable": true
            },
            {
              "name": "margin_pct",
              "type": "number",
              "nullable": true
            },
            {
              "name": "margin_usd",
              "type": "number",
              "nullable": true
            },
            {
              "name": "role_name",
              "type": "string",
              "nullable": true
            }
          ]
        },
        {
          "name": "engagements",
          "domain": "accounts",
          "purpose": "Read-only view of engagements for authorized readers",
          "columns": [
            {
              "name": "account",
              "type": "Json",
              "nullable": true
            },
            {
              "name": "account_id",
              "type": "string",
              "nullable": true
            },
            {
              "name": "archived_at",
              "type": "string",
              "nullable": true
            },
            {
              "name": "billing_type",
              "type": "string",
              "nullable": true
            },
            {
              "name": "closed_at",
              "type": "string",
              "nullable": true
            },
            {
              "name": "contract_number",
              "type": "string",
              "nullable": true
            },
            {
              "name": "created_at",
              "type": "string",
              "nullable": true
            },
            {
              "name": "custom_fields",
              "type": "Json",
              "nullable": true
            },
            {
              "name": "document_storage_path",
              "type": "string",
              "nullable": true
            },
            {
              "name": "document_url",
              "type": "string",
              "nullable": true
            },
            {
              "name": "end_date",
              "type": "string",
              "nullable": true
            },
            {
              "name": "hours_budget",
              "type": "number",
              "nullable": true
            },
            {
              "name": "hours_by_role",
              "type": "Json",
              "nullable": true
            },
            {
              "name": "id",
              "type": "string",
              "nullable": true
            },
            {
              "name": "key",
              "type": "string",
              "nullable": true
            },
            {
              "name": "name",
              "type": "string",
              "nullable": true
            },
            {
              "name": "notes",
              "type": "string",
              "nullable": true
            },
            {
              "name": "project_size",
              "type": "string",
              "nullable": true
            },
            {
              "name": "project_type",
              "type": "string",
              "nullable": true
            },
            {
              "name": "stage",
              "type": "string",
              "nullable": true
            },
            {
              "name": "start_date",
              "type": "string",
              "nullable": true
            },
            {
              "name": "status",
              "type": "string",
              "nullable": true
            },
            {
              "name": "updated_at",
              "type": "string",
              "nullable": true
            },
            {
              "name": "value",
              "type": "number",
              "nullable": true
            },
            {
              "name": "value_usd",
              "type": "number",
              "nullable": true
            },
            {
              "name": "workstream",
              "type": "string",
              "nullable": true
            }
          ]
        },
        {
          "name": "fields",
          "domain": "misc",
          "purpose": "Read-only view of fields for authorized readers",
          "columns": [
            {
              "name": "archived_at",
              "type": "string",
              "nullable": true
            },
            {
              "name": "config",
              "type": "Json",
              "nullable": true
            },
            {
              "name": "created_at",
              "type": "string",
              "nullable": true
            },
            {
              "name": "field_type",
              "type": "string",
              "nullable": true
            },
            {
              "name": "id",
              "type": "string",
              "nullable": true
            },
            {
              "name": "key",
              "type": "string",
              "nullable": true
            },
            {
              "name": "label",
              "type": "string",
              "nullable": true
            },
            {
              "name": "position",
              "type": "number",
              "nullable": true
            },
            {
              "name": "required",
              "type": "boolean",
              "nullable": true
            },
            {
              "name": "scope",
              "type": "string",
              "nullable": true
            },
            {
              "name": "updated_at",
              "type": "string",
              "nullable": true
            }
          ]
        },
        {
          "name": "form_submissions",
          "domain": "misc",
          "purpose": "Read-only view of form submissions for authorized readers",
          "columns": [
            {
              "name": "company",
              "type": "string",
              "nullable": true
            },
            {
              "name": "created_at",
              "type": "string",
              "nullable": true
            },
            {
              "name": "email",
              "type": "string",
              "nullable": true
            },
            {
              "name": "first_name",
              "type": "string",
              "nullable": true
            },
            {
              "name": "id",
              "type": "string",
              "nullable": true
            },
            {
              "name": "ip",
              "type": "unknown",
              "nullable": false
            },
            {
              "name": "last_name",
              "type": "string",
              "nullable": true
            },
            {
              "name": "message",
              "type": "string",
              "nullable": true
            },
            {
              "name": "meta",
              "type": "Json",
              "nullable": true
            },
            {
              "name": "origin",
              "type": "string",
              "nullable": true
            },
            {
              "name": "source",
              "type": "string",
              "nullable": true
            },
            {
              "name": "user_agent",
              "type": "string",
              "nullable": true
            }
          ]
        },
        {
          "name": "graph_concepts",
          "domain": "graph",
          "purpose": "Read-only view of graph concepts for authorized readers",
          "columns": [
            {
              "name": "alt_labels",
              "type": "string[]",
              "nullable": true
            },
            {
              "name": "broader_id",
              "type": "string",
              "nullable": true
            },
            {
              "name": "created_at",
              "type": "string",
              "nullable": true
            },
            {
              "name": "id",
              "type": "string",
              "nullable": true
            },
            {
              "name": "merged_into_id",
              "type": "string",
              "nullable": true
            },
            {
              "name": "pref_label",
              "type": "string",
              "nullable": true
            },
            {
              "name": "scope_note",
              "type": "string",
              "nullable": true
            },
            {
              "name": "slug",
              "type": "string",
              "nullable": true
            },
            {
              "name": "status",
              "type": "string",
              "nullable": true
            },
            {
              "name": "updated_at",
              "type": "string",
              "nullable": true
            },
            {
              "name": "usage_count",
              "type": "number",
              "nullable": true
            }
          ]
        },
        {
          "name": "graph_derived_edges",
          "domain": "graph",
          "purpose": "Read-only view of graph derived edges for authorized readers",
          "columns": [
            {
              "name": "dst_key",
              "type": "string",
              "nullable": true
            },
            {
              "name": "dst_kind",
              "type": "string",
              "nullable": true
            },
            {
              "name": "dst_title",
              "type": "string",
              "nullable": true
            },
            {
              "name": "edge_type",
              "type": "string",
              "nullable": true
            },
            {
              "name": "id",
              "type": "string",
              "nullable": true
            },
            {
              "name": "origin",
              "type": "string",
              "nullable": true
            },
            {
              "name": "src_key",
              "type": "string",
              "nullable": true
            },
            {
              "name": "src_kind",
              "type": "string",
              "nullable": true
            },
            {
              "name": "src_title",
              "type": "string",
              "nullable": true
            }
          ]
        },
        {
          "name": "graph_edge_types",
          "domain": "graph",
          "purpose": "Read-only view of graph edge types for authorized readers",
          "columns": [
            {
              "name": "allowed_dst_kinds",
              "type": "string[]",
              "nullable": true
            },
            {
              "name": "allowed_src_kinds",
              "type": "string[]",
              "nullable": true
            },
            {
              "name": "archived_at",
              "type": "string",
              "nullable": true
            },
            {
              "name": "description",
              "type": "string",
              "nullable": true
            },
            {
              "name": "directed",
              "type": "boolean",
              "nullable": true
            },
            {
              "name": "inverse_label",
              "type": "string",
              "nullable": true
            },
            {
              "name": "is_hierarchical",
              "type": "boolean",
              "nullable": true
            },
            {
              "name": "is_symmetric",
              "type": "boolean",
              "nullable": true
            },
            {
              "name": "is_system",
              "type": "boolean",
              "nullable": true
            },
            {
              "name": "key",
              "type": "string",
              "nullable": true
            },
            {
              "name": "label",
              "type": "string",
              "nullable": true
            }
          ]
        },
        {
          "name": "graph_edges",
          "domain": "graph",
          "purpose": "Read-only view of graph edges for authorized readers",
          "columns": [
            {
              "name": "account_id",
              "type": "string",
              "nullable": true
            },
            {
              "name": "actor_id",
              "type": "string",
              "nullable": true
            },
            {
              "name": "confidence",
              "type": "number",
              "nullable": true
            },
            {
              "name": "context_snippet",
              "type": "string",
              "nullable": true
            },
            {
              "name": "created_at",
              "type": "string",
              "nullable": true
            },
            {
              "name": "dst_key",
              "type": "string",
              "nullable": true
            },
            {
              "name": "dst_kind",
              "type": "string",
              "nullable": true
            },
            {
              "name": "dst_title",
              "type": "string",
              "nullable": true
            },
            {
              "name": "edge_type",
              "type": "string",
              "nullable": true
            },
            {
              "name": "id",
              "type": "string",
              "nullable": true
            },
            {
              "name": "origin",
              "type": "string",
              "nullable": true
            },
            {
              "name": "properties",
              "type": "Json",
              "nullable": true
            },
            {
              "name": "run_id",
              "type": "string",
              "nullable": true
            },
            {
              "name": "source_version_id",
              "type": "string",
              "nullable": true
            },
            {
              "name": "src_key",
              "type": "string",
              "nullable": true
            },
            {
              "name": "src_kind",
              "type": "string",
              "nullable": true
            },
            {
              "name": "src_title",
              "type": "string",
              "nullable": true
            },
            {
              "name": "updated_at",
              "type": "string",
              "nullable": true
            },
            {
              "name": "weight",
              "type": "number",
              "nullable": true
            },
            {
              "name": "workflow_id",
              "type": "string",
              "nullable": true
            }
          ]
        },
        {
          "name": "graph_node_kinds",
          "domain": "graph",
          "purpose": "Read-only view of graph node kinds for authorized readers",
          "columns": [
            {
              "name": "description",
              "type": "string",
              "nullable": true
            },
            {
              "name": "kind",
              "type": "string",
              "nullable": true
            },
            {
              "name": "label",
              "type": "string",
              "nullable": true
            }
          ]
        },
        {
          "name": "graph_node_metrics",
          "domain": "graph",
          "purpose": "Read-only view of graph node metrics for authorized readers",
          "columns": [
            {
              "name": "community_id",
              "type": "string",
              "nullable": true
            },
            {
              "name": "community_path",
              "type": "string[]",
              "nullable": true
            },
            {
              "name": "computed_at",
              "type": "string",
              "nullable": true
            },
            {
              "name": "in_degree",
              "type": "number",
              "nullable": true
            },
            {
              "name": "node_id",
              "type": "string",
              "nullable": true
            },
            {
              "name": "node_key",
              "type": "string",
              "nullable": true
            },
            {
              "name": "node_kind",
              "type": "string",
              "nullable": true
            },
            {
              "name": "out_degree",
              "type": "number",
              "nullable": true
            },
            {
              "name": "pagerank",
              "type": "number",
              "nullable": true
            },
            {
              "name": "title",
              "type": "string",
              "nullable": true
            }
          ]
        },
        {
          "name": "graph_nodes",
          "domain": "graph",
          "purpose": "Read-only view of graph nodes for authorized readers",
          "columns": [
            {
              "name": "archived_at",
              "type": "string",
              "nullable": true
            },
            {
              "name": "created_at",
              "type": "string",
              "nullable": true
            },
            {
              "name": "entity_id",
              "type": "string",
              "nullable": true
            },
            {
              "name": "external_id",
              "type": "string",
              "nullable": true
            },
            {
              "name": "external_source",
              "type": "string",
              "nullable": true
            },
            {
              "name": "external_url",
              "type": "string",
              "nullable": true
            },
            {
              "name": "id",
              "type": "string",
              "nullable": true
            },
            {
              "name": "node_key",
              "type": "string",
              "nullable": true
            },
            {
              "name": "node_kind",
              "type": "string",
              "nullable": true
            },
            {
              "name": "properties",
              "type": "Json",
              "nullable": true
            },
            {
              "name": "scope_account_id",
              "type": "string",
              "nullable": true
            },
            {
              "name": "title",
              "type": "string",
              "nullable": true
            },
            {
              "name": "updated_at",
              "type": "string",
              "nullable": true
            }
          ]
        },
        {
          "name": "graph_orphan_pages",
          "domain": "kb",
          "purpose": "Read-only view of graph orphan pages for authorized readers",
          "columns": [
            {
              "name": "page_key",
              "type": "string",
              "nullable": true
            },
            {
              "name": "title",
              "type": "string",
              "nullable": true
            },
            {
              "name": "updated_at",
              "type": "string",
              "nullable": true
            }
          ]
        },
        {
          "name": "hub_registry",
          "domain": "adw",
          "purpose": "Read-only view of hub registry for authorized readers",
          "columns": [
            {
              "name": "account_id",
              "type": "string",
              "nullable": true
            },
            {
              "name": "deregistered_at",
              "type": "string",
              "nullable": true
            },
            {
              "name": "id",
              "type": "string",
              "nullable": true
            },
            {
              "name": "parent_hub_id",
              "type": "string",
              "nullable": true
            },
            {
              "name": "source_kind",
              "type": "string",
              "nullable": true
            },
            {
              "name": "spawned_at",
              "type": "string",
              "nullable": true
            },
            {
              "name": "trigger_id",
              "type": "string",
              "nullable": true
            },
            {
              "name": "workflow_id",
              "type": "string",
              "nullable": true
            },
            {
              "name": "workflow_type",
              "type": "string",
              "nullable": true
            }
          ]
        },
        {
          "name": "import_log",
          "domain": "imports",
          "purpose": "Read-only view of import log for authorized readers",
          "columns": [
            {
              "name": "action",
              "type": "string",
              "nullable": true
            },
            {
              "name": "actor_id",
              "type": "string",
              "nullable": true
            },
            {
              "name": "created_at",
              "type": "string",
              "nullable": true
            },
            {
              "name": "external_id",
              "type": "string",
              "nullable": true
            },
            {
              "name": "external_source",
              "type": "string",
              "nullable": true
            },
            {
              "name": "id",
              "type": "number",
              "nullable": true
            },
            {
              "name": "original_author_email",
              "type": "string",
              "nullable": true
            },
            {
              "name": "page_id",
              "type": "string",
              "nullable": true
            },
            {
              "name": "reason",
              "type": "string",
              "nullable": true
            },
            {
              "name": "resolved_author_id",
              "type": "string",
              "nullable": true
            },
            {
              "name": "run_id",
              "type": "string",
              "nullable": true
            },
            {
              "name": "source_updated_at",
              "type": "string",
              "nullable": true
            },
            {
              "name": "source_version",
              "type": "number",
              "nullable": true
            }
          ]
        },
        {
          "name": "import_runs",
          "domain": "imports",
          "purpose": "Read-only view of import runs for authorized readers",
          "columns": [
            {
              "name": "distinct_tickets",
              "type": "number",
              "nullable": true
            },
            {
              "name": "errors",
              "type": "number",
              "nullable": true
            },
            {
              "name": "external_source",
              "type": "string",
              "nullable": true
            },
            {
              "name": "finished_at",
              "type": "string",
              "nullable": true
            },
            {
              "name": "force_overwrites",
              "type": "number",
              "nullable": true
            },
            {
              "name": "inserts",
              "type": "number",
              "nullable": true
            },
            {
              "name": "last_reason",
              "type": "string",
              "nullable": true
            },
            {
              "name": "max_source_updated_at",
              "type": "string",
              "nullable": true
            },
            {
              "name": "rows",
              "type": "number",
              "nullable": true
            },
            {
              "name": "run_id",
              "type": "string",
              "nullable": true
            },
            {
              "name": "skips",
              "type": "number",
              "nullable": true
            },
            {
              "name": "started_at",
              "type": "string",
              "nullable": true
            },
            {
              "name": "unresolved_assignees",
              "type": "number",
              "nullable": true
            },
            {
              "name": "unresolved_reporters",
              "type": "number",
              "nullable": true
            },
            {
              "name": "updates",
              "type": "number",
              "nullable": true
            }
          ]
        },
        {
          "name": "inbox",
          "domain": "misc",
          "purpose": "Read-only view of inbox for authorized readers",
          "columns": [
            {
              "name": "account_id",
              "type": "string",
              "nullable": true
            },
            {
              "name": "assignee_id",
              "type": "string",
              "nullable": true
            },
            {
              "name": "commenter_id",
              "type": "string",
              "nullable": true
            },
            {
              "name": "display_key",
              "type": "string",
              "nullable": true
            },
            {
              "name": "key_source",
              "type": "string",
              "nullable": true
            },
            {
              "name": "last_activity_at",
              "type": "string",
              "nullable": true
            },
            {
              "name": "project_key",
              "type": "string",
              "nullable": true
            },
            {
              "name": "source",
              "type": "string",
              "nullable": true
            },
            {
              "name": "source_id",
              "type": "string",
              "nullable": true
            },
            {
              "name": "source_key",
              "type": "string",
              "nullable": true
            },
            {
              "name": "status_key",
              "type": "string",
              "nullable": true
            },
            {
              "name": "status_label",
              "type": "string",
              "nullable": true
            },
            {
              "name": "title",
              "type": "string",
              "nullable": true
            }
          ]
        },
        {
          "name": "intent_backlog",
          "domain": "adw",
          "purpose": "Read-only view of intent backlog for authorized readers",
          "columns": [
            {
              "name": "count",
              "type": "number",
              "nullable": true
            },
            {
              "name": "newest_requested_at",
              "type": "string",
              "nullable": true
            },
            {
              "name": "oldest_requested_at",
              "type": "string",
              "nullable": true
            },
            {
              "name": "state",
              "type": "string",
              "nullable": true
            }
          ]
        },
        {
          "name": "intents_dead",
          "domain": "adw",
          "purpose": "Read-only view of intents dead for authorized readers",
          "columns": [
            {
              "name": "attempts",
              "type": "number",
              "nullable": true
            },
            {
              "name": "error",
              "type": "string",
              "nullable": true
            },
            {
              "name": "id",
              "type": "string",
              "nullable": true
            },
            {
              "name": "kind",
              "type": "string",
              "nullable": true
            },
            {
              "name": "payload",
              "type": "Json",
              "nullable": true
            },
            {
              "name": "requested_at",
              "type": "string",
              "nullable": true
            },
            {
              "name": "requested_by",
              "type": "string",
              "nullable": true
            },
            {
              "name": "schedule_id",
              "type": "string",
              "nullable": true
            },
            {
              "name": "updated_at",
              "type": "string",
              "nullable": true
            }
          ]
        },
        {
          "name": "jira_status_aliases",
          "domain": "tickets",
          "purpose": "Read-only view of jira status aliases for authorized readers",
          "columns": [
            {
              "name": "created_at",
              "type": "string",
              "nullable": true
            },
            {
              "name": "internal_status_key",
              "type": "string",
              "nullable": true
            },
            {
              "name": "notes",
              "type": "string",
              "nullable": true
            },
            {
              "name": "source_label",
              "type": "string",
              "nullable": true
            },
            {
              "name": "source_system",
              "type": "string",
              "nullable": true
            },
            {
              "name": "updated_at",
              "type": "string",
              "nullable": true
            }
          ]
        },
        {
          "name": "kb_embedding_runs",
          "domain": "kb",
          "purpose": "Read-only view of kb embedding runs for authorized readers",
          "columns": [
            {
              "name": "anchors",
              "type": "number",
              "nullable": true
            },
            {
              "name": "created_at",
              "type": "string",
              "nullable": true
            },
            {
              "name": "failures",
              "type": "number",
              "nullable": true
            },
            {
              "name": "finished_at",
              "type": "string",
              "nullable": true
            },
            {
              "name": "id",
              "type": "number",
              "nullable": true
            },
            {
              "name": "model",
              "type": "string",
              "nullable": true
            },
            {
              "name": "note",
              "type": "string",
              "nullable": true
            },
            {
              "name": "pages",
              "type": "number",
              "nullable": true
            },
            {
              "name": "parked",
              "type": "number",
              "nullable": true
            },
            {
              "name": "sentinel_cosine",
              "type": "number",
              "nullable": true
            },
            {
              "name": "started_at",
              "type": "string",
              "nullable": true
            },
            {
              "name": "trigger_source",
              "type": "string",
              "nullable": true
            }
          ]
        },
        {
          "name": "kb_embedding_sentinels",
          "domain": "kb",
          "purpose": "Read-only view of kb embedding sentinels for authorized readers",
          "columns": [
            {
              "name": "drifted",
              "type": "boolean",
              "nullable": true
            },
            {
              "name": "embedded_at",
              "type": "string",
              "nullable": true
            },
            {
              "name": "embedding",
              "type": "string",
              "nullable": true
            },
            {
              "name": "label",
              "type": "string",
              "nullable": true
            },
            {
              "name": "last_checked_at",
              "type": "string",
              "nullable": true
            },
            {
              "name": "last_cosine",
              "type": "number",
              "nullable": true
            },
            {
              "name": "model",
              "type": "string",
              "nullable": true
            },
            {
              "name": "text",
              "type": "string",
              "nullable": true
            }
          ]
        },
        {
          "name": "kb_page_summaries",
          "domain": "kb",
          "purpose": "Read-only view of kb page summaries for authorized readers",
          "columns": [
            {
              "name": "bullets",
              "type": "Json",
              "nullable": true
            },
            {
              "name": "created_at",
              "type": "string",
              "nullable": true
            },
            {
              "name": "created_by",
              "type": "string",
              "nullable": true
            },
            {
              "name": "markdown",
              "type": "string",
              "nullable": true
            },
            {
              "name": "model",
              "type": "string",
              "nullable": true
            },
            {
              "name": "page_id",
              "type": "string",
              "nullable": true
            },
            {
              "name": "page_version",
              "type": "number",
              "nullable": true
            },
            {
              "name": "summarized_at",
              "type": "string",
              "nullable": true
            }
          ]
        },
        {
          "name": "my_api_credentials",
          "domain": "misc",
          "purpose": "Read-only view of my api credentials for authorized readers",
          "columns": [
            {
              "name": "created_at",
              "type": "string",
              "nullable": true
            },
            {
              "name": "expires_at",
              "type": "string",
              "nullable": true
            },
            {
              "name": "id",
              "type": "string",
              "nullable": true
            },
            {
              "name": "key_prefix",
              "type": "string",
              "nullable": true
            },
            {
              "name": "last_used_at",
              "type": "string",
              "nullable": true
            },
            {
              "name": "name",
              "type": "string",
              "nullable": true
            },
            {
              "name": "revoked_at",
              "type": "string",
              "nullable": true
            },
            {
              "name": "scopes",
              "type": "string[]",
              "nullable": true
            },
            {
              "name": "updated_at",
              "type": "string",
              "nullable": true
            }
          ]
        },
        {
          "name": "my_recent_time_combos",
          "domain": "time",
          "purpose": "Read-only view of my recent time combos for authorized readers",
          "columns": [
            {
              "name": "account_id",
              "type": "string",
              "nullable": true
            },
            {
              "name": "account_name",
              "type": "string",
              "nullable": true
            },
            {
              "name": "description",
              "type": "string",
              "nullable": true
            },
            {
              "name": "engagement_id",
              "type": "string",
              "nullable": true
            },
            {
              "name": "engagement_name",
              "type": "string",
              "nullable": true
            },
            {
              "name": "kind",
              "type": "string",
              "nullable": true
            },
            {
              "name": "last_used",
              "type": "string",
              "nullable": true
            },
            {
              "name": "use_count",
              "type": "number",
              "nullable": true
            }
          ]
        },
        {
          "name": "page_anchors",
          "domain": "kb",
          "purpose": "Read-only view of page anchors for authorized readers",
          "columns": [
            {
              "name": "anchor_key",
              "type": "string",
              "nullable": true
            },
            {
              "name": "created_at",
              "type": "string",
              "nullable": true
            },
            {
              "name": "heading_path",
              "type": "string[]",
              "nullable": true
            },
            {
              "name": "id",
              "type": "string",
              "nullable": true
            },
            {
              "name": "kind",
              "type": "string",
              "nullable": true
            },
            {
              "name": "last_seen_version_id",
              "type": "string",
              "nullable": true
            },
            {
              "name": "live",
              "type": "boolean",
              "nullable": true
            },
            {
              "name": "node_key",
              "type": "string",
              "nullable": true
            },
            {
              "name": "page_id",
              "type": "string",
              "nullable": true
            },
            {
              "name": "page_key",
              "type": "string",
              "nullable": true
            },
            {
              "name": "position",
              "type": "number",
              "nullable": true
            },
            {
              "name": "text_snapshot",
              "type": "string",
              "nullable": true
            },
            {
              "name": "updated_at",
              "type": "string",
              "nullable": true
            }
          ]
        },
        {
          "name": "page_attachments",
          "domain": "kb",
          "purpose": "Read-only view of page attachments for authorized readers",
          "columns": [
            {
              "name": "account_id",
              "type": "string",
              "nullable": true
            },
            {
              "name": "created_at",
              "type": "string",
              "nullable": true
            },
            {
              "name": "external_id",
              "type": "string",
              "nullable": true
            },
            {
              "name": "external_metadata",
              "type": "Json",
              "nullable": true
            },
            {
              "name": "external_source",
              "type": "string",
              "nullable": true
            },
            {
              "name": "external_url",
              "type": "string",
              "nullable": true
            },
            {
              "name": "filename",
              "type": "string",
              "nullable": true
            },
            {
              "name": "id",
              "type": "string",
              "nullable": true
            },
            {
              "name": "mime_type",
              "type": "string",
              "nullable": true
            },
            {
              "name": "page_id",
              "type": "string",
              "nullable": true
            },
            {
              "name": "size_bytes",
              "type": "number",
              "nullable": true
            },
            {
              "name": "storage_path",
              "type": "string",
              "nullable": true
            },
            {
              "name": "updated_at",
              "type": "string",
              "nullable": true
            }
          ]
        },
        {
          "name": "page_comments",
          "domain": "kb",
          "purpose": "Read-only view of page comments for authorized readers",
          "columns": [
            {
              "name": "author",
              "type": "Json",
              "nullable": true
            },
            {
              "name": "author_id",
              "type": "string",
              "nullable": true
            },
            {
              "name": "body",
              "type": "Json",
              "nullable": true
            },
            {
              "name": "body_format",
              "type": "string",
              "nullable": true
            },
            {
              "name": "created_at",
              "type": "string",
              "nullable": true
            },
            {
              "name": "id",
              "type": "string",
              "nullable": true
            },
            {
              "name": "page_id",
              "type": "string",
              "nullable": true
            },
            {
              "name": "resolved_at",
              "type": "string",
              "nullable": true
            },
            {
              "name": "updated_at",
              "type": "string",
              "nullable": true
            }
          ]
        },
        {
          "name": "page_versions",
          "domain": "kb",
          "purpose": "Read-only view of page versions for authorized readers",
          "columns": [
            {
              "name": "body",
              "type": "Json",
              "nullable": true
            },
            {
              "name": "change_note",
              "type": "string",
              "nullable": true
            },
            {
              "name": "content_format",
              "type": "string",
              "nullable": true
            },
            {
              "name": "edited_at",
              "type": "string",
              "nullable": true
            },
            {
              "name": "editor",
              "type": "Json",
              "nullable": true
            },
            {
              "name": "editor_id",
              "type": "string",
              "nullable": true
            },
            {
              "name": "id",
              "type": "string",
              "nullable": true
            },
            {
              "name": "page_id",
              "type": "string",
              "nullable": true
            },
            {
              "name": "version",
              "type": "number",
              "nullable": true
            }
          ]
        },
        {
          "name": "pages",
          "domain": "kb",
          "purpose": "Read-only view of pages for authorized readers",
          "columns": [
            {
              "name": "archive_state",
              "type": "string",
              "nullable": true
            },
            {
              "name": "archived_at",
              "type": "string",
              "nullable": true
            },
            {
              "name": "author",
              "type": "Json",
              "nullable": true
            },
            {
              "name": "author_id",
              "type": "string",
              "nullable": true
            },
            {
              "name": "created_at",
              "type": "string",
              "nullable": true
            },
            {
              "name": "current_version_id",
              "type": "string",
              "nullable": true
            },
            {
              "name": "effective_archive_state",
              "type": "string",
              "nullable": true
            },
            {
              "name": "external_id",
              "type": "string",
              "nullable": true
            },
            {
              "name": "external_metadata",
              "type": "Json",
              "nullable": true
            },
            {
              "name": "external_source",
              "type": "string",
              "nullable": true
            },
            {
              "name": "external_url",
              "type": "string",
              "nullable": true
            },
            {
              "name": "id",
              "type": "string",
              "nullable": true
            },
            {
              "name": "key",
              "type": "string",
              "nullable": true
            },
            {
              "name": "kind",
              "type": "string",
              "nullable": true
            },
            {
              "name": "parent_id",
              "type": "string",
              "nullable": true
            },
            {
              "name": "project",
              "type": "Json",
              "nullable": true
            },
            {
              "name": "project_id",
              "type": "string",
              "nullable": true
            },
            {
              "name": "purge_at",
              "type": "string",
              "nullable": true
            },
            {
              "name": "space",
              "type": "Json",
              "nullable": true
            },
            {
              "name": "space_id",
              "type": "string",
              "nullable": true
            },
            {
              "name": "status",
              "type": "string",
              "nullable": true
            },
            {
              "name": "title",
              "type": "string",
              "nullable": true
            },
            {
              "name": "updated_at",
              "type": "string",
              "nullable": true
            }
          ]
        },
        {
          "name": "poll_runs",
          "domain": "adw",
          "purpose": "Read-only view of poll runs for authorized readers",
          "columns": [
            {
              "name": "accounts_signaled",
              "type": "string[]",
              "nullable": true
            },
            {
              "name": "duration_ms",
              "type": "number",
              "nullable": true
            },
            {
              "name": "errors",
              "type": "Json",
              "nullable": true
            },
            {
              "name": "id",
              "type": "string",
              "nullable": true
            },
            {
              "name": "poller_type",
              "type": "string",
              "nullable": true
            },
            {
              "name": "run_time",
              "type": "string",
              "nullable": true
            },
            {
              "name": "signals_created",
              "type": "number",
              "nullable": true
            }
          ]
        },
        {
          "name": "project_health",
          "domain": "tickets",
          "purpose": "Read-only view of project health for authorized readers",
          "columns": [
            {
              "name": "account_id",
              "type": "string",
              "nullable": true
            },
            {
              "name": "blocked",
              "type": "number",
              "nullable": true
            },
            {
              "name": "done",
              "type": "number",
              "nullable": true
            },
            {
              "name": "engagement_id",
              "type": "string",
              "nullable": true
            },
            {
              "name": "health",
              "type": "string",
              "nullable": true
            },
            {
              "name": "in_progress",
              "type": "number",
              "nullable": true
            },
            {
              "name": "in_review",
              "type": "number",
              "nullable": true
            },
            {
              "name": "last_activity_at",
              "type": "string",
              "nullable": true
            },
            {
              "name": "open_total",
              "type": "number",
              "nullable": true
            },
            {
              "name": "project_id",
              "type": "string",
              "nullable": true
            },
            {
              "name": "todo",
              "type": "number",
              "nullable": true
            }
          ]
        },
        {
          "name": "projects",
          "domain": "tickets",
          "purpose": "Read-only view of projects for authorized readers",
          "columns": [
            {
              "name": "account",
              "type": "Json",
              "nullable": true
            },
            {
              "name": "account_id",
              "type": "string",
              "nullable": true
            },
            {
              "name": "archived_at",
              "type": "string",
              "nullable": true
            },
            {
              "name": "created_at",
              "type": "string",
              "nullable": true
            },
            {
              "name": "custom_fields",
              "type": "Json",
              "nullable": true
            },
            {
              "name": "description",
              "type": "string",
              "nullable": true
            },
            {
              "name": "engagement",
              "type": "Json",
              "nullable": true
            },
            {
              "name": "engagement_id",
              "type": "string",
              "nullable": true
            },
            {
              "name": "id",
              "type": "string",
              "nullable": true
            },
            {
              "name": "is_personal",
              "type": "boolean",
              "nullable": true
            },
            {
              "name": "key",
              "type": "string",
              "nullable": true
            },
            {
              "name": "last_synced_at",
              "type": "string",
              "nullable": true
            },
            {
              "name": "name",
              "type": "string",
              "nullable": true
            },
            {
              "name": "owner_user_id",
              "type": "string",
              "nullable": true
            },
            {
              "name": "sync_state",
              "type": "string",
              "nullable": true
            },
            {
              "name": "updated_at",
              "type": "string",
              "nullable": true
            }
          ]
        },
        {
          "name": "purge_ledger",
          "domain": "misc",
          "purpose": "Read-only view of purge ledger for authorized readers",
          "columns": [
            {
              "name": "account_id",
              "type": "string",
              "nullable": true
            },
            {
              "name": "entity_id",
              "type": "string",
              "nullable": true
            },
            {
              "name": "entity_key",
              "type": "string",
              "nullable": true
            },
            {
              "name": "entity_kind",
              "type": "string",
              "nullable": true
            },
            {
              "name": "external_id",
              "type": "string",
              "nullable": true
            },
            {
              "name": "external_source",
              "type": "string",
              "nullable": true
            },
            {
              "name": "id",
              "type": "number",
              "nullable": true
            },
            {
              "name": "metadata",
              "type": "Json",
              "nullable": true
            },
            {
              "name": "purged_at",
              "type": "string",
              "nullable": true
            },
            {
              "name": "purged_by",
              "type": "string",
              "nullable": true
            },
            {
              "name": "title",
              "type": "string",
              "nullable": true
            }
          ]
        },
        {
          "name": "recent_activity",
          "domain": "misc",
          "purpose": "Read-only view of recent activity for authorized readers",
          "columns": [
            {
              "name": "account_id",
              "type": "string",
              "nullable": true
            },
            {
              "name": "activity_run_id",
              "type": "string",
              "nullable": true
            },
            {
              "name": "activity_type",
              "type": "string",
              "nullable": true
            },
            {
              "name": "duration_ms",
              "type": "number",
              "nullable": true
            },
            {
              "name": "error",
              "type": "string",
              "nullable": true
            },
            {
              "name": "page_id",
              "type": "string",
              "nullable": true
            },
            {
              "name": "page_key",
              "type": "string",
              "nullable": true
            },
            {
              "name": "page_title",
              "type": "string",
              "nullable": true
            },
            {
              "name": "run_time",
              "type": "string",
              "nullable": true
            },
            {
              "name": "success",
              "type": "boolean",
              "nullable": true
            },
            {
              "name": "ticket_id",
              "type": "string",
              "nullable": true
            },
            {
              "name": "ticket_key",
              "type": "string",
              "nullable": true
            },
            {
              "name": "ticket_title",
              "type": "string",
              "nullable": true
            },
            {
              "name": "workflow_id",
              "type": "string",
              "nullable": true
            }
          ]
        },
        {
          "name": "roadmap_initiative_specs",
          "domain": "roadmap",
          "purpose": "Read-only view of roadmap initiative specs for authorized readers",
          "columns": [
            {
              "name": "edge_type",
              "type": "string",
              "nullable": true
            },
            {
              "name": "origin",
              "type": "string",
              "nullable": true
            },
            {
              "name": "spec_key",
              "type": "string",
              "nullable": true
            },
            {
              "name": "spec_title",
              "type": "string",
              "nullable": true
            },
            {
              "name": "spec_url",
              "type": "string",
              "nullable": true
            },
            {
              "name": "ticket_id",
              "type": "string",
              "nullable": true
            },
            {
              "name": "ticket_key",
              "type": "string",
              "nullable": true
            }
          ]
        },
        {
          "name": "roadmap_initiatives",
          "domain": "roadmap",
          "purpose": "Read-only view of roadmap initiatives for authorized readers",
          "columns": [
            {
              "name": "account_id",
              "type": "string",
              "nullable": true
            },
            {
              "name": "account_name",
              "type": "string",
              "nullable": true
            },
            {
              "name": "agent",
              "type": "string",
              "nullable": true
            },
            {
              "name": "assignee_email",
              "type": "string",
              "nullable": true
            },
            {
              "name": "assignee_name",
              "type": "string",
              "nullable": true
            },
            {
              "name": "bucket",
              "type": "string",
              "nullable": true
            },
            {
              "name": "bucket_override",
              "type": "string",
              "nullable": true
            },
            {
              "name": "completion_pct",
              "type": "number",
              "nullable": true
            },
            {
              "name": "created_at",
              "type": "string",
              "nullable": true
            },
            {
              "name": "days_since_activity",
              "type": "number",
              "nullable": true
            },
            {
              "name": "dependencies",
              "type": "Json",
              "nullable": true
            },
            {
              "name": "display_key",
              "type": "string",
              "nullable": true
            },
            {
              "name": "done_count",
              "type": "number",
              "nullable": true
            },
            {
              "name": "due_date",
              "type": "string",
              "nullable": true
            },
            {
              "name": "engagement_id",
              "type": "string",
              "nullable": true
            },
            {
              "name": "engagement_name",
              "type": "string",
              "nullable": true
            },
            {
              "name": "engagement_value_usd",
              "type": "number",
              "nullable": true
            },
            {
              "name": "external_url",
              "type": "string",
              "nullable": true
            },
            {
              "name": "health",
              "type": "string",
              "nullable": true
            },
            {
              "name": "health_override",
              "type": "string",
              "nullable": true
            },
            {
              "name": "id",
              "type": "string",
              "nullable": true
            },
            {
              "name": "in_progress_count",
              "type": "number",
              "nullable": true
            },
            {
              "name": "key",
              "type": "string",
              "nullable": true
            },
            {
              "name": "last_activity_at",
              "type": "string",
              "nullable": true
            },
            {
              "name": "milestones",
              "type": "Json",
              "nullable": true
            },
            {
              "name": "open_blocker_count",
              "type": "number",
              "nullable": true
            },
            {
              "name": "planned_start",
              "type": "string",
              "nullable": true
            },
            {
              "name": "planned_target",
              "type": "string",
              "nullable": true
            },
            {
              "name": "priority",
              "type": "string",
              "nullable": true
            },
            {
              "name": "project_id",
              "type": "string",
              "nullable": true
            },
            {
              "name": "project_key",
              "type": "string",
              "nullable": true
            },
            {
              "name": "project_name",
              "type": "string",
              "nullable": true
            },
            {
              "name": "resolved_at",
              "type": "string",
              "nullable": true
            },
            {
              "name": "sort_order",
              "type": "number",
              "nullable": true
            },
            {
              "name": "start_date",
              "type": "string",
              "nullable": true
            },
            {
              "name": "status_category",
              "type": "string",
              "nullable": true
            },
            {
              "name": "status_key",
              "type": "string",
              "nullable": true
            },
            {
              "name": "status_label",
              "type": "string",
              "nullable": true
            },
            {
              "name": "target_date",
              "type": "string",
              "nullable": true
            },
            {
              "name": "title",
              "type": "string",
              "nullable": true
            },
            {
              "name": "todo_count",
              "type": "number",
              "nullable": true
            },
            {
              "name": "total_children",
              "type": "number",
              "nullable": true
            }
          ]
        },
        {
          "name": "roadmap_milestones",
          "domain": "roadmap",
          "purpose": "Read-only view of roadmap milestones for authorized readers",
          "columns": [
            {
              "name": "created_at",
              "type": "string",
              "nullable": true
            },
            {
              "name": "due_on",
              "type": "string",
              "nullable": true
            },
            {
              "name": "id",
              "type": "string",
              "nullable": true
            },
            {
              "name": "kind",
              "type": "string",
              "nullable": true
            },
            {
              "name": "label",
              "type": "string",
              "nullable": true
            },
            {
              "name": "sort_order",
              "type": "number",
              "nullable": true
            },
            {
              "name": "ticket_id",
              "type": "string",
              "nullable": true
            },
            {
              "name": "ticket_key",
              "type": "string",
              "nullable": true
            },
            {
              "name": "updated_at",
              "type": "string",
              "nullable": true
            }
          ]
        },
        {
          "name": "run_events",
          "domain": "misc",
          "purpose": "Read-only view of run events for authorized readers",
          "columns": [
            {
              "name": "created_at",
              "type": "string",
              "nullable": true
            },
            {
              "name": "id",
              "type": "number",
              "nullable": true
            },
            {
              "name": "intent_id",
              "type": "string",
              "nullable": true
            },
            {
              "name": "kind",
              "type": "string",
              "nullable": true
            },
            {
              "name": "payload",
              "type": "Json",
              "nullable": true
            }
          ]
        },
        {
          "name": "schedule_runs",
          "domain": "adw",
          "purpose": "Read-only view of schedule runs for authorized readers",
          "columns": [
            {
              "name": "actual_start_time",
              "type": "string",
              "nullable": true
            },
            {
              "name": "created_at",
              "type": "string",
              "nullable": true
            },
            {
              "name": "end_time",
              "type": "string",
              "nullable": true
            },
            {
              "name": "error",
              "type": "string",
              "nullable": true
            },
            {
              "name": "id",
              "type": "string",
              "nullable": true
            },
            {
              "name": "result",
              "type": "Json",
              "nullable": true
            },
            {
              "name": "run_id",
              "type": "string",
              "nullable": true
            },
            {
              "name": "schedule_id",
              "type": "string",
              "nullable": true
            },
            {
              "name": "scheduled_time",
              "type": "string",
              "nullable": true
            },
            {
              "name": "status",
              "type": "string",
              "nullable": true
            },
            {
              "name": "updated_at",
              "type": "string",
              "nullable": true
            },
            {
              "name": "workflow_id",
              "type": "string",
              "nullable": true
            }
          ]
        },
        {
          "name": "schedules",
          "domain": "adw",
          "purpose": "Read-only view of schedules for authorized readers",
          "columns": [
            {
              "name": "action",
              "type": "Json",
              "nullable": true
            },
            {
              "name": "archived_at",
              "type": "string",
              "nullable": true
            },
            {
              "name": "catchup_window_seconds",
              "type": "number",
              "nullable": true
            },
            {
              "name": "created_at",
              "type": "string",
              "nullable": true
            },
            {
              "name": "cron",
              "type": "string[]",
              "nullable": true
            },
            {
              "name": "drift",
              "type": "boolean",
              "nullable": true
            },
            {
              "name": "id",
              "type": "string",
              "nullable": true
            },
            {
              "name": "is_managed",
              "type": "boolean",
              "nullable": true
            },
            {
              "name": "kind",
              "type": "string",
              "nullable": true
            },
            {
              "name": "last_run_at",
              "type": "string",
              "nullable": true
            },
            {
              "name": "last_synced_at",
              "type": "string",
              "nullable": true
            },
            {
              "name": "next_run_at",
              "type": "string",
              "nullable": true
            },
            {
              "name": "note",
              "type": "string",
              "nullable": true
            },
            {
              "name": "overlap_policy",
              "type": "string",
              "nullable": true
            },
            {
              "name": "paused",
              "type": "boolean",
              "nullable": true
            },
            {
              "name": "recent_actions_count",
              "type": "number",
              "nullable": true
            },
            {
              "name": "schedule_id",
              "type": "string",
              "nullable": true
            },
            {
              "name": "sync_error",
              "type": "string",
              "nullable": true
            },
            {
              "name": "sync_state",
              "type": "string",
              "nullable": true
            },
            {
              "name": "task_queue",
              "type": "string",
              "nullable": true
            },
            {
              "name": "temporal_paused",
              "type": "boolean",
              "nullable": true
            },
            {
              "name": "timezone",
              "type": "string",
              "nullable": true
            },
            {
              "name": "updated_at",
              "type": "string",
              "nullable": true
            },
            {
              "name": "workflow_type",
              "type": "string",
              "nullable": true
            }
          ]
        },
        {
          "name": "scheduling_health",
          "domain": "misc",
          "purpose": "Read-only view of scheduling health for authorized readers",
          "columns": [
            {
              "name": "alive",
              "type": "boolean",
              "nullable": true
            },
            {
              "name": "heartbeat_at",
              "type": "string",
              "nullable": true
            },
            {
              "name": "intents_dead",
              "type": "number",
              "nullable": true
            },
            {
              "name": "intents_failed",
              "type": "number",
              "nullable": true
            },
            {
              "name": "intents_in_flight",
              "type": "number",
              "nullable": true
            },
            {
              "name": "intents_pending",
              "type": "number",
              "nullable": true
            },
            {
              "name": "last_drain_at",
              "type": "string",
              "nullable": true
            },
            {
              "name": "last_error",
              "type": "string",
              "nullable": true
            },
            {
              "name": "last_reconcile_at",
              "type": "string",
              "nullable": true
            },
            {
              "name": "schedules_unsynced",
              "type": "number",
              "nullable": true
            },
            {
              "name": "seconds_since_heartbeat",
              "type": "number",
              "nullable": true
            },
            {
              "name": "version",
              "type": "string",
              "nullable": true
            }
          ]
        },
        {
          "name": "signal_log",
          "domain": "adw",
          "purpose": "Read-only view of signal log for authorized readers",
          "columns": [
            {
              "name": "account_id",
              "type": "string",
              "nullable": true
            },
            {
              "name": "dead_lettered",
              "type": "boolean",
              "nullable": true
            },
            {
              "name": "event_type",
              "type": "string",
              "nullable": true
            },
            {
              "name": "id",
              "type": "string",
              "nullable": true
            },
            {
              "name": "routed_to",
              "type": "string[]",
              "nullable": true
            },
            {
              "name": "signal_time",
              "type": "string",
              "nullable": true
            },
            {
              "name": "source",
              "type": "string",
              "nullable": true
            }
          ]
        },
        {
          "name": "signal_provenance",
          "domain": "adw",
          "purpose": "Read-only view of signal provenance for authorized readers",
          "columns": [
            {
              "name": "accounts_signaled",
              "type": "string[]",
              "nullable": true
            },
            {
              "name": "poll_errors",
              "type": "Json",
              "nullable": true
            },
            {
              "name": "poll_run_at",
              "type": "string",
              "nullable": true
            },
            {
              "name": "poll_run_id",
              "type": "string",
              "nullable": true
            },
            {
              "name": "poller_type",
              "type": "string",
              "nullable": true
            },
            {
              "name": "schedule_run_id",
              "type": "string",
              "nullable": true
            },
            {
              "name": "signals_created",
              "type": "number",
              "nullable": true
            },
            {
              "name": "source_schedule_id",
              "type": "string",
              "nullable": true
            },
            {
              "name": "spawned_account_id",
              "type": "string",
              "nullable": true
            },
            {
              "name": "spawned_at",
              "type": "string",
              "nullable": true
            },
            {
              "name": "spawned_deregistered_at",
              "type": "string",
              "nullable": true
            },
            {
              "name": "spawned_source_kind",
              "type": "string",
              "nullable": true
            },
            {
              "name": "spawned_workflow_id",
              "type": "string",
              "nullable": true
            },
            {
              "name": "spawned_workflow_type",
              "type": "string",
              "nullable": true
            },
            {
              "name": "tick_ended_at",
              "type": "string",
              "nullable": true
            },
            {
              "name": "tick_error",
              "type": "string",
              "nullable": true
            },
            {
              "name": "tick_started_at",
              "type": "string",
              "nullable": true
            },
            {
              "name": "tick_status",
              "type": "string",
              "nullable": true
            },
            {
              "name": "tick_time",
              "type": "string",
              "nullable": true
            },
            {
              "name": "trigger_id",
              "type": "string",
              "nullable": true
            }
          ]
        },
        {
          "name": "sow_roles",
          "domain": "time",
          "purpose": "Read-only view of sow roles for authorized readers",
          "columns": [
            {
              "name": "archived_at",
              "type": "string",
              "nullable": true
            },
            {
              "name": "category",
              "type": "string",
              "nullable": true
            },
            {
              "name": "created_at",
              "type": "string",
              "nullable": true
            },
            {
              "name": "id",
              "type": "string",
              "nullable": true
            },
            {
              "name": "leadership",
              "type": "boolean",
              "nullable": true
            },
            {
              "name": "name",
              "type": "string",
              "nullable": true
            },
            {
              "name": "sort_order",
              "type": "number",
              "nullable": true
            },
            {
              "name": "updated_at",
              "type": "string",
              "nullable": true
            }
          ]
        },
        {
          "name": "spaces",
          "domain": "kb",
          "purpose": "Read-only view of spaces for authorized readers",
          "columns": [
            {
              "name": "account_id",
              "type": "string",
              "nullable": true
            },
            {
              "name": "archived_at",
              "type": "string",
              "nullable": true
            },
            {
              "name": "created_at",
              "type": "string",
              "nullable": true
            },
            {
              "name": "description",
              "type": "string",
              "nullable": true
            },
            {
              "name": "id",
              "type": "string",
              "nullable": true
            },
            {
              "name": "key",
              "type": "string",
              "nullable": true
            },
            {
              "name": "last_synced_at",
              "type": "string",
              "nullable": true
            },
            {
              "name": "name",
              "type": "string",
              "nullable": true
            },
            {
              "name": "source_confluence_id",
              "type": "string",
              "nullable": true
            },
            {
              "name": "source_confluence_key",
              "type": "string",
              "nullable": true
            },
            {
              "name": "sync_state",
              "type": "string",
              "nullable": true
            },
            {
              "name": "updated_at",
              "type": "string",
              "nullable": true
            }
          ]
        },
        {
          "name": "spawn_rules",
          "domain": "adw",
          "purpose": "Read-only view of spawn rules for authorized readers",
          "columns": [
            {
              "name": "account_id",
              "type": "string",
              "nullable": true
            },
            {
              "name": "account_name",
              "type": "string",
              "nullable": true
            },
            {
              "name": "created_at",
              "type": "string",
              "nullable": true
            },
            {
              "name": "created_by",
              "type": "string",
              "nullable": true
            },
            {
              "name": "created_by_email",
              "type": "string",
              "nullable": true
            },
            {
              "name": "enabled",
              "type": "boolean",
              "nullable": true
            },
            {
              "name": "event_type",
              "type": "string",
              "nullable": true
            },
            {
              "name": "filters",
              "type": "Json",
              "nullable": true
            },
            {
              "name": "id",
              "type": "string",
              "nullable": true
            },
            {
              "name": "inputs_override",
              "type": "Json",
              "nullable": true
            },
            {
              "name": "notes",
              "type": "string",
              "nullable": true
            },
            {
              "name": "priority",
              "type": "number",
              "nullable": true
            },
            {
              "name": "sandbox_kind",
              "type": "string",
              "nullable": true
            },
            {
              "name": "source_kind",
              "type": "string",
              "nullable": true
            },
            {
              "name": "spec_slug",
              "type": "string",
              "nullable": true
            },
            {
              "name": "updated_at",
              "type": "string",
              "nullable": true
            }
          ]
        },
        {
          "name": "statuses",
          "domain": "tickets",
          "purpose": "Read-only view of statuses for authorized readers",
          "columns": [
            {
              "name": "archived_at",
              "type": "string",
              "nullable": true
            },
            {
              "name": "category",
              "type": "string",
              "nullable": true
            },
            {
              "name": "color",
              "type": "string",
              "nullable": true
            },
            {
              "name": "created_at",
              "type": "string",
              "nullable": true
            },
            {
              "name": "id",
              "type": "string",
              "nullable": true
            },
            {
              "name": "is_default",
              "type": "boolean",
              "nullable": true
            },
            {
              "name": "is_terminal",
              "type": "boolean",
              "nullable": true
            },
            {
              "name": "key",
              "type": "string",
              "nullable": true
            },
            {
              "name": "label",
              "type": "string",
              "nullable": true
            },
            {
              "name": "position",
              "type": "number",
              "nullable": true
            },
            {
              "name": "updated_at",
              "type": "string",
              "nullable": true
            }
          ]
        },
        {
          "name": "system_config",
          "domain": "misc",
          "purpose": "Read-only view of system config for authorized readers",
          "columns": [
            {
              "name": "key",
              "type": "string",
              "nullable": true
            },
            {
              "name": "updated_at",
              "type": "string",
              "nullable": true
            },
            {
              "name": "updated_by",
              "type": "string",
              "nullable": true
            },
            {
              "name": "value",
              "type": "Json",
              "nullable": true
            }
          ]
        },
        {
          "name": "ticket_analytics_assignee",
          "domain": "tickets",
          "purpose": "Read-only view of ticket analytics assignee for authorized readers",
          "columns": [
            {
              "name": "account_id",
              "type": "string",
              "nullable": true
            },
            {
              "name": "account_name",
              "type": "string",
              "nullable": true
            },
            {
              "name": "assignee_email",
              "type": "string",
              "nullable": true
            },
            {
              "name": "assignee_id",
              "type": "string",
              "nullable": true
            },
            {
              "name": "assignee_label",
              "type": "string",
              "nullable": true
            },
            {
              "name": "first_seen",
              "type": "string",
              "nullable": true
            },
            {
              "name": "last_seen",
              "type": "string",
              "nullable": true
            },
            {
              "name": "open",
              "type": "number",
              "nullable": true
            },
            {
              "name": "resolved",
              "type": "boolean",
              "nullable": true
            },
            {
              "name": "terminal",
              "type": "number",
              "nullable": true
            },
            {
              "name": "tickets",
              "type": "number",
              "nullable": true
            }
          ]
        },
        {
          "name": "ticket_analytics_by_account",
          "domain": "tickets",
          "purpose": "Read-only view of ticket analytics by account for authorized readers",
          "columns": [
            {
              "name": "account_id",
              "type": "string",
              "nullable": true
            },
            {
              "name": "account_name",
              "type": "string",
              "nullable": true
            },
            {
              "name": "booked_value_usd",
              "type": "number",
              "nullable": true
            },
            {
              "name": "core",
              "type": "boolean",
              "nullable": true
            },
            {
              "name": "distinct_assignees",
              "type": "number",
              "nullable": true
            },
            {
              "name": "engagements",
              "type": "number",
              "nullable": true
            },
            {
              "name": "engagements_closed",
              "type": "number",
              "nullable": true
            },
            {
              "name": "engagements_pursuit",
              "type": "number",
              "nullable": true
            },
            {
              "name": "engagements_sold",
              "type": "number",
              "nullable": true
            },
            {
              "name": "first_seen",
              "type": "string",
              "nullable": true
            },
            {
              "name": "gap_no_engagement",
              "type": "boolean",
              "nullable": true
            },
            {
              "name": "gap_no_lifecycle",
              "type": "boolean",
              "nullable": true
            },
            {
              "name": "gap_stale_active",
              "type": "boolean",
              "nullable": true
            },
            {
              "name": "in_progress",
              "type": "number",
              "nullable": true
            },
            {
              "name": "internal",
              "type": "boolean",
              "nullable": true
            },
            {
              "name": "last_seen",
              "type": "string",
              "nullable": true
            },
            {
              "name": "lifecycle_status",
              "type": "string",
              "nullable": true
            },
            {
              "name": "projects",
              "type": "number",
              "nullable": true
            },
            {
              "name": "terminal",
              "type": "number",
              "nullable": true
            },
            {
              "name": "terminal_pct",
              "type": "number",
              "nullable": true
            },
            {
              "name": "tickets",
              "type": "number",
              "nullable": true
            },
            {
              "name": "todo",
              "type": "number",
              "nullable": true
            }
          ]
        },
        {
          "name": "ticket_analytics_by_project",
          "domain": "tickets",
          "purpose": "Read-only view of ticket analytics by project for authorized readers",
          "columns": [
            {
              "name": "account_engagements",
              "type": "number",
              "nullable": true
            },
            {
              "name": "account_id",
              "type": "string",
              "nullable": true
            },
            {
              "name": "account_name",
              "type": "string",
              "nullable": true
            },
            {
              "name": "core",
              "type": "boolean",
              "nullable": true
            },
            {
              "name": "distinct_assignees",
              "type": "number",
              "nullable": true
            },
            {
              "name": "first_seen",
              "type": "string",
              "nullable": true
            },
            {
              "name": "in_progress",
              "type": "number",
              "nullable": true
            },
            {
              "name": "last_seen",
              "type": "string",
              "nullable": true
            },
            {
              "name": "lifecycle_status",
              "type": "string",
              "nullable": true
            },
            {
              "name": "project_id",
              "type": "string",
              "nullable": true
            },
            {
              "name": "project_key",
              "type": "string",
              "nullable": true
            },
            {
              "name": "project_name",
              "type": "string",
              "nullable": true
            },
            {
              "name": "terminal",
              "type": "number",
              "nullable": true
            },
            {
              "name": "terminal_pct",
              "type": "number",
              "nullable": true
            },
            {
              "name": "tickets",
              "type": "number",
              "nullable": true
            },
            {
              "name": "todo",
              "type": "number",
              "nullable": true
            }
          ]
        },
        {
          "name": "ticket_analytics_monthly",
          "domain": "tickets",
          "purpose": "Read-only view of ticket analytics monthly for authorized readers",
          "columns": [
            {
              "name": "account_id",
              "type": "string",
              "nullable": true
            },
            {
              "name": "account_name",
              "type": "string",
              "nullable": true
            },
            {
              "name": "created",
              "type": "number",
              "nullable": true
            },
            {
              "name": "created_terminal",
              "type": "number",
              "nullable": true
            },
            {
              "name": "month",
              "type": "string",
              "nullable": true
            },
            {
              "name": "project_key",
              "type": "string",
              "nullable": true
            },
            {
              "name": "same_month_resolved",
              "type": "number",
              "nullable": true
            }
          ]
        },
        {
          "name": "ticket_analytics_totals",
          "domain": "tickets",
          "purpose": "Read-only view of ticket analytics totals for authorized readers",
          "columns": [
            {
              "name": "accounts",
              "type": "number",
              "nullable": true
            },
            {
              "name": "first_seen",
              "type": "string",
              "nullable": true
            },
            {
              "name": "from_jira",
              "type": "number",
              "nullable": true
            },
            {
              "name": "imported",
              "type": "number",
              "nullable": true
            },
            {
              "name": "in_progress",
              "type": "number",
              "nullable": true
            },
            {
              "name": "last_seen",
              "type": "string",
              "nullable": true
            },
            {
              "name": "open",
              "type": "number",
              "nullable": true
            },
            {
              "name": "projects",
              "type": "number",
              "nullable": true
            },
            {
              "name": "terminal",
              "type": "number",
              "nullable": true
            },
            {
              "name": "tickets",
              "type": "number",
              "nullable": true
            }
          ]
        },
        {
          "name": "ticket_attachments",
          "domain": "tickets",
          "purpose": "Read-only view of ticket attachments for authorized readers",
          "columns": [
            {
              "name": "account_id",
              "type": "string",
              "nullable": true
            },
            {
              "name": "created_at",
              "type": "string",
              "nullable": true
            },
            {
              "name": "external_id",
              "type": "string",
              "nullable": true
            },
            {
              "name": "external_metadata",
              "type": "Json",
              "nullable": true
            },
            {
              "name": "external_source",
              "type": "string",
              "nullable": true
            },
            {
              "name": "external_url",
              "type": "string",
              "nullable": true
            },
            {
              "name": "filename",
              "type": "string",
              "nullable": true
            },
            {
              "name": "id",
              "type": "string",
              "nullable": true
            },
            {
              "name": "mime_type",
              "type": "string",
              "nullable": true
            },
            {
              "name": "size_bytes",
              "type": "number",
              "nullable": true
            },
            {
              "name": "storage_path",
              "type": "string",
              "nullable": true
            },
            {
              "name": "ticket_id",
              "type": "string",
              "nullable": true
            },
            {
              "name": "updated_at",
              "type": "string",
              "nullable": true
            }
          ]
        },
        {
          "name": "ticket_comments",
          "domain": "tickets",
          "purpose": "Read-only view of ticket comments for authorized readers",
          "columns": [
            {
              "name": "author",
              "type": "Json",
              "nullable": true
            },
            {
              "name": "author_email",
              "type": "string",
              "nullable": true
            },
            {
              "name": "author_id",
              "type": "string",
              "nullable": true
            },
            {
              "name": "body",
              "type": "Json",
              "nullable": true
            },
            {
              "name": "body_format",
              "type": "string",
              "nullable": true
            },
            {
              "name": "created_at",
              "type": "string",
              "nullable": true
            },
            {
              "name": "external_id",
              "type": "string",
              "nullable": true
            },
            {
              "name": "external_metadata",
              "type": "Json",
              "nullable": true
            },
            {
              "name": "external_source",
              "type": "string",
              "nullable": true
            },
            {
              "name": "external_url",
              "type": "string",
              "nullable": true
            },
            {
              "name": "id",
              "type": "string",
              "nullable": true
            },
            {
              "name": "ticket_id",
              "type": "string",
              "nullable": true
            },
            {
              "name": "updated_at",
              "type": "string",
              "nullable": true
            }
          ]
        },
        {
          "name": "ticket_history",
          "domain": "tickets",
          "purpose": "Read-only view of ticket history for authorized readers",
          "columns": [
            {
              "name": "actor",
              "type": "Json",
              "nullable": true
            },
            {
              "name": "actor_email",
              "type": "string",
              "nullable": true
            },
            {
              "name": "actor_id",
              "type": "string",
              "nullable": true
            },
            {
              "name": "change",
              "type": "Json",
              "nullable": true
            },
            {
              "name": "changed_at",
              "type": "string",
              "nullable": true
            },
            {
              "name": "external_id",
              "type": "string",
              "nullable": true
            },
            {
              "name": "external_metadata",
              "type": "Json",
              "nullable": true
            },
            {
              "name": "external_source",
              "type": "string",
              "nullable": true
            },
            {
              "name": "id",
              "type": "string",
              "nullable": true
            },
            {
              "name": "ticket_id",
              "type": "string",
              "nullable": true
            }
          ]
        },
        {
          "name": "ticket_import_log",
          "domain": "tickets",
          "purpose": "Read-only view of ticket import log for authorized readers",
          "columns": [
            {
              "name": "action",
              "type": "string",
              "nullable": true
            },
            {
              "name": "actor_id",
              "type": "string",
              "nullable": true
            },
            {
              "name": "created_at",
              "type": "string",
              "nullable": true
            },
            {
              "name": "external_id",
              "type": "string",
              "nullable": true
            },
            {
              "name": "external_source",
              "type": "string",
              "nullable": true
            },
            {
              "name": "id",
              "type": "number",
              "nullable": true
            },
            {
              "name": "original_assignee_email",
              "type": "string",
              "nullable": true
            },
            {
              "name": "original_reporter_email",
              "type": "string",
              "nullable": true
            },
            {
              "name": "reason",
              "type": "string",
              "nullable": true
            },
            {
              "name": "resolved_assignee_id",
              "type": "string",
              "nullable": true
            },
            {
              "name": "resolved_reporter_id",
              "type": "string",
              "nullable": true
            },
            {
              "name": "run_id",
              "type": "string",
              "nullable": true
            },
            {
              "name": "source_updated_at",
              "type": "string",
              "nullable": true
            },
            {
              "name": "ticket_id",
              "type": "string",
              "nullable": true
            }
          ]
        },
        {
          "name": "ticket_links",
          "domain": "tickets",
          "purpose": "Read-only view of ticket links for authorized readers",
          "columns": [
            {
              "name": "created_at",
              "type": "string",
              "nullable": true
            },
            {
              "name": "id",
              "type": "string",
              "nullable": true
            },
            {
              "name": "link_type",
              "type": "string",
              "nullable": true
            },
            {
              "name": "source",
              "type": "Json",
              "nullable": true
            },
            {
              "name": "source_ticket_id",
              "type": "string",
              "nullable": true
            },
            {
              "name": "target",
              "type": "Json",
              "nullable": true
            },
            {
              "name": "target_key",
              "type": "string",
              "nullable": true
            },
            {
              "name": "target_kind",
              "type": "string",
              "nullable": true
            },
            {
              "name": "target_ticket_id",
              "type": "string",
              "nullable": true
            }
          ]
        },
        {
          "name": "ticket_project_rollups",
          "domain": "tickets",
          "purpose": "Read-only view of ticket project rollups for authorized readers",
          "columns": [
            {
              "name": "account_id",
              "type": "string",
              "nullable": true
            },
            {
              "name": "account_internal",
              "type": "boolean",
              "nullable": true
            },
            {
              "name": "account_lifecycle_status",
              "type": "string",
              "nullable": true
            },
            {
              "name": "account_name",
              "type": "string",
              "nullable": true
            },
            {
              "name": "blocked_count",
              "type": "number",
              "nullable": true
            },
            {
              "name": "done_7d_count",
              "type": "number",
              "nullable": true
            },
            {
              "name": "engagement_id",
              "type": "string",
              "nullable": true
            },
            {
              "name": "engagement_key",
              "type": "string",
              "nullable": true
            },
            {
              "name": "engagement_name",
              "type": "string",
              "nullable": true
            },
            {
              "name": "engagement_status",
              "type": "string",
              "nullable": true
            },
            {
              "name": "in_progress_count",
              "type": "number",
              "nullable": true
            },
            {
              "name": "in_review_count",
              "type": "number",
              "nullable": true
            },
            {
              "name": "last_activity_at",
              "type": "string",
              "nullable": true
            },
            {
              "name": "last_synced_at",
              "type": "string",
              "nullable": true
            },
            {
              "name": "open_count",
              "type": "number",
              "nullable": true
            },
            {
              "name": "open_epic_count",
              "type": "number",
              "nullable": true
            },
            {
              "name": "project_description",
              "type": "string",
              "nullable": true
            },
            {
              "name": "project_id",
              "type": "string",
              "nullable": true
            },
            {
              "name": "project_key",
              "type": "string",
              "nullable": true
            },
            {
              "name": "project_name",
              "type": "string",
              "nullable": true
            },
            {
              "name": "stale_14d_count",
              "type": "number",
              "nullable": true
            },
            {
              "name": "sync_state",
              "type": "string",
              "nullable": true
            },
            {
              "name": "todo_count",
              "type": "number",
              "nullable": true
            },
            {
              "name": "total_count",
              "type": "number",
              "nullable": true
            }
          ]
        },
        {
          "name": "ticket_worklogs",
          "domain": "tickets",
          "purpose": "Read-only view of ticket worklogs for authorized readers",
          "columns": [
            {
              "name": "account_id",
              "type": "string",
              "nullable": true
            },
            {
              "name": "active_role_id",
              "type": "string",
              "nullable": true
            },
            {
              "name": "actor_display_name",
              "type": "string",
              "nullable": true
            },
            {
              "name": "actor_email",
              "type": "string",
              "nullable": true
            },
            {
              "name": "actor_id",
              "type": "string",
              "nullable": true
            },
            {
              "name": "actor_kind",
              "type": "string",
              "nullable": true
            },
            {
              "name": "author",
              "type": "Json",
              "nullable": true
            },
            {
              "name": "created_at",
              "type": "string",
              "nullable": true
            },
            {
              "name": "description",
              "type": "string",
              "nullable": true
            },
            {
              "name": "ended_at",
              "type": "string",
              "nullable": true
            },
            {
              "name": "engagement_id",
              "type": "string",
              "nullable": true
            },
            {
              "name": "entry_date",
              "type": "string",
              "nullable": true
            },
            {
              "name": "external_id",
              "type": "string",
              "nullable": true
            },
            {
              "name": "external_metadata",
              "type": "Json",
              "nullable": true
            },
            {
              "name": "external_source",
              "type": "string",
              "nullable": true
            },
            {
              "name": "external_url",
              "type": "string",
              "nullable": true
            },
            {
              "name": "hours",
              "type": "number",
              "nullable": true
            },
            {
              "name": "id",
              "type": "string",
              "nullable": true
            },
            {
              "name": "invoice_external_id",
              "type": "string",
              "nullable": true
            },
            {
              "name": "invoiced",
              "type": "boolean",
              "nullable": true
            },
            {
              "name": "kind",
              "type": "string",
              "nullable": true
            },
            {
              "name": "source",
              "type": "string",
              "nullable": true
            },
            {
              "name": "started_at",
              "type": "string",
              "nullable": true
            },
            {
              "name": "tags",
              "type": "string[]",
              "nullable": true
            },
            {
              "name": "ticket",
              "type": "Json",
              "nullable": true
            },
            {
              "name": "ticket_id",
              "type": "string",
              "nullable": true
            },
            {
              "name": "timecard_id",
              "type": "string",
              "nullable": true
            },
            {
              "name": "updated_at",
              "type": "string",
              "nullable": true
            }
          ]
        },
        {
          "name": "tickets",
          "domain": "tickets",
          "purpose": "Read-only view of tickets for authorized readers",
          "columns": [
            {
              "name": "account",
              "type": "Json",
              "nullable": true
            },
            {
              "name": "archived_at",
              "type": "string",
              "nullable": true
            },
            {
              "name": "assignee",
              "type": "Json",
              "nullable": true
            },
            {
              "name": "assignee_email",
              "type": "string",
              "nullable": true
            },
            {
              "name": "assignee_id",
              "type": "string",
              "nullable": true
            },
            {
              "name": "body",
              "type": "Json",
              "nullable": true
            },
            {
              "name": "body_format",
              "type": "string",
              "nullable": true
            },
            {
              "name": "created_at",
              "type": "string",
              "nullable": true
            },
            {
              "name": "custom_fields",
              "type": "Json",
              "nullable": true
            },
            {
              "name": "display_key",
              "type": "string",
              "nullable": true
            },
            {
              "name": "external_id",
              "type": "string",
              "nullable": true
            },
            {
              "name": "external_key",
              "type": "string",
              "nullable": true
            },
            {
              "name": "external_metadata",
              "type": "Json",
              "nullable": true
            },
            {
              "name": "external_source",
              "type": "string",
              "nullable": true
            },
            {
              "name": "external_url",
              "type": "string",
              "nullable": true
            },
            {
              "name": "id",
              "type": "string",
              "nullable": true
            },
            {
              "name": "key",
              "type": "string",
              "nullable": true
            },
            {
              "name": "key_source",
              "type": "string",
              "nullable": true
            },
            {
              "name": "kind",
              "type": "string",
              "nullable": true
            },
            {
              "name": "parent_id",
              "type": "string",
              "nullable": true
            },
            {
              "name": "project",
              "type": "Json",
              "nullable": true
            },
            {
              "name": "project_id",
              "type": "string",
              "nullable": true
            },
            {
              "name": "reporter",
              "type": "Json",
              "nullable": true
            },
            {
              "name": "reporter_email",
              "type": "string",
              "nullable": true
            },
            {
              "name": "reporter_id",
              "type": "string",
              "nullable": true
            },
            {
              "name": "resolved_at",
              "type": "string",
              "nullable": true
            },
            {
              "name": "status",
              "type": "Json",
              "nullable": true
            },
            {
              "name": "status_id",
              "type": "string",
              "nullable": true
            },
            {
              "name": "title",
              "type": "string",
              "nullable": true
            },
            {
              "name": "updated_at",
              "type": "string",
              "nullable": true
            }
          ]
        },
        {
          "name": "time_entries",
          "domain": "time",
          "purpose": "Read-only view of time entries for authorized readers",
          "columns": [
            {
              "name": "account",
              "type": "Json",
              "nullable": true
            },
            {
              "name": "account_id",
              "type": "string",
              "nullable": true
            },
            {
              "name": "active_role",
              "type": "Json",
              "nullable": true
            },
            {
              "name": "active_role_id",
              "type": "string",
              "nullable": true
            },
            {
              "name": "actor_display_name",
              "type": "string",
              "nullable": true
            },
            {
              "name": "actor_email",
              "type": "string",
              "nullable": true
            },
            {
              "name": "actor_id",
              "type": "string",
              "nullable": true
            },
            {
              "name": "actor_kind",
              "type": "string",
              "nullable": true
            },
            {
              "name": "created_at",
              "type": "string",
              "nullable": true
            },
            {
              "name": "description",
              "type": "string",
              "nullable": true
            },
            {
              "name": "ended_at",
              "type": "string",
              "nullable": true
            },
            {
              "name": "engagement",
              "type": "Json",
              "nullable": true
            },
            {
              "name": "engagement_id",
              "type": "string",
              "nullable": true
            },
            {
              "name": "entry_date",
              "type": "string",
              "nullable": true
            },
            {
              "name": "external_id",
              "type": "string",
              "nullable": true
            },
            {
              "name": "external_metadata",
              "type": "Json",
              "nullable": true
            },
            {
              "name": "external_source",
              "type": "string",
              "nullable": true
            },
            {
              "name": "external_url",
              "type": "string",
              "nullable": true
            },
            {
              "name": "hours",
              "type": "number",
              "nullable": true
            },
            {
              "name": "id",
              "type": "string",
              "nullable": true
            },
            {
              "name": "invoice_external_id",
              "type": "string",
              "nullable": true
            },
            {
              "name": "invoiced",
              "type": "boolean",
              "nullable": true
            },
            {
              "name": "kind",
              "type": "string",
              "nullable": true
            },
            {
              "name": "source",
              "type": "string",
              "nullable": true
            },
            {
              "name": "started_at",
              "type": "string",
              "nullable": true
            },
            {
              "name": "tags",
              "type": "string[]",
              "nullable": true
            },
            {
              "name": "ticket",
              "type": "Json",
              "nullable": true
            },
            {
              "name": "ticket_id",
              "type": "string",
              "nullable": true
            },
            {
              "name": "timecard_id",
              "type": "string",
              "nullable": true
            },
            {
              "name": "timecard_status",
              "type": "string",
              "nullable": true
            },
            {
              "name": "updated_at",
              "type": "string",
              "nullable": true
            },
            {
              "name": "week_start",
              "type": "string",
              "nullable": true
            }
          ]
        },
        {
          "name": "time_logs",
          "domain": "time",
          "purpose": "Read-only view of time logs for authorized readers",
          "columns": [
            {
              "name": "account",
              "type": "Json",
              "nullable": true
            },
            {
              "name": "account_id",
              "type": "string",
              "nullable": true
            },
            {
              "name": "active_role",
              "type": "Json",
              "nullable": true
            },
            {
              "name": "active_role_id",
              "type": "string",
              "nullable": true
            },
            {
              "name": "billable_hours",
              "type": "number",
              "nullable": true
            },
            {
              "name": "created_at",
              "type": "string",
              "nullable": true
            },
            {
              "name": "external_id",
              "type": "string",
              "nullable": true
            },
            {
              "name": "growth_hours",
              "type": "number",
              "nullable": true
            },
            {
              "name": "id",
              "type": "string",
              "nullable": true
            },
            {
              "name": "notes",
              "type": "string",
              "nullable": true
            },
            {
              "name": "source",
              "type": "string",
              "nullable": true
            },
            {
              "name": "total_hours",
              "type": "number",
              "nullable": true
            },
            {
              "name": "updated_at",
              "type": "string",
              "nullable": true
            },
            {
              "name": "week_start",
              "type": "string",
              "nullable": true
            }
          ]
        },
        {
          "name": "timecard_adjustments",
          "domain": "time",
          "purpose": "Read-only view of timecard adjustments for authorized readers",
          "columns": [
            {
              "name": "can_approve",
              "type": "boolean",
              "nullable": true
            },
            {
              "name": "created_at",
              "type": "string",
              "nullable": true
            },
            {
              "name": "entry_count",
              "type": "number",
              "nullable": true
            },
            {
              "name": "id",
              "type": "string",
              "nullable": true
            },
            {
              "name": "reason",
              "type": "string",
              "nullable": true
            },
            {
              "name": "requested_at",
              "type": "string",
              "nullable": true
            },
            {
              "name": "requested_by",
              "type": "string",
              "nullable": true
            },
            {
              "name": "requester",
              "type": "Json",
              "nullable": true
            },
            {
              "name": "review_note",
              "type": "string",
              "nullable": true
            },
            {
              "name": "reviewed_at",
              "type": "string",
              "nullable": true
            },
            {
              "name": "reviewed_by",
              "type": "string",
              "nullable": true
            },
            {
              "name": "reviewer",
              "type": "Json",
              "nullable": true
            },
            {
              "name": "status",
              "type": "string",
              "nullable": true
            },
            {
              "name": "timecard",
              "type": "Json",
              "nullable": true
            },
            {
              "name": "timecard_id",
              "type": "string",
              "nullable": true
            },
            {
              "name": "updated_at",
              "type": "string",
              "nullable": true
            }
          ]
        },
        {
          "name": "timecards",
          "domain": "time",
          "purpose": "Read-only view of timecards for authorized readers",
          "columns": [
            {
              "name": "active_role",
              "type": "Json",
              "nullable": true
            },
            {
              "name": "active_role_id",
              "type": "string",
              "nullable": true
            },
            {
              "name": "approved_at",
              "type": "string",
              "nullable": true
            },
            {
              "name": "approved_by",
              "type": "string",
              "nullable": true
            },
            {
              "name": "approver",
              "type": "Json",
              "nullable": true
            },
            {
              "name": "billable_hours",
              "type": "number",
              "nullable": true
            },
            {
              "name": "can_approve",
              "type": "boolean",
              "nullable": true
            },
            {
              "name": "created_at",
              "type": "string",
              "nullable": true
            },
            {
              "name": "entry_count",
              "type": "number",
              "nullable": true
            },
            {
              "name": "growth_hours",
              "type": "number",
              "nullable": true
            },
            {
              "name": "id",
              "type": "string",
              "nullable": true
            },
            {
              "name": "internal_hours",
              "type": "number",
              "nullable": true
            },
            {
              "name": "pto_hours",
              "type": "number",
              "nullable": true
            },
            {
              "name": "rejected_at",
              "type": "string",
              "nullable": true
            },
            {
              "name": "rejected_by",
              "type": "string",
              "nullable": true
            },
            {
              "name": "rejection_reason",
              "type": "string",
              "nullable": true
            },
            {
              "name": "status",
              "type": "string",
              "nullable": true
            },
            {
              "name": "submitted_at",
              "type": "string",
              "nullable": true
            },
            {
              "name": "total_hours",
              "type": "number",
              "nullable": true
            },
            {
              "name": "training_hours",
              "type": "number",
              "nullable": true
            },
            {
              "name": "updated_at",
              "type": "string",
              "nullable": true
            },
            {
              "name": "user",
              "type": "Json",
              "nullable": true
            },
            {
              "name": "user_id",
              "type": "string",
              "nullable": true
            },
            {
              "name": "week_start",
              "type": "string",
              "nullable": true
            }
          ]
        },
        {
          "name": "unmapped_jira_projects",
          "domain": "tickets",
          "purpose": "Read-only view of unmapped jira projects for authorized readers",
          "columns": [
            {
              "name": "first_seen",
              "type": "string",
              "nullable": true
            },
            {
              "name": "last_seen",
              "type": "string",
              "nullable": true
            },
            {
              "name": "open_tickets",
              "type": "number",
              "nullable": true
            },
            {
              "name": "project_key",
              "type": "string",
              "nullable": true
            },
            {
              "name": "tickets",
              "type": "number",
              "nullable": true
            }
          ]
        },
        {
          "name": "unmapped_statuses",
          "domain": "tickets",
          "purpose": "Read-only view of unmapped statuses for authorized readers",
          "columns": [
            {
              "name": "first_seen",
              "type": "string",
              "nullable": true
            },
            {
              "name": "gap_no_alias",
              "type": "boolean",
              "nullable": true
            },
            {
              "name": "gap_terminal_landed_open",
              "type": "boolean",
              "nullable": true
            },
            {
              "name": "landed_open",
              "type": "number",
              "nullable": true
            },
            {
              "name": "last_seen",
              "type": "string",
              "nullable": true
            },
            {
              "name": "resolved_status_key",
              "type": "string",
              "nullable": true
            },
            {
              "name": "source_status",
              "type": "string",
              "nullable": true
            },
            {
              "name": "tickets",
              "type": "number",
              "nullable": true
            }
          ]
        },
        {
          "name": "unresolved_people",
          "domain": "imports",
          "purpose": "Read-only view of unresolved people for authorized readers",
          "columns": [
            {
              "name": "display_name",
              "type": "string",
              "nullable": true
            },
            {
              "name": "external_source",
              "type": "string",
              "nullable": true
            },
            {
              "name": "jira_account_id",
              "type": "string",
              "nullable": true
            },
            {
              "name": "last_seen",
              "type": "string",
              "nullable": true
            },
            {
              "name": "matched_actor_id",
              "type": "string",
              "nullable": true
            },
            {
              "name": "matched_user_id",
              "type": "string",
              "nullable": true
            },
            {
              "name": "occurrences",
              "type": "number",
              "nullable": true
            },
            {
              "name": "resolved_occurrences",
              "type": "number",
              "nullable": true
            },
            {
              "name": "role",
              "type": "string",
              "nullable": true
            },
            {
              "name": "sample_external_key",
              "type": "string",
              "nullable": true
            },
            {
              "name": "source_email",
              "type": "string",
              "nullable": true
            }
          ]
        },
        {
          "name": "user_managers",
          "domain": "identity",
          "purpose": "Read-only view of user managers for authorized readers",
          "columns": [
            {
              "name": "created_at",
              "type": "string",
              "nullable": true
            },
            {
              "name": "created_by",
              "type": "string",
              "nullable": true
            },
            {
              "name": "is_primary",
              "type": "boolean",
              "nullable": true
            },
            {
              "name": "manager",
              "type": "Json",
              "nullable": true
            },
            {
              "name": "manager_user_id",
              "type": "string",
              "nullable": true
            },
            {
              "name": "note",
              "type": "string",
              "nullable": true
            },
            {
              "name": "user",
              "type": "Json",
              "nullable": true
            },
            {
              "name": "user_id",
              "type": "string",
              "nullable": true
            }
          ]
        },
        {
          "name": "users",
          "domain": "identity",
          "purpose": "Read-only view of users for authorized readers",
          "columns": [
            {
              "name": "display_name",
              "type": "string",
              "nullable": true
            },
            {
              "name": "email",
              "type": "string",
              "nullable": true
            },
            {
              "name": "id",
              "type": "string",
              "nullable": true
            },
            {
              "name": "is_active",
              "type": "boolean",
              "nullable": true
            },
            {
              "name": "is_admin",
              "type": "boolean",
              "nullable": true
            }
          ]
        },
        {
          "name": "work_summary_epics",
          "domain": "tickets",
          "purpose": "Read-only view of work summary epics for authorized readers",
          "columns": [
            {
              "name": "account_id",
              "type": "string",
              "nullable": true
            },
            {
              "name": "account_name",
              "type": "string",
              "nullable": true
            },
            {
              "name": "assignee_email",
              "type": "string",
              "nullable": true
            },
            {
              "name": "assignee_name",
              "type": "string",
              "nullable": true
            },
            {
              "name": "completion_pct",
              "type": "number",
              "nullable": true
            },
            {
              "name": "display_key",
              "type": "string",
              "nullable": true
            },
            {
              "name": "done_count",
              "type": "number",
              "nullable": true
            },
            {
              "name": "due_date",
              "type": "string",
              "nullable": true
            },
            {
              "name": "external_url",
              "type": "string",
              "nullable": true
            },
            {
              "name": "id",
              "type": "string",
              "nullable": true
            },
            {
              "name": "in_progress_count",
              "type": "number",
              "nullable": true
            },
            {
              "name": "key",
              "type": "string",
              "nullable": true
            },
            {
              "name": "key_source",
              "type": "string",
              "nullable": true
            },
            {
              "name": "last_activity_at",
              "type": "string",
              "nullable": true
            },
            {
              "name": "logged_hours",
              "type": "number",
              "nullable": true
            },
            {
              "name": "logged_hours_7d",
              "type": "number",
              "nullable": true
            },
            {
              "name": "priority",
              "type": "string",
              "nullable": true
            },
            {
              "name": "project_id",
              "type": "string",
              "nullable": true
            },
            {
              "name": "project_key",
              "type": "string",
              "nullable": true
            },
            {
              "name": "project_name",
              "type": "string",
              "nullable": true
            },
            {
              "name": "status_category",
              "type": "string",
              "nullable": true
            },
            {
              "name": "status_key",
              "type": "string",
              "nullable": true
            },
            {
              "name": "status_label",
              "type": "string",
              "nullable": true
            },
            {
              "name": "status_label_counts",
              "type": "Json",
              "nullable": true
            },
            {
              "name": "title",
              "type": "string",
              "nullable": true
            },
            {
              "name": "todo_count",
              "type": "number",
              "nullable": true
            },
            {
              "name": "total_children",
              "type": "number",
              "nullable": true
            },
            {
              "name": "workstream_assignee_name",
              "type": "string",
              "nullable": true
            },
            {
              "name": "workstream_display_key",
              "type": "string",
              "nullable": true
            },
            {
              "name": "workstream_due_date",
              "type": "string",
              "nullable": true
            },
            {
              "name": "workstream_id",
              "type": "string",
              "nullable": true
            },
            {
              "name": "workstream_key",
              "type": "string",
              "nullable": true
            },
            {
              "name": "workstream_priority",
              "type": "string",
              "nullable": true
            },
            {
              "name": "workstream_status_label",
              "type": "string",
              "nullable": true
            },
            {
              "name": "workstream_title",
              "type": "string",
              "nullable": true
            }
          ]
        },
        {
          "name": "work_summary_tickets",
          "domain": "tickets",
          "purpose": "Read-only view of work summary tickets for authorized readers",
          "columns": [
            {
              "name": "account_id",
              "type": "string",
              "nullable": true
            },
            {
              "name": "account_name",
              "type": "string",
              "nullable": true
            },
            {
              "name": "assignee_email",
              "type": "string",
              "nullable": true
            },
            {
              "name": "assignee_name",
              "type": "string",
              "nullable": true
            },
            {
              "name": "created_at",
              "type": "string",
              "nullable": true
            },
            {
              "name": "days_since_activity",
              "type": "number",
              "nullable": true
            },
            {
              "name": "display_key",
              "type": "string",
              "nullable": true
            },
            {
              "name": "due_date",
              "type": "string",
              "nullable": true
            },
            {
              "name": "epic_display_key",
              "type": "string",
              "nullable": true
            },
            {
              "name": "epic_id",
              "type": "string",
              "nullable": true
            },
            {
              "name": "epic_key",
              "type": "string",
              "nullable": true
            },
            {
              "name": "epic_title",
              "type": "string",
              "nullable": true
            },
            {
              "name": "external_url",
              "type": "string",
              "nullable": true
            },
            {
              "name": "id",
              "type": "string",
              "nullable": true
            },
            {
              "name": "key",
              "type": "string",
              "nullable": true
            },
            {
              "name": "key_source",
              "type": "string",
              "nullable": true
            },
            {
              "name": "kind",
              "type": "string",
              "nullable": true
            },
            {
              "name": "last_activity_at",
              "type": "string",
              "nullable": true
            },
            {
              "name": "priority",
              "type": "string",
              "nullable": true
            },
            {
              "name": "project_id",
              "type": "string",
              "nullable": true
            },
            {
              "name": "project_key",
              "type": "string",
              "nullable": true
            },
            {
              "name": "project_name",
              "type": "string",
              "nullable": true
            },
            {
              "name": "resolved_at",
              "type": "string",
              "nullable": true
            },
            {
              "name": "source_type",
              "type": "string",
              "nullable": true
            },
            {
              "name": "sprint_name",
              "type": "string",
              "nullable": true
            },
            {
              "name": "status_category",
              "type": "string",
              "nullable": true
            },
            {
              "name": "status_key",
              "type": "string",
              "nullable": true
            },
            {
              "name": "status_label",
              "type": "string",
              "nullable": true
            },
            {
              "name": "story_points",
              "type": "number",
              "nullable": true
            },
            {
              "name": "title",
              "type": "string",
              "nullable": true
            }
          ]
        },
        {
          "name": "workflow_specs",
          "domain": "adw",
          "purpose": "Read-only view of workflow specs for authorized readers",
          "columns": [
            {
              "name": "archived_at",
              "type": "string",
              "nullable": true
            },
            {
              "name": "base_template",
              "type": "string",
              "nullable": true
            },
            {
              "name": "created_at",
              "type": "string",
              "nullable": true
            },
            {
              "name": "description",
              "type": "string",
              "nullable": true
            },
            {
              "name": "id",
              "type": "string",
              "nullable": true
            },
            {
              "name": "inputs_schema",
              "type": "Json",
              "nullable": true
            },
            {
              "name": "is_built_in",
              "type": "boolean",
              "nullable": true
            },
            {
              "name": "owner_email",
              "type": "string",
              "nullable": true
            },
            {
              "name": "owner_id",
              "type": "string",
              "nullable": true
            },
            {
              "name": "sandbox_kind",
              "type": "string",
              "nullable": true
            },
            {
              "name": "slug",
              "type": "string",
              "nullable": true
            },
            {
              "name": "spec",
              "type": "Json",
              "nullable": true
            },
            {
              "name": "title",
              "type": "string",
              "nullable": true
            },
            {
              "name": "updated_at",
              "type": "string",
              "nullable": true
            },
            {
              "name": "visibility",
              "type": "string",
              "nullable": true
            }
          ]
        }
      ],
      "rpcs": [
        {
          "name": "_group_jsonb",
          "domain": "identity",
          "kind": "write",
          "purpose": "Return group jsonb data for authorized callers",
          "args": [
            {
              "name": "p_group_id",
              "type": "string",
              "required": true
            }
          ],
          "returns": "Json"
        },
        {
          "name": "_require_admin",
          "domain": "identity",
          "kind": "write",
          "purpose": "Return require admin data for authorized callers",
          "args": [],
          "returns": "void"
        },
        {
          "name": "_role_jsonb",
          "domain": "identity",
          "kind": "write",
          "purpose": "Return role jsonb data for authorized callers",
          "args": [
            {
              "name": "p_role_id",
              "type": "string",
              "required": true
            }
          ],
          "returns": "Json"
        },
        {
          "name": "_schedule_fire_trigger_id",
          "domain": "adw",
          "kind": "write",
          "purpose": "Return schedule fire trigger id data for authorized callers",
          "args": [
            {
              "name": "p_workflow_id",
              "type": "string",
              "required": true
            }
          ],
          "returns": "string"
        },
        {
          "name": "add_group_account",
          "domain": "accounts",
          "kind": "write",
          "purpose": "Add a group account record",
          "args": [
            {
              "name": "p_account_id",
              "type": "string",
              "required": true
            },
            {
              "name": "p_group_key",
              "type": "string",
              "required": true
            }
          ],
          "returns": "Json"
        },
        {
          "name": "add_group_member",
          "domain": "identity",
          "kind": "write",
          "purpose": "Add a group member record",
          "args": [
            {
              "name": "p_email",
              "type": "string",
              "required": true
            },
            {
              "name": "p_group_key",
              "type": "string",
              "required": true
            }
          ],
          "returns": "Json"
        },
        {
          "name": "agent_provision_user",
          "domain": "agent",
          "kind": "write",
          "purpose": "Return agent provision user data for authorized callers",
          "args": [
            {
              "name": "p_spend_limit_usd",
              "type": "number",
              "required": false
            },
            {
              "name": "p_user_id",
              "type": "string",
              "required": true
            }
          ],
          "returns": "void"
        },
        {
          "name": "append_page_comment",
          "domain": "kb",
          "kind": "write",
          "purpose": "Append a page comment record",
          "args": [
            {
              "name": "p_body",
              "type": "Json",
              "required": true
            },
            {
              "name": "p_body_format",
              "type": "string",
              "required": false
            },
            {
              "name": "p_page_key",
              "type": "string",
              "required": true
            }
          ],
          "returns": "setof page_comments"
        },
        {
          "name": "approve_timecard",
          "domain": "time",
          "kind": "write",
          "purpose": "Approve a pending timecard record",
          "args": [
            {
              "name": "p_id",
              "type": "string",
              "required": true
            }
          ],
          "returns": "setof timecards"
        },
        {
          "name": "approve_timecard_adjustment",
          "domain": "time",
          "kind": "write",
          "purpose": "Approve a pending timecard adjustment record",
          "args": [
            {
              "name": "p_id",
              "type": "string",
              "required": true
            },
            {
              "name": "p_review_note",
              "type": "string",
              "required": false
            }
          ],
          "returns": "setof timecard_adjustments"
        },
        {
          "name": "archive_account_github_repo",
          "domain": "accounts",
          "kind": "write",
          "purpose": "Archive or unarchive an existing account github repo record",
          "args": [
            {
              "name": "p_archive",
              "type": "boolean",
              "required": true
            },
            {
              "name": "p_id",
              "type": "string",
              "required": true
            }
          ],
          "returns": "void"
        },
        {
          "name": "archive_account_meeting_series",
          "domain": "accounts",
          "kind": "write",
          "purpose": "Archive or unarchive an existing account meeting series record",
          "args": [
            {
              "name": "p_archive",
              "type": "boolean",
              "required": true
            },
            {
              "name": "p_id",
              "type": "string",
              "required": true
            }
          ],
          "returns": "void"
        },
        {
          "name": "archive_account_sharepoint_site",
          "domain": "accounts",
          "kind": "write",
          "purpose": "Archive or unarchive an existing account sharepoint site record",
          "args": [
            {
              "name": "p_archive",
              "type": "boolean",
              "required": true
            },
            {
              "name": "p_id",
              "type": "string",
              "required": true
            }
          ],
          "returns": "void"
        },
        {
          "name": "archive_active_role",
          "domain": "identity",
          "kind": "write",
          "purpose": "Archive or unarchive an existing active role record",
          "args": [
            {
              "name": "p_archive",
              "type": "boolean",
              "required": true
            },
            {
              "name": "p_id",
              "type": "string",
              "required": true
            }
          ],
          "returns": "void"
        },
        {
          "name": "archive_agent_session",
          "domain": "agent",
          "kind": "write",
          "purpose": "Archive or unarchive an existing agent session record",
          "args": [
            {
              "name": "p_id",
              "type": "string",
              "required": true
            }
          ],
          "returns": "setof agent_sessions"
        },
        {
          "name": "archive_allocation",
          "domain": "time",
          "kind": "write",
          "purpose": "Archive or unarchive an existing allocation record",
          "args": [
            {
              "name": "p_id",
              "type": "string",
              "required": true
            }
          ],
          "returns": "void"
        },
        {
          "name": "archive_delivery_team",
          "domain": "misc",
          "kind": "write",
          "purpose": "Archive or unarchive an existing delivery team record",
          "args": [
            {
              "name": "p_archive",
              "type": "boolean",
              "required": true
            },
            {
              "name": "p_id",
              "type": "string",
              "required": true
            }
          ],
          "returns": "void"
        },
        {
          "name": "archive_edge",
          "domain": "misc",
          "kind": "write",
          "purpose": "Archive or unarchive an existing edge record",
          "args": [
            {
              "name": "p_edge_id",
              "type": "string",
              "required": true
            }
          ],
          "returns": "void"
        },
        {
          "name": "archive_engagement",
          "domain": "accounts",
          "kind": "write",
          "purpose": "Archive or unarchive an existing engagement record",
          "args": [
            {
              "name": "p_archive",
              "type": "boolean",
              "required": true
            },
            {
              "name": "p_id",
              "type": "string",
              "required": true
            }
          ],
          "returns": "void"
        },
        {
          "name": "archive_field",
          "domain": "misc",
          "kind": "write",
          "purpose": "Archive or unarchive an existing field record",
          "args": [
            {
              "name": "p_archive",
              "type": "boolean",
              "required": true
            },
            {
              "name": "p_id",
              "type": "string",
              "required": true
            }
          ],
          "returns": "void"
        },
        {
          "name": "archive_group",
          "domain": "identity",
          "kind": "write",
          "purpose": "Archive or unarchive an existing group record",
          "args": [
            {
              "name": "p_archive",
              "type": "boolean",
              "required": false
            },
            {
              "name": "p_key",
              "type": "string",
              "required": true
            }
          ],
          "returns": "Json"
        },
        {
          "name": "archive_project",
          "domain": "tickets",
          "kind": "write",
          "purpose": "Archive or unarchive an existing project record",
          "args": [
            {
              "name": "p_archive",
              "type": "boolean",
              "required": true
            },
            {
              "name": "p_id",
              "type": "string",
              "required": true
            }
          ],
          "returns": "setof projects"
        },
        {
          "name": "archive_role",
          "domain": "identity",
          "kind": "write",
          "purpose": "Archive or unarchive an existing role record",
          "args": [
            {
              "name": "p_archive",
              "type": "boolean",
              "required": false
            },
            {
              "name": "p_key",
              "type": "string",
              "required": true
            }
          ],
          "returns": "Json"
        },
        {
          "name": "archive_sow_role",
          "domain": "time",
          "kind": "write",
          "purpose": "Archive or unarchive an existing sow role record",
          "args": [
            {
              "name": "p_archive",
              "type": "boolean",
              "required": true
            },
            {
              "name": "p_id",
              "type": "string",
              "required": true
            }
          ],
          "returns": "void"
        },
        {
          "name": "archive_space",
          "domain": "kb",
          "kind": "write",
          "purpose": "Archive or unarchive an existing space record",
          "args": [
            {
              "name": "p_archive",
              "type": "boolean",
              "required": true
            },
            {
              "name": "p_id",
              "type": "string",
              "required": true
            }
          ],
          "returns": "void"
        },
        {
          "name": "archive_status",
          "domain": "tickets",
          "kind": "write",
          "purpose": "Archive or unarchive an existing status record",
          "args": [
            {
              "name": "p_archive",
              "type": "boolean",
              "required": true
            },
            {
              "name": "p_id",
              "type": "string",
              "required": true
            }
          ],
          "returns": "void"
        },
        {
          "name": "archive_ticket",
          "domain": "tickets",
          "kind": "write",
          "purpose": "Archive or unarchive an existing ticket record",
          "args": [
            {
              "name": "p_archive",
              "type": "boolean",
              "required": true
            },
            {
              "name": "p_id",
              "type": "string",
              "required": true
            }
          ],
          "returns": "setof tickets"
        },
        {
          "name": "archive_workflow_spec",
          "domain": "adw",
          "kind": "write",
          "purpose": "Archive or unarchive an existing workflow spec record",
          "args": [
            {
              "name": "p_id",
              "type": "string",
              "required": true
            }
          ],
          "returns": "setof workflow_specs"
        },
        {
          "name": "assert_edge",
          "domain": "misc",
          "kind": "write",
          "purpose": "Return assert edge data for authorized callers",
          "args": [
            {
              "name": "p_dst_key",
              "type": "string",
              "required": true
            },
            {
              "name": "p_dst_kind",
              "type": "string",
              "required": true
            },
            {
              "name": "p_edge_type",
              "type": "string",
              "required": true
            },
            {
              "name": "p_properties",
              "type": "Json",
              "required": false
            },
            {
              "name": "p_src_key",
              "type": "string",
              "required": true
            },
            {
              "name": "p_src_kind",
              "type": "string",
              "required": true
            },
            {
              "name": "p_weight",
              "type": "number",
              "required": false
            }
          ],
          "returns": "setof graph_edges"
        },
        {
          "name": "assign_user_role",
          "domain": "identity",
          "kind": "write",
          "purpose": "Assign a user role record",
          "args": [
            {
              "name": "p_email",
              "type": "string",
              "required": true
            },
            {
              "name": "p_role_key",
              "type": "string",
              "required": true
            }
          ],
          "returns": "Json"
        },
        {
          "name": "attach_run_to_event",
          "domain": "misc",
          "kind": "write",
          "purpose": "Attach a run to event record",
          "args": [
            {
              "name": "p_event_id",
              "type": "string",
              "required": true
            },
            {
              "name": "p_run_id",
              "type": "string",
              "required": true
            }
          ],
          "returns": "void"
        },
        {
          "name": "bdr_activate_calendar_config",
          "domain": "bdr",
          "kind": "write",
          "purpose": "Return bdr activate calendar config data for authorized callers",
          "args": [
            {
              "name": "p_id",
              "type": "string",
              "required": true
            }
          ],
          "returns": "setof bdr_calendar_configs"
        },
        {
          "name": "bdr_activate_persona",
          "domain": "bdr",
          "kind": "write",
          "purpose": "Return bdr activate persona data for authorized callers",
          "args": [
            {
              "name": "p_id",
              "type": "string",
              "required": true
            }
          ],
          "returns": "setof bdr_persona_configs"
        },
        {
          "name": "bdr_activate_realtime_config",
          "domain": "bdr",
          "kind": "write",
          "purpose": "Return bdr activate realtime config data for authorized callers",
          "args": [
            {
              "name": "p_id",
              "type": "string",
              "required": true
            }
          ],
          "returns": "setof bdr_realtime_configs"
        },
        {
          "name": "bdr_cancel_scheduled_call",
          "domain": "bdr",
          "kind": "write",
          "purpose": "Return bdr cancel scheduled call data for authorized callers",
          "args": [
            {
              "name": "p_id",
              "type": "string",
              "required": true
            }
          ],
          "returns": "void"
        },
        {
          "name": "bdr_create_calendar_version",
          "domain": "bdr",
          "kind": "write",
          "purpose": "Return bdr create calendar version data for authorized callers",
          "args": [
            {
              "name": "p_booking_url",
              "type": "string",
              "required": true
            },
            {
              "name": "p_calcom_event_type_id",
              "type": "string",
              "required": false
            },
            {
              "name": "p_headshot_url",
              "type": "string",
              "required": false
            },
            {
              "name": "p_min_prior_agent_turns",
              "type": "number",
              "required": false
            },
            {
              "name": "p_named_human",
              "type": "string",
              "required": false
            },
            {
              "name": "p_named_human_role",
              "type": "string",
              "required": false
            },
            {
              "name": "p_notes",
              "type": "string",
              "required": false
            },
            {
              "name": "p_provider",
              "type": "string",
              "required": false
            },
            {
              "name": "p_slots_days_ahead",
              "type": "number",
              "required": false
            },
            {
              "name": "p_slots_max",
              "type": "number",
              "required": false
            }
          ],
          "returns": "setof bdr_calendar_configs"
        },
        {
          "name": "bdr_create_persona_version",
          "domain": "bdr",
          "kind": "write",
          "purpose": "Return bdr create persona version data for authorized callers",
          "args": [
            {
              "name": "p_blocks",
              "type": "Json",
              "required": true
            },
            {
              "name": "p_notes",
              "type": "string",
              "required": false
            }
          ],
          "returns": "setof bdr_persona_configs"
        },
        {
          "name": "bdr_create_realtime_version",
          "domain": "bdr",
          "kind": "write",
          "purpose": "Return bdr create realtime version data for authorized callers",
          "args": [
            {
              "name": "p_modalities",
              "type": "string[]",
              "required": false
            },
            {
              "name": "p_model",
              "type": "string",
              "required": true
            },
            {
              "name": "p_notes",
              "type": "string",
              "required": false
            },
            {
              "name": "p_temperature",
              "type": "number",
              "required": true
            },
            {
              "name": "p_vad_eagerness",
              "type": "string",
              "required": true
            },
            {
              "name": "p_vad_type",
              "type": "string",
              "required": false
            },
            {
              "name": "p_voice",
              "type": "string",
              "required": true
            }
          ],
          "returns": "setof bdr_realtime_configs"
        },
        {
          "name": "bdr_delete_vignette",
          "domain": "bdr",
          "kind": "write",
          "purpose": "Return bdr delete vignette data for authorized callers",
          "args": [
            {
              "name": "p_id",
              "type": "string",
              "required": true
            }
          ],
          "returns": "void"
        },
        {
          "name": "bdr_events_by_day",
          "domain": "bdr",
          "kind": "write",
          "purpose": "Return bdr events by day data for authorized callers",
          "args": [
            {
              "name": "p_days",
              "type": "number",
              "required": false
            }
          ],
          "returns": "setof record (3 fields)"
        },
        {
          "name": "bdr_metrics_summary",
          "domain": "bdr",
          "kind": "write",
          "purpose": "Return bdr metrics summary data for authorized callers",
          "args": [
            {
              "name": "p_days",
              "type": "number",
              "required": false
            }
          ],
          "returns": "setof record (7 fields)"
        },
        {
          "name": "bdr_mint_precall_token",
          "domain": "bdr",
          "kind": "write",
          "purpose": "Return bdr mint precall token data for authorized callers",
          "args": [
            {
              "name": "p_company_domain",
              "type": "string",
              "required": false
            },
            {
              "name": "p_company_name",
              "type": "string",
              "required": false
            },
            {
              "name": "p_contact_email",
              "type": "string",
              "required": true
            },
            {
              "name": "p_contact_name",
              "type": "string",
              "required": false
            },
            {
              "name": "p_contact_title",
              "type": "string",
              "required": false
            },
            {
              "name": "p_expires_in_days",
              "type": "number",
              "required": false
            },
            {
              "name": "p_research_bundle",
              "type": "Json",
              "required": false
            },
            {
              "name": "p_scenario",
              "type": "string",
              "required": false
            }
          ],
          "returns": "setof bdr_precall_tokens"
        },
        {
          "name": "bdr_revoke_precall_token",
          "domain": "bdr",
          "kind": "write",
          "purpose": "Return bdr revoke precall token data for authorized callers",
          "args": [
            {
              "name": "p_id",
              "type": "string",
              "required": true
            }
          ],
          "returns": "void"
        },
        {
          "name": "bdr_schedule_call",
          "domain": "bdr",
          "kind": "write",
          "purpose": "Return bdr schedule call data for authorized callers",
          "args": [
            {
              "name": "p_contact_email",
              "type": "string",
              "required": false
            },
            {
              "name": "p_contact_name",
              "type": "string",
              "required": false
            },
            {
              "name": "p_notes",
              "type": "string",
              "required": false
            },
            {
              "name": "p_persona",
              "type": "Json",
              "required": false
            },
            {
              "name": "p_phone",
              "type": "string",
              "required": true
            },
            {
              "name": "p_scenario",
              "type": "string",
              "required": false
            },
            {
              "name": "p_scheduled_for",
              "type": "string",
              "required": true
            }
          ],
          "returns": "setof bdr_scheduled_calls"
        },
        {
          "name": "bdr_update_contact",
          "domain": "bdr",
          "kind": "write",
          "purpose": "Return bdr update contact data for authorized callers",
          "args": [
            {
              "name": "p_id",
              "type": "string",
              "required": true
            },
            {
              "name": "p_notes",
              "type": "string",
              "required": false
            },
            {
              "name": "p_status",
              "type": "string",
              "required": false
            }
          ],
          "returns": "setof bdr_contacts"
        },
        {
          "name": "bdr_upsert_vignette",
          "domain": "bdr",
          "kind": "write",
          "purpose": "Return bdr upsert vignette data for authorized callers",
          "args": [
            {
              "name": "p_anonymized_summary",
              "type": "string",
              "required": true
            },
            {
              "name": "p_id",
              "type": "string",
              "required": true
            },
            {
              "name": "p_problem_shape",
              "type": "string",
              "required": true
            },
            {
              "name": "p_status",
              "type": "string",
              "required": false
            },
            {
              "name": "p_tags",
              "type": "string[]",
              "required": false
            },
            {
              "name": "p_title",
              "type": "string",
              "required": true
            }
          ],
          "returns": "setof bdr_vignettes"
        },
        {
          "name": "bdr_vignette_tags",
          "domain": "bdr",
          "kind": "write",
          "purpose": "Return bdr vignette tags data for authorized callers",
          "args": [],
          "returns": "setof record (1 fields)"
        },
        {
          "name": "bulk_upsert_time_entries",
          "domain": "time",
          "kind": "write",
          "purpose": "Bulk-write upsert time entries record",
          "args": [
            {
              "name": "p_input",
              "type": "Json",
              "required": true
            }
          ],
          "returns": "number"
        },
        {
          "name": "bulk_upsert_time_logs",
          "domain": "time",
          "kind": "write",
          "purpose": "Bulk-write upsert time logs record",
          "args": [
            {
              "name": "p_input",
              "type": "Json",
              "required": true
            }
          ],
          "returns": "number"
        },
        {
          "name": "cancel_timecard_adjustment",
          "domain": "time",
          "kind": "write",
          "purpose": "Cancel a pending timecard adjustment record",
          "args": [
            {
              "name": "p_id",
              "type": "string",
              "required": true
            }
          ],
          "returns": "setof timecard_adjustments"
        },
        {
          "name": "claim_next_intents",
          "domain": "adw",
          "kind": "write",
          "purpose": "Claim the next next intents record",
          "args": [
            {
              "name": "p_limit",
              "type": "number",
              "required": false
            }
          ],
          "returns": "setof record (6 fields)"
        },
        {
          "name": "complete_intent",
          "domain": "adw",
          "kind": "write",
          "purpose": "Mark completion on a intent record",
          "args": [
            {
              "name": "p_backoff_seconds",
              "type": "number",
              "required": false
            },
            {
              "name": "p_error",
              "type": "string",
              "required": false
            },
            {
              "name": "p_intent_id",
              "type": "string",
              "required": true
            },
            {
              "name": "p_state",
              "type": "string",
              "required": true
            }
          ],
          "returns": "void"
        },
        {
          "name": "copy_my_time_entries",
          "domain": "time",
          "kind": "write",
          "purpose": "Return copy my time entries data for authorized callers",
          "args": [
            {
              "name": "p_dates",
              "type": "string[]",
              "required": true
            },
            {
              "name": "p_ids",
              "type": "string[]",
              "required": true
            }
          ],
          "returns": "setof time_entries"
        },
        {
          "name": "create_account",
          "domain": "accounts",
          "kind": "write",
          "purpose": "Create a new account record",
          "args": [
            {
              "name": "p_input",
              "type": "Json",
              "required": true
            }
          ],
          "returns": "setof accounts"
        },
        {
          "name": "create_field",
          "domain": "misc",
          "kind": "write",
          "purpose": "Create a new field record",
          "args": [
            {
              "name": "p_input",
              "type": "Json",
              "required": true
            }
          ],
          "returns": "setof fields"
        },
        {
          "name": "create_my_api_key",
          "domain": "misc",
          "kind": "write",
          "purpose": "Create a new my api key record",
          "args": [
            {
              "name": "p_expires_in_days",
              "type": "number",
              "required": false
            },
            {
              "name": "p_name",
              "type": "string",
              "required": true
            }
          ],
          "returns": "setof record (4 fields)"
        },
        {
          "name": "create_page",
          "domain": "kb",
          "kind": "write",
          "purpose": "Create a new page record",
          "args": [
            {
              "name": "p_kind",
              "type": "string",
              "required": false
            },
            {
              "name": "p_parent_id",
              "type": "string",
              "required": false
            },
            {
              "name": "p_project_id",
              "type": "string",
              "required": false
            },
            {
              "name": "p_space_id",
              "type": "string",
              "required": true
            },
            {
              "name": "p_status",
              "type": "string",
              "required": false
            },
            {
              "name": "p_title",
              "type": "string",
              "required": true
            }
          ],
          "returns": "setof pages"
        },
        {
          "name": "create_personal_ticket",
          "domain": "tickets",
          "kind": "write",
          "purpose": "Create a new personal ticket record",
          "args": [
            {
              "name": "p_body",
              "type": "Json",
              "required": false
            },
            {
              "name": "p_body_format",
              "type": "string",
              "required": false
            },
            {
              "name": "p_custom_fields",
              "type": "Json",
              "required": false
            },
            {
              "name": "p_kind",
              "type": "string",
              "required": false
            },
            {
              "name": "p_title",
              "type": "string",
              "required": true
            }
          ],
          "returns": "setof tickets"
        },
        {
          "name": "create_project",
          "domain": "tickets",
          "kind": "write",
          "purpose": "Create a new project record",
          "args": [
            {
              "name": "p_input",
              "type": "Json",
              "required": true
            }
          ],
          "returns": "setof projects"
        },
        {
          "name": "create_schedule",
          "domain": "adw",
          "kind": "write",
          "purpose": "Create a new schedule record",
          "args": [
            {
              "name": "p_input",
              "type": "Json",
              "required": true
            }
          ],
          "returns": "setof schedules"
        },
        {
          "name": "create_space",
          "domain": "kb",
          "kind": "write",
          "purpose": "Create a new space record",
          "args": [
            {
              "name": "p_input",
              "type": "Json",
              "required": true
            }
          ],
          "returns": "setof spaces"
        },
        {
          "name": "create_status",
          "domain": "tickets",
          "kind": "write",
          "purpose": "Create a new status record",
          "args": [
            {
              "name": "p_input",
              "type": "Json",
              "required": true
            }
          ],
          "returns": "setof statuses"
        },
        {
          "name": "create_ticket",
          "domain": "tickets",
          "kind": "write",
          "purpose": "Create a new ticket record",
          "args": [
            {
              "name": "p_assignee_id",
              "type": "string",
              "required": false
            },
            {
              "name": "p_body",
              "type": "Json",
              "required": false
            },
            {
              "name": "p_body_format",
              "type": "string",
              "required": false
            },
            {
              "name": "p_custom_fields",
              "type": "Json",
              "required": false
            },
            {
              "name": "p_kind",
              "type": "string",
              "required": false
            },
            {
              "name": "p_project_id",
              "type": "string",
              "required": true
            },
            {
              "name": "p_title",
              "type": "string",
              "required": true
            }
          ],
          "returns": "setof tickets"
        },
        {
          "name": "create_ticket_comment",
          "domain": "tickets",
          "kind": "write",
          "purpose": "Create a new ticket comment record",
          "args": [
            {
              "name": "p_body",
              "type": "Json",
              "required": true
            },
            {
              "name": "p_body_format",
              "type": "string",
              "required": false
            },
            {
              "name": "p_ticket_id",
              "type": "string",
              "required": true
            }
          ],
          "returns": "setof ticket_comments"
        },
        {
          "name": "create_timecard_adjustment",
          "domain": "time",
          "kind": "write",
          "purpose": "Create a new timecard adjustment record",
          "args": [
            {
              "name": "p_input",
              "type": "Json",
              "required": true
            }
          ],
          "returns": "setof timecard_adjustments"
        },
        {
          "name": "create_workflow_spec",
          "domain": "adw",
          "kind": "write",
          "purpose": "Create a new workflow spec record",
          "args": [
            {
              "name": "p_base_template",
              "type": "string",
              "required": false
            },
            {
              "name": "p_description",
              "type": "string",
              "required": false
            },
            {
              "name": "p_inputs_schema",
              "type": "Json",
              "required": false
            },
            {
              "name": "p_sandbox_kind",
              "type": "string",
              "required": true
            },
            {
              "name": "p_slug",
              "type": "string",
              "required": true
            },
            {
              "name": "p_spec",
              "type": "Json",
              "required": true
            },
            {
              "name": "p_title",
              "type": "string",
              "required": true
            },
            {
              "name": "p_visibility",
              "type": "string",
              "required": false
            }
          ],
          "returns": "setof workflow_specs"
        },
        {
          "name": "delete_engagement_milestone",
          "domain": "accounts",
          "kind": "write",
          "purpose": "Delete an existing engagement milestone record",
          "args": [
            {
              "name": "p_id",
              "type": "string",
              "required": true
            }
          ],
          "returns": "void"
        },
        {
          "name": "delete_engagement_phase",
          "domain": "accounts",
          "kind": "write",
          "purpose": "Delete an existing engagement phase record",
          "args": [
            {
              "name": "p_id",
              "type": "string",
              "required": true
            }
          ],
          "returns": "void"
        },
        {
          "name": "delete_engagement_rate",
          "domain": "time",
          "kind": "write",
          "purpose": "Delete an existing engagement rate record",
          "args": [
            {
              "name": "p_active_role_id",
              "type": "string",
              "required": true
            },
            {
              "name": "p_engagement_id",
              "type": "string",
              "required": true
            }
          ],
          "returns": "void"
        },
        {
          "name": "delete_my_time_entry",
          "domain": "time",
          "kind": "write",
          "purpose": "Delete an existing my time entry record",
          "args": [
            {
              "name": "p_id",
              "type": "string",
              "required": true
            }
          ],
          "returns": "void"
        },
        {
          "name": "delete_roadmap_milestone",
          "domain": "roadmap",
          "kind": "write",
          "purpose": "Delete an existing roadmap milestone record",
          "args": [
            {
              "name": "p_id",
              "type": "string",
              "required": true
            }
          ],
          "returns": "void"
        },
        {
          "name": "delete_role",
          "domain": "identity",
          "kind": "write",
          "purpose": "Delete an existing role record",
          "args": [
            {
              "name": "p_key",
              "type": "string",
              "required": true
            }
          ],
          "returns": "Json"
        },
        {
          "name": "delete_schedule",
          "domain": "adw",
          "kind": "write",
          "purpose": "Delete an existing schedule record",
          "args": [
            {
              "name": "p_schedule_id",
              "type": "string",
              "required": true
            }
          ],
          "returns": "void"
        },
        {
          "name": "delete_spawn_rule",
          "domain": "adw",
          "kind": "write",
          "purpose": "Delete an existing spawn rule record",
          "args": [
            {
              "name": "p_id",
              "type": "string",
              "required": true
            }
          ],
          "returns": "boolean"
        },
        {
          "name": "delete_time_entry",
          "domain": "time",
          "kind": "write",
          "purpose": "Delete an existing time entry record",
          "args": [
            {
              "name": "p_id",
              "type": "string",
              "required": true
            }
          ],
          "returns": "void"
        },
        {
          "name": "deprovision_user",
          "domain": "identity",
          "kind": "write",
          "purpose": "Return deprovision user data for authorized callers",
          "args": [
            {
              "name": "p_email",
              "type": "string",
              "required": true
            }
          ],
          "returns": "Json"
        },
        {
          "name": "ensure_node",
          "domain": "misc",
          "kind": "write",
          "purpose": "Return ensure node data for authorized callers",
          "args": [
            {
              "name": "p_key",
              "type": "string",
              "required": true
            },
            {
              "name": "p_kind",
              "type": "string",
              "required": true
            }
          ],
          "returns": "setof graph_nodes"
        },
        {
          "name": "fork_workflow_spec",
          "domain": "adw",
          "kind": "write",
          "purpose": "Fork an existing workflow spec record",
          "args": [
            {
              "name": "p_new_slug",
              "type": "string",
              "required": true
            },
            {
              "name": "p_new_title",
              "type": "string",
              "required": true
            },
            {
              "name": "p_source_id",
              "type": "string",
              "required": true
            }
          ],
          "returns": "setof workflow_specs"
        },
        {
          "name": "freeze_project",
          "domain": "tickets",
          "kind": "write",
          "purpose": "Return freeze project data for authorized callers",
          "args": [
            {
              "name": "p_key",
              "type": "string",
              "required": true
            }
          ],
          "returns": "void"
        },
        {
          "name": "freeze_space",
          "domain": "kb",
          "kind": "write",
          "purpose": "Return freeze space data for authorized callers",
          "args": [
            {
              "name": "p_key",
              "type": "string",
              "required": true
            }
          ],
          "returns": "void"
        },
        {
          "name": "get_backlinks",
          "domain": "misc",
          "kind": "read",
          "purpose": "Fetch a single backlinks data",
          "args": [
            {
              "name": "p_key",
              "type": "string",
              "required": true
            },
            {
              "name": "p_kind",
              "type": "string",
              "required": true
            },
            {
              "name": "p_limit",
              "type": "number",
              "required": false
            }
          ],
          "returns": "setof record (10 fields)"
        },
        {
          "name": "get_neighborhood",
          "domain": "misc",
          "kind": "read",
          "purpose": "Fetch a single neighborhood data",
          "args": [
            {
              "name": "p_confidence_floor",
              "type": "number",
              "required": false
            },
            {
              "name": "p_depth",
              "type": "number",
              "required": false
            },
            {
              "name": "p_edge_types",
              "type": "string[]",
              "required": false
            },
            {
              "name": "p_key",
              "type": "string",
              "required": true
            },
            {
              "name": "p_kind",
              "type": "string",
              "required": true
            },
            {
              "name": "p_limit",
              "type": "number",
              "required": false
            }
          ],
          "returns": "setof record (13 fields)"
        },
        {
          "name": "get_page_by_key",
          "domain": "kb",
          "kind": "read",
          "purpose": "Fetch a single page by key data",
          "args": [
            {
              "name": "p_key",
              "type": "string",
              "required": true
            }
          ],
          "returns": "setof record (15 fields)"
        },
        {
          "name": "get_ticket_by_any_key",
          "domain": "tickets",
          "kind": "read",
          "purpose": "Fetch a single ticket by any key data",
          "args": [
            {
              "name": "p_key",
              "type": "string",
              "required": true
            }
          ],
          "returns": "setof record (34 fields)"
        },
        {
          "name": "grant_account_access",
          "domain": "accounts",
          "kind": "write",
          "purpose": "Grant account access record",
          "args": [
            {
              "name": "p_account_id",
              "type": "string",
              "required": true
            },
            {
              "name": "p_email",
              "type": "string",
              "required": true
            }
          ],
          "returns": "Json"
        },
        {
          "name": "invalidate_agent_key",
          "domain": "agent",
          "kind": "write",
          "purpose": "Invalidate an existing agent key record",
          "args": [
            {
              "name": "p_user_id",
              "type": "string",
              "required": true
            }
          ],
          "returns": "void"
        },
        {
          "name": "issue_service_credential",
          "domain": "misc",
          "kind": "write",
          "purpose": "Issue a new service credential record",
          "args": [
            {
              "name": "p_expires_in_days",
              "type": "number",
              "required": false
            },
            {
              "name": "p_label",
              "type": "string",
              "required": false
            },
            {
              "name": "p_user_id",
              "type": "string",
              "required": true
            }
          ],
          "returns": "setof record (4 fields)"
        },
        {
          "name": "kb_embedding_health",
          "domain": "kb",
          "kind": "write",
          "purpose": "Return kb embedding health data for authorized callers",
          "args": [],
          "returns": "setof record (16 fields)"
        },
        {
          "name": "kb_embedding_queue",
          "domain": "kb",
          "kind": "write",
          "purpose": "Return kb embedding queue data for authorized callers",
          "args": [
            {
              "name": "p_limit",
              "type": "number",
              "required": false
            }
          ],
          "returns": "setof record (6 fields)"
        },
        {
          "name": "kb_graph",
          "domain": "graph",
          "kind": "write",
          "purpose": "Return kb graph data for authorized callers",
          "args": [
            {
              "name": "p_max_nodes",
              "type": "number",
              "required": false
            },
            {
              "name": "p_space_key",
              "type": "string",
              "required": false
            }
          ],
          "returns": "Json"
        },
        {
          "name": "kb_overview",
          "domain": "misc",
          "kind": "write",
          "purpose": "Return kb overview data for authorized callers",
          "args": [],
          "returns": "setof record (5 fields)"
        },
        {
          "name": "kb_semantic_pairs",
          "domain": "misc",
          "kind": "write",
          "purpose": "Return kb semantic pairs data for authorized callers",
          "args": [
            {
              "name": "p_limit",
              "type": "number",
              "required": false
            }
          ],
          "returns": "setof record (7 fields)"
        },
        {
          "name": "list_accounts",
          "domain": "accounts",
          "kind": "read",
          "purpose": "List accounts data",
          "args": [
            {
              "name": "p_include_archived",
              "type": "boolean",
              "required": false
            }
          ],
          "returns": "setof record (25 fields)"
        },
        {
          "name": "list_engagements",
          "domain": "accounts",
          "kind": "read",
          "purpose": "List engagements data",
          "args": [
            {
              "name": "p_include_archived",
              "type": "boolean",
              "required": false
            }
          ],
          "returns": "setof record (26 fields)"
        },
        {
          "name": "list_group_members",
          "domain": "identity",
          "kind": "read",
          "purpose": "List group members data",
          "args": [
            {
              "name": "p_group_key",
              "type": "string",
              "required": true
            }
          ],
          "returns": "Json[]"
        },
        {
          "name": "list_groups",
          "domain": "identity",
          "kind": "read",
          "purpose": "List groups data",
          "args": [
            {
              "name": "p_kind",
              "type": "string",
              "required": false
            }
          ],
          "returns": "Json[]"
        },
        {
          "name": "list_permissions",
          "domain": "identity",
          "kind": "read",
          "purpose": "List permissions data",
          "args": [],
          "returns": "Json[]"
        },
        {
          "name": "list_projects",
          "domain": "tickets",
          "kind": "read",
          "purpose": "List projects data",
          "args": [
            {
              "name": "p_include_archived",
              "type": "boolean",
              "required": false
            }
          ],
          "returns": "setof record (18 fields)"
        },
        {
          "name": "list_roles",
          "domain": "identity",
          "kind": "read",
          "purpose": "List roles data",
          "args": [
            {
              "name": "p_include_archived",
              "type": "boolean",
              "required": false
            }
          ],
          "returns": "Json[]"
        },
        {
          "name": "list_spaces",
          "domain": "kb",
          "kind": "read",
          "purpose": "List spaces data",
          "args": [
            {
              "name": "p_include_archived",
              "type": "boolean",
              "required": false
            }
          ],
          "returns": "setof record (16 fields)"
        },
        {
          "name": "list_tickets",
          "domain": "tickets",
          "kind": "read",
          "purpose": "List tickets data",
          "args": [
            {
              "name": "p_include_archived",
              "type": "boolean",
              "required": false
            }
          ],
          "returns": "setof record (38 fields)"
        },
        {
          "name": "list_user_access",
          "domain": "identity",
          "kind": "read",
          "purpose": "List user access data",
          "args": [
            {
              "name": "p_email",
              "type": "string",
              "required": true
            }
          ],
          "returns": "Json"
        },
        {
          "name": "list_user_access_summary",
          "domain": "identity",
          "kind": "read",
          "purpose": "List user access summary data",
          "args": [],
          "returns": "setof record (9 fields)"
        },
        {
          "name": "log_import_event",
          "domain": "imports",
          "kind": "write",
          "purpose": "Log a import event record",
          "args": [
            {
              "name": "p_action",
              "type": "string",
              "required": true
            },
            {
              "name": "p_external_id",
              "type": "string",
              "required": true
            },
            {
              "name": "p_external_source",
              "type": "string",
              "required": true
            },
            {
              "name": "p_original_author_email",
              "type": "string",
              "required": false
            },
            {
              "name": "p_page_id",
              "type": "string",
              "required": false
            },
            {
              "name": "p_reason",
              "type": "string",
              "required": true
            },
            {
              "name": "p_run_id",
              "type": "string",
              "required": true
            },
            {
              "name": "p_source_updated_at",
              "type": "string",
              "required": false
            },
            {
              "name": "p_source_version",
              "type": "number",
              "required": false
            }
          ],
          "returns": "void"
        },
        {
          "name": "log_kb_embedding_run",
          "domain": "kb",
          "kind": "write",
          "purpose": "Log a kb embedding run record",
          "args": [
            {
              "name": "p_anchors",
              "type": "number",
              "required": true
            },
            {
              "name": "p_failures",
              "type": "number",
              "required": true
            },
            {
              "name": "p_finished_at",
              "type": "string",
              "required": true
            },
            {
              "name": "p_model",
              "type": "string",
              "required": true
            },
            {
              "name": "p_note",
              "type": "string",
              "required": false
            },
            {
              "name": "p_pages",
              "type": "number",
              "required": true
            },
            {
              "name": "p_parked",
              "type": "number",
              "required": true
            },
            {
              "name": "p_sentinel_cosine",
              "type": "number",
              "required": false
            },
            {
              "name": "p_started_at",
              "type": "string",
              "required": true
            },
            {
              "name": "p_trigger_source",
              "type": "string",
              "required": true
            }
          ],
          "returns": "number"
        },
        {
          "name": "log_my_time",
          "domain": "time",
          "kind": "write",
          "purpose": "Log a my time record",
          "args": [
            {
              "name": "p_input",
              "type": "Json",
              "required": true
            }
          ],
          "returns": "setof time_entries"
        },
        {
          "name": "log_ticket_import_event",
          "domain": "tickets",
          "kind": "write",
          "purpose": "Log a ticket import event record",
          "args": [
            {
              "name": "p_action",
              "type": "string",
              "required": true
            },
            {
              "name": "p_external_id",
              "type": "string",
              "required": true
            },
            {
              "name": "p_external_source",
              "type": "string",
              "required": true
            },
            {
              "name": "p_reason",
              "type": "string",
              "required": true
            },
            {
              "name": "p_run_id",
              "type": "string",
              "required": true
            },
            {
              "name": "p_source_updated_at",
              "type": "string",
              "required": false
            },
            {
              "name": "p_ticket_id",
              "type": "string",
              "required": false
            }
          ],
          "returns": "void"
        },
        {
          "name": "log_ticket_time",
          "domain": "tickets",
          "kind": "write",
          "purpose": "Log a ticket time record",
          "args": [
            {
              "name": "p_input",
              "type": "Json",
              "required": true
            },
            {
              "name": "p_ticket_id",
              "type": "string",
              "required": true
            }
          ],
          "returns": "setof time_entries"
        },
        {
          "name": "map_jira_project_account",
          "domain": "tickets",
          "kind": "write",
          "purpose": "Map jira project account record",
          "args": [
            {
              "name": "p_account_id",
              "type": "string",
              "required": true
            },
            {
              "name": "p_project_key",
              "type": "string",
              "required": true
            }
          ],
          "returns": "setof record (4 fields)"
        },
        {
          "name": "mark_project_synced",
          "domain": "tickets",
          "kind": "write",
          "purpose": "Mark a project synced record",
          "args": [
            {
              "name": "p_key",
              "type": "string",
              "required": true
            },
            {
              "name": "p_synced_at",
              "type": "string",
              "required": true
            }
          ],
          "returns": "void"
        },
        {
          "name": "mark_space_synced",
          "domain": "kb",
          "kind": "write",
          "purpose": "Mark a space synced record",
          "args": [
            {
              "name": "p_key",
              "type": "string",
              "required": true
            },
            {
              "name": "p_synced_at",
              "type": "string",
              "required": true
            }
          ],
          "returns": "void"
        },
        {
          "name": "me",
          "domain": "identity",
          "kind": "read",
          "purpose": "Return current user identity, permissions, and RBAC state",
          "args": [],
          "returns": "setof record (8 fields)"
        },
        {
          "name": "merge_concepts",
          "domain": "misc",
          "kind": "write",
          "purpose": "Return merge concepts data for authorized callers",
          "args": [
            {
              "name": "p_loser_slug",
              "type": "string",
              "required": true
            },
            {
              "name": "p_winner_slug",
              "type": "string",
              "required": true
            }
          ],
          "returns": "setof graph_concepts"
        },
        {
          "name": "my_approval_scope",
          "domain": "misc",
          "kind": "write",
          "purpose": "Fetch the caller's approval scope record",
          "args": [],
          "returns": "setof record (3 fields)"
        },
        {
          "name": "pause_schedule",
          "domain": "adw",
          "kind": "write",
          "purpose": "Pause a schedule record",
          "args": [
            {
              "name": "p_note",
              "type": "string",
              "required": false
            },
            {
              "name": "p_schedule_id",
              "type": "string",
              "required": true
            }
          ],
          "returns": "setof schedules"
        },
        {
          "name": "persist_hub_registration",
          "domain": "adw",
          "kind": "write",
          "purpose": "Persist hub registration record",
          "args": [
            {
              "name": "p_input",
              "type": "Json",
              "required": true
            }
          ],
          "returns": "hub_registry row"
        },
        {
          "name": "provision_user",
          "domain": "identity",
          "kind": "write",
          "purpose": "Provision a user record",
          "args": [
            {
              "name": "p_active_role_id",
              "type": "string",
              "required": false
            },
            {
              "name": "p_display_name",
              "type": "string",
              "required": false
            },
            {
              "name": "p_email",
              "type": "string",
              "required": true
            },
            {
              "name": "p_groups",
              "type": "string[]",
              "required": false
            },
            {
              "name": "p_is_admin",
              "type": "boolean",
              "required": false
            }
          ],
          "returns": "Json"
        },
        {
          "name": "publish_workflow_spec",
          "domain": "adw",
          "kind": "write",
          "purpose": "Publish a workflow spec record",
          "args": [
            {
              "name": "p_id",
              "type": "string",
              "required": true
            }
          ],
          "returns": "setof workflow_specs"
        },
        {
          "name": "record_approval_decision",
          "domain": "misc",
          "kind": "write",
          "purpose": "Record a approval decision record",
          "args": [
            {
              "name": "p_approval_id",
              "type": "string",
              "required": true
            },
            {
              "name": "p_decision",
              "type": "string",
              "required": true
            },
            {
              "name": "p_session_id",
              "type": "string",
              "required": true
            },
            {
              "name": "p_tool_args",
              "type": "Json",
              "required": true
            },
            {
              "name": "p_tool_name",
              "type": "string",
              "required": true
            },
            {
              "name": "p_turn_id",
              "type": "string",
              "required": true
            }
          ],
          "returns": "void"
        },
        {
          "name": "record_bridge_heartbeat",
          "domain": "misc",
          "kind": "write",
          "purpose": "Record a bridge heartbeat record",
          "args": [
            {
              "name": "p_input",
              "type": "Json",
              "required": false
            }
          ],
          "returns": "void"
        },
        {
          "name": "record_kb_sentinel_check",
          "domain": "misc",
          "kind": "write",
          "purpose": "Record a kb sentinel check record",
          "args": [
            {
              "name": "p_cosine",
              "type": "number",
              "required": true
            },
            {
              "name": "p_embedding",
              "type": "string",
              "required": true
            },
            {
              "name": "p_label",
              "type": "string",
              "required": true
            },
            {
              "name": "p_model",
              "type": "string",
              "required": false
            },
            {
              "name": "p_text",
              "type": "string",
              "required": true
            }
          ],
          "returns": "void"
        },
        {
          "name": "record_schedule_run",
          "domain": "adw",
          "kind": "write",
          "purpose": "Record a schedule run record",
          "args": [
            {
              "name": "p_input",
              "type": "Json",
              "required": true
            }
          ],
          "returns": "string"
        },
        {
          "name": "record_schedule_sync",
          "domain": "adw",
          "kind": "write",
          "purpose": "Record a schedule sync record",
          "args": [
            {
              "name": "p_input",
              "type": "Json",
              "required": true
            }
          ],
          "returns": "void"
        },
        {
          "name": "reject_timecard",
          "domain": "time",
          "kind": "write",
          "purpose": "Reject a pending timecard record",
          "args": [
            {
              "name": "p_id",
              "type": "string",
              "required": true
            },
            {
              "name": "p_reason",
              "type": "string",
              "required": true
            }
          ],
          "returns": "setof timecards"
        },
        {
          "name": "reject_timecard_adjustment",
          "domain": "time",
          "kind": "write",
          "purpose": "Reject a pending timecard adjustment record",
          "args": [
            {
              "name": "p_id",
              "type": "string",
              "required": true
            },
            {
              "name": "p_review_note",
              "type": "string",
              "required": true
            }
          ],
          "returns": "setof timecard_adjustments"
        },
        {
          "name": "related_pages",
          "domain": "kb",
          "kind": "write",
          "purpose": "Return related pages data for authorized callers",
          "args": [
            {
              "name": "p_limit",
              "type": "number",
              "required": false
            },
            {
              "name": "p_page_id",
              "type": "string",
              "required": true
            }
          ],
          "returns": "setof record (5 fields)"
        },
        {
          "name": "release_kb_drain_lease",
          "domain": "misc",
          "kind": "write",
          "purpose": "Return release kb drain lease data for authorized callers",
          "args": [
            {
              "name": "p_holder",
              "type": "string",
              "required": true
            }
          ],
          "returns": "void"
        },
        {
          "name": "relink_external_parents",
          "domain": "misc",
          "kind": "write",
          "purpose": "Relink external parents record",
          "args": [
            {
              "name": "p_external_source",
              "type": "string",
              "required": true
            }
          ],
          "returns": "setof record (2 fields)"
        },
        {
          "name": "relink_kb_parents",
          "domain": "misc",
          "kind": "write",
          "purpose": "Relink kb parents record",
          "args": [
            {
              "name": "p_external_source",
              "type": "string",
              "required": true
            },
            {
              "name": "p_links",
              "type": "Json",
              "required": true
            }
          ],
          "returns": "setof record (3 fields)"
        },
        {
          "name": "remove_engagement_manager",
          "domain": "accounts",
          "kind": "write",
          "purpose": "Remove a engagement manager record",
          "args": [
            {
              "name": "p_engagement_id",
              "type": "string",
              "required": true
            },
            {
              "name": "p_manager_user_id",
              "type": "string",
              "required": true
            }
          ],
          "returns": "void"
        },
        {
          "name": "remove_group_account",
          "domain": "accounts",
          "kind": "write",
          "purpose": "Remove a group account record",
          "args": [
            {
              "name": "p_account_id",
              "type": "string",
              "required": true
            },
            {
              "name": "p_group_key",
              "type": "string",
              "required": true
            }
          ],
          "returns": "Json"
        },
        {
          "name": "remove_group_member",
          "domain": "identity",
          "kind": "write",
          "purpose": "Remove a group member record",
          "args": [
            {
              "name": "p_email",
              "type": "string",
              "required": true
            },
            {
              "name": "p_group_key",
              "type": "string",
              "required": true
            }
          ],
          "returns": "Json"
        },
        {
          "name": "remove_purge_suppression",
          "domain": "misc",
          "kind": "write",
          "purpose": "Remove a purge suppression record",
          "args": [
            {
              "name": "p_id",
              "type": "number",
              "required": true
            }
          ],
          "returns": "void"
        },
        {
          "name": "remove_user_manager",
          "domain": "identity",
          "kind": "write",
          "purpose": "Remove a user manager record",
          "args": [
            {
              "name": "p_manager_user_id",
              "type": "string",
              "required": true
            },
            {
              "name": "p_user_id",
              "type": "string",
              "required": true
            }
          ],
          "returns": "void"
        },
        {
          "name": "rename_account",
          "domain": "accounts",
          "kind": "write",
          "purpose": "Rename an existing account record",
          "args": [
            {
              "name": "p_new_id",
              "type": "string",
              "required": true
            },
            {
              "name": "p_old_id",
              "type": "string",
              "required": true
            }
          ],
          "returns": "setof accounts"
        },
        {
          "name": "rename_agent_session",
          "domain": "agent",
          "kind": "write",
          "purpose": "Rename an existing agent session record",
          "args": [
            {
              "name": "p_id",
              "type": "string",
              "required": true
            },
            {
              "name": "p_title",
              "type": "string",
              "required": true
            }
          ],
          "returns": "setof agent_sessions"
        },
        {
          "name": "reopen_timecard",
          "domain": "time",
          "kind": "write",
          "purpose": "Reopen a timecard record",
          "args": [
            {
              "name": "p_id",
              "type": "string",
              "required": true
            },
            {
              "name": "p_reason",
              "type": "string",
              "required": true
            }
          ],
          "returns": "setof timecards"
        },
        {
          "name": "reorder_roles",
          "domain": "identity",
          "kind": "write",
          "purpose": "Return reorder roles data for authorized callers",
          "args": [
            {
              "name": "p_keys",
              "type": "string[]",
              "required": true
            }
          ],
          "returns": "Json[]"
        },
        {
          "name": "replace_node_metrics",
          "domain": "misc",
          "kind": "write",
          "purpose": "Return replace node metrics data for authorized callers",
          "args": [
            {
              "name": "p_rows",
              "type": "Json",
              "required": true
            }
          ],
          "returns": "number"
        },
        {
          "name": "report_kb_embed_failure",
          "domain": "kb",
          "kind": "write",
          "purpose": "Return report kb embed failure data for authorized callers",
          "args": [
            {
              "name": "p_error",
              "type": "string",
              "required": true
            },
            {
              "name": "p_page_id",
              "type": "string",
              "required": true
            }
          ],
          "returns": "void"
        },
        {
          "name": "resolve_api_credential",
          "domain": "misc",
          "kind": "read",
          "purpose": "Resolve a api credential data",
          "args": [
            {
              "name": "p_key",
              "type": "string",
              "required": true
            }
          ],
          "returns": "string"
        },
        {
          "name": "resolve_api_principal",
          "domain": "misc",
          "kind": "read",
          "purpose": "Resolve a api principal data",
          "args": [
            {
              "name": "p_key",
              "type": "string",
              "required": true
            }
          ],
          "returns": "Json"
        },
        {
          "name": "resolve_status",
          "domain": "tickets",
          "kind": "read",
          "purpose": "Resolve a status data",
          "args": [
            {
              "name": "p_source_label",
              "type": "string",
              "required": true
            },
            {
              "name": "p_source_system",
              "type": "string",
              "required": true
            },
            {
              "name": "p_status_category",
              "type": "string",
              "required": true
            }
          ],
          "returns": "string"
        },
        {
          "name": "resolve_status_alias",
          "domain": "tickets",
          "kind": "read",
          "purpose": "Resolve a status alias data",
          "args": [
            {
              "name": "p_source_label",
              "type": "string",
              "required": true
            },
            {
              "name": "p_source_system",
              "type": "string",
              "required": true
            }
          ],
          "returns": "string"
        },
        {
          "name": "resolve_ticket_people",
          "domain": "tickets",
          "kind": "read",
          "purpose": "Resolve a ticket people data",
          "args": [
            {
              "name": "p_assignee_email",
              "type": "string",
              "required": false
            },
            {
              "name": "p_reporter_email",
              "type": "string",
              "required": false
            },
            {
              "name": "p_ticket_id",
              "type": "string",
              "required": true
            }
          ],
          "returns": "setof tickets"
        },
        {
          "name": "retention_queue",
          "domain": "misc",
          "kind": "write",
          "purpose": "Return retention queue data for authorized callers",
          "args": [],
          "returns": "setof record (9 fields)"
        },
        {
          "name": "retry_intent",
          "domain": "adw",
          "kind": "write",
          "purpose": "Retry a intent record",
          "args": [
            {
              "name": "p_intent_id",
              "type": "string",
              "required": true
            }
          ],
          "returns": "void"
        },
        {
          "name": "revoke_account_access",
          "domain": "accounts",
          "kind": "write",
          "purpose": "Revoke account access record",
          "args": [
            {
              "name": "p_account_id",
              "type": "string",
              "required": true
            },
            {
              "name": "p_email",
              "type": "string",
              "required": true
            }
          ],
          "returns": "Json"
        },
        {
          "name": "revoke_my_api_key",
          "domain": "misc",
          "kind": "write",
          "purpose": "Revoke my api key record",
          "args": [
            {
              "name": "p_id",
              "type": "string",
              "required": true
            }
          ],
          "returns": "void"
        },
        {
          "name": "revoke_service_credential",
          "domain": "misc",
          "kind": "write",
          "purpose": "Revoke service credential record",
          "args": [
            {
              "name": "p_id",
              "type": "string",
              "required": true
            }
          ],
          "returns": "void"
        },
        {
          "name": "revoke_user_role",
          "domain": "identity",
          "kind": "write",
          "purpose": "Revoke user role record",
          "args": [
            {
              "name": "p_email",
              "type": "string",
              "required": true
            },
            {
              "name": "p_role_key",
              "type": "string",
              "required": true
            }
          ],
          "returns": "Json"
        },
        {
          "name": "run_purge",
          "domain": "misc",
          "kind": "write",
          "purpose": "Return run purge data for authorized callers",
          "args": [
            {
              "name": "p_dry_run",
              "type": "boolean",
              "required": false
            }
          ],
          "returns": "Json"
        },
        {
          "name": "sandbox_cost_by_account_day",
          "domain": "adw",
          "kind": "write",
          "purpose": "Return sandbox cost by account day data for authorized callers",
          "args": [
            {
              "name": "p_from",
              "type": "string",
              "required": true
            },
            {
              "name": "p_to",
              "type": "string",
              "required": true
            }
          ],
          "returns": "setof record (6 fields)"
        },
        {
          "name": "sandbox_cost_by_template_day",
          "domain": "adw",
          "kind": "write",
          "purpose": "Return sandbox cost by template day data for authorized callers",
          "args": [
            {
              "name": "p_from",
              "type": "string",
              "required": true
            },
            {
              "name": "p_to",
              "type": "string",
              "required": true
            }
          ],
          "returns": "setof record (5 fields)"
        },
        {
          "name": "save_account_brief",
          "domain": "accounts",
          "kind": "write",
          "purpose": "Save a account brief record",
          "args": [
            {
              "name": "p_account_id",
              "type": "string",
              "required": true
            },
            {
              "name": "p_bullets",
              "type": "Json",
              "required": true
            },
            {
              "name": "p_context",
              "type": "Json",
              "required": false
            },
            {
              "name": "p_health",
              "type": "string",
              "required": false
            },
            {
              "name": "p_kind",
              "type": "string",
              "required": true
            },
            {
              "name": "p_model",
              "type": "string",
              "required": false
            }
          ],
          "returns": "setof account_briefs"
        },
        {
          "name": "save_kb_page_summary",
          "domain": "kb",
          "kind": "write",
          "purpose": "Save a kb page summary record",
          "args": [
            {
              "name": "p_bullets",
              "type": "Json",
              "required": true
            },
            {
              "name": "p_markdown",
              "type": "string",
              "required": true
            },
            {
              "name": "p_model",
              "type": "string",
              "required": false
            },
            {
              "name": "p_page_id",
              "type": "string",
              "required": true
            },
            {
              "name": "p_page_version",
              "type": "number",
              "required": true
            }
          ],
          "returns": "setof kb_page_summaries"
        },
        {
          "name": "save_page_version",
          "domain": "kb",
          "kind": "write",
          "purpose": "Save a page version record",
          "args": [
            {
              "name": "p_body",
              "type": "Json",
              "required": true
            },
            {
              "name": "p_change_note",
              "type": "string",
              "required": false
            },
            {
              "name": "p_content_format",
              "type": "string",
              "required": false
            },
            {
              "name": "p_page_id",
              "type": "string",
              "required": true
            }
          ],
          "returns": "setof page_versions"
        },
        {
          "name": "search_pages",
          "domain": "kb",
          "kind": "read",
          "purpose": "Search pages data",
          "args": [
            {
              "name": "p_embedding",
              "type": "string",
              "required": false
            },
            {
              "name": "p_limit",
              "type": "number",
              "required": false
            },
            {
              "name": "p_q",
              "type": "string",
              "required": true
            },
            {
              "name": "p_space_key",
              "type": "string",
              "required": false
            }
          ],
          "returns": "setof record (6 fields)"
        },
        {
          "name": "set_account_archive_state",
          "domain": "accounts",
          "kind": "write",
          "purpose": "Set the account archive state record",
          "args": [
            {
              "name": "p_id",
              "type": "string",
              "required": true
            },
            {
              "name": "p_state",
              "type": "string",
              "required": true
            }
          ],
          "returns": "Json"
        },
        {
          "name": "set_anchor_embedding",
          "domain": "kb",
          "kind": "write",
          "purpose": "Set the anchor embedding record",
          "args": [
            {
              "name": "p_anchor_id",
              "type": "string",
              "required": true
            },
            {
              "name": "p_embedding",
              "type": "string",
              "required": true
            },
            {
              "name": "p_model",
              "type": "string",
              "required": false
            },
            {
              "name": "p_observed_updated_at",
              "type": "string",
              "required": false
            }
          ],
          "returns": "void"
        },
        {
          "name": "set_cascade_mode",
          "domain": "misc",
          "kind": "write",
          "purpose": "Set the cascade mode record",
          "args": [
            {
              "name": "p_mode",
              "type": "string",
              "required": true
            }
          ],
          "returns": "Json"
        },
        {
          "name": "set_concept_status",
          "domain": "tickets",
          "kind": "write",
          "purpose": "Set the concept status record",
          "args": [
            {
              "name": "p_slug",
              "type": "string",
              "required": true
            },
            {
              "name": "p_status",
              "type": "string",
              "required": true
            }
          ],
          "returns": "setof graph_concepts"
        },
        {
          "name": "set_engagement_archive_state",
          "domain": "accounts",
          "kind": "write",
          "purpose": "Set the engagement archive state record",
          "args": [
            {
              "name": "p_id",
              "type": "string",
              "required": true
            },
            {
              "name": "p_state",
              "type": "string",
              "required": true
            }
          ],
          "returns": "Json"
        },
        {
          "name": "set_group_accounts",
          "domain": "accounts",
          "kind": "write",
          "purpose": "Set the group accounts record",
          "args": [
            {
              "name": "p_account_ids",
              "type": "string[]",
              "required": true
            },
            {
              "name": "p_group_key",
              "type": "string",
              "required": true
            }
          ],
          "returns": "Json"
        },
        {
          "name": "set_group_members",
          "domain": "identity",
          "kind": "write",
          "purpose": "Set the group members record",
          "args": [
            {
              "name": "p_emails",
              "type": "string[]",
              "required": true
            },
            {
              "name": "p_group_key",
              "type": "string",
              "required": true
            }
          ],
          "returns": "Json"
        },
        {
          "name": "set_page_archive_state",
          "domain": "kb",
          "kind": "write",
          "purpose": "Set the page archive state record",
          "args": [
            {
              "name": "p_id",
              "type": "string",
              "required": true
            },
            {
              "name": "p_state",
              "type": "string",
              "required": true
            }
          ],
          "returns": "Json"
        },
        {
          "name": "set_page_embedding",
          "domain": "kb",
          "kind": "write",
          "purpose": "Set the page embedding record",
          "args": [
            {
              "name": "p_embedding",
              "type": "string",
              "required": true
            },
            {
              "name": "p_model",
              "type": "string",
              "required": false
            },
            {
              "name": "p_observed_updated_at",
              "type": "string",
              "required": false
            },
            {
              "name": "p_page_id",
              "type": "string",
              "required": true
            }
          ],
          "returns": "void"
        },
        {
          "name": "set_project_archive_state",
          "domain": "tickets",
          "kind": "write",
          "purpose": "Set the project archive state record",
          "args": [
            {
              "name": "p_id",
              "type": "string",
              "required": true
            },
            {
              "name": "p_state",
              "type": "string",
              "required": true
            }
          ],
          "returns": "Json"
        },
        {
          "name": "set_rbac_enforced",
          "domain": "misc",
          "kind": "write",
          "purpose": "Set the rbac enforced record",
          "args": [
            {
              "name": "p_enabled",
              "type": "boolean",
              "required": true
            }
          ],
          "returns": "Json"
        },
        {
          "name": "set_role_accounts",
          "domain": "accounts",
          "kind": "write",
          "purpose": "Set the role accounts record",
          "args": [
            {
              "name": "p_account_ids",
              "type": "string[]",
              "required": true
            },
            {
              "name": "p_role_key",
              "type": "string",
              "required": true
            }
          ],
          "returns": "Json"
        },
        {
          "name": "set_role_permissions",
          "domain": "identity",
          "kind": "write",
          "purpose": "Set the role permissions record",
          "args": [
            {
              "name": "p_permission_keys",
              "type": "string[]",
              "required": true
            },
            {
              "name": "p_role_key",
              "type": "string",
              "required": true
            }
          ],
          "returns": "Json"
        },
        {
          "name": "set_space_archive_state",
          "domain": "kb",
          "kind": "write",
          "purpose": "Set the space archive state record",
          "args": [
            {
              "name": "p_id",
              "type": "string",
              "required": true
            },
            {
              "name": "p_state",
              "type": "string",
              "required": true
            }
          ],
          "returns": "Json"
        },
        {
          "name": "set_status_alias",
          "domain": "tickets",
          "kind": "write",
          "purpose": "Set the status alias record",
          "args": [
            {
              "name": "p_internal_status_key",
              "type": "string",
              "required": true
            },
            {
              "name": "p_source_label",
              "type": "string",
              "required": true
            },
            {
              "name": "p_source_system",
              "type": "string",
              "required": false
            }
          ],
          "returns": "setof record (6 fields)"
        },
        {
          "name": "set_ticket_archive_state",
          "domain": "tickets",
          "kind": "write",
          "purpose": "Set the ticket archive state record",
          "args": [
            {
              "name": "p_id",
              "type": "string",
              "required": true
            },
            {
              "name": "p_state",
              "type": "string",
              "required": true
            }
          ],
          "returns": "Json"
        },
        {
          "name": "set_user_admin",
          "domain": "identity",
          "kind": "write",
          "purpose": "Set the user admin record",
          "args": [
            {
              "name": "p_email",
              "type": "string",
              "required": true
            },
            {
              "name": "p_is_admin",
              "type": "boolean",
              "required": true
            }
          ],
          "returns": "Json"
        },
        {
          "name": "set_user_manager",
          "domain": "identity",
          "kind": "write",
          "purpose": "Set the user manager record",
          "args": [
            {
              "name": "p_is_primary",
              "type": "boolean",
              "required": false
            },
            {
              "name": "p_manager_user_id",
              "type": "string",
              "required": true
            },
            {
              "name": "p_note",
              "type": "string",
              "required": false
            },
            {
              "name": "p_user_id",
              "type": "string",
              "required": true
            }
          ],
          "returns": "setof user_managers"
        },
        {
          "name": "set_user_roles",
          "domain": "identity",
          "kind": "write",
          "purpose": "Set the user roles record",
          "args": [
            {
              "name": "p_email",
              "type": "string",
              "required": true
            },
            {
              "name": "p_role_keys",
              "type": "string[]",
              "required": true
            }
          ],
          "returns": "Json"
        },
        {
          "name": "start_agent_session",
          "domain": "agent",
          "kind": "write",
          "purpose": "Start a new agent session record",
          "args": [
            {
              "name": "p_title",
              "type": "string",
              "required": false
            }
          ],
          "returns": "setof agent_sessions"
        },
        {
          "name": "submit_timecard",
          "domain": "time",
          "kind": "write",
          "purpose": "Submit a timecard record",
          "args": [
            {
              "name": "p_id",
              "type": "string",
              "required": true
            }
          ],
          "returns": "setof timecards"
        },
        {
          "name": "suggest_schedule_id",
          "domain": "adw",
          "kind": "read",
          "purpose": "Suggest a schedule id data",
          "args": [
            {
              "name": "p_base",
              "type": "string",
              "required": false
            },
            {
              "name": "p_kind",
              "type": "string",
              "required": true
            }
          ],
          "returns": "string"
        },
        {
          "name": "tag_page",
          "domain": "kb",
          "kind": "write",
          "purpose": "Return tag page data for authorized callers",
          "args": [
            {
              "name": "p_label",
              "type": "string",
              "required": true
            },
            {
              "name": "p_page_key",
              "type": "string",
              "required": true
            }
          ],
          "returns": "setof graph_edges"
        },
        {
          "name": "toggle_spawn_rule",
          "domain": "adw",
          "kind": "write",
          "purpose": "Toggle a spawn rule record",
          "args": [
            {
              "name": "p_enabled",
              "type": "boolean",
              "required": true
            },
            {
              "name": "p_id",
              "type": "string",
              "required": true
            }
          ],
          "returns": "setof spawn_rules"
        },
        {
          "name": "trigger_schedule",
          "domain": "adw",
          "kind": "write",
          "purpose": "Manually trigger a schedule record",
          "args": [
            {
              "name": "p_schedule_id",
              "type": "string",
              "required": true
            }
          ],
          "returns": "string"
        },
        {
          "name": "try_acquire_kb_drain_lease",
          "domain": "misc",
          "kind": "write",
          "purpose": "Return try acquire kb drain lease data for authorized callers",
          "args": [
            {
              "name": "p_holder",
              "type": "string",
              "required": true
            },
            {
              "name": "p_ttl_seconds",
              "type": "number",
              "required": false
            }
          ],
          "returns": "boolean"
        },
        {
          "name": "unfreeze_project",
          "domain": "tickets",
          "kind": "write",
          "purpose": "Return unfreeze project data for authorized callers",
          "args": [
            {
              "name": "p_key",
              "type": "string",
              "required": true
            }
          ],
          "returns": "void"
        },
        {
          "name": "unfreeze_space",
          "domain": "kb",
          "kind": "write",
          "purpose": "Return unfreeze space data for authorized callers",
          "args": [
            {
              "name": "p_key",
              "type": "string",
              "required": true
            }
          ],
          "returns": "void"
        },
        {
          "name": "unpause_schedule",
          "domain": "adw",
          "kind": "write",
          "purpose": "Resume a schedule record",
          "args": [
            {
              "name": "p_note",
              "type": "string",
              "required": false
            },
            {
              "name": "p_schedule_id",
              "type": "string",
              "required": true
            }
          ],
          "returns": "setof schedules"
        },
        {
          "name": "unsubmit_timecard",
          "domain": "time",
          "kind": "write",
          "purpose": "Unsubmit a timecard record",
          "args": [
            {
              "name": "p_id",
              "type": "string",
              "required": true
            }
          ],
          "returns": "setof timecards"
        },
        {
          "name": "update_account",
          "domain": "accounts",
          "kind": "write",
          "purpose": "Update an existing account record",
          "args": [
            {
              "name": "p_id",
              "type": "string",
              "required": true
            },
            {
              "name": "p_patch",
              "type": "Json",
              "required": true
            }
          ],
          "returns": "setof accounts"
        },
        {
          "name": "update_engagement",
          "domain": "accounts",
          "kind": "write",
          "purpose": "Update an existing engagement record",
          "args": [
            {
              "name": "p_id",
              "type": "string",
              "required": true
            },
            {
              "name": "p_patch",
              "type": "Json",
              "required": true
            }
          ],
          "returns": "setof engagements"
        },
        {
          "name": "update_field",
          "domain": "misc",
          "kind": "write",
          "purpose": "Update an existing field record",
          "args": [
            {
              "name": "p_id",
              "type": "string",
              "required": true
            },
            {
              "name": "p_patch",
              "type": "Json",
              "required": true
            }
          ],
          "returns": "setof fields"
        },
        {
          "name": "update_page",
          "domain": "kb",
          "kind": "write",
          "purpose": "Update an existing page record",
          "args": [
            {
              "name": "p_id",
              "type": "string",
              "required": true
            },
            {
              "name": "p_patch",
              "type": "Json",
              "required": true
            }
          ],
          "returns": "setof pages"
        },
        {
          "name": "update_project",
          "domain": "tickets",
          "kind": "write",
          "purpose": "Update an existing project record",
          "args": [
            {
              "name": "p_id",
              "type": "string",
              "required": true
            },
            {
              "name": "p_patch",
              "type": "Json",
              "required": true
            }
          ],
          "returns": "setof projects"
        },
        {
          "name": "update_schedule",
          "domain": "adw",
          "kind": "write",
          "purpose": "Update an existing schedule record",
          "args": [
            {
              "name": "p_patch",
              "type": "Json",
              "required": true
            },
            {
              "name": "p_schedule_id",
              "type": "string",
              "required": true
            }
          ],
          "returns": "setof schedules"
        },
        {
          "name": "update_space",
          "domain": "kb",
          "kind": "write",
          "purpose": "Update an existing space record",
          "args": [
            {
              "name": "p_id",
              "type": "string",
              "required": true
            },
            {
              "name": "p_patch",
              "type": "Json",
              "required": true
            }
          ],
          "returns": "setof spaces"
        },
        {
          "name": "update_status",
          "domain": "tickets",
          "kind": "write",
          "purpose": "Update an existing status record",
          "args": [
            {
              "name": "p_id",
              "type": "string",
              "required": true
            },
            {
              "name": "p_patch",
              "type": "Json",
              "required": true
            }
          ],
          "returns": "setof statuses"
        },
        {
          "name": "update_system_config",
          "domain": "misc",
          "kind": "write",
          "purpose": "Update an existing system config record",
          "args": [
            {
              "name": "p_key",
              "type": "string",
              "required": true
            },
            {
              "name": "p_value",
              "type": "Json",
              "required": true
            }
          ],
          "returns": "setof system_config"
        },
        {
          "name": "update_ticket",
          "domain": "tickets",
          "kind": "write",
          "purpose": "Update an existing ticket record",
          "args": [
            {
              "name": "p_id",
              "type": "string",
              "required": true
            },
            {
              "name": "p_patch",
              "type": "Json",
              "required": true
            }
          ],
          "returns": "setof tickets"
        },
        {
          "name": "update_workflow_spec",
          "domain": "adw",
          "kind": "write",
          "purpose": "Update an existing workflow spec record",
          "args": [
            {
              "name": "p_id",
              "type": "string",
              "required": true
            },
            {
              "name": "p_patch",
              "type": "Json",
              "required": true
            }
          ],
          "returns": "setof workflow_specs"
        },
        {
          "name": "upsert_account_github_repo",
          "domain": "accounts",
          "kind": "write",
          "purpose": "Insert or update a account github repo record",
          "args": [
            {
              "name": "p_account_id",
              "type": "string",
              "required": true
            },
            {
              "name": "p_input",
              "type": "Json",
              "required": true
            }
          ],
          "returns": "string"
        },
        {
          "name": "upsert_account_meeting_series",
          "domain": "accounts",
          "kind": "write",
          "purpose": "Insert or update a account meeting series record",
          "args": [
            {
              "name": "p_account_id",
              "type": "string",
              "required": true
            },
            {
              "name": "p_input",
              "type": "Json",
              "required": true
            }
          ],
          "returns": "string"
        },
        {
          "name": "upsert_account_sharepoint_site",
          "domain": "accounts",
          "kind": "write",
          "purpose": "Insert or update a account sharepoint site record",
          "args": [
            {
              "name": "p_account_id",
              "type": "string",
              "required": true
            },
            {
              "name": "p_input",
              "type": "Json",
              "required": true
            }
          ],
          "returns": "string"
        },
        {
          "name": "upsert_active_role",
          "domain": "identity",
          "kind": "write",
          "purpose": "Insert or update a active role record",
          "args": [
            {
              "name": "p_input",
              "type": "Json",
              "required": true
            }
          ],
          "returns": "setof active_roles"
        },
        {
          "name": "upsert_actor",
          "domain": "identity",
          "kind": "write",
          "purpose": "Insert or update a actor record",
          "args": [
            {
              "name": "p_input",
              "type": "Json",
              "required": true
            }
          ],
          "returns": "setof actors"
        },
        {
          "name": "upsert_allocation",
          "domain": "time",
          "kind": "write",
          "purpose": "Insert or update a allocation record",
          "args": [
            {
              "name": "p_input",
              "type": "Json",
              "required": true
            }
          ],
          "returns": "setof allocations"
        },
        {
          "name": "upsert_delivery_team",
          "domain": "misc",
          "kind": "write",
          "purpose": "Insert or update a delivery team record",
          "args": [
            {
              "name": "p_account_id",
              "type": "string",
              "required": true
            },
            {
              "name": "p_input",
              "type": "Json",
              "required": true
            }
          ],
          "returns": "string"
        },
        {
          "name": "upsert_directory_user",
          "domain": "identity",
          "kind": "write",
          "purpose": "Insert or update a directory user record",
          "args": [
            {
              "name": "p_input",
              "type": "Json",
              "required": true
            }
          ],
          "returns": "setof directory_users"
        },
        {
          "name": "upsert_engagement",
          "domain": "accounts",
          "kind": "write",
          "purpose": "Insert or update a engagement record",
          "args": [
            {
              "name": "p_input",
              "type": "Json",
              "required": true
            }
          ],
          "returns": "setof engagements"
        },
        {
          "name": "upsert_engagement_manager",
          "domain": "accounts",
          "kind": "write",
          "purpose": "Insert or update a engagement manager record",
          "args": [
            {
              "name": "p_can_approve_time",
              "type": "boolean",
              "required": false
            },
            {
              "name": "p_engagement_id",
              "type": "string",
              "required": true
            },
            {
              "name": "p_manager_user_id",
              "type": "string",
              "required": true
            },
            {
              "name": "p_note",
              "type": "string",
              "required": false
            }
          ],
          "returns": "setof engagement_managers"
        },
        {
          "name": "upsert_engagement_milestone",
          "domain": "accounts",
          "kind": "write",
          "purpose": "Insert or update a engagement milestone record",
          "args": [
            {
              "name": "p_input",
              "type": "Json",
              "required": true
            }
          ],
          "returns": "setof engagement_milestones"
        },
        {
          "name": "upsert_engagement_phase",
          "domain": "accounts",
          "kind": "write",
          "purpose": "Insert or update a engagement phase record",
          "args": [
            {
              "name": "p_input",
              "type": "Json",
              "required": true
            }
          ],
          "returns": "setof engagement_phases"
        },
        {
          "name": "upsert_engagement_rate",
          "domain": "time",
          "kind": "write",
          "purpose": "Insert or update a engagement rate record",
          "args": [
            {
              "name": "p_input",
              "type": "Json",
              "required": true
            }
          ],
          "returns": "setof engagement_rates"
        },
        {
          "name": "upsert_group",
          "domain": "identity",
          "kind": "write",
          "purpose": "Insert or update a group record",
          "args": [
            {
              "name": "p_description",
              "type": "string",
              "required": false
            },
            {
              "name": "p_external_key",
              "type": "string",
              "required": false
            },
            {
              "name": "p_key",
              "type": "string",
              "required": true
            },
            {
              "name": "p_kind",
              "type": "string",
              "required": true
            },
            {
              "name": "p_name",
              "type": "string",
              "required": true
            },
            {
              "name": "p_source",
              "type": "string",
              "required": false
            }
          ],
          "returns": "Json"
        },
        {
          "name": "upsert_page",
          "domain": "kb",
          "kind": "write",
          "purpose": "Insert or update a page record",
          "args": [
            {
              "name": "p_author_email",
              "type": "string",
              "required": false
            },
            {
              "name": "p_body",
              "type": "Json",
              "required": true
            },
            {
              "name": "p_change_note",
              "type": "string",
              "required": false
            },
            {
              "name": "p_content_format",
              "type": "string",
              "required": false
            },
            {
              "name": "p_editor_email",
              "type": "string",
              "required": false
            },
            {
              "name": "p_external_id",
              "type": "string",
              "required": true
            },
            {
              "name": "p_external_metadata",
              "type": "Json",
              "required": false
            },
            {
              "name": "p_external_source",
              "type": "string",
              "required": true
            },
            {
              "name": "p_external_url",
              "type": "string",
              "required": false
            },
            {
              "name": "p_kind",
              "type": "string",
              "required": false
            },
            {
              "name": "p_parent_external_id",
              "type": "string",
              "required": false
            },
            {
              "name": "p_run_id",
              "type": "string",
              "required": false
            },
            {
              "name": "p_source_updated_at",
              "type": "string",
              "required": false
            },
            {
              "name": "p_source_version",
              "type": "number",
              "required": false
            },
            {
              "name": "p_space_id",
              "type": "string",
              "required": true
            },
            {
              "name": "p_status",
              "type": "string",
              "required": false
            },
            {
              "name": "p_title",
              "type": "string",
              "required": true
            }
          ],
          "returns": "setof pages"
        },
        {
          "name": "upsert_page_attachment",
          "domain": "kb",
          "kind": "write",
          "purpose": "Insert or update a page attachment record",
          "args": [
            {
              "name": "p_external_id",
              "type": "string",
              "required": false
            },
            {
              "name": "p_external_source",
              "type": "string",
              "required": false
            },
            {
              "name": "p_external_url",
              "type": "string",
              "required": false
            },
            {
              "name": "p_filename",
              "type": "string",
              "required": true
            },
            {
              "name": "p_metadata",
              "type": "Json",
              "required": false
            },
            {
              "name": "p_mime_type",
              "type": "string",
              "required": false
            },
            {
              "name": "p_page_id",
              "type": "string",
              "required": true
            },
            {
              "name": "p_size_bytes",
              "type": "number",
              "required": false
            },
            {
              "name": "p_storage_path",
              "type": "string",
              "required": true
            }
          ],
          "returns": "setof page_attachments"
        },
        {
          "name": "upsert_roadmap_initiative",
          "domain": "roadmap",
          "kind": "write",
          "purpose": "Insert or update a roadmap initiative record",
          "args": [
            {
              "name": "p_input",
              "type": "Json",
              "required": true
            }
          ],
          "returns": "setof roadmap_initiatives"
        },
        {
          "name": "upsert_roadmap_milestone",
          "domain": "roadmap",
          "kind": "write",
          "purpose": "Insert or update a roadmap milestone record",
          "args": [
            {
              "name": "p_input",
              "type": "Json",
              "required": true
            }
          ],
          "returns": "setof roadmap_milestones"
        },
        {
          "name": "upsert_role",
          "domain": "identity",
          "kind": "write",
          "purpose": "Insert or update a role record",
          "args": [
            {
              "name": "p_description",
              "type": "string",
              "required": false
            },
            {
              "name": "p_key",
              "type": "string",
              "required": true
            },
            {
              "name": "p_name",
              "type": "string",
              "required": true
            }
          ],
          "returns": "Json"
        },
        {
          "name": "upsert_sow_role",
          "domain": "time",
          "kind": "write",
          "purpose": "Insert or update a sow role record",
          "args": [
            {
              "name": "p_input",
              "type": "Json",
              "required": true
            }
          ],
          "returns": "setof sow_roles"
        },
        {
          "name": "upsert_spawn_rule",
          "domain": "adw",
          "kind": "write",
          "purpose": "Insert or update a spawn rule record",
          "args": [
            {
              "name": "p_account_id",
              "type": "string",
              "required": true
            },
            {
              "name": "p_enabled",
              "type": "boolean",
              "required": false
            },
            {
              "name": "p_event_type",
              "type": "string",
              "required": true
            },
            {
              "name": "p_filters",
              "type": "Json",
              "required": false
            },
            {
              "name": "p_id",
              "type": "string",
              "required": false
            },
            {
              "name": "p_inputs_override",
              "type": "Json",
              "required": false
            },
            {
              "name": "p_notes",
              "type": "string",
              "required": false
            },
            {
              "name": "p_priority",
              "type": "number",
              "required": false
            },
            {
              "name": "p_sandbox_kind",
              "type": "string",
              "required": true
            },
            {
              "name": "p_source_kind",
              "type": "string",
              "required": true
            },
            {
              "name": "p_spec_slug",
              "type": "string",
              "required": true
            }
          ],
          "returns": "setof spawn_rules"
        },
        {
          "name": "upsert_ticket",
          "domain": "tickets",
          "kind": "write",
          "purpose": "Insert or update a ticket record",
          "args": [
            {
              "name": "p_assignee_email",
              "type": "string",
              "required": false
            },
            {
              "name": "p_body",
              "type": "Json",
              "required": false
            },
            {
              "name": "p_body_format",
              "type": "string",
              "required": false
            },
            {
              "name": "p_custom_fields",
              "type": "Json",
              "required": false
            },
            {
              "name": "p_external_id",
              "type": "string",
              "required": true
            },
            {
              "name": "p_external_key",
              "type": "string",
              "required": false
            },
            {
              "name": "p_external_metadata",
              "type": "Json",
              "required": false
            },
            {
              "name": "p_external_source",
              "type": "string",
              "required": true
            },
            {
              "name": "p_external_url",
              "type": "string",
              "required": false
            },
            {
              "name": "p_kind",
              "type": "string",
              "required": false
            },
            {
              "name": "p_parent_external_id",
              "type": "string",
              "required": false
            },
            {
              "name": "p_project_id",
              "type": "string",
              "required": true
            },
            {
              "name": "p_reporter_email",
              "type": "string",
              "required": false
            },
            {
              "name": "p_run_id",
              "type": "string",
              "required": false
            },
            {
              "name": "p_source_created_at",
              "type": "string",
              "required": false
            },
            {
              "name": "p_source_resolved_at",
              "type": "string",
              "required": false
            },
            {
              "name": "p_source_updated_at",
              "type": "string",
              "required": false
            },
            {
              "name": "p_status_key",
              "type": "string",
              "required": false
            },
            {
              "name": "p_strict_email_resolve",
              "type": "boolean",
              "required": false
            },
            {
              "name": "p_title",
              "type": "string",
              "required": true
            }
          ],
          "returns": "setof tickets"
        },
        {
          "name": "upsert_ticket_attachment",
          "domain": "tickets",
          "kind": "write",
          "purpose": "Insert or update a ticket attachment record",
          "args": [
            {
              "name": "p_external_id",
              "type": "string",
              "required": false
            },
            {
              "name": "p_external_source",
              "type": "string",
              "required": false
            },
            {
              "name": "p_external_url",
              "type": "string",
              "required": false
            },
            {
              "name": "p_filename",
              "type": "string",
              "required": true
            },
            {
              "name": "p_metadata",
              "type": "Json",
              "required": false
            },
            {
              "name": "p_mime_type",
              "type": "string",
              "required": false
            },
            {
              "name": "p_size_bytes",
              "type": "number",
              "required": false
            },
            {
              "name": "p_storage_path",
              "type": "string",
              "required": true
            },
            {
              "name": "p_ticket_id",
              "type": "string",
              "required": true
            }
          ],
          "returns": "setof ticket_attachments"
        },
        {
          "name": "upsert_ticket_comment",
          "domain": "tickets",
          "kind": "write",
          "purpose": "Insert or update a ticket comment record",
          "args": [
            {
              "name": "p_author_email",
              "type": "string",
              "required": false
            },
            {
              "name": "p_body",
              "type": "Json",
              "required": true
            },
            {
              "name": "p_body_format",
              "type": "string",
              "required": false
            },
            {
              "name": "p_external_id",
              "type": "string",
              "required": true
            },
            {
              "name": "p_external_metadata",
              "type": "Json",
              "required": false
            },
            {
              "name": "p_external_source",
              "type": "string",
              "required": true
            },
            {
              "name": "p_external_url",
              "type": "string",
              "required": false
            },
            {
              "name": "p_run_id",
              "type": "string",
              "required": false
            },
            {
              "name": "p_source_created_at",
              "type": "string",
              "required": false
            },
            {
              "name": "p_source_updated_at",
              "type": "string",
              "required": false
            },
            {
              "name": "p_ticket_id",
              "type": "string",
              "required": true
            }
          ],
          "returns": "setof ticket_comments"
        },
        {
          "name": "upsert_ticket_dependency",
          "domain": "tickets",
          "kind": "write",
          "purpose": "Insert or update a ticket dependency record",
          "args": [
            {
              "name": "p_external_source",
              "type": "string",
              "required": true
            },
            {
              "name": "p_field_key",
              "type": "string",
              "required": false
            },
            {
              "name": "p_source_external_id",
              "type": "string",
              "required": true
            },
            {
              "name": "p_target_external_id",
              "type": "string",
              "required": true
            },
            {
              "name": "p_target_external_key",
              "type": "string",
              "required": false
            }
          ],
          "returns": "boolean"
        },
        {
          "name": "upsert_ticket_history",
          "domain": "tickets",
          "kind": "write",
          "purpose": "Insert or update a ticket history record",
          "args": [
            {
              "name": "p_actor_email",
              "type": "string",
              "required": false
            },
            {
              "name": "p_change",
              "type": "Json",
              "required": true
            },
            {
              "name": "p_changed_at",
              "type": "string",
              "required": false
            },
            {
              "name": "p_external_id",
              "type": "string",
              "required": true
            },
            {
              "name": "p_external_metadata",
              "type": "Json",
              "required": false
            },
            {
              "name": "p_external_source",
              "type": "string",
              "required": true
            },
            {
              "name": "p_ticket_id",
              "type": "string",
              "required": true
            }
          ],
          "returns": "setof ticket_history"
        },
        {
          "name": "upsert_time_entry",
          "domain": "time",
          "kind": "write",
          "purpose": "Insert or update a time entry record",
          "args": [
            {
              "name": "p_input",
              "type": "Json",
              "required": true
            }
          ],
          "returns": "setof time_entries"
        },
        {
          "name": "upsert_timecard",
          "domain": "time",
          "kind": "write",
          "purpose": "Insert or update a timecard record",
          "args": [
            {
              "name": "p_input",
              "type": "Json",
              "required": true
            }
          ],
          "returns": "setof timecards"
        },
        {
          "name": "wanted_pages",
          "domain": "kb",
          "kind": "write",
          "purpose": "Return wanted pages data for authorized callers",
          "args": [
            {
              "name": "p_limit",
              "type": "number",
              "required": false
            }
          ],
          "returns": "setof record (3 fields)"
        },
        {
          "name": "work_summary_epics_for_project",
          "domain": "tickets",
          "kind": "write",
          "purpose": "Return work summary epics for project data for authorized callers",
          "args": [
            {
              "name": "p_project_key",
              "type": "string",
              "required": true
            }
          ],
          "returns": "setof work_summary_epics"
        }
      ]
    },
    "ops_api": {
      "auth_note": "FastAPI backend (dashboard/server.py) deployed as the ops-api Cloudflare Containers Worker behind CF Access; endpoints enforce the dashboard JWT via require_permission / require_account_access in dashboard/deps.py.",
      "openapi": {
        "openapi": "3.1.0",
        "info": {
          "title": "ADW Management Dashboard",
          "version": "0.1.0"
        },
        "paths": {
          "/api/schedules": {
            "get": {
              "tags": [
                "schedules"
              ],
              "summary": "List Schedules",
              "operationId": "list_schedules_api_schedules_get",
              "responses": {
                "200": {
                  "description": "Successful Response",
                  "content": {
                    "application/json": {
                      "schema": {
                        "items": {
                          "$ref": "#/components/schemas/ScheduleSummary"
                        },
                        "type": "array",
                        "title": "Response List Schedules Api Schedules Get"
                      }
                    }
                  }
                }
              },
              "security": [
                {
                  "HTTPBearer": []
                }
              ]
            },
            "post": {
              "tags": [
                "schedules"
              ],
              "summary": "Create Schedule",
              "operationId": "create_schedule_api_schedules_post",
              "requestBody": {
                "content": {
                  "application/json": {
                    "schema": {
                      "$ref": "#/components/schemas/CreateScheduleRequest"
                    }
                  }
                },
                "required": true
              },
              "responses": {
                "201": {
                  "description": "Successful Response",
                  "content": {
                    "application/json": {
                      "schema": {
                        "$ref": "#/components/schemas/ScheduleDetail"
                      }
                    }
                  }
                },
                "422": {
                  "description": "Validation Error",
                  "content": {
                    "application/json": {
                      "schema": {
                        "$ref": "#/components/schemas/HTTPValidationError"
                      }
                    }
                  }
                }
              },
              "security": [
                {
                  "HTTPBearer": []
                }
              ]
            }
          },
          "/api/schedules/{schedule_id}": {
            "get": {
              "tags": [
                "schedules"
              ],
              "summary": "Get Schedule",
              "operationId": "get_schedule_api_schedules__schedule_id__get",
              "security": [
                {
                  "HTTPBearer": []
                }
              ],
              "parameters": [
                {
                  "name": "schedule_id",
                  "in": "path",
                  "required": true,
                  "schema": {
                    "type": "string",
                    "title": "Schedule Id"
                  }
                }
              ],
              "responses": {
                "200": {
                  "description": "Successful Response",
                  "content": {
                    "application/json": {
                      "schema": {
                        "$ref": "#/components/schemas/ScheduleDetail"
                      }
                    }
                  }
                },
                "422": {
                  "description": "Validation Error",
                  "content": {
                    "application/json": {
                      "schema": {
                        "$ref": "#/components/schemas/HTTPValidationError"
                      }
                    }
                  }
                }
              }
            },
            "patch": {
              "tags": [
                "schedules"
              ],
              "summary": "Update Schedule",
              "operationId": "update_schedule_api_schedules__schedule_id__patch",
              "security": [
                {
                  "HTTPBearer": []
                }
              ],
              "parameters": [
                {
                  "name": "schedule_id",
                  "in": "path",
                  "required": true,
                  "schema": {
                    "type": "string",
                    "title": "Schedule Id"
                  }
                }
              ],
              "requestBody": {
                "required": true,
                "content": {
                  "application/json": {
                    "schema": {
                      "$ref": "#/components/schemas/UpdateScheduleRequest"
                    }
                  }
                }
              },
              "responses": {
                "200": {
                  "description": "Successful Response",
                  "content": {
                    "application/json": {
                      "schema": {
                        "$ref": "#/components/schemas/ScheduleDetail"
                      }
                    }
                  }
                },
                "422": {
                  "description": "Validation Error",
                  "content": {
                    "application/json": {
                      "schema": {
                        "$ref": "#/components/schemas/HTTPValidationError"
                      }
                    }
                  }
                }
              }
            },
            "delete": {
              "tags": [
                "schedules"
              ],
              "summary": "Delete Schedule",
              "operationId": "delete_schedule_api_schedules__schedule_id__delete",
              "security": [
                {
                  "HTTPBearer": []
                }
              ],
              "parameters": [
                {
                  "name": "schedule_id",
                  "in": "path",
                  "required": true,
                  "schema": {
                    "type": "string",
                    "title": "Schedule Id"
                  }
                }
              ],
              "responses": {
                "204": {
                  "description": "Successful Response"
                },
                "422": {
                  "description": "Validation Error",
                  "content": {
                    "application/json": {
                      "schema": {
                        "$ref": "#/components/schemas/HTTPValidationError"
                      }
                    }
                  }
                }
              }
            }
          },
          "/api/schedules/{schedule_id}/pause": {
            "post": {
              "tags": [
                "schedules"
              ],
              "summary": "Pause Schedule",
              "operationId": "pause_schedule_api_schedules__schedule_id__pause_post",
              "security": [
                {
                  "HTTPBearer": []
                }
              ],
              "parameters": [
                {
                  "name": "schedule_id",
                  "in": "path",
                  "required": true,
                  "schema": {
                    "type": "string",
                    "title": "Schedule Id"
                  }
                },
                {
                  "name": "note",
                  "in": "query",
                  "required": false,
                  "schema": {
                    "type": "string",
                    "default": "paused via dashboard",
                    "title": "Note"
                  }
                }
              ],
              "responses": {
                "200": {
                  "description": "Successful Response",
                  "content": {
                    "application/json": {
                      "schema": {
                        "type": "object",
                        "additionalProperties": true,
                        "title": "Response Pause Schedule Api Schedules  Schedule Id  Pause Post"
                      }
                    }
                  }
                },
                "422": {
                  "description": "Validation Error",
                  "content": {
                    "application/json": {
                      "schema": {
                        "$ref": "#/components/schemas/HTTPValidationError"
                      }
                    }
                  }
                }
              }
            }
          },
          "/api/schedules/{schedule_id}/unpause": {
            "post": {
              "tags": [
                "schedules"
              ],
              "summary": "Unpause Schedule",
              "operationId": "unpause_schedule_api_schedules__schedule_id__unpause_post",
              "security": [
                {
                  "HTTPBearer": []
                }
              ],
              "parameters": [
                {
                  "name": "schedule_id",
                  "in": "path",
                  "required": true,
                  "schema": {
                    "type": "string",
                    "title": "Schedule Id"
                  }
                },
                {
                  "name": "note",
                  "in": "query",
                  "required": false,
                  "schema": {
                    "type": "string",
                    "default": "unpaused via dashboard",
                    "title": "Note"
                  }
                }
              ],
              "responses": {
                "200": {
                  "description": "Successful Response",
                  "content": {
                    "application/json": {
                      "schema": {
                        "type": "object",
                        "additionalProperties": true,
                        "title": "Response Unpause Schedule Api Schedules  Schedule Id  Unpause Post"
                      }
                    }
                  }
                },
                "422": {
                  "description": "Validation Error",
                  "content": {
                    "application/json": {
                      "schema": {
                        "$ref": "#/components/schemas/HTTPValidationError"
                      }
                    }
                  }
                }
              }
            }
          },
          "/api/schedules/{schedule_id}/trigger": {
            "post": {
              "tags": [
                "schedules"
              ],
              "summary": "Trigger Schedule",
              "operationId": "trigger_schedule_api_schedules__schedule_id__trigger_post",
              "security": [
                {
                  "HTTPBearer": []
                }
              ],
              "parameters": [
                {
                  "name": "schedule_id",
                  "in": "path",
                  "required": true,
                  "schema": {
                    "type": "string",
                    "title": "Schedule Id"
                  }
                }
              ],
              "responses": {
                "200": {
                  "description": "Successful Response",
                  "content": {
                    "application/json": {
                      "schema": {
                        "type": "object",
                        "additionalProperties": true,
                        "title": "Response Trigger Schedule Api Schedules  Schedule Id  Trigger Post"
                      }
                    }
                  }
                },
                "422": {
                  "description": "Validation Error",
                  "content": {
                    "application/json": {
                      "schema": {
                        "$ref": "#/components/schemas/HTTPValidationError"
                      }
                    }
                  }
                }
              }
            }
          },
          "/api/schedules/_/suggest-id": {
            "get": {
              "tags": [
                "schedules"
              ],
              "summary": "Suggest Id",
              "description": "Convenience for the UI's create form: returns a valid kebab-case id.",
              "operationId": "suggest_id_api_schedules___suggest_id_get",
              "security": [
                {
                  "HTTPBearer": []
                }
              ],
              "parameters": [
                {
                  "name": "kind",
                  "in": "query",
                  "required": true,
                  "schema": {
                    "enum": [
                      "poller_run",
                      "hub_signal",
                      "lifecycle_start",
                      "custom"
                    ],
                    "type": "string",
                    "title": "Kind"
                  }
                },
                {
                  "name": "base",
                  "in": "query",
                  "required": false,
                  "schema": {
                    "type": "string",
                    "default": "",
                    "title": "Base"
                  }
                }
              ],
              "responses": {
                "200": {
                  "description": "Successful Response",
                  "content": {
                    "application/json": {
                      "schema": {
                        "type": "object",
                        "additionalProperties": {
                          "type": "string"
                        },
                        "title": "Response Suggest Id Api Schedules   Suggest Id Get"
                      }
                    }
                  }
                },
                "422": {
                  "description": "Validation Error",
                  "content": {
                    "application/json": {
                      "schema": {
                        "$ref": "#/components/schemas/HTTPValidationError"
                      }
                    }
                  }
                }
              }
            }
          },
          "/api/management/users": {
            "get": {
              "tags": [
                "management"
              ],
              "summary": "List Users",
              "operationId": "list_users_api_management_users_get",
              "responses": {
                "200": {
                  "description": "Successful Response",
                  "content": {
                    "application/json": {
                      "schema": {
                        "additionalProperties": true,
                        "type": "object",
                        "title": "Response List Users Api Management Users Get"
                      }
                    }
                  }
                }
              },
              "security": [
                {
                  "HTTPBearer": []
                }
              ]
            }
          },
          "/api/management/groups": {
            "get": {
              "tags": [
                "management"
              ],
              "summary": "List Groups",
              "operationId": "list_groups_api_management_groups_get",
              "responses": {
                "200": {
                  "description": "Successful Response",
                  "content": {
                    "application/json": {
                      "schema": {
                        "additionalProperties": true,
                        "type": "object",
                        "title": "Response List Groups Api Management Groups Get"
                      }
                    }
                  }
                }
              },
              "security": [
                {
                  "HTTPBearer": []
                }
              ]
            }
          },
          "/api/management/projects": {
            "get": {
              "tags": [
                "management"
              ],
              "summary": "List Projects",
              "operationId": "list_projects_api_management_projects_get",
              "responses": {
                "200": {
                  "description": "Successful Response",
                  "content": {
                    "application/json": {
                      "schema": {
                        "additionalProperties": true,
                        "type": "object",
                        "title": "Response List Projects Api Management Projects Get"
                      }
                    }
                  }
                }
              },
              "security": [
                {
                  "HTTPBearer": []
                }
              ]
            }
          },
          "/api/management/spaces": {
            "get": {
              "tags": [
                "management"
              ],
              "summary": "List Spaces",
              "operationId": "list_spaces_api_management_spaces_get",
              "responses": {
                "200": {
                  "description": "Successful Response",
                  "content": {
                    "application/json": {
                      "schema": {
                        "additionalProperties": true,
                        "type": "object",
                        "title": "Response List Spaces Api Management Spaces Get"
                      }
                    }
                  }
                }
              },
              "security": [
                {
                  "HTTPBearer": []
                }
              ]
            }
          },
          "/api/management/github-members": {
            "get": {
              "tags": [
                "management"
              ],
              "summary": "List Github Members",
              "operationId": "list_github_members_api_management_github_members_get",
              "responses": {
                "200": {
                  "description": "Successful Response",
                  "content": {
                    "application/json": {
                      "schema": {
                        "additionalProperties": true,
                        "type": "object",
                        "title": "Response List Github Members Api Management Github Members Get"
                      }
                    }
                  }
                }
              },
              "security": [
                {
                  "HTTPBearer": []
                }
              ]
            }
          },
          "/api/management/github-teams": {
            "get": {
              "tags": [
                "management"
              ],
              "summary": "List Github Teams",
              "operationId": "list_github_teams_api_management_github_teams_get",
              "responses": {
                "200": {
                  "description": "Successful Response",
                  "content": {
                    "application/json": {
                      "schema": {
                        "additionalProperties": true,
                        "type": "object",
                        "title": "Response List Github Teams Api Management Github Teams Get"
                      }
                    }
                  }
                }
              },
              "security": [
                {
                  "HTTPBearer": []
                }
              ]
            }
          },
          "/api/management/github-users": {
            "get": {
              "tags": [
                "management"
              ],
              "summary": "List Github Users",
              "operationId": "list_github_users_api_management_github_users_get",
              "responses": {
                "200": {
                  "description": "Successful Response",
                  "content": {
                    "application/json": {
                      "schema": {
                        "additionalProperties": true,
                        "type": "object",
                        "title": "Response List Github Users Api Management Github Users Get"
                      }
                    }
                  }
                }
              },
              "security": [
                {
                  "HTTPBearer": []
                }
              ]
            }
          },
          "/api/management/microsoft-groups": {
            "get": {
              "tags": [
                "management"
              ],
              "summary": "List Microsoft Groups",
              "operationId": "list_microsoft_groups_api_management_microsoft_groups_get",
              "responses": {
                "200": {
                  "description": "Successful Response",
                  "content": {
                    "application/json": {
                      "schema": {
                        "additionalProperties": true,
                        "type": "object",
                        "title": "Response List Microsoft Groups Api Management Microsoft Groups Get"
                      }
                    }
                  }
                }
              },
              "security": [
                {
                  "HTTPBearer": []
                }
              ]
            }
          },
          "/api/management/microsoft-teams": {
            "get": {
              "tags": [
                "management"
              ],
              "summary": "List Microsoft Teams",
              "operationId": "list_microsoft_teams_api_management_microsoft_teams_get",
              "responses": {
                "200": {
                  "description": "Successful Response",
                  "content": {
                    "application/json": {
                      "schema": {
                        "additionalProperties": true,
                        "type": "object",
                        "title": "Response List Microsoft Teams Api Management Microsoft Teams Get"
                      }
                    }
                  }
                }
              },
              "security": [
                {
                  "HTTPBearer": []
                }
              ]
            }
          },
          "/api/management/microsoft-sites": {
            "get": {
              "tags": [
                "management"
              ],
              "summary": "List Microsoft Sites",
              "operationId": "list_microsoft_sites_api_management_microsoft_sites_get",
              "responses": {
                "200": {
                  "description": "Successful Response",
                  "content": {
                    "application/json": {
                      "schema": {
                        "additionalProperties": true,
                        "type": "object",
                        "title": "Response List Microsoft Sites Api Management Microsoft Sites Get"
                      }
                    }
                  }
                }
              },
              "security": [
                {
                  "HTTPBearer": []
                }
              ]
            }
          },
          "/api/management/cloudflare": {
            "get": {
              "tags": [
                "management"
              ],
              "summary": "Get Cloudflare",
              "operationId": "get_cloudflare_api_management_cloudflare_get",
              "responses": {
                "200": {
                  "description": "Successful Response",
                  "content": {
                    "application/json": {
                      "schema": {
                        "additionalProperties": true,
                        "type": "object",
                        "title": "Response Get Cloudflare Api Management Cloudflare Get"
                      }
                    }
                  }
                }
              },
              "security": [
                {
                  "HTTPBearer": []
                }
              ]
            }
          },
          "/api/management/issue-template": {
            "get": {
              "tags": [
                "management"
              ],
              "summary": "Get Issue Template",
              "operationId": "get_issue_template_api_management_issue_template_get",
              "responses": {
                "200": {
                  "description": "Successful Response",
                  "content": {
                    "application/json": {
                      "schema": {
                        "additionalProperties": true,
                        "type": "object",
                        "title": "Response Get Issue Template Api Management Issue Template Get"
                      }
                    }
                  }
                }
              },
              "security": [
                {
                  "HTTPBearer": []
                }
              ]
            }
          },
          "/api/management/validate": {
            "post": {
              "tags": [
                "management"
              ],
              "summary": "Validate Repo",
              "operationId": "validate_repo_api_management_validate_post",
              "responses": {
                "200": {
                  "description": "Successful Response",
                  "content": {
                    "application/json": {
                      "schema": {
                        "additionalProperties": true,
                        "type": "object",
                        "title": "Response Validate Repo Api Management Validate Post"
                      }
                    }
                  }
                }
              },
              "security": [
                {
                  "HTTPBearer": []
                }
              ]
            }
          },
          "/api/management/preflight": {
            "post": {
              "tags": [
                "management"
              ],
              "summary": "Preflight",
              "operationId": "preflight_api_management_preflight_post",
              "requestBody": {
                "content": {
                  "application/json": {
                    "schema": {
                      "$ref": "#/components/schemas/ProvisioningRequest"
                    }
                  }
                },
                "required": true
              },
              "responses": {
                "200": {
                  "description": "Successful Response",
                  "content": {
                    "application/json": {
                      "schema": {
                        "$ref": "#/components/schemas/PreflightResponse"
                      }
                    }
                  }
                },
                "422": {
                  "description": "Validation Error",
                  "content": {
                    "application/json": {
                      "schema": {
                        "$ref": "#/components/schemas/HTTPValidationError"
                      }
                    }
                  }
                }
              },
              "security": [
                {
                  "HTTPBearer": []
                }
              ]
            }
          },
          "/api/management/provisioning": {
            "post": {
              "tags": [
                "management"
              ],
              "summary": "Create Provisioning Issue",
              "operationId": "create_provisioning_issue_api_management_provisioning_post",
              "requestBody": {
                "content": {
                  "application/json": {
                    "schema": {
                      "$ref": "#/components/schemas/ProvisioningRequest"
                    }
                  }
                },
                "required": true
              },
              "responses": {
                "200": {
                  "description": "Successful Response",
                  "content": {
                    "application/json": {
                      "schema": {
                        "additionalProperties": true,
                        "type": "object",
                        "title": "Response Create Provisioning Issue Api Management Provisioning Post"
                      }
                    }
                  }
                },
                "422": {
                  "description": "Validation Error",
                  "content": {
                    "application/json": {
                      "schema": {
                        "$ref": "#/components/schemas/HTTPValidationError"
                      }
                    }
                  }
                }
              },
              "security": [
                {
                  "HTTPBearer": []
                }
              ]
            }
          },
          "/api/management/provisioning/recent": {
            "get": {
              "tags": [
                "management"
              ],
              "summary": "Get Recent Provisioning",
              "operationId": "get_recent_provisioning_api_management_provisioning_recent_get",
              "responses": {
                "200": {
                  "description": "Successful Response",
                  "content": {
                    "application/json": {
                      "schema": {
                        "additionalProperties": true,
                        "type": "object",
                        "title": "Response Get Recent Provisioning Api Management Provisioning Recent Get"
                      }
                    }
                  }
                }
              },
              "security": [
                {
                  "HTTPBearer": []
                }
              ]
            }
          },
          "/api/management/drift": {
            "get": {
              "tags": [
                "management"
              ],
              "summary": "Get Drift",
              "operationId": "get_drift_api_management_drift_get",
              "responses": {
                "200": {
                  "description": "Successful Response",
                  "content": {
                    "application/json": {
                      "schema": {
                        "additionalProperties": true,
                        "type": "object",
                        "title": "Response Get Drift Api Management Drift Get"
                      }
                    }
                  }
                }
              },
              "security": [
                {
                  "HTTPBearer": []
                }
              ]
            }
          },
          "/api/management/issue/{number}": {
            "get": {
              "tags": [
                "management"
              ],
              "summary": "Get Issue",
              "description": "Fetch one issue + any PR linked via `closingIssuesReferences`.",
              "operationId": "get_issue_api_management_issue__number__get",
              "security": [
                {
                  "HTTPBearer": []
                }
              ],
              "parameters": [
                {
                  "name": "number",
                  "in": "path",
                  "required": true,
                  "schema": {
                    "type": "integer",
                    "title": "Number"
                  }
                }
              ],
              "responses": {
                "200": {
                  "description": "Successful Response",
                  "content": {
                    "application/json": {
                      "schema": {
                        "type": "object",
                        "additionalProperties": true,
                        "title": "Response Get Issue Api Management Issue  Number  Get"
                      }
                    }
                  }
                },
                "422": {
                  "description": "Validation Error",
                  "content": {
                    "application/json": {
                      "schema": {
                        "$ref": "#/components/schemas/HTTPValidationError"
                      }
                    }
                  }
                }
              }
            }
          },
          "/api/management/issue/{number}/checks": {
            "get": {
              "tags": [
                "management"
              ],
              "summary": "Get Issue Checks",
              "description": "Pull CI checks for the PR linked to this provisioning issue.",
              "operationId": "get_issue_checks_api_management_issue__number__checks_get",
              "security": [
                {
                  "HTTPBearer": []
                }
              ],
              "parameters": [
                {
                  "name": "number",
                  "in": "path",
                  "required": true,
                  "schema": {
                    "type": "integer",
                    "title": "Number"
                  }
                }
              ],
              "responses": {
                "200": {
                  "description": "Successful Response",
                  "content": {
                    "application/json": {
                      "schema": {
                        "type": "object",
                        "additionalProperties": true,
                        "title": "Response Get Issue Checks Api Management Issue  Number  Checks Get"
                      }
                    }
                  }
                },
                "422": {
                  "description": "Validation Error",
                  "content": {
                    "application/json": {
                      "schema": {
                        "$ref": "#/components/schemas/HTTPValidationError"
                      }
                    }
                  }
                }
              }
            }
          },
          "/api/agent/health": {
            "get": {
              "tags": [
                "agent"
              ],
              "summary": "Health",
              "operationId": "health_api_agent_health_get",
              "responses": {
                "200": {
                  "description": "Successful Response",
                  "content": {
                    "application/json": {
                      "schema": {
                        "additionalProperties": true,
                        "type": "object",
                        "title": "Response Health Api Agent Health Get"
                      }
                    }
                  }
                }
              },
              "security": [
                {
                  "HTTPBearer": []
                }
              ]
            }
          },
          "/api/agent/sessions": {
            "get": {
              "tags": [
                "agent"
              ],
              "summary": "List Sessions",
              "operationId": "list_sessions_api_agent_sessions_get",
              "responses": {
                "200": {
                  "description": "Successful Response",
                  "content": {
                    "application/json": {
                      "schema": {
                        "items": {
                          "additionalProperties": true,
                          "type": "object"
                        },
                        "type": "array",
                        "title": "Response List Sessions Api Agent Sessions Get"
                      }
                    }
                  }
                }
              },
              "security": [
                {
                  "HTTPBearer": []
                }
              ]
            },
            "post": {
              "tags": [
                "agent"
              ],
              "summary": "Create Session",
              "operationId": "create_session_api_agent_sessions_post",
              "requestBody": {
                "content": {
                  "application/json": {
                    "schema": {
                      "$ref": "#/components/schemas/CreateSessionReq"
                    }
                  }
                },
                "required": true
              },
              "responses": {
                "200": {
                  "description": "Successful Response",
                  "content": {
                    "application/json": {
                      "schema": {
                        "additionalProperties": true,
                        "type": "object",
                        "title": "Response Create Session Api Agent Sessions Post"
                      }
                    }
                  }
                },
                "422": {
                  "description": "Validation Error",
                  "content": {
                    "application/json": {
                      "schema": {
                        "$ref": "#/components/schemas/HTTPValidationError"
                      }
                    }
                  }
                }
              },
              "security": [
                {
                  "HTTPBearer": []
                }
              ]
            }
          },
          "/api/agent/sessions/{session_id}": {
            "patch": {
              "tags": [
                "agent"
              ],
              "summary": "Update Session",
              "description": "Rename or archive/unarchive a session (backs the workspace rail menu).",
              "operationId": "update_session_api_agent_sessions__session_id__patch",
              "security": [
                {
                  "HTTPBearer": []
                }
              ],
              "parameters": [
                {
                  "name": "session_id",
                  "in": "path",
                  "required": true,
                  "schema": {
                    "type": "string",
                    "title": "Session Id"
                  }
                }
              ],
              "requestBody": {
                "required": true,
                "content": {
                  "application/json": {
                    "schema": {
                      "$ref": "#/components/schemas/UpdateSessionReq"
                    }
                  }
                }
              },
              "responses": {
                "200": {
                  "description": "Successful Response",
                  "content": {
                    "application/json": {
                      "schema": {
                        "type": "object",
                        "additionalProperties": true,
                        "title": "Response Update Session Api Agent Sessions  Session Id  Patch"
                      }
                    }
                  }
                },
                "422": {
                  "description": "Validation Error",
                  "content": {
                    "application/json": {
                      "schema": {
                        "$ref": "#/components/schemas/HTTPValidationError"
                      }
                    }
                  }
                }
              }
            }
          },
          "/api/agent/sessions/{session_id}/messages": {
            "get": {
              "tags": [
                "agent"
              ],
              "summary": "Get Messages",
              "operationId": "get_messages_api_agent_sessions__session_id__messages_get",
              "security": [
                {
                  "HTTPBearer": []
                }
              ],
              "parameters": [
                {
                  "name": "session_id",
                  "in": "path",
                  "required": true,
                  "schema": {
                    "type": "string",
                    "title": "Session Id"
                  }
                },
                {
                  "name": "after_seq",
                  "in": "query",
                  "required": false,
                  "schema": {
                    "type": "integer",
                    "default": -1,
                    "title": "After Seq"
                  }
                }
              ],
              "responses": {
                "200": {
                  "description": "Successful Response",
                  "content": {
                    "application/json": {
                      "schema": {
                        "type": "object",
                        "additionalProperties": true,
                        "title": "Response Get Messages Api Agent Sessions  Session Id  Messages Get"
                      }
                    }
                  }
                },
                "422": {
                  "description": "Validation Error",
                  "content": {
                    "application/json": {
                      "schema": {
                        "$ref": "#/components/schemas/HTTPValidationError"
                      }
                    }
                  }
                }
              }
            },
            "post": {
              "tags": [
                "agent"
              ],
              "summary": "Send Message",
              "operationId": "send_message_api_agent_sessions__session_id__messages_post",
              "security": [
                {
                  "HTTPBearer": []
                }
              ],
              "parameters": [
                {
                  "name": "session_id",
                  "in": "path",
                  "required": true,
                  "schema": {
                    "type": "string",
                    "title": "Session Id"
                  }
                }
              ],
              "requestBody": {
                "required": true,
                "content": {
                  "application/json": {
                    "schema": {
                      "$ref": "#/components/schemas/SendMessageReq"
                    }
                  }
                }
              },
              "responses": {
                "200": {
                  "description": "Successful Response",
                  "content": {
                    "application/json": {
                      "schema": {
                        "type": "object",
                        "additionalProperties": true,
                        "title": "Response Send Message Api Agent Sessions  Session Id  Messages Post"
                      }
                    }
                  }
                },
                "422": {
                  "description": "Validation Error",
                  "content": {
                    "application/json": {
                      "schema": {
                        "$ref": "#/components/schemas/HTTPValidationError"
                      }
                    }
                  }
                }
              }
            }
          },
          "/api/agent/sessions/{session_id}/cancel": {
            "post": {
              "tags": [
                "agent"
              ],
              "summary": "Cancel Session",
              "operationId": "cancel_session_api_agent_sessions__session_id__cancel_post",
              "security": [
                {
                  "HTTPBearer": []
                }
              ],
              "parameters": [
                {
                  "name": "session_id",
                  "in": "path",
                  "required": true,
                  "schema": {
                    "type": "string",
                    "title": "Session Id"
                  }
                }
              ],
              "requestBody": {
                "content": {
                  "application/json": {
                    "schema": {
                      "anyOf": [
                        {
                          "type": "object",
                          "additionalProperties": true
                        },
                        {
                          "type": "null"
                        }
                      ],
                      "title": "Body"
                    }
                  }
                }
              },
              "responses": {
                "200": {
                  "description": "Successful Response",
                  "content": {
                    "application/json": {
                      "schema": {
                        "type": "object",
                        "additionalProperties": true,
                        "title": "Response Cancel Session Api Agent Sessions  Session Id  Cancel Post"
                      }
                    }
                  }
                },
                "422": {
                  "description": "Validation Error",
                  "content": {
                    "application/json": {
                      "schema": {
                        "$ref": "#/components/schemas/HTTPValidationError"
                      }
                    }
                  }
                }
              }
            }
          },
          "/api/agent/approvals/{approval_id}": {
            "post": {
              "tags": [
                "agent"
              ],
              "summary": "Resolve Approval",
              "operationId": "resolve_approval_api_agent_approvals__approval_id__post",
              "security": [
                {
                  "HTTPBearer": []
                }
              ],
              "parameters": [
                {
                  "name": "approval_id",
                  "in": "path",
                  "required": true,
                  "schema": {
                    "type": "string",
                    "title": "Approval Id"
                  }
                }
              ],
              "requestBody": {
                "required": true,
                "content": {
                  "application/json": {
                    "schema": {
                      "$ref": "#/components/schemas/ApprovalReq"
                    }
                  }
                }
              },
              "responses": {
                "200": {
                  "description": "Successful Response",
                  "content": {
                    "application/json": {
                      "schema": {
                        "type": "object",
                        "additionalProperties": true,
                        "title": "Response Resolve Approval Api Agent Approvals  Approval Id  Post"
                      }
                    }
                  }
                },
                "422": {
                  "description": "Validation Error",
                  "content": {
                    "application/json": {
                      "schema": {
                        "$ref": "#/components/schemas/HTTPValidationError"
                      }
                    }
                  }
                }
              }
            }
          },
          "/api/agent/keys/{user_id}/invalidate": {
            "post": {
              "tags": [
                "agent"
              ],
              "summary": "Invalidate Key",
              "operationId": "invalidate_key_api_agent_keys__user_id__invalidate_post",
              "security": [
                {
                  "HTTPBearer": []
                }
              ],
              "parameters": [
                {
                  "name": "user_id",
                  "in": "path",
                  "required": true,
                  "schema": {
                    "type": "string",
                    "title": "User Id"
                  }
                }
              ],
              "responses": {
                "200": {
                  "description": "Successful Response",
                  "content": {
                    "application/json": {
                      "schema": {
                        "type": "object",
                        "additionalProperties": true,
                        "title": "Response Invalidate Key Api Agent Keys  User Id  Invalidate Post"
                      }
                    }
                  }
                },
                "422": {
                  "description": "Validation Error",
                  "content": {
                    "application/json": {
                      "schema": {
                        "$ref": "#/components/schemas/HTTPValidationError"
                      }
                    }
                  }
                }
              }
            }
          },
          "/api/adw/templates": {
            "get": {
              "tags": [
                "adw"
              ],
              "summary": "List Templates",
              "operationId": "list_templates_api_adw_templates_get",
              "security": [
                {
                  "HTTPBearer": []
                }
              ],
              "parameters": [
                {
                  "name": "authorization",
                  "in": "header",
                  "required": false,
                  "schema": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Authorization"
                  }
                }
              ],
              "responses": {
                "200": {
                  "description": "Successful Response",
                  "content": {
                    "application/json": {
                      "schema": {
                        "type": "array",
                        "items": {
                          "$ref": "#/components/schemas/TemplateOut"
                        },
                        "title": "Response List Templates Api Adw Templates Get"
                      }
                    }
                  }
                },
                "422": {
                  "description": "Validation Error",
                  "content": {
                    "application/json": {
                      "schema": {
                        "$ref": "#/components/schemas/HTTPValidationError"
                      }
                    }
                  }
                }
              }
            }
          },
          "/api/adw/templates/{template_id}": {
            "get": {
              "tags": [
                "adw"
              ],
              "summary": "Get Template",
              "operationId": "get_template_api_adw_templates__template_id__get",
              "security": [
                {
                  "HTTPBearer": []
                }
              ],
              "parameters": [
                {
                  "name": "template_id",
                  "in": "path",
                  "required": true,
                  "schema": {
                    "type": "string",
                    "title": "Template Id"
                  }
                },
                {
                  "name": "authorization",
                  "in": "header",
                  "required": false,
                  "schema": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Authorization"
                  }
                }
              ],
              "responses": {
                "200": {
                  "description": "Successful Response",
                  "content": {
                    "application/json": {
                      "schema": {
                        "$ref": "#/components/schemas/TemplateOut"
                      }
                    }
                  }
                },
                "422": {
                  "description": "Validation Error",
                  "content": {
                    "application/json": {
                      "schema": {
                        "$ref": "#/components/schemas/HTTPValidationError"
                      }
                    }
                  }
                }
              }
            }
          },
          "/api/adw/sandbox-capabilities/{kind}": {
            "get": {
              "tags": [
                "adw"
              ],
              "summary": "Get Capabilities",
              "operationId": "get_capabilities_api_adw_sandbox_capabilities__kind__get",
              "security": [
                {
                  "HTTPBearer": []
                }
              ],
              "parameters": [
                {
                  "name": "kind",
                  "in": "path",
                  "required": true,
                  "schema": {
                    "type": "string",
                    "title": "Kind"
                  }
                },
                {
                  "name": "authorization",
                  "in": "header",
                  "required": false,
                  "schema": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Authorization"
                  }
                }
              ],
              "responses": {
                "200": {
                  "description": "Successful Response",
                  "content": {
                    "application/json": {
                      "schema": {
                        "type": "object",
                        "additionalProperties": {
                          "type": "array",
                          "items": {
                            "type": "string"
                          }
                        },
                        "title": "Response Get Capabilities Api Adw Sandbox Capabilities  Kind  Get"
                      }
                    }
                  }
                },
                "422": {
                  "description": "Validation Error",
                  "content": {
                    "application/json": {
                      "schema": {
                        "$ref": "#/components/schemas/HTTPValidationError"
                      }
                    }
                  }
                }
              }
            }
          },
          "/api/adw/accounts": {
            "get": {
              "tags": [
                "adw"
              ],
              "summary": "List Adw Accounts",
              "description": "Accounts ADWs can actually run against: the registry entries.\n\nTask queues are derived as {account_id}-hub/-heavy from these ids, so this\nis the only valid id set for launches. api.accounts is the wrong source\nhere -- it canonicalizes on the ops short-form ids (atc, cvi, ...) whose\nderived queues have no workers (migrations 52/148).",
              "operationId": "list_adw_accounts_api_adw_accounts_get",
              "security": [
                {
                  "HTTPBearer": []
                }
              ],
              "parameters": [
                {
                  "name": "authorization",
                  "in": "header",
                  "required": false,
                  "schema": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Authorization"
                  }
                }
              ],
              "responses": {
                "200": {
                  "description": "Successful Response",
                  "content": {
                    "application/json": {
                      "schema": {
                        "type": "array",
                        "items": {
                          "type": "object",
                          "additionalProperties": true
                        },
                        "title": "Response List Adw Accounts Api Adw Accounts Get"
                      }
                    }
                  }
                },
                "422": {
                  "description": "Validation Error",
                  "content": {
                    "application/json": {
                      "schema": {
                        "$ref": "#/components/schemas/HTTPValidationError"
                      }
                    }
                  }
                }
              }
            }
          },
          "/api/adw/runs": {
            "post": {
              "tags": [
                "adw"
              ],
              "summary": "Launch Run",
              "operationId": "launch_run_api_adw_runs_post",
              "security": [
                {
                  "HTTPBearer": []
                }
              ],
              "parameters": [
                {
                  "name": "authorization",
                  "in": "header",
                  "required": false,
                  "schema": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Authorization"
                  }
                }
              ],
              "requestBody": {
                "required": true,
                "content": {
                  "application/json": {
                    "schema": {
                      "$ref": "#/components/schemas/LaunchRunIn"
                    }
                  }
                }
              },
              "responses": {
                "200": {
                  "description": "Successful Response",
                  "content": {
                    "application/json": {
                      "schema": {}
                    }
                  }
                },
                "422": {
                  "description": "Validation Error",
                  "content": {
                    "application/json": {
                      "schema": {
                        "$ref": "#/components/schemas/HTTPValidationError"
                      }
                    }
                  }
                }
              }
            },
            "get": {
              "tags": [
                "adw"
              ],
              "summary": "List Runs",
              "operationId": "list_runs_api_adw_runs_get",
              "security": [
                {
                  "HTTPBearer": []
                }
              ],
              "parameters": [
                {
                  "name": "account_id",
                  "in": "query",
                  "required": false,
                  "schema": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Account Id"
                  }
                },
                {
                  "name": "template_id",
                  "in": "query",
                  "required": false,
                  "schema": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Template Id"
                  }
                },
                {
                  "name": "status_",
                  "in": "query",
                  "required": false,
                  "schema": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Status "
                  }
                },
                {
                  "name": "parent_run_id",
                  "in": "query",
                  "required": false,
                  "schema": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Parent Run Id"
                  }
                },
                {
                  "name": "agent_session_id",
                  "in": "query",
                  "required": false,
                  "schema": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Agent Session Id"
                  }
                },
                {
                  "name": "limit",
                  "in": "query",
                  "required": false,
                  "schema": {
                    "type": "integer",
                    "maximum": 200,
                    "minimum": 1,
                    "default": 50,
                    "title": "Limit"
                  }
                },
                {
                  "name": "authorization",
                  "in": "header",
                  "required": false,
                  "schema": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Authorization"
                  }
                }
              ],
              "responses": {
                "200": {
                  "description": "Successful Response",
                  "content": {
                    "application/json": {
                      "schema": {}
                    }
                  }
                },
                "422": {
                  "description": "Validation Error",
                  "content": {
                    "application/json": {
                      "schema": {
                        "$ref": "#/components/schemas/HTTPValidationError"
                      }
                    }
                  }
                }
              }
            }
          },
          "/api/adw/runs/{intent_id}": {
            "get": {
              "tags": [
                "adw"
              ],
              "summary": "Get Run",
              "description": "Return the run with `temporal` + `events` fields appended.\n\nResponse shape matches the frontend's `AdwRun` type plus two optional\nfields the run-detail page renders inline.",
              "operationId": "get_run_api_adw_runs__intent_id__get",
              "security": [
                {
                  "HTTPBearer": []
                }
              ],
              "parameters": [
                {
                  "name": "intent_id",
                  "in": "path",
                  "required": true,
                  "schema": {
                    "type": "string",
                    "title": "Intent Id"
                  }
                },
                {
                  "name": "authorization",
                  "in": "header",
                  "required": false,
                  "schema": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Authorization"
                  }
                }
              ],
              "responses": {
                "200": {
                  "description": "Successful Response",
                  "content": {
                    "application/json": {
                      "schema": {}
                    }
                  }
                },
                "422": {
                  "description": "Validation Error",
                  "content": {
                    "application/json": {
                      "schema": {
                        "$ref": "#/components/schemas/HTTPValidationError"
                      }
                    }
                  }
                }
              }
            }
          },
          "/api/adw/runs/{intent_id}/terminate": {
            "post": {
              "tags": [
                "adw"
              ],
              "summary": "Cancel Run",
              "operationId": "cancel_run_api_adw_runs__intent_id__terminate_post",
              "security": [
                {
                  "HTTPBearer": []
                }
              ],
              "parameters": [
                {
                  "name": "intent_id",
                  "in": "path",
                  "required": true,
                  "schema": {
                    "type": "string",
                    "title": "Intent Id"
                  }
                },
                {
                  "name": "authorization",
                  "in": "header",
                  "required": false,
                  "schema": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Authorization"
                  }
                }
              ],
              "responses": {
                "200": {
                  "description": "Successful Response",
                  "content": {
                    "application/json": {
                      "schema": {}
                    }
                  }
                },
                "422": {
                  "description": "Validation Error",
                  "content": {
                    "application/json": {
                      "schema": {
                        "$ref": "#/components/schemas/HTTPValidationError"
                      }
                    }
                  }
                }
              }
            }
          },
          "/api/adw/runs/{intent_id}/cancel": {
            "post": {
              "tags": [
                "adw"
              ],
              "summary": "Cancel Run",
              "operationId": "cancel_run_api_adw_runs__intent_id__cancel_post",
              "security": [
                {
                  "HTTPBearer": []
                }
              ],
              "parameters": [
                {
                  "name": "intent_id",
                  "in": "path",
                  "required": true,
                  "schema": {
                    "type": "string",
                    "title": "Intent Id"
                  }
                },
                {
                  "name": "authorization",
                  "in": "header",
                  "required": false,
                  "schema": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Authorization"
                  }
                }
              ],
              "responses": {
                "200": {
                  "description": "Successful Response",
                  "content": {
                    "application/json": {
                      "schema": {}
                    }
                  }
                },
                "422": {
                  "description": "Validation Error",
                  "content": {
                    "application/json": {
                      "schema": {
                        "$ref": "#/components/schemas/HTTPValidationError"
                      }
                    }
                  }
                }
              }
            }
          },
          "/api/adw/runs/{intent_id}/promote": {
            "post": {
              "tags": [
                "adw"
              ],
              "summary": "Promote Run",
              "description": "Launch a follow-up run, carrying outputs forward as inputs.\n\nUsed by the React Builder for the SpecToSolution -> BuildLifecycle\nhandoff. The parent intent id is recorded so we can render the chain.",
              "operationId": "promote_run_api_adw_runs__intent_id__promote_post",
              "security": [
                {
                  "HTTPBearer": []
                }
              ],
              "parameters": [
                {
                  "name": "intent_id",
                  "in": "path",
                  "required": true,
                  "schema": {
                    "type": "string",
                    "title": "Intent Id"
                  }
                },
                {
                  "name": "authorization",
                  "in": "header",
                  "required": false,
                  "schema": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Authorization"
                  }
                }
              ],
              "requestBody": {
                "required": true,
                "content": {
                  "application/json": {
                    "schema": {
                      "$ref": "#/components/schemas/PromoteIn"
                    }
                  }
                }
              },
              "responses": {
                "200": {
                  "description": "Successful Response",
                  "content": {
                    "application/json": {
                      "schema": {}
                    }
                  }
                },
                "422": {
                  "description": "Validation Error",
                  "content": {
                    "application/json": {
                      "schema": {
                        "$ref": "#/components/schemas/HTTPValidationError"
                      }
                    }
                  }
                }
              }
            }
          },
          "/api/adw/specs": {
            "get": {
              "tags": [
                "adw-specs"
              ],
              "summary": "List Specs",
              "description": "List every spec visible to the caller (RLS-enforced).",
              "operationId": "list_specs_api_adw_specs_get",
              "security": [
                {
                  "HTTPBearer": []
                }
              ],
              "parameters": [
                {
                  "name": "authorization",
                  "in": "header",
                  "required": false,
                  "schema": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Authorization"
                  }
                }
              ],
              "responses": {
                "200": {
                  "description": "Successful Response",
                  "content": {
                    "application/json": {
                      "schema": {
                        "type": "array",
                        "items": {
                          "type": "object",
                          "additionalProperties": true
                        },
                        "title": "Response List Specs Api Adw Specs Get"
                      }
                    }
                  }
                },
                "422": {
                  "description": "Validation Error",
                  "content": {
                    "application/json": {
                      "schema": {
                        "$ref": "#/components/schemas/HTTPValidationError"
                      }
                    }
                  }
                }
              }
            },
            "post": {
              "tags": [
                "adw-specs"
              ],
              "summary": "Create Spec",
              "operationId": "create_spec_api_adw_specs_post",
              "security": [
                {
                  "HTTPBearer": []
                }
              ],
              "parameters": [
                {
                  "name": "authorization",
                  "in": "header",
                  "required": false,
                  "schema": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Authorization"
                  }
                }
              ],
              "requestBody": {
                "required": true,
                "content": {
                  "application/json": {
                    "schema": {
                      "$ref": "#/components/schemas/SpecCreateIn"
                    }
                  }
                }
              },
              "responses": {
                "200": {
                  "description": "Successful Response",
                  "content": {
                    "application/json": {
                      "schema": {
                        "type": "object",
                        "additionalProperties": true,
                        "title": "Response Create Spec Api Adw Specs Post"
                      }
                    }
                  }
                },
                "422": {
                  "description": "Validation Error",
                  "content": {
                    "application/json": {
                      "schema": {
                        "$ref": "#/components/schemas/HTTPValidationError"
                      }
                    }
                  }
                }
              }
            }
          },
          "/api/adw/specs/{slug}": {
            "get": {
              "tags": [
                "adw-specs"
              ],
              "summary": "Get Spec",
              "operationId": "get_spec_api_adw_specs__slug__get",
              "security": [
                {
                  "HTTPBearer": []
                }
              ],
              "parameters": [
                {
                  "name": "slug",
                  "in": "path",
                  "required": true,
                  "schema": {
                    "type": "string",
                    "title": "Slug"
                  }
                },
                {
                  "name": "authorization",
                  "in": "header",
                  "required": false,
                  "schema": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Authorization"
                  }
                }
              ],
              "responses": {
                "200": {
                  "description": "Successful Response",
                  "content": {
                    "application/json": {
                      "schema": {
                        "type": "object",
                        "additionalProperties": true,
                        "title": "Response Get Spec Api Adw Specs  Slug  Get"
                      }
                    }
                  }
                },
                "422": {
                  "description": "Validation Error",
                  "content": {
                    "application/json": {
                      "schema": {
                        "$ref": "#/components/schemas/HTTPValidationError"
                      }
                    }
                  }
                }
              }
            },
            "patch": {
              "tags": [
                "adw-specs"
              ],
              "summary": "Update Spec",
              "operationId": "update_spec_api_adw_specs__slug__patch",
              "security": [
                {
                  "HTTPBearer": []
                }
              ],
              "parameters": [
                {
                  "name": "slug",
                  "in": "path",
                  "required": true,
                  "schema": {
                    "type": "string",
                    "title": "Slug"
                  }
                },
                {
                  "name": "authorization",
                  "in": "header",
                  "required": false,
                  "schema": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Authorization"
                  }
                }
              ],
              "requestBody": {
                "required": true,
                "content": {
                  "application/json": {
                    "schema": {
                      "$ref": "#/components/schemas/SpecPatchIn"
                    }
                  }
                }
              },
              "responses": {
                "200": {
                  "description": "Successful Response",
                  "content": {
                    "application/json": {
                      "schema": {
                        "type": "object",
                        "additionalProperties": true,
                        "title": "Response Update Spec Api Adw Specs  Slug  Patch"
                      }
                    }
                  }
                },
                "422": {
                  "description": "Validation Error",
                  "content": {
                    "application/json": {
                      "schema": {
                        "$ref": "#/components/schemas/HTTPValidationError"
                      }
                    }
                  }
                }
              }
            },
            "delete": {
              "tags": [
                "adw-specs"
              ],
              "summary": "Archive Spec",
              "operationId": "archive_spec_api_adw_specs__slug__delete",
              "security": [
                {
                  "HTTPBearer": []
                }
              ],
              "parameters": [
                {
                  "name": "slug",
                  "in": "path",
                  "required": true,
                  "schema": {
                    "type": "string",
                    "title": "Slug"
                  }
                },
                {
                  "name": "authorization",
                  "in": "header",
                  "required": false,
                  "schema": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Authorization"
                  }
                }
              ],
              "responses": {
                "200": {
                  "description": "Successful Response",
                  "content": {
                    "application/json": {
                      "schema": {
                        "type": "object",
                        "additionalProperties": true,
                        "title": "Response Archive Spec Api Adw Specs  Slug  Delete"
                      }
                    }
                  }
                },
                "422": {
                  "description": "Validation Error",
                  "content": {
                    "application/json": {
                      "schema": {
                        "$ref": "#/components/schemas/HTTPValidationError"
                      }
                    }
                  }
                }
              }
            }
          },
          "/api/adw/specs/{slug}/fork": {
            "post": {
              "tags": [
                "adw-specs"
              ],
              "summary": "Fork Spec",
              "operationId": "fork_spec_api_adw_specs__slug__fork_post",
              "security": [
                {
                  "HTTPBearer": []
                }
              ],
              "parameters": [
                {
                  "name": "slug",
                  "in": "path",
                  "required": true,
                  "schema": {
                    "type": "string",
                    "title": "Slug"
                  }
                },
                {
                  "name": "authorization",
                  "in": "header",
                  "required": false,
                  "schema": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Authorization"
                  }
                }
              ],
              "requestBody": {
                "required": true,
                "content": {
                  "application/json": {
                    "schema": {
                      "$ref": "#/components/schemas/ForkIn"
                    }
                  }
                }
              },
              "responses": {
                "200": {
                  "description": "Successful Response",
                  "content": {
                    "application/json": {
                      "schema": {
                        "type": "object",
                        "additionalProperties": true,
                        "title": "Response Fork Spec Api Adw Specs  Slug  Fork Post"
                      }
                    }
                  }
                },
                "422": {
                  "description": "Validation Error",
                  "content": {
                    "application/json": {
                      "schema": {
                        "$ref": "#/components/schemas/HTTPValidationError"
                      }
                    }
                  }
                }
              }
            }
          },
          "/api/adw/specs/{slug}/publish": {
            "post": {
              "tags": [
                "adw-specs"
              ],
              "summary": "Publish Spec",
              "operationId": "publish_spec_api_adw_specs__slug__publish_post",
              "security": [
                {
                  "HTTPBearer": []
                }
              ],
              "parameters": [
                {
                  "name": "slug",
                  "in": "path",
                  "required": true,
                  "schema": {
                    "type": "string",
                    "title": "Slug"
                  }
                },
                {
                  "name": "authorization",
                  "in": "header",
                  "required": false,
                  "schema": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Authorization"
                  }
                }
              ],
              "responses": {
                "200": {
                  "description": "Successful Response",
                  "content": {
                    "application/json": {
                      "schema": {
                        "type": "object",
                        "additionalProperties": true,
                        "title": "Response Publish Spec Api Adw Specs  Slug  Publish Post"
                      }
                    }
                  }
                },
                "422": {
                  "description": "Validation Error",
                  "content": {
                    "application/json": {
                      "schema": {
                        "$ref": "#/components/schemas/HTTPValidationError"
                      }
                    }
                  }
                }
              }
            }
          },
          "/api/cf-cron/tick": {
            "post": {
              "tags": [
                "cf-cron"
              ],
              "summary": "Cf Cron Tick",
              "operationId": "cf_cron_tick_api_cf_cron_tick_post",
              "parameters": [
                {
                  "name": "X-CF-Cron-Signature",
                  "in": "header",
                  "required": false,
                  "schema": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "X-Cf-Cron-Signature"
                  }
                }
              ],
              "responses": {
                "200": {
                  "description": "Successful Response",
                  "content": {
                    "application/json": {
                      "schema": {
                        "type": "object",
                        "additionalProperties": true,
                        "title": "Response Cf Cron Tick Api Cf Cron Tick Post"
                      }
                    }
                  }
                },
                "422": {
                  "description": "Validation Error",
                  "content": {
                    "application/json": {
                      "schema": {
                        "$ref": "#/components/schemas/HTTPValidationError"
                      }
                    }
                  }
                }
              }
            }
          },
          "/api/bdr/admin/tools": {
            "get": {
              "tags": [
                "bdr"
              ],
              "summary": "Admin Tools",
              "operationId": "admin_tools_api_bdr_admin_tools_get",
              "security": [
                {
                  "HTTPBearer": []
                }
              ],
              "parameters": [
                {
                  "name": "env",
                  "in": "query",
                  "required": false,
                  "schema": {
                    "enum": [
                      "prod",
                      "staging"
                    ],
                    "type": "string",
                    "description": "Which active-bdr deployment to inspect.",
                    "default": "prod",
                    "title": "Env"
                  },
                  "description": "Which active-bdr deployment to inspect."
                }
              ],
              "responses": {
                "200": {
                  "description": "Successful Response",
                  "content": {
                    "application/json": {
                      "schema": {
                        "title": "Response Admin Tools Api Bdr Admin Tools Get"
                      }
                    }
                  }
                },
                "422": {
                  "description": "Validation Error",
                  "content": {
                    "application/json": {
                      "schema": {
                        "$ref": "#/components/schemas/HTTPValidationError"
                      }
                    }
                  }
                }
              }
            }
          },
          "/api/bdr/admin/health": {
            "get": {
              "tags": [
                "bdr"
              ],
              "summary": "Admin Health",
              "operationId": "admin_health_api_bdr_admin_health_get",
              "security": [
                {
                  "HTTPBearer": []
                }
              ],
              "parameters": [
                {
                  "name": "env",
                  "in": "query",
                  "required": false,
                  "schema": {
                    "enum": [
                      "prod",
                      "staging"
                    ],
                    "type": "string",
                    "description": "Which active-bdr deployment to inspect.",
                    "default": "prod",
                    "title": "Env"
                  },
                  "description": "Which active-bdr deployment to inspect."
                }
              ],
              "responses": {
                "200": {
                  "description": "Successful Response",
                  "content": {
                    "application/json": {
                      "schema": {
                        "title": "Response Admin Health Api Bdr Admin Health Get"
                      }
                    }
                  }
                },
                "422": {
                  "description": "Validation Error",
                  "content": {
                    "application/json": {
                      "schema": {
                        "$ref": "#/components/schemas/HTTPValidationError"
                      }
                    }
                  }
                }
              }
            }
          },
          "/api/graph/oauth/start": {
            "post": {
              "tags": [
                "graph-broker"
              ],
              "summary": "Oauth Start",
              "description": "Begin the one-time consent. Returns the Entra auth URI for the popup.",
              "operationId": "oauth_start_api_graph_oauth_start_post",
              "requestBody": {
                "content": {
                  "application/json": {
                    "schema": {
                      "$ref": "#/components/schemas/StartReq"
                    }
                  }
                },
                "required": true
              },
              "responses": {
                "200": {
                  "description": "Successful Response",
                  "content": {
                    "application/json": {
                      "schema": {
                        "additionalProperties": {
                          "type": "string"
                        },
                        "type": "object",
                        "title": "Response Oauth Start Api Graph Oauth Start Post"
                      }
                    }
                  }
                },
                "422": {
                  "description": "Validation Error",
                  "content": {
                    "application/json": {
                      "schema": {
                        "$ref": "#/components/schemas/HTTPValidationError"
                      }
                    }
                  }
                }
              },
              "security": [
                {
                  "HTTPBearer": []
                }
              ]
            }
          },
          "/api/graph/oauth/callback": {
            "get": {
              "tags": [
                "graph-broker"
              ],
              "summary": "Oauth Callback",
              "description": "Entra redirect target. Recovers the acting user from the flow state,\nredeems the code, enforces the M3 identity binding, seals the refresh token.",
              "operationId": "oauth_callback_api_graph_oauth_callback_get",
              "responses": {
                "200": {
                  "description": "Successful Response",
                  "content": {
                    "text/html": {
                      "schema": {
                        "type": "string"
                      }
                    }
                  }
                }
              }
            }
          },
          "/api/graph/connection": {
            "get": {
              "tags": [
                "graph-broker"
              ],
              "summary": "Connection",
              "description": "Connection state for the UI (metadata only; never the refresh token).",
              "operationId": "connection_api_graph_connection_get",
              "responses": {
                "200": {
                  "description": "Successful Response",
                  "content": {
                    "application/json": {
                      "schema": {
                        "additionalProperties": true,
                        "type": "object",
                        "title": "Response Connection Api Graph Connection Get"
                      }
                    }
                  }
                }
              },
              "security": [
                {
                  "HTTPBearer": []
                }
              ]
            }
          },
          "/api/graph/disconnect": {
            "post": {
              "tags": [
                "graph-broker"
              ],
              "summary": "Disconnect",
              "description": "Tombstone the grant + wipe stored ciphertext. (Best-effort Entra\ntoken revocation is a TODO -- the encrypted RT is wiped regardless.)",
              "operationId": "disconnect_api_graph_disconnect_post",
              "responses": {
                "200": {
                  "description": "Successful Response",
                  "content": {
                    "application/json": {
                      "schema": {
                        "additionalProperties": {
                          "type": "boolean"
                        },
                        "type": "object",
                        "title": "Response Disconnect Api Graph Disconnect Post"
                      }
                    }
                  }
                }
              },
              "security": [
                {
                  "HTTPBearer": []
                }
              ]
            }
          },
          "/api/admin/users/purge": {
            "post": {
              "tags": [
                "access-admin"
              ],
              "summary": "Purge User",
              "description": "Hard-delete a user: strip all access, drop the roster row, and delete the\nauth identity (cascades identity.users). Irreversible.\n\nGuards: cannot purge your own account; cannot purge the last platform admin.",
              "operationId": "purge_user_api_admin_users_purge_post",
              "requestBody": {
                "content": {
                  "application/json": {
                    "schema": {
                      "$ref": "#/components/schemas/PurgeUserRequest"
                    }
                  }
                },
                "required": true
              },
              "responses": {
                "200": {
                  "description": "Successful Response",
                  "content": {
                    "application/json": {
                      "schema": {}
                    }
                  }
                },
                "422": {
                  "description": "Validation Error",
                  "content": {
                    "application/json": {
                      "schema": {
                        "$ref": "#/components/schemas/HTTPValidationError"
                      }
                    }
                  }
                }
              },
              "security": [
                {
                  "HTTPBearer": []
                }
              ]
            }
          },
          "/api/kb/ask": {
            "post": {
              "tags": [
                "kb"
              ],
              "summary": "Kb Ask",
              "description": "Grounded Q&A over the KB, streamed as SSE.\n\nEvents: `sources` (citation list, sent first), default `data` deltas\n({\"delta\": str}), then `done`. Errors after headers stream as an `error`\nevent since the status line is already committed.",
              "operationId": "kb_ask_api_kb_ask_post",
              "requestBody": {
                "content": {
                  "application/json": {
                    "schema": {
                      "$ref": "#/components/schemas/AskRequest"
                    }
                  }
                },
                "required": true
              },
              "responses": {
                "200": {
                  "description": "Successful Response",
                  "content": {
                    "application/json": {
                      "schema": {}
                    }
                  }
                },
                "422": {
                  "description": "Validation Error",
                  "content": {
                    "application/json": {
                      "schema": {
                        "$ref": "#/components/schemas/HTTPValidationError"
                      }
                    }
                  }
                }
              },
              "security": [
                {
                  "HTTPBearer": []
                }
              ]
            }
          },
          "/api/kb/suggest-links": {
            "post": {
              "tags": [
                "kb"
              ],
              "summary": "Kb Suggest Links",
              "description": "Pages this one should probably link: api.related_pages (ANN minus\nexisting graph.edges) under the user's token. Empty + reason until the\nembedding indexer has populated vectors.",
              "operationId": "kb_suggest_links_api_kb_suggest_links_post",
              "requestBody": {
                "content": {
                  "application/json": {
                    "schema": {
                      "$ref": "#/components/schemas/SuggestRequest"
                    }
                  }
                },
                "required": true
              },
              "responses": {
                "200": {
                  "description": "Successful Response",
                  "content": {
                    "application/json": {
                      "schema": {
                        "additionalProperties": true,
                        "type": "object",
                        "title": "Response Kb Suggest Links Api Kb Suggest Links Post"
                      }
                    }
                  }
                },
                "422": {
                  "description": "Validation Error",
                  "content": {
                    "application/json": {
                      "schema": {
                        "$ref": "#/components/schemas/HTTPValidationError"
                      }
                    }
                  }
                }
              },
              "security": [
                {
                  "HTTPBearer": []
                }
              ]
            }
          },
          "/api/kb/summarize": {
            "post": {
              "tags": [
                "kb"
              ],
              "summary": "Kb Summarize",
              "description": "Generate the page's TL;DR and pin it for every reader.\n\nThe summary persists to kb.page_summaries via api.save_kb_page_summary\nunder the CALLER's token (kb.view RLS applies), stamped with the page\nversion it read \u2014 the UI flags the pinned card stale once the page moves\npast that version. Reads never hit this endpoint (PostgREST view).",
              "operationId": "kb_summarize_api_kb_summarize_post",
              "requestBody": {
                "content": {
                  "application/json": {
                    "schema": {
                      "$ref": "#/components/schemas/SummarizeRequest"
                    }
                  }
                },
                "required": true
              },
              "responses": {
                "200": {
                  "description": "Successful Response",
                  "content": {
                    "application/json": {
                      "schema": {
                        "additionalProperties": true,
                        "type": "object",
                        "title": "Response Kb Summarize Api Kb Summarize Post"
                      }
                    }
                  }
                },
                "422": {
                  "description": "Validation Error",
                  "content": {
                    "application/json": {
                      "schema": {
                        "$ref": "#/components/schemas/HTTPValidationError"
                      }
                    }
                  }
                }
              },
              "security": [
                {
                  "HTTPBearer": []
                }
              ]
            }
          },
          "/api/kb/search": {
            "post": {
              "tags": [
                "kb"
              ],
              "summary": "Kb Search",
              "description": "Semantic-boosted page search for the \u2318K palette.\n\nThe palette's instant results call api.search_pages directly over\nPostgREST with p_embedding NULL (FT-only \u2014 the browser can't embed).\nThis lane embeds the query (same fail-open budget as /ask) so hybrid\nranking actually engages; `semantic` reports whether it did, and the\nUI labels the group honestly based on that flag.",
              "operationId": "kb_search_api_kb_search_post",
              "requestBody": {
                "content": {
                  "application/json": {
                    "schema": {
                      "$ref": "#/components/schemas/SearchRequest"
                    }
                  }
                },
                "required": true
              },
              "responses": {
                "200": {
                  "description": "Successful Response",
                  "content": {
                    "application/json": {
                      "schema": {
                        "additionalProperties": true,
                        "type": "object",
                        "title": "Response Kb Search Api Kb Search Post"
                      }
                    }
                  }
                },
                "422": {
                  "description": "Validation Error",
                  "content": {
                    "application/json": {
                      "schema": {
                        "$ref": "#/components/schemas/HTTPValidationError"
                      }
                    }
                  }
                }
              },
              "security": [
                {
                  "HTTPBearer": []
                }
              ]
            }
          },
          "/api/accounts/{account_id}/summarize": {
            "post": {
              "tags": [
                "accounts"
              ],
              "summary": "Account Summarize",
              "description": "Generate the Account TL;DR and pin it for every reader.",
              "operationId": "account_summarize_api_accounts__account_id__summarize_post",
              "security": [
                {
                  "HTTPBearer": []
                }
              ],
              "parameters": [
                {
                  "name": "account_id",
                  "in": "path",
                  "required": true,
                  "schema": {
                    "type": "string",
                    "title": "Account Id"
                  }
                }
              ],
              "responses": {
                "200": {
                  "description": "Successful Response",
                  "content": {
                    "application/json": {
                      "schema": {
                        "$ref": "#/components/schemas/BriefResponse"
                      }
                    }
                  }
                },
                "422": {
                  "description": "Validation Error",
                  "content": {
                    "application/json": {
                      "schema": {
                        "$ref": "#/components/schemas/HTTPValidationError"
                      }
                    }
                  }
                }
              }
            }
          },
          "/api/accounts/{account_id}/relationship": {
            "post": {
              "tags": [
                "accounts"
              ],
              "summary": "Account Relationship",
              "description": "Refresh the AI-maintained client-relationship brief and pin it.",
              "operationId": "account_relationship_api_accounts__account_id__relationship_post",
              "security": [
                {
                  "HTTPBearer": []
                }
              ],
              "parameters": [
                {
                  "name": "account_id",
                  "in": "path",
                  "required": true,
                  "schema": {
                    "type": "string",
                    "title": "Account Id"
                  }
                }
              ],
              "responses": {
                "200": {
                  "description": "Successful Response",
                  "content": {
                    "application/json": {
                      "schema": {
                        "$ref": "#/components/schemas/BriefResponse"
                      }
                    }
                  }
                },
                "422": {
                  "description": "Validation Error",
                  "content": {
                    "application/json": {
                      "schema": {
                        "$ref": "#/components/schemas/HTTPValidationError"
                      }
                    }
                  }
                }
              }
            }
          },
          "/api/account-sources/resolve-sharepoint-site": {
            "post": {
              "tags": [
                "account-sources"
              ],
              "summary": "Resolve Sharepoint Site",
              "description": "Resolve a pasted SharePoint URL to site_id/site_name/site_url/drive_id.",
              "operationId": "resolve_sharepoint_site_api_account_sources_resolve_sharepoint_site_post",
              "requestBody": {
                "content": {
                  "application/json": {
                    "schema": {
                      "$ref": "#/components/schemas/ResolveSharepointSiteRequest"
                    }
                  }
                },
                "required": true
              },
              "responses": {
                "200": {
                  "description": "Successful Response",
                  "content": {
                    "application/json": {
                      "schema": {}
                    }
                  }
                },
                "422": {
                  "description": "Validation Error",
                  "content": {
                    "application/json": {
                      "schema": {
                        "$ref": "#/components/schemas/HTTPValidationError"
                      }
                    }
                  }
                }
              },
              "security": [
                {
                  "HTTPBearer": []
                }
              ]
            }
          },
          "/api/health": {
            "get": {
              "summary": "Health",
              "operationId": "health_api_health_get",
              "responses": {
                "200": {
                  "description": "Successful Response",
                  "content": {
                    "application/json": {
                      "schema": {}
                    }
                  }
                }
              }
            }
          },
          "/api/workflows/{account_id}/hub": {
            "get": {
              "summary": "Get Hub Status",
              "operationId": "get_hub_status_api_workflows__account_id__hub_get",
              "security": [
                {
                  "HTTPBearer": []
                }
              ],
              "parameters": [
                {
                  "name": "account_id",
                  "in": "path",
                  "required": true,
                  "schema": {
                    "type": "string",
                    "title": "Account Id"
                  }
                }
              ],
              "responses": {
                "200": {
                  "description": "Successful Response",
                  "content": {
                    "application/json": {
                      "schema": {}
                    }
                  }
                },
                "422": {
                  "description": "Validation Error",
                  "content": {
                    "application/json": {
                      "schema": {
                        "$ref": "#/components/schemas/HTTPValidationError"
                      }
                    }
                  }
                }
              }
            }
          },
          "/api/workflows/{account_id}/entities": {
            "get": {
              "summary": "Get Entities",
              "operationId": "get_entities_api_workflows__account_id__entities_get",
              "security": [
                {
                  "HTTPBearer": []
                }
              ],
              "parameters": [
                {
                  "name": "account_id",
                  "in": "path",
                  "required": true,
                  "schema": {
                    "type": "string",
                    "title": "Account Id"
                  }
                }
              ],
              "responses": {
                "200": {
                  "description": "Successful Response",
                  "content": {
                    "application/json": {
                      "schema": {}
                    }
                  }
                },
                "422": {
                  "description": "Validation Error",
                  "content": {
                    "application/json": {
                      "schema": {
                        "$ref": "#/components/schemas/HTTPValidationError"
                      }
                    }
                  }
                }
              }
            }
          },
          "/api/workflows/{account_id}/signal": {
            "post": {
              "summary": "Send Signal",
              "operationId": "send_signal_api_workflows__account_id__signal_post",
              "security": [
                {
                  "HTTPBearer": []
                }
              ],
              "parameters": [
                {
                  "name": "account_id",
                  "in": "path",
                  "required": true,
                  "schema": {
                    "type": "string",
                    "title": "Account Id"
                  }
                }
              ],
              "requestBody": {
                "required": true,
                "content": {
                  "application/json": {
                    "schema": {
                      "$ref": "#/components/schemas/SignalRequest"
                    }
                  }
                }
              },
              "responses": {
                "200": {
                  "description": "Successful Response",
                  "content": {
                    "application/json": {
                      "schema": {}
                    }
                  }
                },
                "422": {
                  "description": "Validation Error",
                  "content": {
                    "application/json": {
                      "schema": {
                        "$ref": "#/components/schemas/HTTPValidationError"
                      }
                    }
                  }
                }
              }
            }
          },
          "/api/workflows/{account_id}/history": {
            "get": {
              "summary": "Get Workflow History",
              "description": "List historical workflow executions for an account.\n\nUses Temporal's visibility API to find all workflows whose ID starts with\nthe account's known prefixes (hub-, spec-, build-, question-, expert-).\nReturns both running and completed/failed/terminated/timed_out executions.",
              "operationId": "get_workflow_history_api_workflows__account_id__history_get",
              "security": [
                {
                  "HTTPBearer": []
                }
              ],
              "parameters": [
                {
                  "name": "account_id",
                  "in": "path",
                  "required": true,
                  "schema": {
                    "type": "string",
                    "title": "Account Id"
                  }
                },
                {
                  "name": "limit",
                  "in": "query",
                  "required": false,
                  "schema": {
                    "type": "integer",
                    "default": 50,
                    "title": "Limit"
                  }
                }
              ],
              "responses": {
                "200": {
                  "description": "Successful Response",
                  "content": {
                    "application/json": {
                      "schema": {}
                    }
                  }
                },
                "422": {
                  "description": "Validation Error",
                  "content": {
                    "application/json": {
                      "schema": {
                        "$ref": "#/components/schemas/HTTPValidationError"
                      }
                    }
                  }
                }
              }
            }
          },
          "/api/workflows/{workflow_id}/describe": {
            "get": {
              "summary": "Describe Workflow",
              "description": "Get detailed info about a specific workflow execution.\n\nWhen the workflow is in a terminal-failure state (FAILED / TIMED_OUT /\nTERMINATED) we additionally fetch history once and pull the closing\nfailure event plus the underlying activity failure that caused it.\nThis gives the UI a one-shot answer to \"why did this fail\" without\nforcing the user to scroll the event log.\n\nPass run_id to inspect a specific prior run (the UI uses this to drill\ninto previously-failed attempts from the run history strip).",
              "operationId": "describe_workflow_api_workflows__workflow_id__describe_get",
              "security": [
                {
                  "HTTPBearer": []
                }
              ],
              "parameters": [
                {
                  "name": "workflow_id",
                  "in": "path",
                  "required": true,
                  "schema": {
                    "type": "string",
                    "title": "Workflow Id"
                  }
                },
                {
                  "name": "run_id",
                  "in": "query",
                  "required": false,
                  "schema": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Run Id"
                  }
                }
              ],
              "responses": {
                "200": {
                  "description": "Successful Response",
                  "content": {
                    "application/json": {
                      "schema": {}
                    }
                  }
                },
                "422": {
                  "description": "Validation Error",
                  "content": {
                    "application/json": {
                      "schema": {
                        "$ref": "#/components/schemas/HTTPValidationError"
                      }
                    }
                  }
                }
              }
            }
          },
          "/api/workflows/{workflow_id}/terminate": {
            "post": {
              "summary": "Terminate Workflow",
              "operationId": "terminate_workflow_api_workflows__workflow_id__terminate_post",
              "security": [
                {
                  "HTTPBearer": []
                }
              ],
              "parameters": [
                {
                  "name": "workflow_id",
                  "in": "path",
                  "required": true,
                  "schema": {
                    "type": "string",
                    "title": "Workflow Id"
                  }
                }
              ],
              "responses": {
                "200": {
                  "description": "Successful Response",
                  "content": {
                    "application/json": {
                      "schema": {}
                    }
                  }
                },
                "422": {
                  "description": "Validation Error",
                  "content": {
                    "application/json": {
                      "schema": {
                        "$ref": "#/components/schemas/HTTPValidationError"
                      }
                    }
                  }
                }
              }
            }
          },
          "/api/workflows/entity/{workflow_id}/phase": {
            "get": {
              "summary": "Get Entity Phase",
              "description": "Query an entity workflow's current phase with type-specific detail.",
              "operationId": "get_entity_phase_api_workflows_entity__workflow_id__phase_get",
              "security": [
                {
                  "HTTPBearer": []
                }
              ],
              "parameters": [
                {
                  "name": "workflow_id",
                  "in": "path",
                  "required": true,
                  "schema": {
                    "type": "string",
                    "title": "Workflow Id"
                  }
                }
              ],
              "responses": {
                "200": {
                  "description": "Successful Response",
                  "content": {
                    "application/json": {
                      "schema": {}
                    }
                  }
                },
                "422": {
                  "description": "Validation Error",
                  "content": {
                    "application/json": {
                      "schema": {
                        "$ref": "#/components/schemas/HTTPValidationError"
                      }
                    }
                  }
                }
              }
            }
          },
          "/api/workflows/{workflow_id}/events": {
            "get": {
              "summary": "Get Workflow Events",
              "description": "Fetch Temporal workflow event history with enriched detail.",
              "operationId": "get_workflow_events_api_workflows__workflow_id__events_get",
              "security": [
                {
                  "HTTPBearer": []
                }
              ],
              "parameters": [
                {
                  "name": "workflow_id",
                  "in": "path",
                  "required": true,
                  "schema": {
                    "type": "string",
                    "title": "Workflow Id"
                  }
                },
                {
                  "name": "limit",
                  "in": "query",
                  "required": false,
                  "schema": {
                    "type": "integer",
                    "default": 100,
                    "title": "Limit"
                  }
                }
              ],
              "responses": {
                "200": {
                  "description": "Successful Response",
                  "content": {
                    "application/json": {
                      "schema": {}
                    }
                  }
                },
                "422": {
                  "description": "Validation Error",
                  "content": {
                    "application/json": {
                      "schema": {
                        "$ref": "#/components/schemas/HTTPValidationError"
                      }
                    }
                  }
                }
              }
            }
          },
          "/api/sandboxes": {
            "get": {
              "summary": "List Sandboxes",
              "operationId": "list_sandboxes_api_sandboxes_get",
              "responses": {
                "200": {
                  "description": "Successful Response",
                  "content": {
                    "application/json": {
                      "schema": {}
                    }
                  }
                }
              },
              "security": [
                {
                  "HTTPBearer": []
                }
              ]
            }
          },
          "/api/sandboxes/coordinator": {
            "post": {
              "summary": "Create Shared Coordinator",
              "description": "Spawn (or attach to) the single shared coordinator sandbox.\n\nPollers and signal_dispatch already ensure this on demand; the endpoint\nis here so operators can warm it from the ops UI before the first signal\narrives.",
              "operationId": "create_shared_coordinator_api_sandboxes_coordinator_post",
              "responses": {
                "200": {
                  "description": "Successful Response",
                  "content": {
                    "application/json": {
                      "schema": {}
                    }
                  }
                }
              },
              "security": [
                {
                  "HTTPBearer": []
                }
              ]
            }
          },
          "/api/sandboxes/{account_id}/hub": {
            "post": {
              "summary": "Create Hub Sandbox",
              "description": "Per-account coordinator spawn. Debug path; production uses the shared\ncoordinator via POST /api/sandboxes/coordinator.",
              "operationId": "create_hub_sandbox_api_sandboxes__account_id__hub_post",
              "security": [
                {
                  "HTTPBearer": []
                }
              ],
              "parameters": [
                {
                  "name": "account_id",
                  "in": "path",
                  "required": true,
                  "schema": {
                    "type": "string",
                    "title": "Account Id"
                  }
                }
              ],
              "responses": {
                "200": {
                  "description": "Successful Response",
                  "content": {
                    "application/json": {
                      "schema": {}
                    }
                  }
                },
                "422": {
                  "description": "Validation Error",
                  "content": {
                    "application/json": {
                      "schema": {
                        "$ref": "#/components/schemas/HTTPValidationError"
                      }
                    }
                  }
                }
              }
            }
          },
          "/api/sandboxes/{account_id}/heavy": {
            "post": {
              "summary": "Create Heavy Sandbox",
              "operationId": "create_heavy_sandbox_api_sandboxes__account_id__heavy_post",
              "security": [
                {
                  "HTTPBearer": []
                }
              ],
              "parameters": [
                {
                  "name": "account_id",
                  "in": "path",
                  "required": true,
                  "schema": {
                    "type": "string",
                    "title": "Account Id"
                  }
                }
              ],
              "responses": {
                "200": {
                  "description": "Successful Response",
                  "content": {
                    "application/json": {
                      "schema": {}
                    }
                  }
                },
                "422": {
                  "description": "Validation Error",
                  "content": {
                    "application/json": {
                      "schema": {
                        "$ref": "#/components/schemas/HTTPValidationError"
                      }
                    }
                  }
                }
              }
            }
          },
          "/api/sandboxes/{sandbox_id}": {
            "delete": {
              "summary": "Kill Sandbox",
              "operationId": "kill_sandbox_api_sandboxes__sandbox_id__delete",
              "security": [
                {
                  "HTTPBearer": []
                }
              ],
              "parameters": [
                {
                  "name": "sandbox_id",
                  "in": "path",
                  "required": true,
                  "schema": {
                    "type": "string",
                    "title": "Sandbox Id"
                  }
                }
              ],
              "responses": {
                "200": {
                  "description": "Successful Response",
                  "content": {
                    "application/json": {
                      "schema": {}
                    }
                  }
                },
                "422": {
                  "description": "Validation Error",
                  "content": {
                    "application/json": {
                      "schema": {
                        "$ref": "#/components/schemas/HTTPValidationError"
                      }
                    }
                  }
                }
              }
            }
          },
          "/api/sandboxes/{sandbox_id}/exec": {
            "post": {
              "summary": "Exec In Sandbox",
              "description": "Execute a command in a running E2B sandbox and return output.",
              "operationId": "exec_in_sandbox_api_sandboxes__sandbox_id__exec_post",
              "security": [
                {
                  "HTTPBearer": []
                }
              ],
              "parameters": [
                {
                  "name": "sandbox_id",
                  "in": "path",
                  "required": true,
                  "schema": {
                    "type": "string",
                    "title": "Sandbox Id"
                  }
                }
              ],
              "requestBody": {
                "required": true,
                "content": {
                  "application/json": {
                    "schema": {
                      "$ref": "#/components/schemas/SandboxExecRequest"
                    }
                  }
                }
              },
              "responses": {
                "200": {
                  "description": "Successful Response",
                  "content": {
                    "application/json": {
                      "schema": {}
                    }
                  }
                },
                "422": {
                  "description": "Validation Error",
                  "content": {
                    "application/json": {
                      "schema": {
                        "$ref": "#/components/schemas/HTTPValidationError"
                      }
                    }
                  }
                }
              }
            }
          },
          "/api/overview": {
            "get": {
              "summary": "Get Overview",
              "description": "Aggregate per-account hub stats and sandbox counts.",
              "operationId": "get_overview_api_overview_get",
              "responses": {
                "200": {
                  "description": "Successful Response",
                  "content": {
                    "application/json": {
                      "schema": {}
                    }
                  }
                }
              },
              "security": [
                {
                  "HTTPBearer": []
                }
              ]
            }
          },
          "/api/telemetry/{account_id}/activity-runs": {
            "get": {
              "summary": "Get Activity Runs",
              "description": "Query recent activity runs for an account.",
              "operationId": "get_activity_runs_api_telemetry__account_id__activity_runs_get",
              "security": [
                {
                  "HTTPBearer": []
                }
              ],
              "parameters": [
                {
                  "name": "account_id",
                  "in": "path",
                  "required": true,
                  "schema": {
                    "type": "string",
                    "title": "Account Id"
                  }
                },
                {
                  "name": "limit",
                  "in": "query",
                  "required": false,
                  "schema": {
                    "type": "integer",
                    "default": 50,
                    "title": "Limit"
                  }
                }
              ],
              "responses": {
                "200": {
                  "description": "Successful Response",
                  "content": {
                    "application/json": {
                      "schema": {}
                    }
                  }
                },
                "422": {
                  "description": "Validation Error",
                  "content": {
                    "application/json": {
                      "schema": {
                        "$ref": "#/components/schemas/HTTPValidationError"
                      }
                    }
                  }
                }
              }
            }
          },
          "/api/telemetry/{account_id}/workflow-events": {
            "get": {
              "summary": "Get Workflow Events",
              "description": "Query recent workflow events for an account.",
              "operationId": "get_workflow_events_api_telemetry__account_id__workflow_events_get",
              "security": [
                {
                  "HTTPBearer": []
                }
              ],
              "parameters": [
                {
                  "name": "account_id",
                  "in": "path",
                  "required": true,
                  "schema": {
                    "type": "string",
                    "title": "Account Id"
                  }
                },
                {
                  "name": "limit",
                  "in": "query",
                  "required": false,
                  "schema": {
                    "type": "integer",
                    "default": 50,
                    "title": "Limit"
                  }
                }
              ],
              "responses": {
                "200": {
                  "description": "Successful Response",
                  "content": {
                    "application/json": {
                      "schema": {}
                    }
                  }
                },
                "422": {
                  "description": "Validation Error",
                  "content": {
                    "application/json": {
                      "schema": {
                        "$ref": "#/components/schemas/HTTPValidationError"
                      }
                    }
                  }
                }
              }
            }
          },
          "/api/workflows/{workflow_id}/phase-timeline": {
            "get": {
              "summary": "Get Phase Timeline",
              "description": "Return ordered phase events for a single workflow from telemetry.\n\nUsed by the dashboard's PhaseTimeline component to render entry/exit\nof each lifecycle phase as a horizontal timeline.",
              "operationId": "get_phase_timeline_api_workflows__workflow_id__phase_timeline_get",
              "security": [
                {
                  "HTTPBearer": []
                }
              ],
              "parameters": [
                {
                  "name": "workflow_id",
                  "in": "path",
                  "required": true,
                  "schema": {
                    "type": "string",
                    "title": "Workflow Id"
                  }
                },
                {
                  "name": "limit",
                  "in": "query",
                  "required": false,
                  "schema": {
                    "type": "integer",
                    "default": 200,
                    "title": "Limit"
                  }
                }
              ],
              "responses": {
                "200": {
                  "description": "Successful Response",
                  "content": {
                    "application/json": {
                      "schema": {}
                    }
                  }
                },
                "422": {
                  "description": "Validation Error",
                  "content": {
                    "application/json": {
                      "schema": {
                        "$ref": "#/components/schemas/HTTPValidationError"
                      }
                    }
                  }
                }
              }
            }
          },
          "/api/workflows/{workflow_id}/activity-runs": {
            "get": {
              "summary": "Get Workflow Activity Runs",
              "description": "Activity runs filtered by workflow_id. Powers the drill-down page\nso callers don't need to know the account_id ahead of time.",
              "operationId": "get_workflow_activity_runs_api_workflows__workflow_id__activity_runs_get",
              "security": [
                {
                  "HTTPBearer": []
                }
              ],
              "parameters": [
                {
                  "name": "workflow_id",
                  "in": "path",
                  "required": true,
                  "schema": {
                    "type": "string",
                    "title": "Workflow Id"
                  }
                },
                {
                  "name": "limit",
                  "in": "query",
                  "required": false,
                  "schema": {
                    "type": "integer",
                    "default": 100,
                    "title": "Limit"
                  }
                }
              ],
              "responses": {
                "200": {
                  "description": "Successful Response",
                  "content": {
                    "application/json": {
                      "schema": {}
                    }
                  }
                },
                "422": {
                  "description": "Validation Error",
                  "content": {
                    "application/json": {
                      "schema": {
                        "$ref": "#/components/schemas/HTTPValidationError"
                      }
                    }
                  }
                }
              }
            }
          },
          "/api/workflows/{workflow_id}/runs": {
            "get": {
              "summary": "Get Workflow Runs",
              "description": "Enumerate every Temporal run for the same logical workflow_id.\n\nDrives the run-history strip and the trajectory pill (Clean / Recovered /\nFailing / Failed / Running). The list is most-recent first; the latest\nrun's status is the \"current\" run from the UI's perspective.",
              "operationId": "get_workflow_runs_api_workflows__workflow_id__runs_get",
              "security": [
                {
                  "HTTPBearer": []
                }
              ],
              "parameters": [
                {
                  "name": "workflow_id",
                  "in": "path",
                  "required": true,
                  "schema": {
                    "type": "string",
                    "title": "Workflow Id"
                  }
                },
                {
                  "name": "limit",
                  "in": "query",
                  "required": false,
                  "schema": {
                    "type": "integer",
                    "default": 20,
                    "title": "Limit"
                  }
                }
              ],
              "responses": {
                "200": {
                  "description": "Successful Response",
                  "content": {
                    "application/json": {
                      "schema": {}
                    }
                  }
                },
                "422": {
                  "description": "Validation Error",
                  "content": {
                    "application/json": {
                      "schema": {
                        "$ref": "#/components/schemas/HTTPValidationError"
                      }
                    }
                  }
                }
              }
            }
          },
          "/api/workflows/{workflow_id}/writes": {
            "get": {
              "summary": "Get Workflow Writes",
              "description": "Resource writes attributed to this workflow.\n\nPhase A: parsed from activity_runs.output_summary. Phase B will read from\nadw.workflow_writes once the api.* RPCs thread activity_run_id through.\nThe response shape is the same in both phases so the UI doesn't change.",
              "operationId": "get_workflow_writes_api_workflows__workflow_id__writes_get",
              "security": [
                {
                  "HTTPBearer": []
                }
              ],
              "parameters": [
                {
                  "name": "workflow_id",
                  "in": "path",
                  "required": true,
                  "schema": {
                    "type": "string",
                    "title": "Workflow Id"
                  }
                },
                {
                  "name": "limit",
                  "in": "query",
                  "required": false,
                  "schema": {
                    "type": "integer",
                    "default": 200,
                    "title": "Limit"
                  }
                }
              ],
              "responses": {
                "200": {
                  "description": "Successful Response",
                  "content": {
                    "application/json": {
                      "schema": {}
                    }
                  }
                },
                "422": {
                  "description": "Validation Error",
                  "content": {
                    "application/json": {
                      "schema": {
                        "$ref": "#/components/schemas/HTTPValidationError"
                      }
                    }
                  }
                }
              }
            }
          },
          "/api/sandboxes/{sandbox_id}/lifecycle": {
            "get": {
              "summary": "Get Sandbox Lifecycle",
              "description": "Return the lifecycle log for a single sandbox, oldest-first.",
              "operationId": "get_sandbox_lifecycle_api_sandboxes__sandbox_id__lifecycle_get",
              "security": [
                {
                  "HTTPBearer": []
                }
              ],
              "parameters": [
                {
                  "name": "sandbox_id",
                  "in": "path",
                  "required": true,
                  "schema": {
                    "type": "string",
                    "title": "Sandbox Id"
                  }
                },
                {
                  "name": "limit",
                  "in": "query",
                  "required": false,
                  "schema": {
                    "type": "integer",
                    "default": 100,
                    "title": "Limit"
                  }
                }
              ],
              "responses": {
                "200": {
                  "description": "Successful Response",
                  "content": {
                    "application/json": {
                      "schema": {}
                    }
                  }
                },
                "422": {
                  "description": "Validation Error",
                  "content": {
                    "application/json": {
                      "schema": {
                        "$ref": "#/components/schemas/HTTPValidationError"
                      }
                    }
                  }
                }
              }
            }
          },
          "/api/sandboxes/{sandbox_id}/activities": {
            "get": {
              "summary": "Get Sandbox Activities",
              "description": "Activities that ran inside this sandbox. Powers the sandbox-detail page\npivot ('what work did sbx_abc1 do?').",
              "operationId": "get_sandbox_activities_api_sandboxes__sandbox_id__activities_get",
              "security": [
                {
                  "HTTPBearer": []
                }
              ],
              "parameters": [
                {
                  "name": "sandbox_id",
                  "in": "path",
                  "required": true,
                  "schema": {
                    "type": "string",
                    "title": "Sandbox Id"
                  }
                },
                {
                  "name": "limit",
                  "in": "query",
                  "required": false,
                  "schema": {
                    "type": "integer",
                    "default": 100,
                    "title": "Limit"
                  }
                }
              ],
              "responses": {
                "200": {
                  "description": "Successful Response",
                  "content": {
                    "application/json": {
                      "schema": {}
                    }
                  }
                },
                "422": {
                  "description": "Validation Error",
                  "content": {
                    "application/json": {
                      "schema": {
                        "$ref": "#/components/schemas/HTTPValidationError"
                      }
                    }
                  }
                }
              }
            }
          },
          "/api/workflows/{workflow_id}/claude-events": {
            "get": {
              "summary": "Get Workflow Claude Events",
              "description": "Return Claude event stream for a workflow, ordered by seq ascending.\n\nArgs:\n    limit: Max rows (clamped to 2000).\n    after_seq: Cursor for incremental fetch; returns rows with seq > this.\n    kinds: Comma-separated kinds to filter (e.g. \"tool_use,tool_result\").\n    include_payload: If false (default), returns NULL for the payload\n        column. Saves bandwidth on the list view; clients fetch the\n        full payload per-event via /api/events/{id}/payload.",
              "operationId": "get_workflow_claude_events_api_workflows__workflow_id__claude_events_get",
              "security": [
                {
                  "HTTPBearer": []
                }
              ],
              "parameters": [
                {
                  "name": "workflow_id",
                  "in": "path",
                  "required": true,
                  "schema": {
                    "type": "string",
                    "title": "Workflow Id"
                  }
                },
                {
                  "name": "limit",
                  "in": "query",
                  "required": false,
                  "schema": {
                    "type": "integer",
                    "default": 500,
                    "title": "Limit"
                  }
                },
                {
                  "name": "after_seq",
                  "in": "query",
                  "required": false,
                  "schema": {
                    "type": "integer",
                    "default": 0,
                    "title": "After Seq"
                  }
                },
                {
                  "name": "kinds",
                  "in": "query",
                  "required": false,
                  "schema": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Kinds"
                  }
                },
                {
                  "name": "include_payload",
                  "in": "query",
                  "required": false,
                  "schema": {
                    "type": "boolean",
                    "default": false,
                    "title": "Include Payload"
                  }
                }
              ],
              "responses": {
                "200": {
                  "description": "Successful Response",
                  "content": {
                    "application/json": {
                      "schema": {}
                    }
                  }
                },
                "422": {
                  "description": "Validation Error",
                  "content": {
                    "application/json": {
                      "schema": {
                        "$ref": "#/components/schemas/HTTPValidationError"
                      }
                    }
                  }
                }
              }
            }
          },
          "/api/claude-events/{event_id}/payload": {
            "get": {
              "summary": "Get Claude Event Payload",
              "description": "Fetch full payload for a single claude_events row.\n\nIf the row was spilled to the artifacts table (large Edit diffs, Bash\nstdout, etc.), this joins to artifacts.content_text and returns the\ndeserialized payload.",
              "operationId": "get_claude_event_payload_api_claude_events__event_id__payload_get",
              "security": [
                {
                  "HTTPBearer": []
                }
              ],
              "parameters": [
                {
                  "name": "event_id",
                  "in": "path",
                  "required": true,
                  "schema": {
                    "type": "string",
                    "title": "Event Id"
                  }
                }
              ],
              "responses": {
                "200": {
                  "description": "Successful Response",
                  "content": {
                    "application/json": {
                      "schema": {}
                    }
                  }
                },
                "422": {
                  "description": "Validation Error",
                  "content": {
                    "application/json": {
                      "schema": {
                        "$ref": "#/components/schemas/HTTPValidationError"
                      }
                    }
                  }
                }
              }
            }
          },
          "/api/telemetry/{account_id}/signal-log": {
            "get": {
              "summary": "Get Signal Log",
              "description": "Query recent signal log entries for an account.",
              "operationId": "get_signal_log_api_telemetry__account_id__signal_log_get",
              "security": [
                {
                  "HTTPBearer": []
                }
              ],
              "parameters": [
                {
                  "name": "account_id",
                  "in": "path",
                  "required": true,
                  "schema": {
                    "type": "string",
                    "title": "Account Id"
                  }
                },
                {
                  "name": "limit",
                  "in": "query",
                  "required": false,
                  "schema": {
                    "type": "integer",
                    "default": 50,
                    "title": "Limit"
                  }
                }
              ],
              "responses": {
                "200": {
                  "description": "Successful Response",
                  "content": {
                    "application/json": {
                      "schema": {}
                    }
                  }
                },
                "422": {
                  "description": "Validation Error",
                  "content": {
                    "application/json": {
                      "schema": {
                        "$ref": "#/components/schemas/HTTPValidationError"
                      }
                    }
                  }
                }
              }
            }
          },
          "/api/telemetry/poll-runs": {
            "get": {
              "summary": "Get Poll Runs",
              "description": "Query recent poll runs across all pollers.\n\nOptional `poller_type` narrows to a single poller; used by the dashboard\n/pollers view when the user drills into a single poller card.",
              "operationId": "get_poll_runs_api_telemetry_poll_runs_get",
              "security": [
                {
                  "HTTPBearer": []
                }
              ],
              "parameters": [
                {
                  "name": "limit",
                  "in": "query",
                  "required": false,
                  "schema": {
                    "type": "integer",
                    "default": 50,
                    "title": "Limit"
                  }
                },
                {
                  "name": "poller_type",
                  "in": "query",
                  "required": false,
                  "schema": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Poller Type"
                  }
                }
              ],
              "responses": {
                "200": {
                  "description": "Successful Response",
                  "content": {
                    "application/json": {
                      "schema": {}
                    }
                  }
                },
                "422": {
                  "description": "Validation Error",
                  "content": {
                    "application/json": {
                      "schema": {
                        "$ref": "#/components/schemas/HTTPValidationError"
                      }
                    }
                  }
                }
              }
            }
          },
          "/api/telemetry/poller-health": {
            "get": {
              "summary": "Get Poller Health",
              "description": "Per-poller health rollup over the last 24h.\n\nComputes server-side what the dashboard previously did client-side, plus\nadds depth the client cannot derive: p50/p95 durations, success/error\ntimestamps as separate signals, and the max gap between successive runs\n(the metric that exposes GHA cron throttling -- 27-69 min vs configured 5).",
              "operationId": "get_poller_health_api_telemetry_poller_health_get",
              "responses": {
                "200": {
                  "description": "Successful Response",
                  "content": {
                    "application/json": {
                      "schema": {}
                    }
                  }
                }
              },
              "security": [
                {
                  "HTTPBearer": []
                }
              ]
            }
          },
          "/api/telemetry/analytics": {
            "get": {
              "summary": "Get Telemetry Analytics",
              "description": "Aggregate telemetry analytics: success rates, durations, error counts.",
              "operationId": "get_telemetry_analytics_api_telemetry_analytics_get",
              "security": [
                {
                  "HTTPBearer": []
                }
              ],
              "parameters": [
                {
                  "name": "period",
                  "in": "query",
                  "required": false,
                  "schema": {
                    "type": "string",
                    "default": "24h",
                    "title": "Period"
                  }
                }
              ],
              "responses": {
                "200": {
                  "description": "Successful Response",
                  "content": {
                    "application/json": {
                      "schema": {}
                    }
                  }
                },
                "422": {
                  "description": "Validation Error",
                  "content": {
                    "application/json": {
                      "schema": {
                        "$ref": "#/components/schemas/HTTPValidationError"
                      }
                    }
                  }
                }
              }
            }
          },
          "/api/standup/{account_id}/{team_id}/dms": {
            "get": {
              "summary": "Standup Dms",
              "description": "Live transcript of Ayumi's 1:1 DMs with each delivery team member.\n\nPulls roster from registry, resolves each member's 1:1 chat with Ayumi via\nGraph (cached), and returns messages within the requested window.",
              "operationId": "standup_dms_api_standup__account_id___team_id__dms_get",
              "security": [
                {
                  "HTTPBearer": []
                }
              ],
              "parameters": [
                {
                  "name": "account_id",
                  "in": "path",
                  "required": true,
                  "schema": {
                    "type": "string",
                    "title": "Account Id"
                  }
                },
                {
                  "name": "team_id",
                  "in": "path",
                  "required": true,
                  "schema": {
                    "type": "string",
                    "title": "Team Id"
                  }
                },
                {
                  "name": "date",
                  "in": "query",
                  "required": false,
                  "schema": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Date"
                  }
                },
                {
                  "name": "since",
                  "in": "query",
                  "required": false,
                  "schema": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Since"
                  }
                },
                {
                  "name": "until",
                  "in": "query",
                  "required": false,
                  "schema": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Until"
                  }
                }
              ],
              "responses": {
                "200": {
                  "description": "Successful Response",
                  "content": {
                    "application/json": {
                      "schema": {}
                    }
                  }
                },
                "422": {
                  "description": "Validation Error",
                  "content": {
                    "application/json": {
                      "schema": {
                        "$ref": "#/components/schemas/HTTPValidationError"
                      }
                    }
                  }
                }
              }
            }
          },
          "/api/standup/{account_id}/{team_id}/channel": {
            "get": {
              "summary": "Standup Channel",
              "description": "Channel posts (and thread replies) made by Ayumi for this team's standup.\n\nFilters the team channel's recent messages to the requested window.",
              "operationId": "standup_channel_api_standup__account_id___team_id__channel_get",
              "security": [
                {
                  "HTTPBearer": []
                }
              ],
              "parameters": [
                {
                  "name": "account_id",
                  "in": "path",
                  "required": true,
                  "schema": {
                    "type": "string",
                    "title": "Account Id"
                  }
                },
                {
                  "name": "team_id",
                  "in": "path",
                  "required": true,
                  "schema": {
                    "type": "string",
                    "title": "Team Id"
                  }
                },
                {
                  "name": "date",
                  "in": "query",
                  "required": false,
                  "schema": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Date"
                  }
                },
                {
                  "name": "since",
                  "in": "query",
                  "required": false,
                  "schema": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Since"
                  }
                },
                {
                  "name": "until",
                  "in": "query",
                  "required": false,
                  "schema": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Until"
                  }
                },
                {
                  "name": "include_replies",
                  "in": "query",
                  "required": false,
                  "schema": {
                    "type": "boolean",
                    "default": true,
                    "title": "Include Replies"
                  }
                }
              ],
              "responses": {
                "200": {
                  "description": "Successful Response",
                  "content": {
                    "application/json": {
                      "schema": {}
                    }
                  }
                },
                "422": {
                  "description": "Validation Error",
                  "content": {
                    "application/json": {
                      "schema": {
                        "$ref": "#/components/schemas/HTTPValidationError"
                      }
                    }
                  }
                }
              }
            }
          },
          "/api/teams/chats": {
            "get": {
              "summary": "Teams List Chats",
              "description": "List Ayumi's recent chats (1:1, group, meeting), sorted by recency.\n\nAugments each chat with `ayumi_message_count` -- the number of messages\nAyumi has sent in the latest 50 messages of the chat. Counts are fetched\nin parallel.",
              "operationId": "teams_list_chats_api_teams_chats_get",
              "responses": {
                "200": {
                  "description": "Successful Response",
                  "content": {
                    "application/json": {
                      "schema": {}
                    }
                  }
                }
              },
              "security": [
                {
                  "HTTPBearer": []
                }
              ]
            }
          },
          "/api/teams/chats/{chat_id}/messages": {
            "get": {
              "summary": "Teams Chat Messages",
              "description": "Latest N messages in a chat, oldest-first, system events filtered.",
              "operationId": "teams_chat_messages_api_teams_chats__chat_id__messages_get",
              "security": [
                {
                  "HTTPBearer": []
                }
              ],
              "parameters": [
                {
                  "name": "chat_id",
                  "in": "path",
                  "required": true,
                  "schema": {
                    "type": "string",
                    "title": "Chat Id"
                  }
                },
                {
                  "name": "top",
                  "in": "query",
                  "required": false,
                  "schema": {
                    "type": "integer",
                    "default": 50,
                    "title": "Top"
                  }
                }
              ],
              "responses": {
                "200": {
                  "description": "Successful Response",
                  "content": {
                    "application/json": {
                      "schema": {}
                    }
                  }
                },
                "422": {
                  "description": "Validation Error",
                  "content": {
                    "application/json": {
                      "schema": {
                        "$ref": "#/components/schemas/HTTPValidationError"
                      }
                    }
                  }
                }
              }
            }
          },
          "/api/teams/channels": {
            "get": {
              "summary": "Teams List Channels",
              "description": "Flat list of every channel across teams Ayumi has joined.\n\nEach channel includes `ayumi_message_count` -- the number of top-level\nposts by Ayumi in the latest 20 messages (replies are not counted to\nkeep round-trip count bounded). Counts are fetched in parallel.",
              "operationId": "teams_list_channels_api_teams_channels_get",
              "responses": {
                "200": {
                  "description": "Successful Response",
                  "content": {
                    "application/json": {
                      "schema": {}
                    }
                  }
                }
              },
              "security": [
                {
                  "HTTPBearer": []
                }
              ]
            }
          },
          "/api/teams/channels/{team_id}/{channel_id}/messages": {
            "get": {
              "summary": "Teams Channel Messages",
              "description": "Latest N channel posts with thread replies inlined.",
              "operationId": "teams_channel_messages_api_teams_channels__team_id___channel_id__messages_get",
              "security": [
                {
                  "HTTPBearer": []
                }
              ],
              "parameters": [
                {
                  "name": "team_id",
                  "in": "path",
                  "required": true,
                  "schema": {
                    "type": "string",
                    "title": "Team Id"
                  }
                },
                {
                  "name": "channel_id",
                  "in": "path",
                  "required": true,
                  "schema": {
                    "type": "string",
                    "title": "Channel Id"
                  }
                },
                {
                  "name": "top",
                  "in": "query",
                  "required": false,
                  "schema": {
                    "type": "integer",
                    "default": 20,
                    "title": "Top"
                  }
                },
                {
                  "name": "include_replies",
                  "in": "query",
                  "required": false,
                  "schema": {
                    "type": "boolean",
                    "default": true,
                    "title": "Include Replies"
                  }
                }
              ],
              "responses": {
                "200": {
                  "description": "Successful Response",
                  "content": {
                    "application/json": {
                      "schema": {}
                    }
                  }
                },
                "422": {
                  "description": "Validation Error",
                  "content": {
                    "application/json": {
                      "schema": {
                        "$ref": "#/components/schemas/HTTPValidationError"
                      }
                    }
                  }
                }
              }
            }
          },
          "/api/standup/{account_id}/{team_id}/preview": {
            "post": {
              "summary": "Run Preview",
              "description": "Run a full standup preview (no Teams posts). Blocking; ~60-120s on\nfirst call due to Claude synthesis. Result is cached in-memory by\n(account_id, team_id, date) for the lifetime of the server process.",
              "operationId": "run_preview_api_standup__account_id___team_id__preview_post",
              "security": [
                {
                  "HTTPBearer": []
                }
              ],
              "parameters": [
                {
                  "name": "account_id",
                  "in": "path",
                  "required": true,
                  "schema": {
                    "type": "string",
                    "title": "Account Id"
                  }
                },
                {
                  "name": "team_id",
                  "in": "path",
                  "required": true,
                  "schema": {
                    "type": "string",
                    "title": "Team Id"
                  }
                },
                {
                  "name": "date",
                  "in": "query",
                  "required": false,
                  "schema": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Date"
                  }
                },
                {
                  "name": "skip_claude",
                  "in": "query",
                  "required": false,
                  "schema": {
                    "type": "boolean",
                    "default": false,
                    "title": "Skip Claude"
                  }
                }
              ],
              "responses": {
                "200": {
                  "description": "Successful Response",
                  "content": {
                    "application/json": {
                      "schema": {}
                    }
                  }
                },
                "422": {
                  "description": "Validation Error",
                  "content": {
                    "application/json": {
                      "schema": {
                        "$ref": "#/components/schemas/HTTPValidationError"
                      }
                    }
                  }
                }
              }
            },
            "get": {
              "summary": "Get Cached Preview",
              "description": "Return the cached preview for (account, team, date). 404 if no\npreview has been run yet for that date. Lets the UI render instantly on\nrevisit without re-syntheses.",
              "operationId": "get_cached_preview_api_standup__account_id___team_id__preview_get",
              "security": [
                {
                  "HTTPBearer": []
                }
              ],
              "parameters": [
                {
                  "name": "account_id",
                  "in": "path",
                  "required": true,
                  "schema": {
                    "type": "string",
                    "title": "Account Id"
                  }
                },
                {
                  "name": "team_id",
                  "in": "path",
                  "required": true,
                  "schema": {
                    "type": "string",
                    "title": "Team Id"
                  }
                },
                {
                  "name": "date",
                  "in": "query",
                  "required": false,
                  "schema": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Date"
                  }
                }
              ],
              "responses": {
                "200": {
                  "description": "Successful Response",
                  "content": {
                    "application/json": {
                      "schema": {}
                    }
                  }
                },
                "422": {
                  "description": "Validation Error",
                  "content": {
                    "application/json": {
                      "schema": {
                        "$ref": "#/components/schemas/HTTPValidationError"
                      }
                    }
                  }
                }
              }
            }
          }
        },
        "components": {
          "schemas": {
            "ApprovalReq": {
              "properties": {
                "decision": {
                  "type": "string",
                  "title": "Decision"
                }
              },
              "type": "object",
              "required": [
                "decision"
              ],
              "title": "ApprovalReq"
            },
            "AskRequest": {
              "properties": {
                "question": {
                  "type": "string",
                  "maxLength": 2000,
                  "minLength": 2,
                  "title": "Question"
                },
                "page_key": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ],
                  "title": "Page Key"
                },
                "page_keys": {
                  "anyOf": [
                    {
                      "items": {
                        "type": "string"
                      },
                      "type": "array",
                      "maxItems": 8
                    },
                    {
                      "type": "null"
                    }
                  ],
                  "title": "Page Keys"
                },
                "space_key": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ],
                  "title": "Space Key"
                }
              },
              "type": "object",
              "required": [
                "question"
              ],
              "title": "AskRequest"
            },
            "BriefResponse": {
              "properties": {
                "kind": {
                  "type": "string",
                  "title": "Kind"
                },
                "bullets": {
                  "items": {},
                  "type": "array",
                  "title": "Bullets"
                },
                "health": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ],
                  "title": "Health"
                },
                "context": {
                  "additionalProperties": {
                    "type": "integer"
                  },
                  "type": "object",
                  "title": "Context"
                },
                "model": {
                  "type": "string",
                  "title": "Model"
                },
                "summarized_at": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ],
                  "title": "Summarized At"
                }
              },
              "type": "object",
              "required": [
                "kind",
                "bullets",
                "context",
                "model"
              ],
              "title": "BriefResponse"
            },
            "CreateScheduleRequest": {
              "properties": {
                "kind": {
                  "type": "string",
                  "enum": [
                    "poller_run",
                    "hub_signal",
                    "lifecycle_start",
                    "custom"
                  ],
                  "title": "Kind"
                },
                "schedule_id": {
                  "type": "string",
                  "title": "Schedule Id"
                },
                "cron": {
                  "type": "string",
                  "title": "Cron"
                },
                "timezone": {
                  "type": "string",
                  "title": "Timezone",
                  "default": ""
                },
                "overlap_policy": {
                  "type": "string",
                  "enum": [
                    "skip",
                    "buffer_one",
                    "buffer_all",
                    "cancel_other",
                    "terminate_other",
                    "allow_all"
                  ],
                  "title": "Overlap Policy",
                  "default": "skip"
                },
                "catchup_window_seconds": {
                  "type": "integer",
                  "title": "Catchup Window Seconds",
                  "default": 300
                },
                "paused": {
                  "type": "boolean",
                  "title": "Paused",
                  "default": false
                },
                "action": {
                  "additionalProperties": true,
                  "type": "object",
                  "title": "Action"
                }
              },
              "type": "object",
              "required": [
                "kind",
                "schedule_id",
                "cron",
                "action"
              ],
              "title": "CreateScheduleRequest"
            },
            "CreateSessionReq": {
              "properties": {
                "title": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ],
                  "title": "Title"
                }
              },
              "type": "object",
              "title": "CreateSessionReq"
            },
            "ForkIn": {
              "properties": {
                "new_slug": {
                  "type": "string",
                  "title": "New Slug"
                },
                "new_title": {
                  "type": "string",
                  "title": "New Title"
                }
              },
              "type": "object",
              "required": [
                "new_slug",
                "new_title"
              ],
              "title": "ForkIn"
            },
            "HTTPValidationError": {
              "properties": {
                "detail": {
                  "items": {
                    "$ref": "#/components/schemas/ValidationError"
                  },
                  "type": "array",
                  "title": "Detail"
                }
              },
              "type": "object",
              "title": "HTTPValidationError"
            },
            "LaunchRunIn": {
              "properties": {
                "template_id": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ],
                  "title": "Template Id"
                },
                "spec_slug": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ],
                  "title": "Spec Slug"
                },
                "inputs": {
                  "additionalProperties": true,
                  "type": "object",
                  "title": "Inputs"
                },
                "account_id": {
                  "type": "string",
                  "title": "Account Id"
                },
                "parent_run_id": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ],
                  "title": "Parent Run Id"
                },
                "requested_via": {
                  "type": "string",
                  "title": "Requested Via",
                  "default": "ui"
                }
              },
              "type": "object",
              "required": [
                "account_id"
              ],
              "title": "LaunchRunIn"
            },
            "PreflightIssue": {
              "properties": {
                "code": {
                  "type": "string",
                  "title": "Code"
                },
                "message": {
                  "type": "string",
                  "title": "Message"
                }
              },
              "type": "object",
              "required": [
                "code",
                "message"
              ],
              "title": "PreflightIssue"
            },
            "PreflightResponse": {
              "properties": {
                "valid": {
                  "type": "boolean",
                  "title": "Valid"
                },
                "errors": {
                  "items": {
                    "$ref": "#/components/schemas/PreflightIssue"
                  },
                  "type": "array",
                  "title": "Errors"
                },
                "warnings": {
                  "items": {
                    "$ref": "#/components/schemas/PreflightIssue"
                  },
                  "type": "array",
                  "title": "Warnings"
                },
                "validate_returncode": {
                  "anyOf": [
                    {
                      "type": "integer"
                    },
                    {
                      "type": "null"
                    }
                  ],
                  "title": "Validate Returncode"
                },
                "validate_stderr": {
                  "type": "string",
                  "title": "Validate Stderr",
                  "default": ""
                }
              },
              "type": "object",
              "required": [
                "valid",
                "errors",
                "warnings"
              ],
              "title": "PreflightResponse"
            },
            "PromoteIn": {
              "properties": {
                "target_template_id": {
                  "type": "string",
                  "title": "Target Template Id"
                },
                "inputs_overrides": {
                  "additionalProperties": true,
                  "type": "object",
                  "title": "Inputs Overrides"
                },
                "requested_via": {
                  "type": "string",
                  "title": "Requested Via",
                  "default": "ui"
                }
              },
              "type": "object",
              "required": [
                "target_template_id"
              ],
              "title": "PromoteIn"
            },
            "ProvisioningRequest": {
              "properties": {
                "platform": {
                  "type": "string",
                  "title": "Platform",
                  "default": ""
                },
                "action": {
                  "type": "string",
                  "title": "Action"
                },
                "user_email": {
                  "type": "string",
                  "title": "User Email",
                  "default": ""
                },
                "github_login": {
                  "type": "string",
                  "title": "Github Login",
                  "default": ""
                },
                "resource": {
                  "type": "string",
                  "title": "Resource",
                  "default": ""
                },
                "role": {
                  "type": "string",
                  "title": "Role",
                  "default": ""
                },
                "details": {
                  "type": "string",
                  "title": "Details",
                  "default": ""
                },
                "justification": {
                  "type": "string",
                  "title": "Justification",
                  "default": ""
                }
              },
              "type": "object",
              "required": [
                "action"
              ],
              "title": "ProvisioningRequest"
            },
            "PurgeUserRequest": {
              "properties": {
                "email": {
                  "type": "string",
                  "title": "Email"
                }
              },
              "type": "object",
              "required": [
                "email"
              ],
              "title": "PurgeUserRequest"
            },
            "ResolveSharepointSiteRequest": {
              "properties": {
                "url": {
                  "type": "string",
                  "title": "Url"
                }
              },
              "type": "object",
              "required": [
                "url"
              ],
              "title": "ResolveSharepointSiteRequest"
            },
            "SandboxExecRequest": {
              "properties": {
                "command": {
                  "type": "string",
                  "title": "Command",
                  "default": "tail -100 /tmp/worker.log"
                },
                "timeout": {
                  "type": "integer",
                  "title": "Timeout",
                  "default": 10
                }
              },
              "type": "object",
              "title": "SandboxExecRequest"
            },
            "ScheduleDetail": {
              "properties": {
                "schedule_id": {
                  "type": "string",
                  "title": "Schedule Id"
                },
                "kind": {
                  "type": "string",
                  "enum": [
                    "poller_run",
                    "hub_signal",
                    "lifecycle_start",
                    "custom"
                  ],
                  "title": "Kind"
                },
                "cron": {
                  "items": {
                    "type": "string"
                  },
                  "type": "array",
                  "title": "Cron"
                },
                "timezone": {
                  "type": "string",
                  "title": "Timezone"
                },
                "paused": {
                  "type": "boolean",
                  "title": "Paused"
                },
                "overlap_policy": {
                  "type": "string",
                  "title": "Overlap Policy"
                },
                "catchup_window_seconds": {
                  "type": "integer",
                  "title": "Catchup Window Seconds"
                },
                "workflow_type": {
                  "type": "string",
                  "title": "Workflow Type"
                },
                "task_queue": {
                  "type": "string",
                  "title": "Task Queue"
                },
                "note": {
                  "type": "string",
                  "title": "Note"
                },
                "last_run_at": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ],
                  "title": "Last Run At"
                },
                "next_run_at": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ],
                  "title": "Next Run At"
                },
                "recent_actions_count": {
                  "type": "integer",
                  "title": "Recent Actions Count"
                },
                "action": {
                  "additionalProperties": true,
                  "type": "object",
                  "title": "Action"
                },
                "recent_actions": {
                  "items": {
                    "additionalProperties": true,
                    "type": "object"
                  },
                  "type": "array",
                  "title": "Recent Actions"
                }
              },
              "type": "object",
              "required": [
                "schedule_id",
                "kind",
                "cron",
                "timezone",
                "paused",
                "overlap_policy",
                "catchup_window_seconds",
                "workflow_type",
                "task_queue",
                "note",
                "last_run_at",
                "next_run_at",
                "recent_actions_count",
                "action",
                "recent_actions"
              ],
              "title": "ScheduleDetail"
            },
            "ScheduleSummary": {
              "properties": {
                "schedule_id": {
                  "type": "string",
                  "title": "Schedule Id"
                },
                "kind": {
                  "type": "string",
                  "enum": [
                    "poller_run",
                    "hub_signal",
                    "lifecycle_start",
                    "custom"
                  ],
                  "title": "Kind"
                },
                "cron": {
                  "items": {
                    "type": "string"
                  },
                  "type": "array",
                  "title": "Cron"
                },
                "timezone": {
                  "type": "string",
                  "title": "Timezone"
                },
                "paused": {
                  "type": "boolean",
                  "title": "Paused"
                },
                "overlap_policy": {
                  "type": "string",
                  "title": "Overlap Policy"
                },
                "catchup_window_seconds": {
                  "type": "integer",
                  "title": "Catchup Window Seconds"
                },
                "workflow_type": {
                  "type": "string",
                  "title": "Workflow Type"
                },
                "task_queue": {
                  "type": "string",
                  "title": "Task Queue"
                },
                "note": {
                  "type": "string",
                  "title": "Note"
                },
                "last_run_at": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ],
                  "title": "Last Run At"
                },
                "next_run_at": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ],
                  "title": "Next Run At"
                },
                "recent_actions_count": {
                  "type": "integer",
                  "title": "Recent Actions Count"
                }
              },
              "type": "object",
              "required": [
                "schedule_id",
                "kind",
                "cron",
                "timezone",
                "paused",
                "overlap_policy",
                "catchup_window_seconds",
                "workflow_type",
                "task_queue",
                "note",
                "last_run_at",
                "next_run_at",
                "recent_actions_count"
              ],
              "title": "ScheduleSummary"
            },
            "SearchRequest": {
              "properties": {
                "q": {
                  "type": "string",
                  "maxLength": 500,
                  "minLength": 2,
                  "title": "Q"
                },
                "space_key": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ],
                  "title": "Space Key"
                },
                "limit": {
                  "type": "integer",
                  "maximum": 20.0,
                  "minimum": 1.0,
                  "title": "Limit",
                  "default": 8
                }
              },
              "type": "object",
              "required": [
                "q"
              ],
              "title": "SearchRequest"
            },
            "SendMessageReq": {
              "properties": {
                "content": {
                  "type": "string",
                  "maxLength": 20000,
                  "minLength": 1,
                  "title": "Content"
                },
                "idempotency_key": {
                  "type": "string",
                  "maxLength": 128,
                  "minLength": 8,
                  "title": "Idempotency Key"
                },
                "model": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ],
                  "title": "Model"
                }
              },
              "type": "object",
              "required": [
                "content",
                "idempotency_key"
              ],
              "title": "SendMessageReq"
            },
            "SignalRequest": {
              "properties": {
                "source": {
                  "type": "string",
                  "title": "Source"
                },
                "event_type": {
                  "type": "string",
                  "title": "Event Type"
                },
                "data": {
                  "additionalProperties": true,
                  "type": "object",
                  "title": "Data",
                  "default": {}
                }
              },
              "type": "object",
              "required": [
                "source",
                "event_type"
              ],
              "title": "SignalRequest"
            },
            "SpecCreateIn": {
              "properties": {
                "slug": {
                  "type": "string",
                  "title": "Slug"
                },
                "title": {
                  "type": "string",
                  "title": "Title"
                },
                "sandbox_kind": {
                  "type": "string",
                  "title": "Sandbox Kind"
                },
                "spec": {
                  "additionalProperties": true,
                  "type": "object",
                  "title": "Spec"
                },
                "inputs_schema": {
                  "additionalProperties": true,
                  "type": "object",
                  "title": "Inputs Schema"
                },
                "description": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ],
                  "title": "Description"
                },
                "visibility": {
                  "type": "string",
                  "title": "Visibility",
                  "default": "private"
                },
                "base_template": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ],
                  "title": "Base Template"
                }
              },
              "type": "object",
              "required": [
                "slug",
                "title",
                "sandbox_kind",
                "spec"
              ],
              "title": "SpecCreateIn"
            },
            "SpecPatchIn": {
              "properties": {
                "patch": {
                  "additionalProperties": true,
                  "type": "object",
                  "title": "Patch"
                }
              },
              "type": "object",
              "required": [
                "patch"
              ],
              "title": "SpecPatchIn"
            },
            "StartReq": {
              "properties": {
                "scope_bundle": {
                  "type": "string",
                  "title": "Scope Bundle",
                  "default": "time_tracking_read"
                }
              },
              "type": "object",
              "title": "StartReq"
            },
            "SuggestRequest": {
              "properties": {
                "page_key": {
                  "type": "string",
                  "title": "Page Key"
                }
              },
              "type": "object",
              "required": [
                "page_key"
              ],
              "title": "SuggestRequest"
            },
            "SummarizeRequest": {
              "properties": {
                "page_key": {
                  "type": "string",
                  "title": "Page Key"
                }
              },
              "type": "object",
              "required": [
                "page_key"
              ],
              "title": "SummarizeRequest"
            },
            "TemplateOut": {
              "properties": {
                "id": {
                  "type": "string",
                  "title": "Id"
                },
                "title": {
                  "type": "string",
                  "title": "Title"
                },
                "description": {
                  "type": "string",
                  "title": "Description"
                },
                "sandbox_kind": {
                  "type": "string",
                  "title": "Sandbox Kind"
                },
                "workflow_type": {
                  "type": "string",
                  "title": "Workflow Type"
                },
                "next_templates": {
                  "items": {
                    "type": "string"
                  },
                  "type": "array",
                  "title": "Next Templates"
                },
                "inputs_schema": {
                  "additionalProperties": true,
                  "type": "object",
                  "title": "Inputs Schema"
                }
              },
              "type": "object",
              "required": [
                "id",
                "title",
                "description",
                "sandbox_kind",
                "workflow_type"
              ],
              "title": "TemplateOut"
            },
            "UpdateScheduleRequest": {
              "properties": {
                "cron": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ],
                  "title": "Cron"
                },
                "timezone": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ],
                  "title": "Timezone"
                },
                "overlap_policy": {
                  "anyOf": [
                    {
                      "type": "string",
                      "enum": [
                        "skip",
                        "buffer_one",
                        "buffer_all",
                        "cancel_other",
                        "terminate_other",
                        "allow_all"
                      ]
                    },
                    {
                      "type": "null"
                    }
                  ],
                  "title": "Overlap Policy"
                },
                "catchup_window_seconds": {
                  "anyOf": [
                    {
                      "type": "integer"
                    },
                    {
                      "type": "null"
                    }
                  ],
                  "title": "Catchup Window Seconds"
                }
              },
              "type": "object",
              "title": "UpdateScheduleRequest"
            },
            "UpdateSessionReq": {
              "properties": {
                "title": {
                  "anyOf": [
                    {
                      "type": "string",
                      "maxLength": 200
                    },
                    {
                      "type": "null"
                    }
                  ],
                  "title": "Title"
                },
                "status": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ],
                  "title": "Status"
                }
              },
              "type": "object",
              "title": "UpdateSessionReq"
            },
            "ValidationError": {
              "properties": {
                "loc": {
                  "items": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "integer"
                      }
                    ]
                  },
                  "type": "array",
                  "title": "Location"
                },
                "msg": {
                  "type": "string",
                  "title": "Message"
                },
                "type": {
                  "type": "string",
                  "title": "Error Type"
                },
                "input": {
                  "title": "Input"
                },
                "ctx": {
                  "type": "object",
                  "title": "Context"
                }
              },
              "type": "object",
              "required": [
                "loc",
                "msg",
                "type"
              ],
              "title": "ValidationError"
            }
          },
          "securitySchemes": {
            "HTTPBearer": {
              "type": "http",
              "scheme": "bearer"
            }
          }
        }
      }
    }
  }
}
