{
  "openapi": "3.1.0",
  "info": {
    "title": "Open Valstorm Unified Platform API (Python + Go + Microservices)",
    "version": "1.0.0",
    "description": "Unified OpenAPI 3.1 reference across open-api (Python FastAPI :8010), open-worker (Go WebSocket Hub, Fleet Deployer & Hybrid Plugins :8080), open-agent-runtime (:8660), and open-web-scraper (:8661)."
  },
  "paths": {
    "/v1/health": {
      "get": {
        "tags": [
          "health"
        ],
        "summary": "Health Check",
        "operationId": "health_check_v1_health_get",
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {}
              }
            }
          }
        },
        "x-valstorm-runtime": "open-api (Python :8010)",
        "x-valstorm-service": "open-api",
        "x-valstorm-port": 8010
      }
    },
    "/v1/status": {
      "get": {
        "tags": [
          "health"
        ],
        "summary": "Status Check",
        "operationId": "status_check_v1_status_get",
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {}
              }
            }
          }
        },
        "x-valstorm-runtime": "open-api (Python :8010)",
        "x-valstorm-service": "open-api",
        "x-valstorm-port": 8010
      }
    },
    "/v1/status/users": {
      "get": {
        "tags": [
          "health"
        ],
        "summary": "Get All Users",
        "operationId": "get_all_users_v1_status_users_get",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "parameters": [
          {
            "name": "X-Organization-ID",
            "in": "header",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Organization-Id"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "additionalProperties": true
                  },
                  "title": "Response Get All Users V1 Status Users Get"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        },
        "x-valstorm-runtime": "open-api (Python :8010)",
        "x-valstorm-service": "open-api",
        "x-valstorm-port": 8010
      }
    },
    "/v1/status/user/{user_id}": {
      "get": {
        "tags": [
          "health"
        ],
        "summary": "Get Single User Status",
        "operationId": "get_single_user_status_v1_status_user__user_id__get",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "parameters": [
          {
            "name": "user_id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "title": "User Id"
            }
          },
          {
            "name": "X-Organization-ID",
            "in": "header",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Organization-Id"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "title": "Response Get Single User Status V1 Status User  User Id  Get"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        },
        "x-valstorm-runtime": "open-api (Python :8010)",
        "x-valstorm-service": "open-api",
        "x-valstorm-port": 8010
      }
    },
    "/v1/status/me": {
      "get": {
        "tags": [
          "health"
        ],
        "summary": "Get My Status",
        "operationId": "get_my_status_v1_status_me_get",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "parameters": [
          {
            "name": "X-Organization-ID",
            "in": "header",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Organization-Id"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "title": "Response Get My Status V1 Status Me Get"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        },
        "x-valstorm-runtime": "open-api (Python :8010)",
        "x-valstorm-service": "open-api",
        "x-valstorm-port": 8010
      }
    },
    "/v1/status/available": {
      "post": {
        "tags": [
          "health"
        ],
        "summary": "Update User Availability",
        "operationId": "update_user_availability_v1_status_available_post",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "parameters": [
          {
            "name": "X-Organization-ID",
            "in": "header",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Organization-Id"
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/AvailabilityUpdateRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "title": "Response Update User Availability V1 Status Available Post"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        },
        "x-valstorm-runtime": "open-api (Python :8010)",
        "x-valstorm-service": "open-api",
        "x-valstorm-port": 8010
      }
    },
    "/v1/status/availability": {
      "post": {
        "tags": [
          "health"
        ],
        "summary": "Update User Availability",
        "operationId": "update_user_availability_v1_status_availability_post",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "parameters": [
          {
            "name": "X-Organization-ID",
            "in": "header",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Organization-Id"
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/AvailabilityUpdateRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "title": "Response Update User Availability V1 Status Availability Post"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        },
        "x-valstorm-runtime": "open-api (Python :8010)",
        "x-valstorm-service": "open-api",
        "x-valstorm-port": 8010
      }
    },
    "/v1/oauth2/authorize": {
      "get": {
        "tags": [
          "oauth2"
        ],
        "summary": "Oauth2 Authorize Get",
        "operationId": "oauth2_authorize_get_v1_oauth2_authorize_get",
        "parameters": [
          {
            "name": "client_id",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Client Id"
            }
          },
          {
            "name": "redirect_uri",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Redirect Uri"
            }
          },
          {
            "name": "response_type",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "default": "code",
              "title": "Response Type"
            }
          },
          {
            "name": "scope",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Scope"
            }
          },
          {
            "name": "state",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "State"
            }
          },
          {
            "name": "code_challenge",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Code Challenge"
            }
          },
          {
            "name": "code_challenge_method",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "default": "S256",
              "title": "Code Challenge Method"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {}
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        },
        "x-valstorm-runtime": "open-api (Python :8010)",
        "x-valstorm-service": "open-api",
        "x-valstorm-port": 8010
      },
      "post": {
        "tags": [
          "oauth2"
        ],
        "summary": "Oauth2 Authorize Post",
        "operationId": "oauth2_authorize_post_v1_oauth2_authorize_post",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/OAuthAuthorizeRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {}
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        },
        "x-valstorm-runtime": "open-api (Python :8010)",
        "x-valstorm-service": "open-api",
        "x-valstorm-port": 8010
      }
    },
    "/v1/oauth2/code": {
      "post": {
        "tags": [
          "oauth2"
        ],
        "summary": "Oauth2 Generate Code",
        "operationId": "oauth2_generate_code_v1_oauth2_code_post",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "parameters": [
          {
            "name": "X-Organization-ID",
            "in": "header",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Organization-Id"
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/OAuthCodeRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {}
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        },
        "x-valstorm-runtime": "open-api (Python :8010)",
        "x-valstorm-service": "open-api",
        "x-valstorm-port": 8010
      }
    },
    "/v1/oauth2/token": {
      "post": {
        "tags": [
          "oauth2"
        ],
        "summary": "Oauth2 Token",
        "description": "Standard OAuth 2.0 Token Endpoint supporting:\n- `authorization_code` (with PKCE and/or one-way hashed `client_secret_hash` verification)\n- `client_credentials` (with self-routing `client_id` + `client_secret_hash` verification)\n- `refresh_token`",
        "operationId": "oauth2_token_v1_oauth2_token_post",
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TokenResponse"
                }
              }
            }
          }
        },
        "x-valstorm-runtime": "open-api (Python :8010)",
        "x-valstorm-service": "open-api",
        "x-valstorm-port": 8010
      }
    },
    "/v1/oauth2/login": {
      "post": {
        "tags": [
          "oauth2"
        ],
        "summary": "Oauth2 Login",
        "description": "Standard OAuth2 password login supporting:\n1. application/x-www-form-urlencoded (OAuth2 standard)\n2. application/json",
        "operationId": "oauth2_login_v1_oauth2_login_post",
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TokenResponse"
                }
              }
            }
          }
        },
        "x-valstorm-runtime": "open-api (Python :8010)",
        "x-valstorm-service": "open-api",
        "x-valstorm-port": 8010
      }
    },
    "/v1/oauth2/refresh": {
      "post": {
        "tags": [
          "oauth2"
        ],
        "summary": "Oauth2 Refresh",
        "description": "Refreshes expired access tokens using a valid refresh token.\nAccepts refresh_token from JSON body, form data, or Authorization header.\nDoes NOT require a valid access token dependency, allowing seamless renewal.",
        "operationId": "oauth2_refresh_v1_oauth2_refresh_post",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/TokenRefreshRequest"
                  },
                  {
                    "type": "null"
                  }
                ],
                "title": "Body"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TokenResponse"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        },
        "x-valstorm-runtime": "open-api (Python :8010)",
        "x-valstorm-service": "open-api",
        "x-valstorm-port": 8010
      }
    },
    "/v1/auth/register": {
      "post": {
        "tags": [
          "auth"
        ],
        "summary": "Register",
        "operationId": "register_v1_auth_register_post",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/RegisterRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {}
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        },
        "x-valstorm-runtime": "open-api (Python :8010)",
        "x-valstorm-service": "open-api",
        "x-valstorm-port": 8010
      }
    },
    "/v1/auth/login": {
      "post": {
        "tags": [
          "auth"
        ],
        "summary": "Login",
        "operationId": "login_v1_auth_login_post",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/LoginRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {}
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        },
        "x-valstorm-runtime": "open-api (Python :8010)",
        "x-valstorm-service": "open-api",
        "x-valstorm-port": 8010
      }
    },
    "/v1/auth/me": {
      "get": {
        "tags": [
          "auth"
        ],
        "summary": "Get Me",
        "operationId": "get_me_v1_auth_me_get",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "parameters": [
          {
            "name": "X-Organization-ID",
            "in": "header",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Organization-Id"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {}
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        },
        "x-valstorm-runtime": "open-api (Python :8010)",
        "x-valstorm-service": "open-api",
        "x-valstorm-port": 8010
      }
    },
    "/v1/auth/load": {
      "get": {
        "tags": [
          "auth"
        ],
        "summary": "Auth Load",
        "description": "Initial boot loader contract used by frontend workspaces and desktop clients.\nAggregates user profile, organization info, active apps, pages, tags, and settings.",
        "operationId": "auth_load_v1_auth_load_get",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "parameters": [
          {
            "name": "X-Organization-ID",
            "in": "header",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Organization-Id"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {}
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        },
        "x-valstorm-runtime": "open-api (Python :8010)",
        "x-valstorm-service": "open-api",
        "x-valstorm-port": 8010
      }
    },
    "/v1/auth/logout": {
      "post": {
        "tags": [
          "auth"
        ],
        "summary": "Logout",
        "operationId": "logout_v1_auth_logout_post",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "parameters": [
          {
            "name": "X-Organization-ID",
            "in": "header",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Organization-Id"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "Successful Response"
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        },
        "x-valstorm-runtime": "open-api (Python :8010)",
        "x-valstorm-service": "open-api",
        "x-valstorm-port": 8010
      }
    },
    "/v1/auth/switch-org": {
      "post": {
        "tags": [
          "auth"
        ],
        "summary": "Switch Organization",
        "description": "Switches the authenticated user between their root production organization and its child sandboxes.\nSupports both legacy Desktop payload `{\"id\": \"...\"}` on `/v1/auth/switch`\nand Admin payload `{\"organization_id\": \"...\"}` on `/v1/auth/switch-org`.\nStrictly forbids switching into unrelated tenant organizations.",
        "operationId": "switch_organization_v1_auth_switch_org_post",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "parameters": [
          {
            "name": "X-Organization-ID",
            "in": "header",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Organization-Id"
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/SwitchOrgRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {}
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        },
        "x-valstorm-runtime": "open-api (Python :8010)",
        "x-valstorm-service": "open-api",
        "x-valstorm-port": 8010
      }
    },
    "/v1/auth/switch": {
      "post": {
        "tags": [
          "auth"
        ],
        "summary": "Switch Organization",
        "description": "Switches the authenticated user between their root production organization and its child sandboxes.\nSupports both legacy Desktop payload `{\"id\": \"...\"}` on `/v1/auth/switch`\nand Admin payload `{\"organization_id\": \"...\"}` on `/v1/auth/switch-org`.\nStrictly forbids switching into unrelated tenant organizations.",
        "operationId": "switch_organization_v1_auth_switch_post",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "parameters": [
          {
            "name": "X-Organization-ID",
            "in": "header",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Organization-Id"
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/SwitchOrgRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {}
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        },
        "x-valstorm-runtime": "open-api (Python :8010)",
        "x-valstorm-service": "open-api",
        "x-valstorm-port": 8010
      }
    },
    "/v1/auth/sessions": {
      "get": {
        "tags": [
          "auth"
        ],
        "summary": "List Active Sessions",
        "description": "Returns active sessions for the authenticated user.",
        "operationId": "list_active_sessions_v1_auth_sessions_get",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "parameters": [
          {
            "name": "X-Organization-ID",
            "in": "header",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Organization-Id"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {}
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        },
        "x-valstorm-runtime": "open-api (Python :8010)",
        "x-valstorm-service": "open-api",
        "x-valstorm-port": 8010
      }
    },
    "/v1/auth/sessions/revoke-all": {
      "post": {
        "tags": [
          "auth"
        ],
        "summary": "Revoke All Sessions",
        "operationId": "revoke_all_sessions_v1_auth_sessions_revoke_all_post",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "parameters": [
          {
            "name": "X-Organization-ID",
            "in": "header",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Organization-Id"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {}
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        },
        "x-valstorm-runtime": "open-api (Python :8010)",
        "x-valstorm-service": "open-api",
        "x-valstorm-port": 8010
      }
    },
    "/v1/auth/sessions/{session_id}/revoke": {
      "post": {
        "tags": [
          "auth"
        ],
        "summary": "Revoke Single Session",
        "operationId": "revoke_single_session_v1_auth_sessions__session_id__revoke_post",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "parameters": [
          {
            "name": "session_id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Session Id"
            }
          },
          {
            "name": "X-Organization-ID",
            "in": "header",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Organization-Id"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {}
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        },
        "x-valstorm-runtime": "open-api (Python :8010)",
        "x-valstorm-service": "open-api",
        "x-valstorm-port": 8010
      }
    },
    "/v1/auth/cli-browser-token": {
      "post": {
        "tags": [
          "auth"
        ],
        "summary": "Generate Cli Browser Token",
        "description": "Generates a short-lived, single-use token to exchange for a browser session (`valstorm project open`).",
        "operationId": "generate_cli_browser_token_v1_auth_cli_browser_token_post",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "parameters": [
          {
            "name": "X-Organization-ID",
            "in": "header",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Organization-Id"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CliBrowserTokenResponse"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        },
        "x-valstorm-runtime": "open-api (Python :8010)",
        "x-valstorm-service": "open-api",
        "x-valstorm-port": 8010
      }
    },
    "/v1/auth/consume-cli-token": {
      "post": {
        "tags": [
          "auth"
        ],
        "summary": "Consume Cli Browser Token",
        "description": "Consumes a single-use CLI exchange token and returns standard web session tokens.",
        "operationId": "consume_cli_browser_token_v1_auth_consume_cli_token_post",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ConsumeCliTokenRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {}
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        },
        "x-valstorm-runtime": "open-api (Python :8010)",
        "x-valstorm-service": "open-api",
        "x-valstorm-port": 8010
      }
    },
    "/v1/auth/pats": {
      "post": {
        "tags": [
          "pat"
        ],
        "summary": "Create Pat",
        "operationId": "create_pat_v1_auth_pats_post",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "parameters": [
          {
            "name": "X-Organization-ID",
            "in": "header",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Organization-Id"
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/PersonalAccessTokenCreate"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PersonalAccessTokenResponse"
                }
              }
            }
          },
          "404": {
            "description": "Not found"
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        },
        "x-valstorm-runtime": "open-api (Python :8010)",
        "x-valstorm-service": "open-api",
        "x-valstorm-port": 8010
      },
      "get": {
        "tags": [
          "pat"
        ],
        "summary": "List Pats",
        "operationId": "list_pats_v1_auth_pats_get",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "parameters": [
          {
            "name": "X-Organization-ID",
            "in": "header",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Organization-Id"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/PersonalAccessTokenResponse"
                  },
                  "title": "Response List Pats V1 Auth Pats Get"
                }
              }
            }
          },
          "404": {
            "description": "Not found"
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        },
        "x-valstorm-runtime": "open-api (Python :8010)",
        "x-valstorm-service": "open-api",
        "x-valstorm-port": 8010
      }
    },
    "/v1/auth/pats/{pat_id}": {
      "delete": {
        "tags": [
          "pat"
        ],
        "summary": "Revoke Pat",
        "operationId": "revoke_pat_v1_auth_pats__pat_id__delete",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "parameters": [
          {
            "name": "pat_id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Pat Id"
            }
          },
          {
            "name": "X-Organization-ID",
            "in": "header",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Organization-Id"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {}
              }
            }
          },
          "404": {
            "description": "Not found"
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        },
        "x-valstorm-runtime": "open-api (Python :8010)",
        "x-valstorm-service": "open-api",
        "x-valstorm-port": 8010
      }
    },
    "/v1/register": {
      "post": {
        "tags": [
          "registration"
        ],
        "summary": "Register User Route",
        "operationId": "register_user_route_v1_register_post",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/RegistrationRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "201": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "additionalProperties": true,
                  "type": "object",
                  "title": "Response Register User Route V1 Register Post"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        },
        "x-valstorm-runtime": "open-api (Python :8010)",
        "x-valstorm-service": "open-api",
        "x-valstorm-port": 8010
      }
    },
    "/v1/register/google": {
      "post": {
        "tags": [
          "registration"
        ],
        "summary": "Register Or Login With Google Route",
        "operationId": "register_or_login_with_google_route_v1_register_google_post",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/GoogleRegistrationRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "additionalProperties": true,
                  "type": "object",
                  "title": "Response Register Or Login With Google Route V1 Register Google Post"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        },
        "x-valstorm-runtime": "open-api (Python :8010)",
        "x-valstorm-service": "open-api",
        "x-valstorm-port": 8010
      }
    },
    "/v1/register/verify-otp": {
      "post": {
        "tags": [
          "registration"
        ],
        "summary": "Verify Otp Route",
        "operationId": "verify_otp_route_v1_register_verify_otp_post",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/VerifyOtpRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "additionalProperties": true,
                  "type": "object",
                  "title": "Response Verify Otp Route V1 Register Verify Otp Post"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        },
        "x-valstorm-runtime": "open-api (Python :8010)",
        "x-valstorm-service": "open-api",
        "x-valstorm-port": 8010
      }
    },
    "/v1/register/resend-otp": {
      "post": {
        "tags": [
          "registration"
        ],
        "summary": "Resend Otp Route",
        "operationId": "resend_otp_route_v1_register_resend_otp_post",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ResendOtpRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "additionalProperties": true,
                  "type": "object",
                  "title": "Response Resend Otp Route V1 Register Resend Otp Post"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        },
        "x-valstorm-runtime": "open-api (Python :8010)",
        "x-valstorm-service": "open-api",
        "x-valstorm-port": 8010
      }
    },
    "/v1/register/activate": {
      "post": {
        "tags": [
          "registration"
        ],
        "summary": "Activate User Route",
        "operationId": "activate_user_route_v1_register_activate_post",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UserActivationRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "201": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "additionalProperties": true,
                  "type": "object",
                  "title": "Response Activate User Route V1 Register Activate Post"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        },
        "x-valstorm-runtime": "open-api (Python :8010)",
        "x-valstorm-service": "open-api",
        "x-valstorm-port": 8010
      }
    },
    "/v1/register/user": {
      "post": {
        "tags": [
          "registration"
        ],
        "summary": "Register User To Org Route",
        "operationId": "register_user_to_org_route_v1_register_user_post",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "parameters": [
          {
            "name": "X-Organization-ID",
            "in": "header",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Organization-Id"
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UserRegistrationRequest"
              }
            }
          }
        },
        "responses": {
          "201": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "title": "Response Register User To Org Route V1 Register User Post"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        },
        "x-valstorm-runtime": "open-api (Python :8010)",
        "x-valstorm-service": "open-api",
        "x-valstorm-port": 8010
      }
    },
    "/v1/register/activate-invite": {
      "post": {
        "tags": [
          "registration"
        ],
        "summary": "Activate Invite Route",
        "operationId": "activate_invite_route_v1_register_activate_invite_post",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "parameters": [
          {
            "name": "X-Organization-ID",
            "in": "header",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Organization-Id"
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/AcceptActivationInvite"
              }
            }
          }
        },
        "responses": {
          "201": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "title": "Response Activate Invite Route V1 Register Activate Invite Post"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        },
        "x-valstorm-runtime": "open-api (Python :8010)",
        "x-valstorm-service": "open-api",
        "x-valstorm-port": 8010
      }
    },
    "/v1/schema": {
      "get": {
        "tags": [
          "schema"
        ],
        "summary": "Get Schemas Api",
        "description": "Returns all registered schemas for the tenant as a dictionary keyed by api_name.\nMatches frontend expectation: schemas[object.toLowerCase()]",
        "operationId": "get_schemas_api_v1_schema_get",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "parameters": [
          {
            "name": "X-Organization-ID",
            "in": "header",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Organization-Id"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "title": "Response Get Schemas Api V1 Schema Get"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        },
        "x-valstorm-runtime": "open-api (Python :8010)",
        "x-valstorm-service": "open-api",
        "x-valstorm-port": 8010
      },
      "post": {
        "tags": [
          "schema"
        ],
        "summary": "Create Schema Api",
        "description": "Creates a new custom object: compiles CREATE TABLE and inserts schema metadata.",
        "operationId": "create_schema_api_v1_schema_post",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "parameters": [
          {
            "name": "X-Organization-ID",
            "in": "header",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Organization-Id"
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/SchemaCreateRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "title": "Response Create Schema Api V1 Schema Post"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        },
        "x-valstorm-runtime": "open-api (Python :8010)",
        "x-valstorm-service": "open-api",
        "x-valstorm-port": 8010
      },
      "patch": {
        "tags": [
          "schema"
        ],
        "summary": "Update Schema Api",
        "description": "Updates schema metadata (title, prefix, required, properties).",
        "operationId": "update_schema_api_v1_schema_patch",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "parameters": [
          {
            "name": "X-Organization-ID",
            "in": "header",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Organization-Id"
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/SchemaUpdateRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "title": "Response Update Schema Api V1 Schema Patch"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        },
        "x-valstorm-runtime": "open-api (Python :8010)",
        "x-valstorm-service": "open-api",
        "x-valstorm-port": 8010
      }
    },
    "/v1/schema/sync/status": {
      "get": {
        "tags": [
          "schema"
        ],
        "summary": "Get Schema Sync Status Api",
        "description": "Detects drift between the physical PostgreSQL database and Valstorm schemas metadata.\nDesigned for engineering teams who directly execute SQL or run migrations.",
        "operationId": "get_schema_sync_status_api_v1_schema_sync_status_get",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "parameters": [
          {
            "name": "X-Organization-ID",
            "in": "header",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Organization-Id"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "title": "Response Get Schema Sync Status Api V1 Schema Sync Status Get"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        },
        "x-valstorm-runtime": "open-api (Python :8010)",
        "x-valstorm-service": "open-api",
        "x-valstorm-port": 8010
      }
    },
    "/v1/schema/sync": {
      "post": {
        "tags": [
          "schema"
        ],
        "summary": "Sync Schema From Postgres Api",
        "description": "Introspects native PostgreSQL tables/columns and synchronizes them into Valstorm schemas metadata.\nEnables engineering teams to run direct SQL migrations (Alembic/Prisma/Flyway) and immediately\nreflect new tables and columns into the dynamic UI grids, GraphQL, and AI agent runtime.",
        "operationId": "sync_schema_from_postgres_api_v1_schema_sync_post",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "parameters": [
          {
            "name": "X-Organization-ID",
            "in": "header",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Organization-Id"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/SchemaSyncRequest",
                "default": {
                  "prune": false,
                  "app": "base"
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "title": "Response Sync Schema From Postgres Api V1 Schema Sync Post"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        },
        "x-valstorm-runtime": "open-api (Python :8010)",
        "x-valstorm-service": "open-api",
        "x-valstorm-port": 8010
      }
    },
    "/v1/schema/{object_name}": {
      "get": {
        "tags": [
          "schema"
        ],
        "summary": "Get Schema By Name Api",
        "description": "Returns a single schema by api_name or schema ID.",
        "operationId": "get_schema_by_name_api_v1_schema__object_name__get",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "parameters": [
          {
            "name": "object_name",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Object Name"
            }
          },
          {
            "name": "X-Organization-ID",
            "in": "header",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Organization-Id"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "title": "Response Get Schema By Name Api V1 Schema  Object Name  Get"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        },
        "x-valstorm-runtime": "open-api (Python :8010)",
        "x-valstorm-service": "open-api",
        "x-valstorm-port": 8010
      }
    },
    "/v1/schema/{object_name}/field/{field_name}": {
      "get": {
        "tags": [
          "schema"
        ],
        "summary": "Get Schema Field Api",
        "description": "Returns definition and metadata for a specific field on an object schema.",
        "operationId": "get_schema_field_api_v1_schema__object_name__field__field_name__get",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "parameters": [
          {
            "name": "object_name",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Object Name"
            }
          },
          {
            "name": "field_name",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Field Name"
            }
          },
          {
            "name": "X-Organization-ID",
            "in": "header",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Organization-Id"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "title": "Response Get Schema Field Api V1 Schema  Object Name  Field  Field Name  Get"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        },
        "x-valstorm-runtime": "open-api (Python :8010)",
        "x-valstorm-service": "open-api",
        "x-valstorm-port": 8010
      }
    },
    "/v1/schema/field": {
      "post": {
        "tags": [
          "schema"
        ],
        "summary": "Create Schema Field Api",
        "description": "Adds a field to an existing object: executes ALTER TABLE ADD COLUMN and updates schemas.",
        "operationId": "create_schema_field_api_v1_schema_field_post",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "parameters": [
          {
            "name": "X-Organization-ID",
            "in": "header",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Organization-Id"
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/SchemaFieldCreateRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "title": "Response Create Schema Field Api V1 Schema Field Post"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        },
        "x-valstorm-runtime": "open-api (Python :8010)",
        "x-valstorm-service": "open-api",
        "x-valstorm-port": 8010
      },
      "patch": {
        "tags": [
          "schema"
        ],
        "summary": "Update Schema Field Api",
        "description": "Updates an existing field's metadata in the schema definition.",
        "operationId": "update_schema_field_api_v1_schema_field_patch",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "parameters": [
          {
            "name": "X-Organization-ID",
            "in": "header",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Organization-Id"
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/SchemaFieldUpdateRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "title": "Response Update Schema Field Api V1 Schema Field Patch"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        },
        "x-valstorm-runtime": "open-api (Python :8010)",
        "x-valstorm-service": "open-api",
        "x-valstorm-port": 8010
      }
    },
    "/v1/schema/{schema_id}": {
      "delete": {
        "tags": [
          "schema"
        ],
        "summary": "Delete Schema Api",
        "description": "Deletes an object schema and drops the physical table.",
        "operationId": "delete_schema_api_v1_schema__schema_id__delete",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "parameters": [
          {
            "name": "schema_id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Schema Id"
            }
          },
          {
            "name": "X-Organization-ID",
            "in": "header",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Organization-Id"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {}
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        },
        "x-valstorm-runtime": "open-api (Python :8010)",
        "x-valstorm-service": "open-api",
        "x-valstorm-port": 8010
      }
    },
    "/v1/schema/{object_id}/{field_name}": {
      "delete": {
        "tags": [
          "schema"
        ],
        "summary": "Delete Schema Field Api",
        "description": "Drops a column from the table and removes it from schemas metadata.",
        "operationId": "delete_schema_field_api_v1_schema__object_id___field_name__delete",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "parameters": [
          {
            "name": "object_id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Object Id"
            }
          },
          {
            "name": "field_name",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Field Name"
            }
          },
          {
            "name": "X-Organization-ID",
            "in": "header",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Organization-Id"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {}
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        },
        "x-valstorm-runtime": "open-api (Python :8010)",
        "x-valstorm-service": "open-api",
        "x-valstorm-port": 8010
      }
    },
    "/v1/schema/{object_id}/validation-rule": {
      "post": {
        "tags": [
          "schema"
        ],
        "summary": "Create Validation Rule Api",
        "description": "Adds a validation rule to an object schema.",
        "operationId": "create_validation_rule_api_v1_schema__object_id__validation_rule_post",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "parameters": [
          {
            "name": "object_id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Object Id"
            }
          },
          {
            "name": "X-Organization-ID",
            "in": "header",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Organization-Id"
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ValidationRuleCreateRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "title": "Response Create Validation Rule Api V1 Schema  Object Id  Validation Rule Post"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        },
        "x-valstorm-runtime": "open-api (Python :8010)",
        "x-valstorm-service": "open-api",
        "x-valstorm-port": 8010
      }
    },
    "/v1/schema/{object_id}/validation-rule/{rule_api_name}": {
      "patch": {
        "tags": [
          "schema"
        ],
        "summary": "Update Validation Rule Api",
        "description": "Updates an existing validation rule on an object schema.",
        "operationId": "update_validation_rule_api_v1_schema__object_id__validation_rule__rule_api_name__patch",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "parameters": [
          {
            "name": "object_id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Object Id"
            }
          },
          {
            "name": "rule_api_name",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Rule Api Name"
            }
          },
          {
            "name": "X-Organization-ID",
            "in": "header",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Organization-Id"
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ValidationRuleUpdateRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "title": "Response Update Validation Rule Api V1 Schema  Object Id  Validation Rule  Rule Api Name  Patch"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        },
        "x-valstorm-runtime": "open-api (Python :8010)",
        "x-valstorm-service": "open-api",
        "x-valstorm-port": 8010
      },
      "delete": {
        "tags": [
          "schema"
        ],
        "summary": "Delete Validation Rule Api",
        "description": "Deletes a validation rule from an object schema.",
        "operationId": "delete_validation_rule_api_v1_schema__object_id__validation_rule__rule_api_name__delete",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "parameters": [
          {
            "name": "object_id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Object Id"
            }
          },
          {
            "name": "rule_api_name",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Rule Api Name"
            }
          },
          {
            "name": "X-Organization-ID",
            "in": "header",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Organization-Id"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {}
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        },
        "x-valstorm-runtime": "open-api (Python :8010)",
        "x-valstorm-service": "open-api",
        "x-valstorm-port": 8010
      }
    },
    "/v1/records/{api_name}": {
      "post": {
        "tags": [
          "records"
        ],
        "summary": "Create Records Api",
        "description": "Creates records in the specified object table through PlatformContext.",
        "operationId": "create_records_api_v1_records__api_name__post",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "parameters": [
          {
            "name": "api_name",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Api Name"
            }
          },
          {
            "name": "X-Organization-ID",
            "in": "header",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Organization-Id"
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "type": "object",
                    "additionalProperties": true
                  },
                  {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": true
                    }
                  }
                ],
                "title": "Payload"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {}
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        },
        "x-valstorm-runtime": "open-api (Python :8010)",
        "x-valstorm-service": "open-api",
        "x-valstorm-port": 8010
      },
      "patch": {
        "tags": [
          "records"
        ],
        "summary": "Update Records Api",
        "description": "Updates records in the specified object table through PlatformContext.",
        "operationId": "update_records_api_v1_records__api_name__patch",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "parameters": [
          {
            "name": "api_name",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Api Name"
            }
          },
          {
            "name": "X-Organization-ID",
            "in": "header",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Organization-Id"
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "type": "object",
                    "additionalProperties": true
                  },
                  {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": true
                    }
                  }
                ],
                "title": "Payload"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {}
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        },
        "x-valstorm-runtime": "open-api (Python :8010)",
        "x-valstorm-service": "open-api",
        "x-valstorm-port": 8010
      },
      "delete": {
        "tags": [
          "records"
        ],
        "summary": "Delete Records Api",
        "description": "Deletes multiple records by comma-separated query parameter 'ids' or JSON body through PlatformContext.",
        "operationId": "delete_records_api_v1_records__api_name__delete",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "parameters": [
          {
            "name": "api_name",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Api Name"
            }
          },
          {
            "name": "ids",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "description": "Comma-separated record IDs or query parameter",
              "title": "Ids"
            },
            "description": "Comma-separated record IDs or query parameter"
          },
          {
            "name": "permanent",
            "in": "query",
            "required": false,
            "schema": {
              "type": "boolean",
              "description": "If True, permanently deletes records bypassing the 14-day recycle bin",
              "default": false,
              "title": "Permanent"
            },
            "description": "If True, permanently deletes records bypassing the 14-day recycle bin"
          },
          {
            "name": "X-Organization-ID",
            "in": "header",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Organization-Id"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": true
                    }
                  },
                  {
                    "type": "object",
                    "additionalProperties": true
                  },
                  {
                    "type": "array",
                    "items": {
                      "type": "string"
                    }
                  },
                  {
                    "type": "null"
                  }
                ],
                "title": "Payload"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {}
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        },
        "x-valstorm-runtime": "open-api (Python :8010)",
        "x-valstorm-service": "open-api",
        "x-valstorm-port": 8010
      },
      "get": {
        "tags": [
          "records"
        ],
        "summary": "Get Records Api",
        "description": "Lists records for an object with standard pagination headers through PlatformContext.",
        "operationId": "get_records_api_v1_records__api_name__get",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "parameters": [
          {
            "name": "api_name",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Api Name"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "maximum": 500,
              "minimum": 1,
              "default": 50,
              "title": "Limit"
            }
          },
          {
            "name": "offset",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "minimum": 0,
              "default": 0,
              "title": "Offset"
            }
          },
          {
            "name": "hydrate",
            "in": "query",
            "required": false,
            "schema": {
              "type": "boolean",
              "description": "Whether to hydrate lookup fields",
              "default": true,
              "title": "Hydrate"
            },
            "description": "Whether to hydrate lookup fields"
          },
          {
            "name": "X-Organization-ID",
            "in": "header",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Organization-Id"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {}
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        },
        "x-valstorm-runtime": "open-api (Python :8010)",
        "x-valstorm-service": "open-api",
        "x-valstorm-port": 8010
      }
    },
    "/v1/object/{api_name}": {
      "post": {
        "tags": [
          "records"
        ],
        "summary": "Create Records Api",
        "description": "Creates records in the specified object table through PlatformContext.",
        "operationId": "create_records_api_v1_object__api_name__post",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "parameters": [
          {
            "name": "api_name",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Api Name"
            }
          },
          {
            "name": "X-Organization-ID",
            "in": "header",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Organization-Id"
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "type": "object",
                    "additionalProperties": true
                  },
                  {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": true
                    }
                  }
                ],
                "title": "Payload"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {}
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        },
        "x-valstorm-runtime": "open-api (Python :8010)",
        "x-valstorm-service": "open-api",
        "x-valstorm-port": 8010
      },
      "patch": {
        "tags": [
          "records"
        ],
        "summary": "Update Records Api",
        "description": "Updates records in the specified object table through PlatformContext.",
        "operationId": "update_records_api_v1_object__api_name__patch",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "parameters": [
          {
            "name": "api_name",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Api Name"
            }
          },
          {
            "name": "X-Organization-ID",
            "in": "header",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Organization-Id"
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "type": "object",
                    "additionalProperties": true
                  },
                  {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": true
                    }
                  }
                ],
                "title": "Payload"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {}
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        },
        "x-valstorm-runtime": "open-api (Python :8010)",
        "x-valstorm-service": "open-api",
        "x-valstorm-port": 8010
      },
      "delete": {
        "tags": [
          "records"
        ],
        "summary": "Delete Records Api",
        "description": "Deletes multiple records by comma-separated query parameter 'ids' or JSON body through PlatformContext.",
        "operationId": "delete_records_api_v1_object__api_name__delete",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "parameters": [
          {
            "name": "api_name",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Api Name"
            }
          },
          {
            "name": "ids",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "description": "Comma-separated record IDs or query parameter",
              "title": "Ids"
            },
            "description": "Comma-separated record IDs or query parameter"
          },
          {
            "name": "permanent",
            "in": "query",
            "required": false,
            "schema": {
              "type": "boolean",
              "description": "If True, permanently deletes records bypassing the 14-day recycle bin",
              "default": false,
              "title": "Permanent"
            },
            "description": "If True, permanently deletes records bypassing the 14-day recycle bin"
          },
          {
            "name": "X-Organization-ID",
            "in": "header",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Organization-Id"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": true
                    }
                  },
                  {
                    "type": "object",
                    "additionalProperties": true
                  },
                  {
                    "type": "array",
                    "items": {
                      "type": "string"
                    }
                  },
                  {
                    "type": "null"
                  }
                ],
                "title": "Payload"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {}
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        },
        "x-valstorm-runtime": "open-api (Python :8010)",
        "x-valstorm-service": "open-api",
        "x-valstorm-port": 8010
      },
      "get": {
        "tags": [
          "records"
        ],
        "summary": "Get Records Api",
        "description": "Lists records for an object with standard pagination headers through PlatformContext.",
        "operationId": "get_records_api_v1_object__api_name__get",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "parameters": [
          {
            "name": "api_name",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Api Name"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "maximum": 500,
              "minimum": 1,
              "default": 50,
              "title": "Limit"
            }
          },
          {
            "name": "offset",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "minimum": 0,
              "default": 0,
              "title": "Offset"
            }
          },
          {
            "name": "hydrate",
            "in": "query",
            "required": false,
            "schema": {
              "type": "boolean",
              "description": "Whether to hydrate lookup fields",
              "default": true,
              "title": "Hydrate"
            },
            "description": "Whether to hydrate lookup fields"
          },
          {
            "name": "X-Organization-ID",
            "in": "header",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Organization-Id"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {}
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        },
        "x-valstorm-runtime": "open-api (Python :8010)",
        "x-valstorm-service": "open-api",
        "x-valstorm-port": 8010
      }
    },
    "/v1/records/{api_name}/{record_id}": {
      "delete": {
        "tags": [
          "records"
        ],
        "summary": "Delete Single Record Api",
        "description": "Deletes a single record by its ID through PlatformContext.",
        "operationId": "delete_single_record_api_v1_records__api_name___record_id__delete",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "parameters": [
          {
            "name": "api_name",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Api Name"
            }
          },
          {
            "name": "record_id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Record Id"
            }
          },
          {
            "name": "permanent",
            "in": "query",
            "required": false,
            "schema": {
              "type": "boolean",
              "description": "If True, permanently deletes record bypassing the 14-day recycle bin",
              "default": false,
              "title": "Permanent"
            },
            "description": "If True, permanently deletes record bypassing the 14-day recycle bin"
          },
          {
            "name": "X-Organization-ID",
            "in": "header",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Organization-Id"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {}
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        },
        "x-valstorm-runtime": "open-api (Python :8010)",
        "x-valstorm-service": "open-api",
        "x-valstorm-port": 8010
      },
      "get": {
        "tags": [
          "records"
        ],
        "summary": "Get Single Record Api",
        "description": "Fetches a single record by its ID through PlatformContext.",
        "operationId": "get_single_record_api_v1_records__api_name___record_id__get",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "parameters": [
          {
            "name": "api_name",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Api Name"
            }
          },
          {
            "name": "record_id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Record Id"
            }
          },
          {
            "name": "hydrate",
            "in": "query",
            "required": false,
            "schema": {
              "type": "boolean",
              "description": "Whether to hydrate lookup fields",
              "default": true,
              "title": "Hydrate"
            },
            "description": "Whether to hydrate lookup fields"
          },
          {
            "name": "X-Organization-ID",
            "in": "header",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Organization-Id"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {}
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        },
        "x-valstorm-runtime": "open-api (Python :8010)",
        "x-valstorm-service": "open-api",
        "x-valstorm-port": 8010
      }
    },
    "/v1/object/{api_name}/{record_id}": {
      "delete": {
        "tags": [
          "records"
        ],
        "summary": "Delete Single Record Api",
        "description": "Deletes a single record by its ID through PlatformContext.",
        "operationId": "delete_single_record_api_v1_object__api_name___record_id__delete",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "parameters": [
          {
            "name": "api_name",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Api Name"
            }
          },
          {
            "name": "record_id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Record Id"
            }
          },
          {
            "name": "permanent",
            "in": "query",
            "required": false,
            "schema": {
              "type": "boolean",
              "description": "If True, permanently deletes record bypassing the 14-day recycle bin",
              "default": false,
              "title": "Permanent"
            },
            "description": "If True, permanently deletes record bypassing the 14-day recycle bin"
          },
          {
            "name": "X-Organization-ID",
            "in": "header",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Organization-Id"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {}
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        },
        "x-valstorm-runtime": "open-api (Python :8010)",
        "x-valstorm-service": "open-api",
        "x-valstorm-port": 8010
      },
      "get": {
        "tags": [
          "records"
        ],
        "summary": "Get Single Record Api",
        "description": "Fetches a single record by its ID through PlatformContext.",
        "operationId": "get_single_record_api_v1_object__api_name___record_id__get",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "parameters": [
          {
            "name": "api_name",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Api Name"
            }
          },
          {
            "name": "record_id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Record Id"
            }
          },
          {
            "name": "hydrate",
            "in": "query",
            "required": false,
            "schema": {
              "type": "boolean",
              "description": "Whether to hydrate lookup fields",
              "default": true,
              "title": "Hydrate"
            },
            "description": "Whether to hydrate lookup fields"
          },
          {
            "name": "X-Organization-ID",
            "in": "header",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Organization-Id"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {}
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        },
        "x-valstorm-runtime": "open-api (Python :8010)",
        "x-valstorm-service": "open-api",
        "x-valstorm-port": 8010
      }
    },
    "/v1/records/{api_name}/{record_id}/undelete": {
      "post": {
        "tags": [
          "records"
        ],
        "summary": "Undelete Single Record Api",
        "description": "Restores a single soft-deleted record within the 14-day retention window.",
        "operationId": "undelete_single_record_api_v1_records__api_name___record_id__undelete_post",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "parameters": [
          {
            "name": "api_name",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Api Name"
            }
          },
          {
            "name": "record_id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Record Id"
            }
          },
          {
            "name": "hydrate",
            "in": "query",
            "required": false,
            "schema": {
              "type": "boolean",
              "description": "Whether to hydrate lookup fields",
              "default": true,
              "title": "Hydrate"
            },
            "description": "Whether to hydrate lookup fields"
          },
          {
            "name": "X-Organization-ID",
            "in": "header",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Organization-Id"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {}
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        },
        "x-valstorm-runtime": "open-api (Python :8010)",
        "x-valstorm-service": "open-api",
        "x-valstorm-port": 8010
      }
    },
    "/v1/object/{api_name}/{record_id}/undelete": {
      "post": {
        "tags": [
          "records"
        ],
        "summary": "Undelete Single Record Api",
        "description": "Restores a single soft-deleted record within the 14-day retention window.",
        "operationId": "undelete_single_record_api_v1_object__api_name___record_id__undelete_post",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "parameters": [
          {
            "name": "api_name",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Api Name"
            }
          },
          {
            "name": "record_id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Record Id"
            }
          },
          {
            "name": "hydrate",
            "in": "query",
            "required": false,
            "schema": {
              "type": "boolean",
              "description": "Whether to hydrate lookup fields",
              "default": true,
              "title": "Hydrate"
            },
            "description": "Whether to hydrate lookup fields"
          },
          {
            "name": "X-Organization-ID",
            "in": "header",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Organization-Id"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {}
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        },
        "x-valstorm-runtime": "open-api (Python :8010)",
        "x-valstorm-service": "open-api",
        "x-valstorm-port": 8010
      }
    },
    "/v1/records/{api_name}/undelete": {
      "post": {
        "tags": [
          "records"
        ],
        "summary": "Undelete Records Api",
        "description": "Restores one or more soft-deleted records within the 14-day retention window.",
        "operationId": "undelete_records_api_v1_records__api_name__undelete_post",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "parameters": [
          {
            "name": "api_name",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Api Name"
            }
          },
          {
            "name": "ids",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "description": "Comma-separated record IDs to restore",
              "title": "Ids"
            },
            "description": "Comma-separated record IDs to restore"
          },
          {
            "name": "hydrate",
            "in": "query",
            "required": false,
            "schema": {
              "type": "boolean",
              "description": "Whether to hydrate lookup fields",
              "default": true,
              "title": "Hydrate"
            },
            "description": "Whether to hydrate lookup fields"
          },
          {
            "name": "X-Organization-ID",
            "in": "header",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Organization-Id"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": true
                    }
                  },
                  {
                    "type": "object",
                    "additionalProperties": true
                  },
                  {
                    "type": "array",
                    "items": {
                      "type": "string"
                    }
                  },
                  {
                    "type": "null"
                  }
                ],
                "title": "Payload"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {}
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        },
        "x-valstorm-runtime": "open-api (Python :8010)",
        "x-valstorm-service": "open-api",
        "x-valstorm-port": 8010
      }
    },
    "/v1/object/{api_name}/undelete": {
      "post": {
        "tags": [
          "records"
        ],
        "summary": "Undelete Records Api",
        "description": "Restores one or more soft-deleted records within the 14-day retention window.",
        "operationId": "undelete_records_api_v1_object__api_name__undelete_post",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "parameters": [
          {
            "name": "api_name",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Api Name"
            }
          },
          {
            "name": "ids",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "description": "Comma-separated record IDs to restore",
              "title": "Ids"
            },
            "description": "Comma-separated record IDs to restore"
          },
          {
            "name": "hydrate",
            "in": "query",
            "required": false,
            "schema": {
              "type": "boolean",
              "description": "Whether to hydrate lookup fields",
              "default": true,
              "title": "Hydrate"
            },
            "description": "Whether to hydrate lookup fields"
          },
          {
            "name": "X-Organization-ID",
            "in": "header",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Organization-Id"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": true
                    }
                  },
                  {
                    "type": "object",
                    "additionalProperties": true
                  },
                  {
                    "type": "array",
                    "items": {
                      "type": "string"
                    }
                  },
                  {
                    "type": "null"
                  }
                ],
                "title": "Payload"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {}
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        },
        "x-valstorm-runtime": "open-api (Python :8010)",
        "x-valstorm-service": "open-api",
        "x-valstorm-port": 8010
      }
    },
    "/v1/records/{api_name}/deleted": {
      "get": {
        "tags": [
          "records"
        ],
        "summary": "Get Deleted Records Api",
        "description": "Lists soft-deleted records currently in the 14-day Recycle Bin for an object.",
        "operationId": "get_deleted_records_api_v1_records__api_name__deleted_get",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "parameters": [
          {
            "name": "api_name",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Api Name"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "maximum": 500,
              "minimum": 1,
              "default": 50,
              "title": "Limit"
            }
          },
          {
            "name": "offset",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "minimum": 0,
              "default": 0,
              "title": "Offset"
            }
          },
          {
            "name": "hydrate",
            "in": "query",
            "required": false,
            "schema": {
              "type": "boolean",
              "description": "Whether to hydrate lookup fields",
              "default": true,
              "title": "Hydrate"
            },
            "description": "Whether to hydrate lookup fields"
          },
          {
            "name": "X-Organization-ID",
            "in": "header",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Organization-Id"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {}
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        },
        "x-valstorm-runtime": "open-api (Python :8010)",
        "x-valstorm-service": "open-api",
        "x-valstorm-port": 8010
      }
    },
    "/v1/object/{api_name}/deleted": {
      "get": {
        "tags": [
          "records"
        ],
        "summary": "Get Deleted Records Api",
        "description": "Lists soft-deleted records currently in the 14-day Recycle Bin for an object.",
        "operationId": "get_deleted_records_api_v1_object__api_name__deleted_get",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "parameters": [
          {
            "name": "api_name",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Api Name"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "maximum": 500,
              "minimum": 1,
              "default": 50,
              "title": "Limit"
            }
          },
          {
            "name": "offset",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "minimum": 0,
              "default": 0,
              "title": "Offset"
            }
          },
          {
            "name": "hydrate",
            "in": "query",
            "required": false,
            "schema": {
              "type": "boolean",
              "description": "Whether to hydrate lookup fields",
              "default": true,
              "title": "Hydrate"
            },
            "description": "Whether to hydrate lookup fields"
          },
          {
            "name": "X-Organization-ID",
            "in": "header",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Organization-Id"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {}
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        },
        "x-valstorm-runtime": "open-api (Python :8010)",
        "x-valstorm-service": "open-api",
        "x-valstorm-port": 8010
      }
    },
    "/v1/device": {
      "get": {
        "tags": [
          "records"
        ],
        "summary": "Get Devices Api",
        "description": "Returns registered desktop/mobile devices for the current organization.",
        "operationId": "get_devices_api_v1_device_get",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "parameters": [
          {
            "name": "X-Organization-ID",
            "in": "header",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Organization-Id"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {}
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        },
        "x-valstorm-runtime": "open-api (Python :8010)",
        "x-valstorm-service": "open-api",
        "x-valstorm-port": 8010
      },
      "post": {
        "tags": [
          "records"
        ],
        "summary": "Create Device Api",
        "operationId": "create_device_api_v1_device_post",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "parameters": [
          {
            "name": "X-Organization-ID",
            "in": "header",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Organization-Id"
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "additionalProperties": true,
                "title": "Payload"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {}
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        },
        "x-valstorm-runtime": "open-api (Python :8010)",
        "x-valstorm-service": "open-api",
        "x-valstorm-port": 8010
      },
      "patch": {
        "tags": [
          "records"
        ],
        "summary": "Update Device Api",
        "operationId": "update_device_api_v1_device_patch",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "parameters": [
          {
            "name": "X-Organization-ID",
            "in": "header",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Organization-Id"
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "type": "object",
                    "additionalProperties": true
                  },
                  {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": true
                    }
                  }
                ],
                "title": "Payload"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {}
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        },
        "x-valstorm-runtime": "open-api (Python :8010)",
        "x-valstorm-service": "open-api",
        "x-valstorm-port": 8010
      }
    },
    "/v1/device/{device_id}": {
      "delete": {
        "tags": [
          "records"
        ],
        "summary": "Delete Device Api",
        "operationId": "delete_device_api_v1_device__device_id__delete",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "parameters": [
          {
            "name": "device_id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Device Id"
            }
          },
          {
            "name": "X-Organization-ID",
            "in": "header",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Organization-Id"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {}
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        },
        "x-valstorm-runtime": "open-api (Python :8010)",
        "x-valstorm-service": "open-api",
        "x-valstorm-port": 8010
      }
    },
    "/v1/query": {
      "get": {
        "tags": [
          "query"
        ],
        "summary": "Sql Query Get Route",
        "description": "Executes a SQL query via GET through PlatformContext.",
        "operationId": "sql_query_get_route_v1_query_get",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "parameters": [
          {
            "name": "q",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "description": "SQL query string",
              "title": "Q"
            },
            "description": "SQL query string"
          },
          {
            "name": "query",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "description": "Alias for q",
              "title": "Query"
            },
            "description": "Alias for q"
          },
          {
            "name": "bypass_cache",
            "in": "query",
            "required": false,
            "schema": {
              "type": "boolean",
              "default": false,
              "title": "Bypass Cache"
            }
          },
          {
            "name": "hydrate",
            "in": "query",
            "required": false,
            "schema": {
              "type": "boolean",
              "default": true,
              "title": "Hydrate"
            }
          },
          {
            "name": "X-Organization-ID",
            "in": "header",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Organization-Id"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {}
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        },
        "x-valstorm-runtime": "open-api (Python :8010)",
        "x-valstorm-service": "open-api",
        "x-valstorm-port": 8010
      },
      "post": {
        "tags": [
          "query"
        ],
        "summary": "Sql Query Post Route",
        "description": "Executes a SQL query via POST through PlatformContext.",
        "operationId": "sql_query_post_route_v1_query_post",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "parameters": [
          {
            "name": "X-Organization-ID",
            "in": "header",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Organization-Id"
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/SqlPostQueryRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {}
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        },
        "x-valstorm-runtime": "open-api (Python :8010)",
        "x-valstorm-service": "open-api",
        "x-valstorm-port": 8010
      }
    },
    "/v1/search/stream": {
      "post": {
        "tags": [
          "query"
        ],
        "summary": "Search Stream Post Route",
        "description": "Streams progressive Spotlight search results (SSE) across PostgreSQL CRM tables, VFS files, and Vaults.",
        "operationId": "search_stream_post_route_v1_search_stream_post",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "parameters": [
          {
            "name": "X-Organization-ID",
            "in": "header",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Organization-Id"
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/SearchRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {}
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        },
        "x-valstorm-runtime": "open-api (Python :8010)",
        "x-valstorm-service": "open-api",
        "x-valstorm-port": 8010
      },
      "get": {
        "tags": [
          "query"
        ],
        "summary": "Search Stream Get Route",
        "operationId": "search_stream_get_route_v1_search_stream_get",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "parameters": [
          {
            "name": "q",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Q"
            }
          },
          {
            "name": "query",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Query"
            }
          },
          {
            "name": "target_schema",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Target Schema"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "maximum": 50,
              "minimum": 1,
              "default": 15,
              "title": "Limit"
            }
          },
          {
            "name": "include_crm",
            "in": "query",
            "required": false,
            "schema": {
              "type": "boolean",
              "default": true,
              "title": "Include Crm"
            }
          },
          {
            "name": "include_vfs",
            "in": "query",
            "required": false,
            "schema": {
              "type": "boolean",
              "default": true,
              "title": "Include Vfs"
            }
          },
          {
            "name": "X-Organization-ID",
            "in": "header",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Organization-Id"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {}
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        },
        "x-valstorm-runtime": "open-api (Python :8010)",
        "x-valstorm-service": "open-api",
        "x-valstorm-port": 8010
      }
    },
    "/v1/search/omni": {
      "post": {
        "tags": [
          "query"
        ],
        "summary": "Search Rest Post Route",
        "description": "Non-streaming unified Omnisearch across PostgreSQL CRM tables, VFS files, and Vaults.",
        "operationId": "search_rest_post_route_v1_search_omni_post",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "parameters": [
          {
            "name": "X-Organization-ID",
            "in": "header",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Organization-Id"
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/SearchRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {}
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        },
        "x-valstorm-runtime": "open-api (Python :8010)",
        "x-valstorm-service": "open-api",
        "x-valstorm-port": 8010
      }
    },
    "/v1/search": {
      "post": {
        "tags": [
          "query"
        ],
        "summary": "Search Rest Post Route",
        "description": "Non-streaming unified Omnisearch across PostgreSQL CRM tables, VFS files, and Vaults.",
        "operationId": "search_rest_post_route_v1_search_post",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "parameters": [
          {
            "name": "X-Organization-ID",
            "in": "header",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Organization-Id"
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/SearchRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {}
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        },
        "x-valstorm-runtime": "open-api (Python :8010)",
        "x-valstorm-service": "open-api",
        "x-valstorm-port": 8010
      },
      "get": {
        "tags": [
          "query"
        ],
        "summary": "Search Rest Get Route",
        "operationId": "search_rest_get_route_v1_search_get",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "parameters": [
          {
            "name": "q",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Q"
            }
          },
          {
            "name": "query",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Query"
            }
          },
          {
            "name": "target_schema",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Target Schema"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "maximum": 50,
              "minimum": 1,
              "default": 15,
              "title": "Limit"
            }
          },
          {
            "name": "X-Organization-ID",
            "in": "header",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Organization-Id"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {}
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        },
        "x-valstorm-runtime": "open-api (Python :8010)",
        "x-valstorm-service": "open-api",
        "x-valstorm-port": 8010
      }
    },
    "/v1/analytics/report": {
      "post": {
        "tags": [
          "analytics"
        ],
        "summary": "Report Frontend",
        "description": "Executes single or batch analytical report aggregations against PostgreSQL.\nFor batch requests (used by Dashboard.tsx), executes items concurrently,\npublishes WebSocket `analytics_report` events, and returns resolved results\nin the 202 response payload so dashboards render immediately even without WebSockets.",
        "operationId": "report_frontend_v1_analytics_report_post",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "parameters": [
          {
            "name": "X-Organization-ID",
            "in": "header",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Organization-Id"
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/FrontendAnalyticsRequest"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/FrontendAnalyticsRequest"
                    }
                  }
                ],
                "title": "Data"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {}
              }
            }
          },
          "404": {
            "description": "Not found"
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        },
        "x-valstorm-runtime": "open-api (Python :8010)",
        "x-valstorm-service": "open-api",
        "x-valstorm-port": 8010
      }
    },
    "/v1/sandbox/": {
      "get": {
        "tags": [
          "sandbox"
        ],
        "summary": "List Sandboxes Api",
        "description": "Lists all sandbox environments belonging to the current organization.",
        "operationId": "list_sandboxes_api_v1_sandbox__get",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "parameters": [
          {
            "name": "X-Organization-ID",
            "in": "header",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Organization-Id"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "additionalProperties": true
                  },
                  "title": "Response List Sandboxes Api V1 Sandbox  Get"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        },
        "x-valstorm-runtime": "open-api (Python :8010)",
        "x-valstorm-service": "open-api",
        "x-valstorm-port": 8010
      },
      "post": {
        "tags": [
          "sandbox"
        ],
        "summary": "Create Sandbox Api",
        "description": "Provisions a dedicated sandbox database for the current organization.",
        "operationId": "create_sandbox_api_v1_sandbox__post",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "parameters": [
          {
            "name": "X-Organization-ID",
            "in": "header",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Organization-Id"
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateSandboxRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "title": "Response Create Sandbox Api V1 Sandbox  Post"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        },
        "x-valstorm-runtime": "open-api (Python :8010)",
        "x-valstorm-service": "open-api",
        "x-valstorm-port": 8010
      }
    },
    "/v1/sandbox": {
      "get": {
        "tags": [
          "sandbox"
        ],
        "summary": "List Sandboxes Api",
        "description": "Lists all sandbox environments belonging to the current organization.",
        "operationId": "list_sandboxes_api_v1_sandbox_get",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "parameters": [
          {
            "name": "X-Organization-ID",
            "in": "header",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Organization-Id"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "additionalProperties": true
                  },
                  "title": "Response List Sandboxes Api V1 Sandbox Get"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        },
        "x-valstorm-runtime": "open-api (Python :8010)",
        "x-valstorm-service": "open-api",
        "x-valstorm-port": 8010
      },
      "post": {
        "tags": [
          "sandbox"
        ],
        "summary": "Create Sandbox Api",
        "description": "Provisions a dedicated sandbox database for the current organization.",
        "operationId": "create_sandbox_api_v1_sandbox_post",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "parameters": [
          {
            "name": "X-Organization-ID",
            "in": "header",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Organization-Id"
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateSandboxRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "title": "Response Create Sandbox Api V1 Sandbox Post"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        },
        "x-valstorm-runtime": "open-api (Python :8010)",
        "x-valstorm-service": "open-api",
        "x-valstorm-port": 8010
      }
    },
    "/v1/sandbox/{sandbox_id}": {
      "patch": {
        "tags": [
          "sandbox"
        ],
        "summary": "Update Sandbox Api",
        "description": "Updates metadata (name, description, environment) for an existing sandbox.",
        "operationId": "update_sandbox_api_v1_sandbox__sandbox_id__patch",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "parameters": [
          {
            "name": "sandbox_id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Sandbox Id"
            }
          },
          {
            "name": "X-Organization-ID",
            "in": "header",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Organization-Id"
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateSandboxRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "title": "Response Update Sandbox Api V1 Sandbox  Sandbox Id  Patch"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        },
        "x-valstorm-runtime": "open-api (Python :8010)",
        "x-valstorm-service": "open-api",
        "x-valstorm-port": 8010
      },
      "delete": {
        "tags": [
          "sandbox"
        ],
        "summary": "Delete Sandbox Api",
        "description": "Deletes and cleanly drops a dedicated sandbox database.",
        "operationId": "delete_sandbox_api_v1_sandbox__sandbox_id__delete",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "parameters": [
          {
            "name": "sandbox_id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Sandbox Id"
            }
          },
          {
            "name": "X-Organization-ID",
            "in": "header",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Organization-Id"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {}
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        },
        "x-valstorm-runtime": "open-api (Python :8010)",
        "x-valstorm-service": "open-api",
        "x-valstorm-port": 8010
      }
    },
    "/v1/sandbox/{sandbox_id}/refresh": {
      "post": {
        "tags": [
          "sandbox"
        ],
        "summary": "Refresh Sandbox Api",
        "description": "Synchronizes schemas and apps from production into the specified sandbox.",
        "operationId": "refresh_sandbox_api_v1_sandbox__sandbox_id__refresh_post",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "parameters": [
          {
            "name": "sandbox_id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Sandbox Id"
            }
          },
          {
            "name": "X-Organization-ID",
            "in": "header",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Organization-Id"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "title": "Response Refresh Sandbox Api V1 Sandbox  Sandbox Id  Refresh Post"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        },
        "x-valstorm-runtime": "open-api (Python :8010)",
        "x-valstorm-service": "open-api",
        "x-valstorm-port": 8010
      }
    },
    "/v1/apps/environments": {
      "get": {
        "tags": [
          "apps"
        ],
        "summary": "List App Environments Api",
        "description": "Lists all environments (Live Production Org + Sandboxes) in the tenant's organization family.",
        "operationId": "list_app_environments_api_v1_apps_environments_get",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "parameters": [
          {
            "name": "X-Organization-ID",
            "in": "header",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Organization-Id"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "additionalProperties": true
                  },
                  "title": "Response List App Environments Api V1 Apps Environments Get"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        },
        "x-valstorm-runtime": "open-api (Python :8010)",
        "x-valstorm-service": "open-api",
        "x-valstorm-port": 8010
      }
    },
    "/v1/apps/metadata/pull": {
      "get": {
        "tags": [
          "apps"
        ],
        "summary": "Pull Metadata Get Api",
        "description": "Dedicated single-roundtrip metadata pull endpoint (GET).\nFetches requested metadata collections and schemas without requiring N sequential SQL queries.",
        "operationId": "pull_metadata_get_api_v1_apps_metadata_pull_get",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "parameters": [
          {
            "name": "object_type",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "description": "Comma-separated or single object type(s) to pull",
              "title": "Object Type"
            },
            "description": "Comma-separated or single object type(s) to pull"
          },
          {
            "name": "file_name",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "description": "Specific file_name to pull",
              "title": "File Name"
            },
            "description": "Specific file_name to pull"
          },
          {
            "name": "app_id",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "description": "Filter metadata by app ID or name",
              "title": "App Id"
            },
            "description": "Filter metadata by app ID or name"
          },
          {
            "name": "include_schemas",
            "in": "query",
            "required": false,
            "schema": {
              "type": "boolean",
              "description": "Include schema definitions in response",
              "default": true,
              "title": "Include Schemas"
            },
            "description": "Include schema definitions in response"
          },
          {
            "name": "X-Organization-ID",
            "in": "header",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Organization-Id"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "title": "Response Pull Metadata Get Api V1 Apps Metadata Pull Get"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        },
        "x-valstorm-runtime": "open-api (Python :8010)",
        "x-valstorm-service": "open-api",
        "x-valstorm-port": 8010
      },
      "post": {
        "tags": [
          "apps"
        ],
        "summary": "Pull Metadata Post Api",
        "description": "Dedicated single-roundtrip metadata pull endpoint (POST).\nSupports manifest filtering, object_types lists, app_id scoping, and schema inclusion.",
        "operationId": "pull_metadata_post_api_v1_apps_metadata_pull_post",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "parameters": [
          {
            "name": "X-Organization-ID",
            "in": "header",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Organization-Id"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/PullMetadataRequest",
                "default": {
                  "include_schemas": true
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "title": "Response Pull Metadata Post Api V1 Apps Metadata Pull Post"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        },
        "x-valstorm-runtime": "open-api (Python :8010)",
        "x-valstorm-service": "open-api",
        "x-valstorm-port": 8010
      }
    },
    "/v1/apps/metadata/push": {
      "post": {
        "tags": [
          "apps"
        ],
        "summary": "Push Metadata Api",
        "description": "Dedicated single-roundtrip, ACID-transactional metadata push endpoint.\nCompiles optional schemas and bulk-upserts metadata records across collections.",
        "operationId": "push_metadata_api_v1_apps_metadata_push_post",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "parameters": [
          {
            "name": "X-Organization-ID",
            "in": "header",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Organization-Id"
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/PushMetadataRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "title": "Response Push Metadata Api V1 Apps Metadata Push Post"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        },
        "x-valstorm-runtime": "open-api (Python :8010)",
        "x-valstorm-service": "open-api",
        "x-valstorm-port": 8010
      }
    },
    "/v1/apps": {
      "get": {
        "tags": [
          "apps"
        ],
        "summary": "List Installed Apps Api",
        "description": "Lists applications installed inside the current tenant database.\nIf marketplace=True is passed, returns the global marketplace catalog.",
        "operationId": "list_installed_apps_api_v1_apps_get",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "parameters": [
          {
            "name": "marketplace",
            "in": "query",
            "required": false,
            "schema": {
              "type": "boolean",
              "default": false,
              "title": "Marketplace"
            }
          },
          {
            "name": "X-Organization-ID",
            "in": "header",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Organization-Id"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "additionalProperties": true
                  },
                  "title": "Response List Installed Apps Api V1 Apps Get"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        },
        "x-valstorm-runtime": "open-api (Python :8010)",
        "x-valstorm-service": "open-api",
        "x-valstorm-port": 8010
      }
    },
    "/v1/apps/marketplace": {
      "get": {
        "tags": [
          "apps"
        ],
        "summary": "List Marketplace Apps Api",
        "description": "Lists all available applications from the global marketplace catalog.",
        "operationId": "list_marketplace_apps_api_v1_apps_marketplace_get",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "parameters": [
          {
            "name": "X-Organization-ID",
            "in": "header",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Organization-Id"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "additionalProperties": true
                  },
                  "title": "Response List Marketplace Apps Api V1 Apps Marketplace Get"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        },
        "x-valstorm-runtime": "open-api (Python :8010)",
        "x-valstorm-service": "open-api",
        "x-valstorm-port": 8010
      }
    },
    "/v1/apps/{app_id}": {
      "get": {
        "tags": [
          "apps"
        ],
        "summary": "Get App Bundle Api",
        "description": "Retrieves full application bundle (including schemas and record blueprints).",
        "operationId": "get_app_bundle_api_v1_apps__app_id__get",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "parameters": [
          {
            "name": "app_id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "title": "App Id"
            }
          },
          {
            "name": "X-Organization-ID",
            "in": "header",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Organization-Id"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "title": "Response Get App Bundle Api V1 Apps  App Id  Get"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        },
        "x-valstorm-runtime": "open-api (Python :8010)",
        "x-valstorm-service": "open-api",
        "x-valstorm-port": 8010
      },
      "delete": {
        "tags": [
          "apps"
        ],
        "summary": "Uninstall App Delete Api",
        "description": "RESTful DELETE endpoint to uninstall an application from the tenant's database.",
        "operationId": "uninstall_app_delete_api_v1_apps__app_id__delete",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "parameters": [
          {
            "name": "app_id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "title": "App Id"
            }
          },
          {
            "name": "drop_schemas",
            "in": "query",
            "required": false,
            "schema": {
              "type": "boolean",
              "description": "Drop custom tables owned exclusively by this app",
              "default": false,
              "title": "Drop Schemas"
            },
            "description": "Drop custom tables owned exclusively by this app"
          },
          {
            "name": "drop_columns",
            "in": "query",
            "required": false,
            "schema": {
              "type": "boolean",
              "description": "Drop custom extension columns added by this app to shared tables",
              "default": false,
              "title": "Drop Columns"
            },
            "description": "Drop custom extension columns added by this app to shared tables"
          },
          {
            "name": "delete_records",
            "in": "query",
            "required": false,
            "schema": {
              "type": "boolean",
              "description": "Delete metadata and seeded records belonging to this app",
              "default": true,
              "title": "Delete Records"
            },
            "description": "Delete metadata and seeded records belonging to this app"
          },
          {
            "name": "remove_app_record",
            "in": "query",
            "required": false,
            "schema": {
              "type": "boolean",
              "description": "Delete the row from the tenant app table instead of marking installed=False",
              "default": false,
              "title": "Remove App Record"
            },
            "description": "Delete the row from the tenant app table instead of marking installed=False"
          },
          {
            "name": "X-Organization-ID",
            "in": "header",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Organization-Id"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "title": "Response Uninstall App Delete Api V1 Apps  App Id  Delete"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        },
        "x-valstorm-runtime": "open-api (Python :8010)",
        "x-valstorm-service": "open-api",
        "x-valstorm-port": 8010
      }
    },
    "/v1/apps/apply-apps": {
      "post": {
        "tags": [
          "apps"
        ],
        "summary": "Apply Apps Api",
        "description": "Installs a list of applications into the tenant's PostgreSQL database.\nCompiles all DDL tables, foreign keys, injects admin permissions,\nand seeds default records within ACID transactions.",
        "operationId": "apply_apps_api_v1_apps_apply_apps_post",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "parameters": [
          {
            "name": "X-Organization-ID",
            "in": "header",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Organization-Id"
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ApplyAppsRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "title": "Response Apply Apps Api V1 Apps Apply Apps Post"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        },
        "x-valstorm-runtime": "open-api (Python :8010)",
        "x-valstorm-service": "open-api",
        "x-valstorm-port": 8010
      }
    },
    "/v1/apps/install/{app_id}": {
      "post": {
        "tags": [
          "apps"
        ],
        "summary": "Install Single App Api",
        "description": "Installs a single application into the tenant's database.",
        "operationId": "install_single_app_api_v1_apps_install__app_id__post",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "parameters": [
          {
            "name": "app_id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "title": "App Id"
            }
          },
          {
            "name": "X-Organization-ID",
            "in": "header",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Organization-Id"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "title": "Response Install Single App Api V1 Apps Install  App Id  Post"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        },
        "x-valstorm-runtime": "open-api (Python :8010)",
        "x-valstorm-service": "open-api",
        "x-valstorm-port": 8010
      }
    },
    "/v1/apps/uninstall/{app_id}": {
      "post": {
        "tags": [
          "apps"
        ],
        "summary": "Uninstall App Post Api",
        "description": "Uninstalls an application from the tenant's database.\nSupports safe mode (preserving data tables) or clean teardown mode (drop_schemas=True, drop_columns=True).",
        "operationId": "uninstall_app_post_api_v1_apps_uninstall__app_id__post",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "parameters": [
          {
            "name": "app_id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "title": "App Id"
            }
          },
          {
            "name": "X-Organization-ID",
            "in": "header",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Organization-Id"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UninstallAppRequest",
                "default": {
                  "drop_schemas": false,
                  "drop_columns": false,
                  "delete_records": true,
                  "remove_app_record": false
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "title": "Response Uninstall App Post Api V1 Apps Uninstall  App Id  Post"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        },
        "x-valstorm-runtime": "open-api (Python :8010)",
        "x-valstorm-service": "open-api",
        "x-valstorm-port": 8010
      }
    },
    "/v1/apps/onboard-app": {
      "post": {
        "tags": [
          "apps"
        ],
        "summary": "Onboard App Api",
        "description": "Marks an application as onboarded inside the tenant database.",
        "operationId": "onboard_app_api_v1_apps_onboard_app_post",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "parameters": [
          {
            "name": "X-Organization-ID",
            "in": "header",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Organization-Id"
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/OnboardAppRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "title": "Response Onboard App Api V1 Apps Onboard App Post"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        },
        "x-valstorm-runtime": "open-api (Python :8010)",
        "x-valstorm-service": "open-api",
        "x-valstorm-port": 8010
      }
    },
    "/v1/apps/deploy/{app_id}": {
      "get": {
        "tags": [
          "apps"
        ],
        "summary": "Promote App Get Api",
        "description": "Legacy GET endpoint for 'Deploy to Next Environment' in Desktop AppSettings.tsx:\nGET /v1/apps/deploy/{app_id}",
        "operationId": "promote_app_get_api_v1_apps_deploy__app_id__get",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "parameters": [
          {
            "name": "app_id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "title": "App Id"
            }
          },
          {
            "name": "target_org_id",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Target Org Id"
            }
          },
          {
            "name": "X-Organization-ID",
            "in": "header",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Organization-Id"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "title": "Response Promote App Get Api V1 Apps Deploy  App Id  Get"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        },
        "x-valstorm-runtime": "open-api (Python :8010)",
        "x-valstorm-service": "open-api",
        "x-valstorm-port": 8010
      }
    },
    "/v1/apps/{app_id}/package": {
      "post": {
        "tags": [
          "apps"
        ],
        "summary": "Package App Api",
        "description": "Packages a tenant application (updating version, schemas, and assigned records)\nand returns the complete portable app bundle.",
        "operationId": "package_app_api_v1_apps__app_id__package_post",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "parameters": [
          {
            "name": "app_id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "title": "App Id"
            }
          },
          {
            "name": "X-Organization-ID",
            "in": "header",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Organization-Id"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "type": "object",
                    "additionalProperties": true
                  },
                  {
                    "type": "null"
                  }
                ],
                "title": "Payload"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "title": "Response Package App Api V1 Apps  App Id  Package Post"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        },
        "x-valstorm-runtime": "open-api (Python :8010)",
        "x-valstorm-service": "open-api",
        "x-valstorm-port": 8010
      }
    },
    "/v1/apps/{app_id}/bundle": {
      "get": {
        "tags": [
          "apps"
        ],
        "summary": "Get Tenant App Bundle Api",
        "description": "Extracts the complete portable app bundle for a tenant app.",
        "operationId": "get_tenant_app_bundle_api_v1_apps__app_id__bundle_get",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "parameters": [
          {
            "name": "app_id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "title": "App Id"
            }
          },
          {
            "name": "X-Organization-ID",
            "in": "header",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Organization-Id"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "title": "Response Get Tenant App Bundle Api V1 Apps  App Id  Bundle Get"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        },
        "x-valstorm-runtime": "open-api (Python :8010)",
        "x-valstorm-service": "open-api",
        "x-valstorm-port": 8010
      }
    },
    "/v1/apps/{app_id}/promote": {
      "post": {
        "tags": [
          "apps"
        ],
        "summary": "Promote App Post Api",
        "description": "Promotes/deploys an application package between environments (Sandbox <-> Live Production Org).",
        "operationId": "promote_app_post_api_v1_apps__app_id__promote_post",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "parameters": [
          {
            "name": "app_id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "title": "App Id"
            }
          },
          {
            "name": "X-Organization-ID",
            "in": "header",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Organization-Id"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/PromoteAppRequest",
                "default": {}
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "title": "Response Promote App Post Api V1 Apps  App Id  Promote Post"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        },
        "x-valstorm-runtime": "open-api (Python :8010)",
        "x-valstorm-service": "open-api",
        "x-valstorm-port": 8010
      }
    },
    "/v1/apps/marketplace-deployment": {
      "post": {
        "tags": [
          "apps"
        ],
        "summary": "Deploy To Marketplace Api",
        "description": "Exports an application developed in this tenant and publishes/updates it\nin the global marketplace catalog.",
        "operationId": "deploy_to_marketplace_api_v1_apps_marketplace_deployment_post",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "parameters": [
          {
            "name": "id",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Id"
            }
          },
          {
            "name": "X-Organization-ID",
            "in": "header",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Organization-Id"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "type": "object",
                    "additionalProperties": true
                  },
                  {
                    "type": "null"
                  }
                ],
                "title": "Payload"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "title": "Response Deploy To Marketplace Api V1 Apps Marketplace Deployment Post"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        },
        "x-valstorm-runtime": "open-api (Python :8010)",
        "x-valstorm-service": "open-api",
        "x-valstorm-port": 8010
      }
    },
    "/v1/apps/deploy": {
      "put": {
        "tags": [
          "apps"
        ],
        "summary": "Receive App Deploy Api",
        "description": "Deploys an application definition directly from an exported JSON bundle\ninto the current tenant database with ACID transaction rollback safety.",
        "operationId": "receive_app_deploy_api_v1_apps_deploy_put",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "parameters": [
          {
            "name": "X-Organization-ID",
            "in": "header",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Organization-Id"
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "additionalProperties": true,
                "title": "Data"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "title": "Response Receive App Deploy Api V1 Apps Deploy Put"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        },
        "x-valstorm-runtime": "open-api (Python :8010)",
        "x-valstorm-service": "open-api",
        "x-valstorm-port": 8010
      }
    },
    "/v1/apps/app-update-subscribers": {
      "post": {
        "tags": [
          "apps"
        ],
        "summary": "Update Subscribers Legacy Api",
        "description": "Legacy query-parameter based subscriber update endpoint:\nPOST /v1/apps/app-update-subscribers?id={app_id}",
        "operationId": "update_subscribers_legacy_api_v1_apps_app_update_subscribers_post",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "parameters": [
          {
            "name": "id",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Id"
            }
          },
          {
            "name": "X-Organization-ID",
            "in": "header",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Organization-Id"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "title": "Response Update Subscribers Legacy Api V1 Apps App Update Subscribers Post"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        },
        "x-valstorm-runtime": "open-api (Python :8010)",
        "x-valstorm-service": "open-api",
        "x-valstorm-port": 8010
      }
    },
    "/v1/apps/{app_id}/update-subscribers": {
      "post": {
        "tags": [
          "apps"
        ],
        "summary": "Update Subscribers Api",
        "description": "Propagates an updated application across all tenant organizations\nsubscribed to this application.",
        "operationId": "update_subscribers_api_v1_apps__app_id__update_subscribers_post",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "parameters": [
          {
            "name": "app_id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "title": "App Id"
            }
          },
          {
            "name": "X-Organization-ID",
            "in": "header",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Organization-Id"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "title": "Response Update Subscribers Api V1 Apps  App Id  Update Subscribers Post"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        },
        "x-valstorm-runtime": "open-api (Python :8010)",
        "x-valstorm-service": "open-api",
        "x-valstorm-port": 8010
      }
    },
    "/v1/function/execute": {
      "post": {
        "tags": [
          "function"
        ],
        "summary": "Execute Function Api",
        "description": "Executes or dry-runs a serverless Python function in an isolated sandbox.\nSupports execution by function_id, function_name, or direct raw source code,\nand respects custom HTTP return envelopes (e.g. `text/xml` TwiML or custom JSON).",
        "operationId": "execute_function_api_v1_function_execute_post",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "parameters": [
          {
            "name": "X-Organization-ID",
            "in": "header",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Organization-Id"
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ExecuteFunctionRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {}
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        },
        "x-valstorm-runtime": "open-api (Python :8010)",
        "x-valstorm-service": "open-api",
        "x-valstorm-port": 8010
      }
    },
    "/v1/function": {
      "get": {
        "tags": [
          "function"
        ],
        "summary": "List Functions Api",
        "description": "Lists functions registered in the tenant database.",
        "operationId": "list_functions_api_v1_function_get",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "parameters": [
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "maximum": 500,
              "minimum": 1,
              "default": 50,
              "title": "Limit"
            }
          },
          {
            "name": "offset",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "minimum": 0,
              "default": 0,
              "title": "Offset"
            }
          },
          {
            "name": "X-Organization-ID",
            "in": "header",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Organization-Id"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {}
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        },
        "x-valstorm-runtime": "open-api (Python :8010)",
        "x-valstorm-service": "open-api",
        "x-valstorm-port": 8010
      },
      "post": {
        "tags": [
          "function"
        ],
        "summary": "Create Function Api",
        "description": "Creates a new custom Python function with AST gatekeeper security verification.",
        "operationId": "create_function_api_v1_function_post",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "parameters": [
          {
            "name": "X-Organization-ID",
            "in": "header",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Organization-Id"
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateFunctionRequest"
              }
            }
          }
        },
        "responses": {
          "201": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {}
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        },
        "x-valstorm-runtime": "open-api (Python :8010)",
        "x-valstorm-service": "open-api",
        "x-valstorm-port": 8010
      }
    },
    "/v1/public/automation/{org_id}/{function_id}": {
      "post": {
        "tags": [
          "public-function"
        ],
        "summary": "Execute Public Function Api",
        "description": "Public webhook endpoint to execute a tenant's Open Valstorm Function (`fun_*`, name, or `file_name`).\nEnforces `public=True` (fail-closed), injects `PlatformContext.for_org(org_id)`,\nexecutes the function in the AST sandbox, and supports custom HTTP return structures\n(such as `text/xml` TwiML from `platform.twilio.twiml.response(...)`).",
        "operationId": "execute_public_function_api_v1_public_automation__org_id___function_id__post",
        "parameters": [
          {
            "name": "org_id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Org Id"
            }
          },
          {
            "name": "function_id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Function Id"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {}
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        },
        "x-valstorm-runtime": "open-api (Python :8010)",
        "x-valstorm-service": "open-api",
        "x-valstorm-port": 8010
      }
    },
    "/v1/public/automation/function/{org_id}/{function_id}": {
      "post": {
        "tags": [
          "public-function"
        ],
        "summary": "Execute Public Function Api",
        "description": "Public webhook endpoint to execute a tenant's Open Valstorm Function (`fun_*`, name, or `file_name`).\nEnforces `public=True` (fail-closed), injects `PlatformContext.for_org(org_id)`,\nexecutes the function in the AST sandbox, and supports custom HTTP return structures\n(such as `text/xml` TwiML from `platform.twilio.twiml.response(...)`).",
        "operationId": "execute_public_function_api_v1_public_automation_function__org_id___function_id__post",
        "parameters": [
          {
            "name": "org_id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Org Id"
            }
          },
          {
            "name": "function_id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Function Id"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {}
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        },
        "x-valstorm-runtime": "open-api (Python :8010)",
        "x-valstorm-service": "open-api",
        "x-valstorm-port": 8010
      }
    },
    "/v1/public/automation/{org_id}/function/{function_id}": {
      "post": {
        "tags": [
          "public-function"
        ],
        "summary": "Execute Public Function Api",
        "description": "Public webhook endpoint to execute a tenant's Open Valstorm Function (`fun_*`, name, or `file_name`).\nEnforces `public=True` (fail-closed), injects `PlatformContext.for_org(org_id)`,\nexecutes the function in the AST sandbox, and supports custom HTTP return structures\n(such as `text/xml` TwiML from `platform.twilio.twiml.response(...)`).",
        "operationId": "execute_public_function_api_v1_public_automation__org_id__function__function_id__post",
        "parameters": [
          {
            "name": "org_id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Org Id"
            }
          },
          {
            "name": "function_id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Function Id"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {}
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        },
        "x-valstorm-runtime": "open-api (Python :8010)",
        "x-valstorm-service": "open-api",
        "x-valstorm-port": 8010
      }
    },
    "/v1/log/": {
      "get": {
        "tags": [
          "Logging & Observability"
        ],
        "summary": "List Logs Api",
        "description": "Lists recent execution logs from the tenant's unified 'log' table with pagination.",
        "operationId": "list_logs_api_v1_log__get",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "parameters": [
          {
            "name": "type",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Type"
            }
          },
          {
            "name": "status",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Status"
            }
          },
          {
            "name": "target_id",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Target Id"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "maximum": 500,
              "minimum": 1,
              "default": 50,
              "title": "Limit"
            }
          },
          {
            "name": "offset",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "minimum": 0,
              "default": 0,
              "title": "Offset"
            }
          },
          {
            "name": "X-Organization-ID",
            "in": "header",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Organization-Id"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "additionalProperties": true
                  },
                  "title": "Response List Logs Api V1 Log  Get"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        },
        "x-valstorm-runtime": "open-api (Python :8010)",
        "x-valstorm-service": "open-api",
        "x-valstorm-port": 8010
      }
    },
    "/v1/log": {
      "get": {
        "tags": [
          "Logging & Observability"
        ],
        "summary": "List Logs Api",
        "description": "Lists recent execution logs from the tenant's unified 'log' table with pagination.",
        "operationId": "list_logs_api_v1_log_get",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "parameters": [
          {
            "name": "type",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Type"
            }
          },
          {
            "name": "status",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Status"
            }
          },
          {
            "name": "target_id",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Target Id"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "maximum": 500,
              "minimum": 1,
              "default": 50,
              "title": "Limit"
            }
          },
          {
            "name": "offset",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "minimum": 0,
              "default": 0,
              "title": "Offset"
            }
          },
          {
            "name": "X-Organization-ID",
            "in": "header",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Organization-Id"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "additionalProperties": true
                  },
                  "title": "Response List Logs Api V1 Log Get"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        },
        "x-valstorm-runtime": "open-api (Python :8010)",
        "x-valstorm-service": "open-api",
        "x-valstorm-port": 8010
      }
    },
    "/v1/log/{log_id}/details": {
      "get": {
        "tags": [
          "Logging & Observability"
        ],
        "summary": "Get Log Details Api",
        "description": "Decompresses and returns complete execution inputs, outputs, and stack traces for a log entry.",
        "operationId": "get_log_details_api_v1_log__log_id__details_get",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "parameters": [
          {
            "name": "log_id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Log Id"
            }
          },
          {
            "name": "X-Organization-ID",
            "in": "header",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Organization-Id"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "title": "Response Get Log Details Api V1 Log  Log Id  Details Get"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        },
        "x-valstorm-runtime": "open-api (Python :8010)",
        "x-valstorm-service": "open-api",
        "x-valstorm-port": 8010
      }
    },
    "/v1/log/{log_id}": {
      "get": {
        "tags": [
          "Logging & Observability"
        ],
        "summary": "Get Log Details Api",
        "description": "Decompresses and returns complete execution inputs, outputs, and stack traces for a log entry.",
        "operationId": "get_log_details_api_v1_log__log_id__get",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "parameters": [
          {
            "name": "log_id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Log Id"
            }
          },
          {
            "name": "X-Organization-ID",
            "in": "header",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Organization-Id"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "title": "Response Get Log Details Api V1 Log  Log Id  Get"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        },
        "x-valstorm-runtime": "open-api (Python :8010)",
        "x-valstorm-service": "open-api",
        "x-valstorm-port": 8010
      }
    },
    "/v1/log/purge": {
      "delete": {
        "tags": [
          "Logging & Observability"
        ],
        "summary": "Purge Logs Api",
        "description": "Purges logs older than the specified retention window (default: 30 days).",
        "operationId": "purge_logs_api_v1_log_purge_delete",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "parameters": [
          {
            "name": "days",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "maximum": 365,
              "minimum": 1,
              "description": "Retention window in days",
              "default": 30,
              "title": "Days"
            },
            "description": "Retention window in days"
          },
          {
            "name": "X-Organization-ID",
            "in": "header",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Organization-Id"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "title": "Response Purge Logs Api V1 Log Purge Delete"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        },
        "x-valstorm-runtime": "open-api (Python :8010)",
        "x-valstorm-service": "open-api",
        "x-valstorm-port": 8010
      }
    },
    "/v1/object/log/{log_id}/details": {
      "get": {
        "tags": [
          "Logging & Observability (Legacy Alias)"
        ],
        "summary": "Get Log Details Api",
        "description": "Decompresses and returns complete execution inputs, outputs, and stack traces for a log entry.",
        "operationId": "get_log_details_api_v1_object_log__log_id__details_get",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "parameters": [
          {
            "name": "log_id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Log Id"
            }
          },
          {
            "name": "X-Organization-ID",
            "in": "header",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Organization-Id"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "title": "Response Get Log Details Api V1 Object Log  Log Id  Details Get"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        },
        "x-valstorm-runtime": "open-api (Python :8010)",
        "x-valstorm-service": "open-api",
        "x-valstorm-port": 8010
      }
    },
    "/v1/object/log/purge": {
      "delete": {
        "tags": [
          "Logging & Observability (Legacy Alias)"
        ],
        "summary": "Purge Logs Api",
        "description": "Purges logs older than the specified retention window (default: 30 days).",
        "operationId": "purge_logs_api_v1_object_log_purge_delete",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "parameters": [
          {
            "name": "days",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "maximum": 365,
              "minimum": 1,
              "description": "Retention window in days",
              "default": 30,
              "title": "Days"
            },
            "description": "Retention window in days"
          },
          {
            "name": "X-Organization-ID",
            "in": "header",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Organization-Id"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "title": "Response Purge Logs Api V1 Object Log Purge Delete"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        },
        "x-valstorm-runtime": "open-api (Python :8010)",
        "x-valstorm-service": "open-api",
        "x-valstorm-port": 8010
      }
    },
    "/v1/auth/v2/session": {
      "get": {
        "tags": [
          "auth-v2"
        ],
        "summary": "Get Session V2",
        "description": "Returns lightweight session and identity context (~3-8 KB) in <20ms.\nIncludes user identity, organization context, active workspace, scopes, and permissions.\nReplaces waiting for multi-megabyte /v1/auth/load to unlock the client UI.",
        "operationId": "get_session_v2_v1_auth_v2_session_get",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "parameters": [
          {
            "name": "X-Organization-ID",
            "in": "header",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Organization-Id"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {}
              }
            }
          },
          "404": {
            "description": "Not found"
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        },
        "x-valstorm-runtime": "open-api (Python :8010)",
        "x-valstorm-service": "open-api",
        "x-valstorm-port": 8010
      }
    },
    "/v1/auth/v2/telephony": {
      "get": {
        "tags": [
          "auth-v2"
        ],
        "summary": "Get Telephony Meta V2",
        "description": "Returns telephony metadata for ValPhone mobile app and desktop dialer (~2 KB).\nEmits 'phone_number' (canonical) and 'twilio_phone' (transition alias).",
        "operationId": "get_telephony_meta_v2_v1_auth_v2_telephony_get",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "parameters": [
          {
            "name": "X-Organization-ID",
            "in": "header",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Organization-Id"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {}
              }
            }
          },
          "404": {
            "description": "Not found"
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        },
        "x-valstorm-runtime": "open-api (Python :8010)",
        "x-valstorm-service": "open-api",
        "x-valstorm-port": 8010
      }
    },
    "/v1/auth/v2/navigation": {
      "get": {
        "tags": [
          "auth-v2"
        ],
        "summary": "Get Navigation Meta V2",
        "description": "Returns workspace tree and installed application navigation items for desktop shell (~10-20 KB).\nUses standard singular keys ('workspace', 'app').",
        "operationId": "get_navigation_meta_v2_v1_auth_v2_navigation_get",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "parameters": [
          {
            "name": "X-Organization-ID",
            "in": "header",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Organization-Id"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {}
              }
            }
          },
          "404": {
            "description": "Not found"
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        },
        "x-valstorm-runtime": "open-api (Python :8010)",
        "x-valstorm-service": "open-api",
        "x-valstorm-port": 8010
      }
    },
    "/v1/auth/v2/schemas": {
      "get": {
        "tags": [
          "auth-v2"
        ],
        "summary": "Get Schemas V2",
        "description": "Returns object schemas on-demand.\nUses standard singular key ('schema').",
        "operationId": "get_schemas_v2_v1_auth_v2_schemas_get",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "parameters": [
          {
            "name": "objects",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "description": "Comma-separated object API names (e.g. lead,contact)",
              "title": "Objects"
            },
            "description": "Comma-separated object API names (e.g. lead,contact)"
          },
          {
            "name": "X-Organization-ID",
            "in": "header",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Organization-Id"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {}
              }
            }
          },
          "404": {
            "description": "Not found"
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        },
        "x-valstorm-runtime": "open-api (Python :8010)",
        "x-valstorm-service": "open-api",
        "x-valstorm-port": 8010
      }
    },
    "/v1/auth/v2/bootstrap": {
      "get": {
        "tags": [
          "auth-v2"
        ],
        "summary": "Get Bootstrap V2",
        "description": "Configurable modular bootstrap using strictly singular collection keys\n('schema', 'workspace', 'app', 'tag', 'list_filter', 'twilio_phone', 'permission', 'app_page', 'template')\nmatching the exact platform standard.",
        "operationId": "get_bootstrap_v2_v1_auth_v2_bootstrap_get",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "parameters": [
          {
            "name": "include",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "description": "Comma-separated modules: session,telephony,navigation,schemas,all",
              "default": "session",
              "title": "Include"
            },
            "description": "Comma-separated modules: session,telephony,navigation,schemas,all"
          },
          {
            "name": "objects",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "description": "Optional object API names if schemas are included",
              "title": "Objects"
            },
            "description": "Optional object API names if schemas are included"
          },
          {
            "name": "X-Organization-ID",
            "in": "header",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Organization-Id"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {}
              }
            }
          },
          "404": {
            "description": "Not found"
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        },
        "x-valstorm-runtime": "open-api (Python :8010)",
        "x-valstorm-service": "open-api",
        "x-valstorm-port": 8010
      }
    },
    "/v1/auth/v2/stream": {
      "get": {
        "tags": [
          "auth-v2"
        ],
        "summary": "Stream Bootstrap V2",
        "description": "Streams bootstrap chunks sequentially as NDJSON (newline-delimited JSON).\nPhase 1: session + permissions (<25ms) -> client unlocks UI instantly\nPhase 2: navigation (~50ms) -> client renders sidebar/tabs\nPhase 3: telephony (~70ms) -> dialer ready\nPhase 4: schema (~120ms) -> background schema cache populated\nPhase 5: metadata (~150ms) -> tag, list_filter, app_page\nPhase 6: done",
        "operationId": "stream_bootstrap_v2_v1_auth_v2_stream_get",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "parameters": [
          {
            "name": "X-Organization-ID",
            "in": "header",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Organization-Id"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {}
              }
            }
          },
          "404": {
            "description": "Not found"
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        },
        "x-valstorm-runtime": "open-api (Python :8010)",
        "x-valstorm-service": "open-api",
        "x-valstorm-port": 8010
      }
    },
    "/v1/ws/create": {
      "get": {
        "tags": [
          "websocket"
        ],
        "summary": "Create WebSocket Session ID",
        "operationId": "ws_create_session",
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            },
            "description": "Successful Response"
          }
        },
        "x-valstorm-runtime": "open-worker (Go :8080) + open-api (Python :8010)",
        "x-valstorm-service": "open-worker + open-api",
        "x-valstorm-port": 8080,
        "description": "Generates a unique UUID session identifier for initializing a real-time WebSocket channel.\n\n> **Dual-Runtime Ingress:** High-speed Go handler on `open-worker (:8080)` with Python route parity on `open-api (:8010)`.",
        "x-valstorm-scope": "websocket:connect"
      }
    },
    "/v1/files/presigned-upload": {
      "post": {
        "tags": [
          "files"
        ],
        "summary": "Presigned Upload Api",
        "description": "Generates a presigned upload URL and target storage key for direct client-to-storage uploads.",
        "operationId": "presigned_upload_api_v1_files_presigned_upload_post",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "parameters": [
          {
            "name": "X-Organization-ID",
            "in": "header",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Organization-Id"
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/PresignedUploadRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "title": "Response Presigned Upload Api V1 Files Presigned Upload Post"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        },
        "x-valstorm-runtime": "open-api (Python :8010)",
        "x-valstorm-service": "open-api",
        "x-valstorm-port": 8010
      }
    },
    "/v1/files/register": {
      "post": {
        "tags": [
          "files"
        ],
        "summary": "Register File Api",
        "description": "Commits an uploaded file into the database, registers initial version (v1), and links to vaults.",
        "operationId": "register_file_api_v1_files_register_post",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "parameters": [
          {
            "name": "X-Organization-ID",
            "in": "header",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Organization-Id"
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/RegisterFileRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "title": "Response Register File Api V1 Files Register Post"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        },
        "x-valstorm-runtime": "open-api (Python :8010)",
        "x-valstorm-service": "open-api",
        "x-valstorm-port": 8010
      }
    },
    "/v1/files/": {
      "post": {
        "tags": [
          "files"
        ],
        "summary": "Direct Upload Api",
        "description": "Direct multipart file upload for files up to 25MB.\nUploads bytes directly to storage driver and registers metadata.\nSupports single 'file', list of 'files', 'public_file' / 'is_public', and 'vault_id' / 'vaults'.",
        "operationId": "direct_upload_api_v1_files__post",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "parameters": [
          {
            "name": "X-Organization-ID",
            "in": "header",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Organization-Id"
            }
          }
        ],
        "requestBody": {
          "content": {
            "multipart/form-data": {
              "schema": {
                "$ref": "#/components/schemas/Body_direct_upload_api_v1_files__post"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "title": "Response Direct Upload Api V1 Files  Post"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        },
        "x-valstorm-runtime": "open-api (Python :8010)",
        "x-valstorm-service": "open-api",
        "x-valstorm-port": 8010
      }
    },
    "/v1/files": {
      "post": {
        "tags": [
          "files"
        ],
        "summary": "Direct Upload Api",
        "description": "Direct multipart file upload for files up to 25MB.\nUploads bytes directly to storage driver and registers metadata.\nSupports single 'file', list of 'files', 'public_file' / 'is_public', and 'vault_id' / 'vaults'.",
        "operationId": "direct_upload_api_v1_files_post",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "parameters": [
          {
            "name": "X-Organization-ID",
            "in": "header",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Organization-Id"
            }
          }
        ],
        "requestBody": {
          "content": {
            "multipart/form-data": {
              "schema": {
                "$ref": "#/components/schemas/Body_direct_upload_api_v1_files_post"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "title": "Response Direct Upload Api V1 Files Post"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        },
        "x-valstorm-runtime": "open-api (Python :8010)",
        "x-valstorm-service": "open-api",
        "x-valstorm-port": 8010
      }
    },
    "/v1/files/public": {
      "post": {
        "tags": [
          "files"
        ],
        "summary": "Create Public File Api",
        "description": "Multipart upload that marks file as public.",
        "operationId": "create_public_file_api_v1_files_public_post",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "parameters": [
          {
            "name": "X-Organization-ID",
            "in": "header",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Organization-Id"
            }
          }
        ],
        "requestBody": {
          "content": {
            "multipart/form-data": {
              "schema": {
                "$ref": "#/components/schemas/Body_create_public_file_api_v1_files_public_post"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "title": "Response Create Public File Api V1 Files Public Post"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        },
        "x-valstorm-runtime": "open-api (Python :8010)",
        "x-valstorm-service": "open-api",
        "x-valstorm-port": 8010
      }
    },
    "/v1/files/download-direct": {
      "get": {
        "tags": [
          "files"
        ],
        "summary": "Download Direct Api",
        "description": "Serves file directly from local storage driver.",
        "operationId": "download_direct_api_v1_files_download_direct_get",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "parameters": [
          {
            "name": "key",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Key"
            }
          },
          {
            "name": "X-Organization-ID",
            "in": "header",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Organization-Id"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {}
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        },
        "x-valstorm-runtime": "open-api (Python :8010)",
        "x-valstorm-service": "open-api",
        "x-valstorm-port": 8010
      }
    },
    "/v1/files/upload-direct": {
      "post": {
        "tags": [
          "files"
        ],
        "summary": "Upload Direct Api",
        "description": "Receives direct upload.\nSupports:\n1. Raw binary upload when 'key' query parameter and binary body are provided.\n2. Multipart file upload when called by client SDKs with files={'file': ...}.",
        "operationId": "upload_direct_api_v1_files_upload_direct_post",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "parameters": [
          {
            "name": "key",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Key"
            }
          },
          {
            "name": "vault_id",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Vault Id"
            }
          },
          {
            "name": "X-Organization-ID",
            "in": "header",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Organization-Id"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "title": "Response Upload Direct Api V1 Files Upload Direct Post"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        },
        "x-valstorm-runtime": "open-api (Python :8010)",
        "x-valstorm-service": "open-api",
        "x-valstorm-port": 8010
      },
      "put": {
        "tags": [
          "files"
        ],
        "summary": "Upload Direct Api",
        "description": "Receives direct upload.\nSupports:\n1. Raw binary upload when 'key' query parameter and binary body are provided.\n2. Multipart file upload when called by client SDKs with files={'file': ...}.",
        "operationId": "upload_direct_api_v1_files_upload_direct_put",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "parameters": [
          {
            "name": "key",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Key"
            }
          },
          {
            "name": "vault_id",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Vault Id"
            }
          },
          {
            "name": "X-Organization-ID",
            "in": "header",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Organization-Id"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "title": "Response Upload Direct Api V1 Files Upload Direct Put"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        },
        "x-valstorm-runtime": "open-api (Python :8010)",
        "x-valstorm-service": "open-api",
        "x-valstorm-port": 8010
      }
    },
    "/v1/files/location": {
      "post": {
        "tags": [
          "files"
        ],
        "summary": "Get File By Location Api",
        "description": "Fetches or streams file content given its ID or full location key.",
        "operationId": "get_file_by_location_api_v1_files_location_post",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "parameters": [
          {
            "name": "X-Organization-ID",
            "in": "header",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Organization-Id"
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/GetFileByLocationRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {}
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        },
        "x-valstorm-runtime": "open-api (Python :8010)",
        "x-valstorm-service": "open-api",
        "x-valstorm-port": 8010
      }
    },
    "/v1/files/stream/{file_id}": {
      "get": {
        "tags": [
          "files"
        ],
        "summary": "Stream File Api",
        "description": "Streams media file with HTTP 206 Partial Content range support.",
        "operationId": "stream_file_api_v1_files_stream__file_id__get",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "parameters": [
          {
            "name": "file_id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "title": "File Id"
            }
          },
          {
            "name": "Range",
            "in": "header",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Range"
            }
          },
          {
            "name": "X-Organization-ID",
            "in": "header",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Organization-Id"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {}
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        },
        "x-valstorm-runtime": "open-api (Python :8010)",
        "x-valstorm-service": "open-api",
        "x-valstorm-port": 8010
      }
    },
    "/v1/files/stream": {
      "get": {
        "tags": [
          "files"
        ],
        "summary": "Stream By Location Api",
        "description": "Streams media file by location with HTTP 206 Partial Content support.",
        "operationId": "stream_by_location_api_v1_files_stream_get",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "parameters": [
          {
            "name": "location",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Location"
            }
          },
          {
            "name": "Range",
            "in": "header",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Range"
            }
          },
          {
            "name": "X-Organization-ID",
            "in": "header",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Organization-Id"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {}
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        },
        "x-valstorm-runtime": "open-api (Python :8010)",
        "x-valstorm-service": "open-api",
        "x-valstorm-port": 8010
      }
    },
    "/v1/files/{file_id}": {
      "get": {
        "tags": [
          "files"
        ],
        "summary": "Get File Api",
        "description": "Retrieves file record metadata along with direct access / download URL.",
        "operationId": "get_file_api_v1_files__file_id__get",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "parameters": [
          {
            "name": "file_id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "title": "File Id"
            }
          },
          {
            "name": "X-Organization-ID",
            "in": "header",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Organization-Id"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "title": "Response Get File Api V1 Files  File Id  Get"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        },
        "x-valstorm-runtime": "open-api (Python :8010)",
        "x-valstorm-service": "open-api",
        "x-valstorm-port": 8010
      },
      "delete": {
        "tags": [
          "files"
        ],
        "summary": "Delete File Api",
        "description": "Soft-deletes a file record.",
        "operationId": "delete_file_api_v1_files__file_id__delete",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "parameters": [
          {
            "name": "file_id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "title": "File Id"
            }
          },
          {
            "name": "X-Organization-ID",
            "in": "header",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Organization-Id"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {}
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        },
        "x-valstorm-runtime": "open-api (Python :8010)",
        "x-valstorm-service": "open-api",
        "x-valstorm-port": 8010
      }
    },
    "/v1/files/presigned-url/{file_id}": {
      "get": {
        "tags": [
          "files"
        ],
        "summary": "Get Presigned Download Url Api",
        "description": "Generates a temporary signed download URL for the file.",
        "operationId": "get_presigned_download_url_api_v1_files_presigned_url__file_id__get",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "parameters": [
          {
            "name": "file_id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "title": "File Id"
            }
          },
          {
            "name": "X-Organization-ID",
            "in": "header",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Organization-Id"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "title": "Response Get Presigned Download Url Api V1 Files Presigned Url  File Id  Get"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        },
        "x-valstorm-runtime": "open-api (Python :8010)",
        "x-valstorm-service": "open-api",
        "x-valstorm-port": 8010
      }
    },
    "/v1/files/{file_id}/content": {
      "post": {
        "tags": [
          "files"
        ],
        "summary": "Update File Content Api",
        "description": "Saves inline markdown or text content, increments active_version,\nstores immutable historical version in storage, and creates a file_version snapshot.",
        "operationId": "update_file_content_api_v1_files__file_id__content_post",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "parameters": [
          {
            "name": "file_id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "title": "File Id"
            }
          },
          {
            "name": "X-Organization-ID",
            "in": "header",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Organization-Id"
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/FileContentUpdateRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "title": "Response Update File Content Api V1 Files  File Id  Content Post"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        },
        "x-valstorm-runtime": "open-api (Python :8010)",
        "x-valstorm-service": "open-api",
        "x-valstorm-port": 8010
      }
    },
    "/v1/files/batch-content": {
      "post": {
        "tags": [
          "files"
        ],
        "summary": "Batch Update Content Api",
        "description": "Batch updates markdown content for multiple files.",
        "operationId": "batch_update_content_api_v1_files_batch_content_post",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "parameters": [
          {
            "name": "X-Organization-ID",
            "in": "header",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Organization-Id"
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/FileContentBatchItem"
                },
                "title": "Items"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "additionalProperties": true
                  },
                  "title": "Response Batch Update Content Api V1 Files Batch Content Post"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        },
        "x-valstorm-runtime": "open-api (Python :8010)",
        "x-valstorm-service": "open-api",
        "x-valstorm-port": 8010
      }
    },
    "/v1/files/{file_id}/versions": {
      "get": {
        "tags": [
          "files"
        ],
        "summary": "Get File Versions Api",
        "description": "Returns list of historical snapshot versions for the file.",
        "operationId": "get_file_versions_api_v1_files__file_id__versions_get",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "parameters": [
          {
            "name": "file_id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "title": "File Id"
            }
          },
          {
            "name": "X-Organization-ID",
            "in": "header",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Organization-Id"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "additionalProperties": true
                  },
                  "title": "Response Get File Versions Api V1 Files  File Id  Versions Get"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        },
        "x-valstorm-runtime": "open-api (Python :8010)",
        "x-valstorm-service": "open-api",
        "x-valstorm-port": 8010
      }
    },
    "/v1/files/{file_id}/rollback": {
      "post": {
        "tags": [
          "files"
        ],
        "summary": "Rollback File Version Api",
        "description": "Rolls back the file to a specified historical version snapshot.",
        "operationId": "rollback_file_version_api_v1_files__file_id__rollback_post",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "parameters": [
          {
            "name": "file_id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "title": "File Id"
            }
          },
          {
            "name": "X-Organization-ID",
            "in": "header",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Organization-Id"
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/RollbackRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "title": "Response Rollback File Version Api V1 Files  File Id  Rollback Post"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        },
        "x-valstorm-runtime": "open-api (Python :8010)",
        "x-valstorm-service": "open-api",
        "x-valstorm-port": 8010
      }
    },
    "/v1/vfs/tree": {
      "get": {
        "tags": [
          "vfs"
        ],
        "summary": "Get Vfs Tree Api",
        "description": "Returns the complete nested vault folder hierarchy and files.",
        "operationId": "get_vfs_tree_api_v1_vfs_tree_get",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "parameters": [
          {
            "name": "X-Organization-ID",
            "in": "header",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Organization-Id"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "additionalProperties": true
                  },
                  "title": "Response Get Vfs Tree Api V1 Vfs Tree Get"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        },
        "x-valstorm-runtime": "open-api (Python :8010)",
        "x-valstorm-service": "open-api",
        "x-valstorm-port": 8010
      }
    },
    "/v1/vfs/snapshot": {
      "get": {
        "tags": [
          "vfs"
        ],
        "summary": "Get Vfs Snapshot Api",
        "description": "Generates a full VFS hierarchy snapshot for the desktop CloudVaultTree.",
        "operationId": "get_vfs_snapshot_api_v1_vfs_snapshot_get",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "parameters": [
          {
            "name": "bypass_cache",
            "in": "query",
            "required": false,
            "schema": {
              "type": "boolean",
              "default": false,
              "title": "Bypass Cache"
            }
          },
          {
            "name": "X-Organization-ID",
            "in": "header",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Organization-Id"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "title": "Response Get Vfs Snapshot Api V1 Vfs Snapshot Get"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        },
        "x-valstorm-runtime": "open-api (Python :8010)",
        "x-valstorm-service": "open-api",
        "x-valstorm-port": 8010
      }
    },
    "/v1/vfs/cache/rebuild": {
      "post": {
        "tags": [
          "vfs"
        ],
        "summary": "Rebuild Vfs Cache Api",
        "description": "Clears and rebuilds the VFS cache and re-verifies root vault paths.",
        "operationId": "rebuild_vfs_cache_api_v1_vfs_cache_rebuild_post",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "parameters": [
          {
            "name": "X-Organization-ID",
            "in": "header",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Organization-Id"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "title": "Response Rebuild Vfs Cache Api V1 Vfs Cache Rebuild Post"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        },
        "x-valstorm-runtime": "open-api (Python :8010)",
        "x-valstorm-service": "open-api",
        "x-valstorm-port": 8010
      }
    },
    "/v1/vfs/query": {
      "post": {
        "tags": [
          "vfs"
        ],
        "summary": "Vfs Query Api",
        "description": "Dedicated query endpoint for VFS.\nExecutes standard SQL and formats records with directory metadata.",
        "operationId": "vfs_query_api_v1_vfs_query_post",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "parameters": [
          {
            "name": "X-Organization-ID",
            "in": "header",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Organization-Id"
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/VfsQueryRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "additionalProperties": true
                  },
                  "title": "Response Vfs Query Api V1 Vfs Query Post"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        },
        "x-valstorm-runtime": "open-api (Python :8010)",
        "x-valstorm-service": "open-api",
        "x-valstorm-port": 8010
      }
    },
    "/v1/vfs/vault/{vault_id}": {
      "get": {
        "tags": [
          "vfs"
        ],
        "summary": "Get Vault Api",
        "description": "Retrieves vault details, immediate child vaults, and files.",
        "operationId": "get_vault_api_v1_vfs_vault__vault_id__get",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "parameters": [
          {
            "name": "vault_id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Vault Id"
            }
          },
          {
            "name": "X-Organization-ID",
            "in": "header",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Organization-Id"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "title": "Response Get Vault Api V1 Vfs Vault  Vault Id  Get"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        },
        "x-valstorm-runtime": "open-api (Python :8010)",
        "x-valstorm-service": "open-api",
        "x-valstorm-port": 8010
      }
    },
    "/v1/vfs/vaults/batch": {
      "post": {
        "tags": [
          "vfs"
        ],
        "summary": "Get Batch Vault Contents Api",
        "description": "Fetches contents (child folders and files) for multiple vaults concurrently.\nReturns dictionary mapping vault_id -> vault contents.",
        "operationId": "get_batch_vault_contents_api_v1_vfs_vaults_batch_post",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "parameters": [
          {
            "name": "X-Organization-ID",
            "in": "header",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Organization-Id"
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/VfsBatchVaultsRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "title": "Response Get Batch Vault Contents Api V1 Vfs Vaults Batch Post"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        },
        "x-valstorm-runtime": "open-api (Python :8010)",
        "x-valstorm-service": "open-api",
        "x-valstorm-port": 8010
      }
    },
    "/v1/vfs/path/{string_path}": {
      "get": {
        "tags": [
          "vfs"
        ],
        "summary": "Resolve Vfs Path Api",
        "description": "Resolves an absolute or relative human path (e.g. 'root/Engineering/Specs.md').",
        "operationId": "resolve_vfs_path_api_v1_vfs_path__string_path__get",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "parameters": [
          {
            "name": "string_path",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "title": "String Path"
            }
          },
          {
            "name": "X-Organization-ID",
            "in": "header",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Organization-Id"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "title": "Response Resolve Vfs Path Api V1 Vfs Path  String Path  Get"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        },
        "x-valstorm-runtime": "open-api (Python :8010)",
        "x-valstorm-service": "open-api",
        "x-valstorm-port": 8010
      }
    },
    "/v1/vfs/file/{file_id}": {
      "get": {
        "tags": [
          "vfs"
        ],
        "summary": "Get Vfs File Details Api",
        "description": "Returns file metadata, breadcrumbs, and inline text content.",
        "operationId": "get_vfs_file_details_api_v1_vfs_file__file_id__get",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "parameters": [
          {
            "name": "file_id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "title": "File Id"
            }
          },
          {
            "name": "X-Organization-ID",
            "in": "header",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Organization-Id"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "title": "Response Get Vfs File Details Api V1 Vfs File  File Id  Get"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        },
        "x-valstorm-runtime": "open-api (Python :8010)",
        "x-valstorm-service": "open-api",
        "x-valstorm-port": 8010
      }
    },
    "/v1/vfs/download/{file_id}": {
      "get": {
        "tags": [
          "vfs"
        ],
        "summary": "Download Vfs File Api",
        "description": "Downloads file as an attachment with Content-Disposition.",
        "operationId": "download_vfs_file_api_v1_vfs_download__file_id__get",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "parameters": [
          {
            "name": "file_id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "title": "File Id"
            }
          },
          {
            "name": "X-Organization-ID",
            "in": "header",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Organization-Id"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {}
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        },
        "x-valstorm-runtime": "open-api (Python :8010)",
        "x-valstorm-service": "open-api",
        "x-valstorm-port": 8010
      }
    },
    "/v1/vfs/move": {
      "post": {
        "tags": [
          "vfs"
        ],
        "summary": "Move Vfs Item Api",
        "description": "Moves a vault or file into another vault and triggers recursive path updates.",
        "operationId": "move_vfs_item_api_v1_vfs_move_post",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "parameters": [
          {
            "name": "X-Organization-ID",
            "in": "header",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Organization-Id"
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/VfsMoveRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "title": "Response Move Vfs Item Api V1 Vfs Move Post"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        },
        "x-valstorm-runtime": "open-api (Python :8010)",
        "x-valstorm-service": "open-api",
        "x-valstorm-port": 8010
      }
    },
    "/v1/vfs/batch-move": {
      "post": {
        "tags": [
          "vfs"
        ],
        "summary": "Batch Move Vfs Items Api",
        "description": "Batch moves multiple vaults or files.",
        "operationId": "batch_move_vfs_items_api_v1_vfs_batch_move_post",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "parameters": [
          {
            "name": "X-Organization-ID",
            "in": "header",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Organization-Id"
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/VfsBatchMoveRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "additionalProperties": true
                  },
                  "title": "Response Batch Move Vfs Items Api V1 Vfs Batch Move Post"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        },
        "x-valstorm-runtime": "open-api (Python :8010)",
        "x-valstorm-service": "open-api",
        "x-valstorm-port": 8010
      }
    },
    "/v1/vfs/upload": {
      "post": {
        "tags": [
          "vfs"
        ],
        "summary": "Upload Vfs File Api",
        "description": "Uploads a single file to a specific vault via VFS.",
        "operationId": "upload_vfs_file_api_v1_vfs_upload_post",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "parameters": [
          {
            "name": "X-Organization-ID",
            "in": "header",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Organization-Id"
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "multipart/form-data": {
              "schema": {
                "$ref": "#/components/schemas/Body_upload_vfs_file_api_v1_vfs_upload_post"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "title": "Response Upload Vfs File Api V1 Vfs Upload Post"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        },
        "x-valstorm-runtime": "open-api (Python :8010)",
        "x-valstorm-service": "open-api",
        "x-valstorm-port": 8010
      }
    },
    "/v1/vfs/{item_id}": {
      "delete": {
        "tags": [
          "vfs"
        ],
        "summary": "Delete Vfs Item Api",
        "description": "Soft-deletes a vault or file.",
        "operationId": "delete_vfs_item_api_v1_vfs__item_id__delete",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "parameters": [
          {
            "name": "item_id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Item Id"
            }
          },
          {
            "name": "X-Organization-ID",
            "in": "header",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Organization-Id"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {}
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        },
        "x-valstorm-runtime": "open-api (Python :8010)",
        "x-valstorm-service": "open-api",
        "x-valstorm-port": 8010
      }
    },
    "/v1/vfs/batch-delete": {
      "post": {
        "tags": [
          "vfs"
        ],
        "summary": "Batch Delete Vfs Items Api",
        "description": "Batch deletes vaults or files.",
        "operationId": "batch_delete_vfs_items_api_v1_vfs_batch_delete_post",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "parameters": [
          {
            "name": "X-Organization-ID",
            "in": "header",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Organization-Id"
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/VfsBatchDeleteRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {}
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        },
        "x-valstorm-runtime": "open-api (Python :8010)",
        "x-valstorm-service": "open-api",
        "x-valstorm-port": 8010
      }
    },
    "/v1/vfs/index": {
      "post": {
        "tags": [
          "vfs"
        ],
        "summary": "Index Vfs File Chunks Api",
        "description": "Indexes text content and embeddings into PostgreSQL `file_chunk` (`pgvector` + `tsvector`).",
        "operationId": "index_vfs_file_chunks_api_v1_vfs_index_post",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "parameters": [
          {
            "name": "X-Organization-ID",
            "in": "header",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Organization-Id"
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/VfsIndexChunksRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "title": "Response Index Vfs File Chunks Api V1 Vfs Index Post"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        },
        "x-valstorm-runtime": "open-api (Python :8010)",
        "x-valstorm-service": "open-api",
        "x-valstorm-port": 8010
      }
    },
    "/v1/vfs/search": {
      "post": {
        "tags": [
          "vfs"
        ],
        "summary": "Search Vfs Hybrid Post Api",
        "description": "Executes PostgreSQL Hybrid Dense-Vector + Full-Text Search (RRF) over VFS files.",
        "operationId": "search_vfs_hybrid_post_api_v1_vfs_search_post",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "parameters": [
          {
            "name": "X-Organization-ID",
            "in": "header",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Organization-Id"
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/VfsSearchRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "title": "Response Search Vfs Hybrid Post Api V1 Vfs Search Post"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        },
        "x-valstorm-runtime": "open-api (Python :8010)",
        "x-valstorm-service": "open-api",
        "x-valstorm-port": 8010
      },
      "get": {
        "tags": [
          "vfs"
        ],
        "summary": "Search Vfs Hybrid Get Api",
        "description": "Executes PostgreSQL Hybrid Dense-Vector + Full-Text Search (RRF) over VFS files via GET.",
        "operationId": "search_vfs_hybrid_get_api_v1_vfs_search_get",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "parameters": [
          {
            "name": "query",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Query"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "default": 10,
              "title": "Limit"
            }
          },
          {
            "name": "vault_id",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Vault Id"
            }
          },
          {
            "name": "X-Organization-ID",
            "in": "header",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Organization-Id"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "title": "Response Search Vfs Hybrid Get Api V1 Vfs Search Get"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        },
        "x-valstorm-runtime": "open-api (Python :8010)",
        "x-valstorm-service": "open-api",
        "x-valstorm-port": 8010
      }
    },
    "/v1/document/preview": {
      "post": {
        "tags": [
          "document"
        ],
        "summary": "Preview Document Route",
        "operationId": "preview_document_route_v1_document_preview_post",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "parameters": [
          {
            "name": "X-Organization-ID",
            "in": "header",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Organization-Id"
            }
          }
        ],
        "requestBody": {
          "content": {
            "multipart/form-data": {
              "schema": {
                "$ref": "#/components/schemas/Body_preview_document_route_v1_document_preview_post"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {}
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        },
        "x-valstorm-runtime": "open-api (Python :8010)",
        "x-valstorm-service": "open-api",
        "x-valstorm-port": 8010
      }
    },
    "/v1/document/generate": {
      "post": {
        "tags": [
          "document"
        ],
        "summary": "Generate Document Route",
        "operationId": "generate_document_route_v1_document_generate_post",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "parameters": [
          {
            "name": "X-Organization-ID",
            "in": "header",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Organization-Id"
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/GeneratePdfRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "title": "Response Generate Document Route V1 Document Generate Post"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        },
        "x-valstorm-runtime": "open-api (Python :8010)",
        "x-valstorm-service": "open-api",
        "x-valstorm-port": 8010
      }
    },
    "/v1/graphql/": {
      "post": {
        "tags": [
          "graphql"
        ],
        "summary": "Graphql Endpoint",
        "operationId": "graphql_endpoint_v1_graphql__post",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "parameters": [
          {
            "name": "X-Organization-ID",
            "in": "header",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Organization-Id"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {}
              }
            }
          },
          "404": {
            "description": "Not found"
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        },
        "x-valstorm-runtime": "open-api (Python :8010)",
        "x-valstorm-service": "open-api",
        "x-valstorm-port": 8010
      },
      "get": {
        "tags": [
          "graphql"
        ],
        "summary": "Graphql Gui",
        "operationId": "graphql_gui_v1_graphql__get",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "parameters": [
          {
            "name": "X-Organization-ID",
            "in": "header",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Organization-Id"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {}
              }
            }
          },
          "404": {
            "description": "Not found"
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        },
        "x-valstorm-runtime": "open-api (Python :8010)",
        "x-valstorm-service": "open-api",
        "x-valstorm-port": 8010
      }
    },
    "/v1/graphql": {
      "post": {
        "tags": [
          "graphql"
        ],
        "summary": "Graphql Endpoint",
        "operationId": "graphql_endpoint_v1_graphql_post",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "parameters": [
          {
            "name": "X-Organization-ID",
            "in": "header",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Organization-Id"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {}
              }
            }
          },
          "404": {
            "description": "Not found"
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        },
        "x-valstorm-runtime": "open-api (Python :8010)",
        "x-valstorm-service": "open-api",
        "x-valstorm-port": 8010
      },
      "get": {
        "tags": [
          "graphql"
        ],
        "summary": "Graphql Gui",
        "operationId": "graphql_gui_v1_graphql_get",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "parameters": [
          {
            "name": "X-Organization-ID",
            "in": "header",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Organization-Id"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {}
              }
            }
          },
          "404": {
            "description": "Not found"
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        },
        "x-valstorm-runtime": "open-api (Python :8010)",
        "x-valstorm-service": "open-api",
        "x-valstorm-port": 8010
      }
    },
    "/v2/auth/session": {
      "get": {
        "tags": [
          "auth-v2"
        ],
        "summary": "Get Session V2",
        "description": "Returns lightweight session and identity context (~3-8 KB) in <20ms.\nIncludes user identity, organization context, active workspace, scopes, and permissions.\nReplaces waiting for multi-megabyte /v1/auth/load to unlock the client UI.",
        "operationId": "get_session_v2_v2_auth_session_get",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "parameters": [
          {
            "name": "X-Organization-ID",
            "in": "header",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Organization-Id"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {}
              }
            }
          },
          "404": {
            "description": "Not found"
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        },
        "x-valstorm-runtime": "open-api (Python :8010)",
        "x-valstorm-service": "open-api",
        "x-valstorm-port": 8010
      }
    },
    "/v2/auth/telephony": {
      "get": {
        "tags": [
          "auth-v2"
        ],
        "summary": "Get Telephony Meta V2",
        "description": "Returns telephony metadata for ValPhone mobile app and desktop dialer (~2 KB).\nEmits 'phone_number' (canonical) and 'twilio_phone' (transition alias).",
        "operationId": "get_telephony_meta_v2_v2_auth_telephony_get",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "parameters": [
          {
            "name": "X-Organization-ID",
            "in": "header",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Organization-Id"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {}
              }
            }
          },
          "404": {
            "description": "Not found"
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        },
        "x-valstorm-runtime": "open-api (Python :8010)",
        "x-valstorm-service": "open-api",
        "x-valstorm-port": 8010
      }
    },
    "/v2/auth/navigation": {
      "get": {
        "tags": [
          "auth-v2"
        ],
        "summary": "Get Navigation Meta V2",
        "description": "Returns workspace tree and installed application navigation items for desktop shell (~10-20 KB).\nUses standard singular keys ('workspace', 'app').",
        "operationId": "get_navigation_meta_v2_v2_auth_navigation_get",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "parameters": [
          {
            "name": "X-Organization-ID",
            "in": "header",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Organization-Id"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {}
              }
            }
          },
          "404": {
            "description": "Not found"
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        },
        "x-valstorm-runtime": "open-api (Python :8010)",
        "x-valstorm-service": "open-api",
        "x-valstorm-port": 8010
      }
    },
    "/v2/auth/schemas": {
      "get": {
        "tags": [
          "auth-v2"
        ],
        "summary": "Get Schemas V2",
        "description": "Returns object schemas on-demand.\nUses standard singular key ('schema').",
        "operationId": "get_schemas_v2_v2_auth_schemas_get",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "parameters": [
          {
            "name": "objects",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "description": "Comma-separated object API names (e.g. lead,contact)",
              "title": "Objects"
            },
            "description": "Comma-separated object API names (e.g. lead,contact)"
          },
          {
            "name": "X-Organization-ID",
            "in": "header",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Organization-Id"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {}
              }
            }
          },
          "404": {
            "description": "Not found"
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        },
        "x-valstorm-runtime": "open-api (Python :8010)",
        "x-valstorm-service": "open-api",
        "x-valstorm-port": 8010
      }
    },
    "/v2/auth/bootstrap": {
      "get": {
        "tags": [
          "auth-v2"
        ],
        "summary": "Get Bootstrap V2",
        "description": "Configurable modular bootstrap using strictly singular collection keys\n('schema', 'workspace', 'app', 'tag', 'list_filter', 'twilio_phone', 'permission', 'app_page', 'template')\nmatching the exact platform standard.",
        "operationId": "get_bootstrap_v2_v2_auth_bootstrap_get",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "parameters": [
          {
            "name": "include",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "description": "Comma-separated modules: session,telephony,navigation,schemas,all",
              "default": "session",
              "title": "Include"
            },
            "description": "Comma-separated modules: session,telephony,navigation,schemas,all"
          },
          {
            "name": "objects",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "description": "Optional object API names if schemas are included",
              "title": "Objects"
            },
            "description": "Optional object API names if schemas are included"
          },
          {
            "name": "X-Organization-ID",
            "in": "header",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Organization-Id"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {}
              }
            }
          },
          "404": {
            "description": "Not found"
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        },
        "x-valstorm-runtime": "open-api (Python :8010)",
        "x-valstorm-service": "open-api",
        "x-valstorm-port": 8010
      }
    },
    "/v2/auth/stream": {
      "get": {
        "tags": [
          "auth-v2"
        ],
        "summary": "Stream Bootstrap V2",
        "description": "Streams bootstrap chunks sequentially as NDJSON (newline-delimited JSON).\nPhase 1: session + permissions (<25ms) -> client unlocks UI instantly\nPhase 2: navigation (~50ms) -> client renders sidebar/tabs\nPhase 3: telephony (~70ms) -> dialer ready\nPhase 4: schema (~120ms) -> background schema cache populated\nPhase 5: metadata (~150ms) -> tag, list_filter, app_page\nPhase 6: done",
        "operationId": "stream_bootstrap_v2_v2_auth_stream_get",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "parameters": [
          {
            "name": "X-Organization-ID",
            "in": "header",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Organization-Id"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {}
              }
            }
          },
          "404": {
            "description": "Not found"
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        },
        "x-valstorm-runtime": "open-api (Python :8010)",
        "x-valstorm-service": "open-api",
        "x-valstorm-port": 8010
      }
    },
    "/v1/ai/setup-guide": {
      "get": {
        "tags": [
          "ai"
        ],
        "summary": "Get Ai Setup Guide",
        "operationId": "get_ai_setup_guide_v1_ai_setup_guide_get",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "parameters": [
          {
            "name": "X-Organization-ID",
            "in": "header",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Organization-Id"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "title": "Response Get Ai Setup Guide V1 Ai Setup Guide Get"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        },
        "x-valstorm-runtime": "open-api (Python :8010)",
        "x-valstorm-service": "open-api",
        "x-valstorm-port": 8010
      }
    },
    "/v1/ai/verify": {
      "post": {
        "tags": [
          "ai"
        ],
        "summary": "Verify Ai Connection",
        "operationId": "verify_ai_connection_v1_ai_verify_post",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "parameters": [
          {
            "name": "X-Organization-ID",
            "in": "header",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Organization-Id"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "title": "Response Verify Ai Connection V1 Ai Verify Post"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        },
        "x-valstorm-runtime": "open-api (Python :8010)",
        "x-valstorm-service": "open-api",
        "x-valstorm-port": 8010
      }
    },
    "/v1/ai/credentials": {
      "post": {
        "tags": [
          "ai"
        ],
        "summary": "Save Ai Credentials",
        "operationId": "save_ai_credentials_v1_ai_credentials_post",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "parameters": [
          {
            "name": "X-Organization-ID",
            "in": "header",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Organization-Id"
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/AiCredentialsPayload"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "title": "Response Save Ai Credentials V1 Ai Credentials Post"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        },
        "x-valstorm-runtime": "open-api (Python :8010)",
        "x-valstorm-service": "open-api",
        "x-valstorm-port": 8010
      }
    },
    "/v1/ai/models": {
      "get": {
        "tags": [
          "ai"
        ],
        "summary": "List Ai Models Route",
        "operationId": "list_ai_models_route_v1_ai_models_get",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "parameters": [
          {
            "name": "X-Organization-ID",
            "in": "header",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Organization-Id"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "title": "Response List Ai Models Route V1 Ai Models Get"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        },
        "x-valstorm-runtime": "open-api (Python :8010)",
        "x-valstorm-service": "open-api",
        "x-valstorm-port": 8010
      }
    },
    "/v1/ai/tools": {
      "get": {
        "tags": [
          "ai"
        ],
        "summary": "List All Ai Tools Route",
        "operationId": "list_all_ai_tools_route_v1_ai_tools_get",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "parameters": [
          {
            "name": "env_val",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Env Val"
            }
          },
          {
            "name": "X-Organization-ID",
            "in": "header",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Organization-Id"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "title": "Response List All Ai Tools Route V1 Ai Tools Get"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        },
        "x-valstorm-runtime": "open-api (Python :8010)",
        "x-valstorm-service": "open-api",
        "x-valstorm-port": 8010
      }
    },
    "/v1/ai/tools/execute": {
      "post": {
        "tags": [
          "ai"
        ],
        "summary": "Execute Ai Tool Route",
        "operationId": "execute_ai_tool_route_v1_ai_tools_execute_post",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "parameters": [
          {
            "name": "X-Organization-ID",
            "in": "header",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Organization-Id"
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ExecuteAiToolPayload"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "title": "Response Execute Ai Tool Route V1 Ai Tools Execute Post"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        },
        "x-valstorm-runtime": "open-api (Python :8010)",
        "x-valstorm-service": "open-api",
        "x-valstorm-port": 8010
      }
    },
    "/v1/ai/agent/{agent_id}/tools": {
      "get": {
        "tags": [
          "ai"
        ],
        "summary": "Get Agent Tools Route",
        "operationId": "get_agent_tools_route_v1_ai_agent__agent_id__tools_get",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "parameters": [
          {
            "name": "agent_id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Agent Id"
            }
          },
          {
            "name": "env_val",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Env Val"
            }
          },
          {
            "name": "X-Organization-ID",
            "in": "header",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Organization-Id"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "title": "Response Get Agent Tools Route V1 Ai Agent  Agent Id  Tools Get"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        },
        "x-valstorm-runtime": "open-api (Python :8010)",
        "x-valstorm-service": "open-api",
        "x-valstorm-port": 8010
      }
    },
    "/v1/ai/agent/chat": {
      "post": {
        "tags": [
          "ai"
        ],
        "summary": "Agent Chat Route",
        "operationId": "agent_chat_route_v1_ai_agent_chat_post",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "parameters": [
          {
            "name": "X-Organization-ID",
            "in": "header",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Organization-Id"
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/AgentChatPayload"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "title": "Response Agent Chat Route V1 Ai Agent Chat Post"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        },
        "x-valstorm-runtime": "open-api (Python :8010)",
        "x-valstorm-service": "open-api",
        "x-valstorm-port": 8010
      }
    },
    "/v1/ai/agent/confirm": {
      "post": {
        "tags": [
          "ai"
        ],
        "summary": "Confirm Agent Tool Route",
        "operationId": "confirm_agent_tool_route_v1_ai_agent_confirm_post",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "parameters": [
          {
            "name": "X-Organization-ID",
            "in": "header",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Organization-Id"
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ConfirmToolPayload"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "title": "Response Confirm Agent Tool Route V1 Ai Agent Confirm Post"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        },
        "x-valstorm-runtime": "open-api (Python :8010)",
        "x-valstorm-service": "open-api",
        "x-valstorm-port": 8010
      }
    },
    "/v1/ai/agent/cancel": {
      "post": {
        "tags": [
          "ai"
        ],
        "summary": "Cancel Agent Run Route",
        "operationId": "cancel_agent_run_route_v1_ai_agent_cancel_post",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "parameters": [
          {
            "name": "X-Organization-ID",
            "in": "header",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Organization-Id"
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CancelAgentRunPayload"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "title": "Response Cancel Agent Run Route V1 Ai Agent Cancel Post"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        },
        "x-valstorm-runtime": "open-api (Python :8010)",
        "x-valstorm-service": "open-api",
        "x-valstorm-port": 8010
      }
    },
    "/v1/ai/agent/runtime/status": {
      "get": {
        "tags": [
          "ai"
        ],
        "summary": "Get Agent Runtime Status Route",
        "operationId": "get_agent_runtime_status_route_v1_ai_agent_runtime_status_get",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "parameters": [
          {
            "name": "X-Organization-ID",
            "in": "header",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Organization-Id"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "title": "Response Get Agent Runtime Status Route V1 Ai Agent Runtime Status Get"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        },
        "x-valstorm-runtime": "open-api (Python :8010)",
        "x-valstorm-service": "open-api",
        "x-valstorm-port": 8010
      }
    },
    "/v1/ai/chat/{chat_id}/desktop-sync": {
      "post": {
        "tags": [
          "ai"
        ],
        "summary": "Sub-10ms AI Chat Streaming Chunk & Terminal Message Sync (Go)",
        "operationId": "ai_chat_desktop_sync_go",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "parameters": [
          {
            "in": "path",
            "name": "chat_id",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            },
            "description": "Successful Response"
          }
        },
        "x-valstorm-runtime": "open-worker (Go :8080) + open-api (Python :8010)",
        "x-valstorm-service": "open-worker + open-api",
        "x-valstorm-port": 8080,
        "description": "High-speed Go endpoint for streaming `ai_chat_chunk` events over Valkey Pub/Sub and persisting terminal `ai_chat_message` (`aicm_`) records and token counters directly to tenant PostgreSQL with atomic Redis `SetNX` deduplication.\n\n> **Dual-Runtime Ingress:** High-speed Go handler on `open-worker (:8080)` with Python route parity on `open-api (:8010)`.",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "properties": {
                  "input_tokens": {
                    "type": "integer"
                  },
                  "model": {
                    "type": "string"
                  },
                  "org_id": {
                    "type": "string"
                  },
                  "output_tokens": {
                    "type": "integer"
                  },
                  "role": {
                    "default": "assistant",
                    "type": "string"
                  },
                  "run_id": {
                    "type": "string"
                  },
                  "status": {
                    "enum": [
                      "streaming",
                      "completed",
                      "error"
                    ],
                    "type": "string"
                  },
                  "step_id": {
                    "type": "string"
                  },
                  "text": {
                    "type": "string"
                  },
                  "user_id": {
                    "type": "string"
                  }
                },
                "required": [
                  "status"
                ],
                "type": "object"
              }
            }
          },
          "required": true
        },
        "x-valstorm-plugin": "ai",
        "x-valstorm-scope": "ai:write"
      }
    },
    "/v1/ai/prompt": {
      "post": {
        "tags": [
          "ai"
        ],
        "summary": "Openai Chat Completions Route",
        "operationId": "openai_chat_completions_route_v1_ai_prompt_post",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "parameters": [
          {
            "name": "X-Organization-ID",
            "in": "header",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Organization-Id"
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/OpenAiChatCompletionPayload"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "title": "Response Openai Chat Completions Route V1 Ai Prompt Post"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        },
        "x-valstorm-runtime": "open-api (Python :8010)",
        "x-valstorm-service": "open-api",
        "x-valstorm-port": 8010
      }
    },
    "/v1/ai/chat/completions": {
      "post": {
        "tags": [
          "ai"
        ],
        "summary": "Openai Chat Completions Route",
        "operationId": "openai_chat_completions_route_v1_ai_chat_completions_post",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "parameters": [
          {
            "name": "X-Organization-ID",
            "in": "header",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Organization-Id"
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/OpenAiChatCompletionPayload"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "title": "Response Openai Chat Completions Route V1 Ai Chat Completions Post"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        },
        "x-valstorm-runtime": "open-api (Python :8010)",
        "x-valstorm-service": "open-api",
        "x-valstorm-port": 8010
      }
    },
    "/v1/ai/gemini/{api_version}/models/{model_method}": {
      "post": {
        "tags": [
          "ai"
        ],
        "summary": "Gemini Passthrough Route",
        "operationId": "gemini_passthrough_route_v1_ai_gemini__api_version__models__model_method__post",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "parameters": [
          {
            "name": "api_version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Api Version"
            }
          },
          {
            "name": "model_method",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Model Method"
            }
          },
          {
            "name": "X-Organization-ID",
            "in": "header",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Organization-Id"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "title": "Response Gemini Passthrough Route V1 Ai Gemini  Api Version  Models  Model Method  Post"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        },
        "x-valstorm-runtime": "open-api (Python :8010)",
        "x-valstorm-service": "open-api",
        "x-valstorm-port": 8010
      }
    },
    "/v1/ai/gemini/{api_version}/publishers/google/models/{model_method}": {
      "post": {
        "tags": [
          "ai"
        ],
        "summary": "Gemini Passthrough Route",
        "operationId": "gemini_passthrough_route_v1_ai_gemini__api_version__publishers_google_models__model_method__post",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "parameters": [
          {
            "name": "api_version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Api Version"
            }
          },
          {
            "name": "model_method",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Model Method"
            }
          },
          {
            "name": "X-Organization-ID",
            "in": "header",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Organization-Id"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "title": "Response Gemini Passthrough Route V1 Ai Gemini  Api Version  Publishers Google Models  Model Method  Post"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        },
        "x-valstorm-runtime": "open-api (Python :8010)",
        "x-valstorm-service": "open-api",
        "x-valstorm-port": 8010
      }
    },
    "/v1/ai/audio/transcribe": {
      "post": {
        "tags": [
          "ai"
        ],
        "summary": "Transcribe Audio Route",
        "operationId": "transcribe_audio_route_v1_ai_audio_transcribe_post",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "parameters": [
          {
            "name": "X-Organization-ID",
            "in": "header",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Organization-Id"
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "multipart/form-data": {
              "schema": {
                "$ref": "#/components/schemas/Body_transcribe_audio_route_v1_ai_audio_transcribe_post"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "title": "Response Transcribe Audio Route V1 Ai Audio Transcribe Post"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        },
        "x-valstorm-runtime": "open-api (Python :8010)",
        "x-valstorm-service": "open-api",
        "x-valstorm-port": 8010
      }
    },
    "/v1/ai/recording/summarize": {
      "post": {
        "tags": [
          "ai"
        ],
        "summary": "Summarize Meeting Route",
        "operationId": "summarize_meeting_route_v1_ai_recording_summarize_post",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "parameters": [
          {
            "name": "X-Organization-ID",
            "in": "header",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Organization-Id"
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/MeetingSummarizePayload"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "title": "Response Summarize Meeting Route V1 Ai Recording Summarize Post"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        },
        "x-valstorm-runtime": "open-api (Python :8010)",
        "x-valstorm-service": "open-api",
        "x-valstorm-port": 8010
      }
    },
    "/v1/ai/memory/working-context": {
      "get": {
        "tags": [
          "ai"
        ],
        "summary": "Get Working Context Route",
        "operationId": "get_working_context_route_v1_ai_memory_working_context_get",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "parameters": [
          {
            "name": "X-Organization-ID",
            "in": "header",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Organization-Id"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "title": "Response Get Working Context Route V1 Ai Memory Working Context Get"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        },
        "x-valstorm-runtime": "open-api (Python :8010)",
        "x-valstorm-service": "open-api",
        "x-valstorm-port": 8010
      }
    },
    "/v1/ai/memory/pin-asset": {
      "post": {
        "tags": [
          "ai"
        ],
        "summary": "Pin Asset Route",
        "operationId": "pin_asset_route_v1_ai_memory_pin_asset_post",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "parameters": [
          {
            "name": "X-Organization-ID",
            "in": "header",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Organization-Id"
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/PinAssetPayload"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "title": "Response Pin Asset Route V1 Ai Memory Pin Asset Post"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        },
        "x-valstorm-runtime": "open-api (Python :8010)",
        "x-valstorm-service": "open-api",
        "x-valstorm-port": 8010
      }
    },
    "/v1/ai/memory/fact": {
      "post": {
        "tags": [
          "ai"
        ],
        "summary": "Add Fact Route",
        "operationId": "add_fact_route_v1_ai_memory_fact_post",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "parameters": [
          {
            "name": "X-Organization-ID",
            "in": "header",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Organization-Id"
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/AddFactPayload"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "title": "Response Add Fact Route V1 Ai Memory Fact Post"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        },
        "x-valstorm-runtime": "open-api (Python :8010)",
        "x-valstorm-service": "open-api",
        "x-valstorm-port": 8010
      },
      "delete": {
        "tags": [
          "ai"
        ],
        "summary": "Remove Fact Route",
        "operationId": "remove_fact_route_v1_ai_memory_fact_delete",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "parameters": [
          {
            "name": "X-Organization-ID",
            "in": "header",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Organization-Id"
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/RemoveFactPayload"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "title": "Response Remove Fact Route V1 Ai Memory Fact Delete"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        },
        "x-valstorm-runtime": "open-api (Python :8010)",
        "x-valstorm-service": "open-api",
        "x-valstorm-port": 8010
      }
    },
    "/v1/billing/overview": {
      "get": {
        "tags": [
          "billing"
        ],
        "summary": "Get Billing Overview Route",
        "operationId": "get_billing_overview_route_v1_billing_overview_get",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "parameters": [
          {
            "name": "X-Organization-ID",
            "in": "header",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Organization-Id"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "title": "Response Get Billing Overview Route V1 Billing Overview Get"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        },
        "x-valstorm-runtime": "open-api (Python :8010)",
        "x-valstorm-service": "open-api",
        "x-valstorm-port": 8010
      }
    },
    "/v1/billing/usage-breakdown": {
      "get": {
        "tags": [
          "billing"
        ],
        "summary": "Get Usage Breakdown Route",
        "operationId": "get_usage_breakdown_route_v1_billing_usage_breakdown_get",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "parameters": [
          {
            "name": "period",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "default": "this_month",
              "title": "Period"
            }
          },
          {
            "name": "start_date",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Start Date"
            }
          },
          {
            "name": "end_date",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "End Date"
            }
          },
          {
            "name": "nocache",
            "in": "query",
            "required": false,
            "schema": {
              "type": "boolean",
              "default": false,
              "title": "Nocache"
            }
          },
          {
            "name": "X-Organization-ID",
            "in": "header",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Organization-Id"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "title": "Response Get Usage Breakdown Route V1 Billing Usage Breakdown Get"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        },
        "x-valstorm-runtime": "open-api (Python :8010)",
        "x-valstorm-service": "open-api",
        "x-valstorm-port": 8010
      }
    },
    "/v1/billing/routes-breakdown": {
      "get": {
        "tags": [
          "billing"
        ],
        "summary": "Get Routes Breakdown Route",
        "operationId": "get_routes_breakdown_route_v1_billing_routes_breakdown_get",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "parameters": [
          {
            "name": "period",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "default": "this_month",
              "title": "Period"
            }
          },
          {
            "name": "tier",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "default": "all",
              "title": "Tier"
            }
          },
          {
            "name": "user_id",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "User Id"
            }
          },
          {
            "name": "date",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Date"
            }
          },
          {
            "name": "grouped",
            "in": "query",
            "required": false,
            "schema": {
              "type": "boolean",
              "default": true,
              "title": "Grouped"
            }
          },
          {
            "name": "nocache",
            "in": "query",
            "required": false,
            "schema": {
              "type": "boolean",
              "default": false,
              "title": "Nocache"
            }
          },
          {
            "name": "start_date",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Start Date"
            }
          },
          {
            "name": "end_date",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "End Date"
            }
          },
          {
            "name": "X-Organization-ID",
            "in": "header",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Organization-Id"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "title": "Response Get Routes Breakdown Route V1 Billing Routes Breakdown Get"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        },
        "x-valstorm-runtime": "open-api (Python :8010)",
        "x-valstorm-service": "open-api",
        "x-valstorm-port": 8010
      }
    },
    "/v1/billing/usage-history": {
      "get": {
        "tags": [
          "billing"
        ],
        "summary": "Get Usage History Route",
        "operationId": "get_usage_history_route_v1_billing_usage_history_get",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "parameters": [
          {
            "name": "days",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "maximum": 400,
              "minimum": 1,
              "default": 14,
              "title": "Days"
            }
          },
          {
            "name": "period",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Period"
            }
          },
          {
            "name": "start_date",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Start Date"
            }
          },
          {
            "name": "end_date",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "End Date"
            }
          },
          {
            "name": "X-Organization-ID",
            "in": "header",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Organization-Id"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "additionalProperties": true
                  },
                  "title": "Response Get Usage History Route V1 Billing Usage History Get"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        },
        "x-valstorm-runtime": "open-api (Python :8010)",
        "x-valstorm-service": "open-api",
        "x-valstorm-port": 8010
      }
    },
    "/v1/billing/ai-breakdown": {
      "get": {
        "tags": [
          "billing"
        ],
        "summary": "Get Ai Breakdown Route",
        "operationId": "get_ai_breakdown_route_v1_billing_ai_breakdown_get",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "parameters": [
          {
            "name": "period",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "default": "this_month",
              "title": "Period"
            }
          },
          {
            "name": "model",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "default": "all",
              "title": "Model"
            }
          },
          {
            "name": "user_id",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "User Id"
            }
          },
          {
            "name": "date",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Date"
            }
          },
          {
            "name": "nocache",
            "in": "query",
            "required": false,
            "schema": {
              "type": "boolean",
              "default": false,
              "title": "Nocache"
            }
          },
          {
            "name": "start_date",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Start Date"
            }
          },
          {
            "name": "end_date",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "End Date"
            }
          },
          {
            "name": "X-Organization-ID",
            "in": "header",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Organization-Id"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "title": "Response Get Ai Breakdown Route V1 Billing Ai Breakdown Get"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        },
        "x-valstorm-runtime": "open-api (Python :8010)",
        "x-valstorm-service": "open-api",
        "x-valstorm-port": 8010
      }
    },
    "/v1/billing/telephony-breakdown": {
      "get": {
        "tags": [
          "billing"
        ],
        "summary": "Get Telephony Breakdown Route",
        "operationId": "get_telephony_breakdown_route_v1_billing_telephony_breakdown_get",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "parameters": [
          {
            "name": "period",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "default": "this_month",
              "title": "Period"
            }
          },
          {
            "name": "date",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Date"
            }
          },
          {
            "name": "type_filter",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "default": "all",
              "title": "Type Filter"
            }
          },
          {
            "name": "nocache",
            "in": "query",
            "required": false,
            "schema": {
              "type": "boolean",
              "default": false,
              "title": "Nocache"
            }
          },
          {
            "name": "start_date",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Start Date"
            }
          },
          {
            "name": "end_date",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "End Date"
            }
          },
          {
            "name": "X-Organization-ID",
            "in": "header",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Organization-Id"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "title": "Response Get Telephony Breakdown Route V1 Billing Telephony Breakdown Get"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        },
        "x-valstorm-runtime": "open-api (Python :8010)",
        "x-valstorm-service": "open-api",
        "x-valstorm-port": 8010
      }
    },
    "/v1/billing/storage-breakdown": {
      "get": {
        "tags": [
          "billing"
        ],
        "summary": "Get Storage Breakdown Route",
        "operationId": "get_storage_breakdown_route_v1_billing_storage_breakdown_get",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "parameters": [
          {
            "name": "period",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "default": "this_month",
              "title": "Period"
            }
          },
          {
            "name": "start_date",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Start Date"
            }
          },
          {
            "name": "end_date",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "End Date"
            }
          },
          {
            "name": "X-Organization-ID",
            "in": "header",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Organization-Id"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "title": "Response Get Storage Breakdown Route V1 Billing Storage Breakdown Get"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        },
        "x-valstorm-runtime": "open-api (Python :8010)",
        "x-valstorm-service": "open-api",
        "x-valstorm-port": 8010
      }
    },
    "/v1/billing/storage-usage": {
      "get": {
        "tags": [
          "billing"
        ],
        "summary": "Get Storage Usage Route",
        "operationId": "get_storage_usage_route_v1_billing_storage_usage_get",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "parameters": [
          {
            "name": "X-Organization-ID",
            "in": "header",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Organization-Id"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "title": "Response Get Storage Usage Route V1 Billing Storage Usage Get"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        },
        "x-valstorm-runtime": "open-api (Python :8010)",
        "x-valstorm-service": "open-api",
        "x-valstorm-port": 8010
      }
    },
    "/v1/billing/storage/rollup": {
      "post": {
        "tags": [
          "billing"
        ],
        "summary": "Trigger Storage Rollup Route",
        "operationId": "trigger_storage_rollup_route_v1_billing_storage_rollup_post",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "parameters": [
          {
            "name": "dry_run",
            "in": "query",
            "required": false,
            "schema": {
              "type": "boolean",
              "default": true,
              "title": "Dry Run"
            }
          },
          {
            "name": "X-Organization-ID",
            "in": "header",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Organization-Id"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "title": "Response Trigger Storage Rollup Route V1 Billing Storage Rollup Post"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        },
        "x-valstorm-runtime": "open-api (Python :8010)",
        "x-valstorm-service": "open-api",
        "x-valstorm-port": 8010
      }
    },
    "/v1/billing/auto-replenish": {
      "post": {
        "tags": [
          "billing"
        ],
        "summary": "Update Auto Replenish Route",
        "operationId": "update_auto_replenish_route_v1_billing_auto_replenish_post",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "parameters": [
          {
            "name": "X-Organization-ID",
            "in": "header",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Organization-Id"
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/AutoReplenishUpdateRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "title": "Response Update Auto Replenish Route V1 Billing Auto Replenish Post"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        },
        "x-valstorm-runtime": "open-api (Python :8010)",
        "x-valstorm-service": "open-api",
        "x-valstorm-port": 8010
      },
      "put": {
        "tags": [
          "billing"
        ],
        "summary": "Update Auto Replenish Route",
        "operationId": "update_auto_replenish_route_v1_billing_auto_replenish_put",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "parameters": [
          {
            "name": "X-Organization-ID",
            "in": "header",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Organization-Id"
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/AutoReplenishUpdateRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "title": "Response Update Auto Replenish Route V1 Billing Auto Replenish Put"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        },
        "x-valstorm-runtime": "open-api (Python :8010)",
        "x-valstorm-service": "open-api",
        "x-valstorm-port": 8010
      }
    },
    "/v1/billing/transactions": {
      "get": {
        "tags": [
          "billing"
        ],
        "summary": "List Credit Transactions Route",
        "operationId": "list_credit_transactions_route_v1_billing_transactions_get",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "parameters": [
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "maximum": 100,
              "minimum": 1,
              "default": 25,
              "title": "Limit"
            }
          },
          {
            "name": "X-Organization-ID",
            "in": "header",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Organization-Id"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "additionalProperties": true
                  },
                  "title": "Response List Credit Transactions Route V1 Billing Transactions Get"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        },
        "x-valstorm-runtime": "open-api (Python :8010)",
        "x-valstorm-service": "open-api",
        "x-valstorm-port": 8010
      }
    },
    "/v1/billing/export/summary": {
      "get": {
        "tags": [
          "billing"
        ],
        "summary": "Get Billing Export Summary Route",
        "operationId": "get_billing_export_summary_route_v1_billing_export_summary_get",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "parameters": [
          {
            "name": "period",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "default": "this_month",
              "title": "Period"
            }
          },
          {
            "name": "format",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "default": "json",
              "title": "Format"
            }
          },
          {
            "name": "start_date",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Start Date"
            }
          },
          {
            "name": "end_date",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "End Date"
            }
          },
          {
            "name": "X-Organization-ID",
            "in": "header",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Organization-Id"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "title": "Response Get Billing Export Summary Route V1 Billing Export Summary Get"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        },
        "x-valstorm-runtime": "open-api (Python :8010)",
        "x-valstorm-service": "open-api",
        "x-valstorm-port": 8010
      }
    },
    "/v1/billing/create-credit-checkout-session": {
      "post": {
        "tags": [
          "billing"
        ],
        "summary": "Create Credit Checkout Session Route",
        "operationId": "create_credit_checkout_session_route_v1_billing_create_credit_checkout_session_post",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "parameters": [
          {
            "name": "X-Organization-ID",
            "in": "header",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Organization-Id"
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateCreditCheckoutSessionRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "title": "Response Create Credit Checkout Session Route V1 Billing Create Credit Checkout Session Post"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        },
        "x-valstorm-runtime": "open-api (Python :8010)",
        "x-valstorm-service": "open-api",
        "x-valstorm-port": 8010
      }
    },
    "/v1/billing/webhook": {
      "post": {
        "tags": [
          "billing-webhooks"
        ],
        "summary": "Stripe Saas Billing Webhook Route",
        "description": "Self-contained Valstorm Cloud SaaS Stripe webhook handler for:\n  - `checkout.session.completed`\n  - `invoice.payment_succeeded`",
        "operationId": "stripe_saas_billing_webhook_route_v1_billing_webhook_post",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": true,
                "type": "object",
                "title": "Event"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "additionalProperties": true,
                  "type": "object",
                  "title": "Response Stripe Saas Billing Webhook Route V1 Billing Webhook Post"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        },
        "x-valstorm-runtime": "open-api (Python :8010)",
        "x-valstorm-service": "open-api",
        "x-valstorm-port": 8010
      }
    },
    "/v1/booking/setup-guide": {
      "get": {
        "tags": [
          "booking"
        ],
        "summary": "Get Booking Setup Guide",
        "operationId": "get_booking_setup_guide_v1_booking_setup_guide_get",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "parameters": [
          {
            "name": "X-Organization-ID",
            "in": "header",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Organization-Id"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "title": "Response Get Booking Setup Guide V1 Booking Setup Guide Get"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        },
        "x-valstorm-runtime": "open-api (Python :8010)",
        "x-valstorm-service": "open-api",
        "x-valstorm-port": 8010
      }
    },
    "/v1/booking/verify": {
      "post": {
        "tags": [
          "booking"
        ],
        "summary": "Verify Booking Connection",
        "operationId": "verify_booking_connection_v1_booking_verify_post",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "parameters": [
          {
            "name": "X-Organization-ID",
            "in": "header",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Organization-Id"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "title": "Response Verify Booking Connection V1 Booking Verify Post"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        },
        "x-valstorm-runtime": "open-api (Python :8010)",
        "x-valstorm-service": "open-api",
        "x-valstorm-port": 8010
      }
    },
    "/v1/booking/links": {
      "post": {
        "tags": [
          "booking"
        ],
        "summary": "Upsert Booking Link Route",
        "operationId": "upsert_booking_link_route_v1_booking_links_post",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "parameters": [
          {
            "name": "X-Organization-ID",
            "in": "header",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Organization-Id"
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/BookingLinkUpsertPayload"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "title": "Response Upsert Booking Link Route V1 Booking Links Post"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        },
        "x-valstorm-runtime": "open-api (Python :8010)",
        "x-valstorm-service": "open-api",
        "x-valstorm-port": 8010
      }
    },
    "/v1/booking/{slug}/availability": {
      "get": {
        "tags": [
          "booking"
        ],
        "summary": "Compute Public Booking Slot Availability (Go)",
        "operationId": "booking_get_availability_go",
        "parameters": [
          {
            "in": "path",
            "name": "slug",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "org_id",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "date",
            "required": false,
            "schema": {
              "format": "date",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            },
            "description": "Successful Response"
          }
        },
        "x-valstorm-runtime": "open-worker (Go :8080) + open-api (Python :8010)",
        "x-valstorm-service": "open-worker + open-api",
        "x-valstorm-port": 8080,
        "description": "Computes available calendar time slots for a public booking link (`slug`), filtering against existing PostgreSQL `event` conflicts and Google Calendar FreeBusy windows.\n\n> **Dual-Runtime Ingress:** High-speed Go handler on `open-worker (:8080)` with Python route parity on `open-api (:8010)`.",
        "x-valstorm-plugin": "booking",
        "x-valstorm-scope": "public"
      }
    },
    "/v1/booking/{slug}/reserve": {
      "post": {
        "tags": [
          "booking"
        ],
        "summary": "Reserve Public Calendar Booking Slot (Go)",
        "operationId": "booking_reserve_slot_go",
        "parameters": [
          {
            "in": "path",
            "name": "slug",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ReserveBookingPayload"
              }
            }
          }
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            },
            "description": "Successful Response"
          }
        },
        "x-valstorm-runtime": "open-worker (Go :8080) + open-api (Python :8010)",
        "x-valstorm-service": "open-worker + open-api",
        "x-valstorm-port": 8080,
        "description": "Atomically reserves a booking slot (`bksl_`), creates the calendar `event` and `contact` in tenant PostgreSQL, and triggers confirmation notifications.\n\n> **Dual-Runtime Ingress:** High-speed Go handler on `open-worker (:8080)` with Python route parity on `open-api (:8010)`.",
        "x-valstorm-plugin": "booking",
        "x-valstorm-scope": "public"
      }
    },
    "/v1/deepgram/setup-guide": {
      "get": {
        "tags": [
          "deepgram"
        ],
        "summary": "Get Deepgram Setup Guide",
        "operationId": "get_deepgram_setup_guide_v1_deepgram_setup_guide_get",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "parameters": [
          {
            "name": "X-Organization-ID",
            "in": "header",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Organization-Id"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "title": "Response Get Deepgram Setup Guide V1 Deepgram Setup Guide Get"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        },
        "x-valstorm-runtime": "open-api (Python :8010)",
        "x-valstorm-service": "open-api",
        "x-valstorm-port": 8010
      }
    },
    "/v1/deepgram/verify": {
      "post": {
        "tags": [
          "deepgram"
        ],
        "summary": "Verify Deepgram Connection",
        "operationId": "verify_deepgram_connection_v1_deepgram_verify_post",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "parameters": [
          {
            "name": "X-Organization-ID",
            "in": "header",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Organization-Id"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "title": "Response Verify Deepgram Connection V1 Deepgram Verify Post"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        },
        "x-valstorm-runtime": "open-api (Python :8010)",
        "x-valstorm-service": "open-api",
        "x-valstorm-port": 8010
      }
    },
    "/v1/deepgram/credentials": {
      "post": {
        "tags": [
          "deepgram"
        ],
        "summary": "Save Deepgram Credentials",
        "operationId": "save_deepgram_credentials_v1_deepgram_credentials_post",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "parameters": [
          {
            "name": "X-Organization-ID",
            "in": "header",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Organization-Id"
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/DeepgramCredentialsPayload"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "title": "Response Save Deepgram Credentials V1 Deepgram Credentials Post"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        },
        "x-valstorm-runtime": "open-api (Python :8010)",
        "x-valstorm-service": "open-api",
        "x-valstorm-port": 8010
      }
    },
    "/v1/deepgram/token": {
      "get": {
        "tags": [
          "deepgram"
        ],
        "summary": "Get Deepgram Speech Token",
        "operationId": "get_deepgram_speech_token_v1_deepgram_token_get",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "parameters": [
          {
            "name": "X-Organization-ID",
            "in": "header",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Organization-Id"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "title": "Response Get Deepgram Speech Token V1 Deepgram Token Get"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        },
        "x-valstorm-runtime": "open-api (Python :8010)",
        "x-valstorm-service": "open-api",
        "x-valstorm-port": 8010
      }
    },
    "/v1/deepgram/transcribe": {
      "post": {
        "tags": [
          "deepgram"
        ],
        "summary": "Transcribe Deepgram Route",
        "operationId": "transcribe_deepgram_route_v1_deepgram_transcribe_post",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "parameters": [
          {
            "name": "X-Organization-ID",
            "in": "header",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Organization-Id"
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/DeepgramTranscribePayload"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "title": "Response Transcribe Deepgram Route V1 Deepgram Transcribe Post"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        },
        "x-valstorm-runtime": "open-api (Python :8010)",
        "x-valstorm-service": "open-api",
        "x-valstorm-port": 8010
      }
    },
    "/v1/ai/speech/deepgram/token": {
      "get": {
        "tags": [
          "deepgram-compat"
        ],
        "summary": "Get Deepgram Speech Token",
        "operationId": "get_deepgram_speech_token_v1_ai_speech_deepgram_token_get",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "parameters": [
          {
            "name": "X-Organization-ID",
            "in": "header",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Organization-Id"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "title": "Response Get Deepgram Speech Token V1 Ai Speech Deepgram Token Get"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        },
        "x-valstorm-runtime": "open-api (Python :8010)",
        "x-valstorm-service": "open-api",
        "x-valstorm-port": 8010
      }
    },
    "/v1/ai/speech/credentials": {
      "get": {
        "tags": [
          "deepgram-compat"
        ],
        "summary": "Get Speech Credentials Compat",
        "operationId": "get_speech_credentials_compat_v1_ai_speech_credentials_get",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "parameters": [
          {
            "name": "provider",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "default": "deepgram",
              "title": "Provider"
            }
          },
          {
            "name": "X-Organization-ID",
            "in": "header",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Organization-Id"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "title": "Response Get Speech Credentials Compat V1 Ai Speech Credentials Get"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        },
        "x-valstorm-runtime": "open-api (Python :8010)",
        "x-valstorm-service": "open-api",
        "x-valstorm-port": 8010
      }
    },
    "/v1/ai/recording/transcribe": {
      "post": {
        "tags": [
          "deepgram-compat"
        ],
        "summary": "Transcribe Recording Compat",
        "operationId": "transcribe_recording_compat_v1_ai_recording_transcribe_post",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "parameters": [
          {
            "name": "file_id",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "File Id"
            }
          },
          {
            "name": "diarize",
            "in": "query",
            "required": false,
            "schema": {
              "type": "boolean",
              "default": true,
              "title": "Diarize"
            }
          },
          {
            "name": "model",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Model"
            }
          },
          {
            "name": "X-Organization-ID",
            "in": "header",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Organization-Id"
            }
          }
        ],
        "requestBody": {
          "content": {
            "multipart/form-data": {
              "schema": {
                "$ref": "#/components/schemas/Body_transcribe_recording_compat_v1_ai_recording_transcribe_post"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "title": "Response Transcribe Recording Compat V1 Ai Recording Transcribe Post"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        },
        "x-valstorm-runtime": "open-api (Python :8010)",
        "x-valstorm-service": "open-api",
        "x-valstorm-port": 8010
      }
    },
    "/v1/notifications/send": {
      "post": {
        "tags": [
          "notifications"
        ],
        "summary": "Send Notification",
        "description": "Enqueues a high-throughput Firebase Cloud Messaging (FCM) push notification\ntask (`firebase:send_push`) to the Go worker via PlatformContext.",
        "operationId": "send_notification_v1_notifications_send_post",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "parameters": [
          {
            "name": "X-Organization-ID",
            "in": "header",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Organization-Id"
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/WebNotification"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {}
              }
            }
          },
          "404": {
            "description": "Not found"
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        },
        "x-valstorm-runtime": "open-api (Python :8010)",
        "x-valstorm-service": "open-api",
        "x-valstorm-port": 8010
      }
    },
    "/v1/notifications/set-token": {
      "post": {
        "tags": [
          "notifications"
        ],
        "summary": "Set Notification Token",
        "description": "Saves the authenticated user's FCM push token settings on their `user` record\nand caches it via PlatformContext.",
        "operationId": "set_notification_token_v1_notifications_set_token_post",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "parameters": [
          {
            "name": "X-Organization-ID",
            "in": "header",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Organization-Id"
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "additionalProperties": true,
                "title": "Data"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {}
              }
            }
          },
          "404": {
            "description": "Not found"
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        },
        "x-valstorm-runtime": "open-api (Python :8010)",
        "x-valstorm-service": "open-api",
        "x-valstorm-port": 8010
      }
    },
    "/v1/gcp/setup-guide": {
      "get": {
        "tags": [
          "gcp"
        ],
        "summary": "Get Setup Guide",
        "operationId": "get_setup_guide_v1_gcp_setup_guide_get",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "parameters": [
          {
            "name": "X-Organization-ID",
            "in": "header",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Organization-Id"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "title": "Response Get Setup Guide V1 Gcp Setup Guide Get"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        },
        "x-valstorm-runtime": "open-api (Python :8010)",
        "x-valstorm-service": "open-api",
        "x-valstorm-port": 8010
      }
    },
    "/v1/gcp/verify": {
      "post": {
        "tags": [
          "gcp"
        ],
        "summary": "Verify Connection",
        "operationId": "verify_connection_v1_gcp_verify_post",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "parameters": [
          {
            "name": "X-Organization-ID",
            "in": "header",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Organization-Id"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "title": "Response Verify Connection V1 Gcp Verify Post"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        },
        "x-valstorm-runtime": "open-api (Python :8010)",
        "x-valstorm-service": "open-api",
        "x-valstorm-port": 8010
      }
    },
    "/v1/gcp/bigquery/datasets": {
      "get": {
        "tags": [
          "gcp"
        ],
        "summary": "List Datasets",
        "operationId": "list_datasets_v1_gcp_bigquery_datasets_get",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "parameters": [
          {
            "name": "X-Organization-ID",
            "in": "header",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Organization-Id"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "type": "string"
                  },
                  "title": "Response List Datasets V1 Gcp Bigquery Datasets Get"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        },
        "x-valstorm-runtime": "open-api (Python :8010)",
        "x-valstorm-service": "open-api",
        "x-valstorm-port": 8010
      }
    },
    "/v1/gcp/bigquery/datasets/{dataset}/tables": {
      "get": {
        "tags": [
          "gcp"
        ],
        "summary": "List Tables",
        "operationId": "list_tables_v1_gcp_bigquery_datasets__dataset__tables_get",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "parameters": [
          {
            "name": "dataset",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Dataset"
            }
          },
          {
            "name": "X-Organization-ID",
            "in": "header",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Organization-Id"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "type": "string"
                  },
                  "title": "Response List Tables V1 Gcp Bigquery Datasets  Dataset  Tables Get"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        },
        "x-valstorm-runtime": "open-api (Python :8010)",
        "x-valstorm-service": "open-api",
        "x-valstorm-port": 8010
      }
    },
    "/v1/gcp/bigquery/datasets/{dataset}/tables/{table}": {
      "get": {
        "tags": [
          "gcp"
        ],
        "summary": "Get Table Schema",
        "operationId": "get_table_schema_v1_gcp_bigquery_datasets__dataset__tables__table__get",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "parameters": [
          {
            "name": "dataset",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Dataset"
            }
          },
          {
            "name": "table",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Table"
            }
          },
          {
            "name": "X-Organization-ID",
            "in": "header",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Organization-Id"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "additionalProperties": true
                  },
                  "title": "Response Get Table Schema V1 Gcp Bigquery Datasets  Dataset  Tables  Table  Get"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        },
        "x-valstorm-runtime": "open-api (Python :8010)",
        "x-valstorm-service": "open-api",
        "x-valstorm-port": 8010
      }
    },
    "/v1/gcp/bigquery/query": {
      "post": {
        "tags": [
          "gcp"
        ],
        "summary": "Query",
        "operationId": "query_v1_gcp_bigquery_query_post",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "parameters": [
          {
            "name": "X-Organization-ID",
            "in": "header",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Organization-Id"
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Body_query_v1_gcp_bigquery_query_post"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "title": "Response Query V1 Gcp Bigquery Query Post"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        },
        "x-valstorm-runtime": "open-api (Python :8010)",
        "x-valstorm-service": "open-api",
        "x-valstorm-port": 8010
      }
    },
    "/v1/gcp/bigquery/insert": {
      "post": {
        "tags": [
          "gcp"
        ],
        "summary": "Insert Rows",
        "operationId": "insert_rows_v1_gcp_bigquery_insert_post",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "parameters": [
          {
            "name": "X-Organization-ID",
            "in": "header",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Organization-Id"
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Body_insert_rows_v1_gcp_bigquery_insert_post"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "title": "Response Insert Rows V1 Gcp Bigquery Insert Post"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        },
        "x-valstorm-runtime": "open-api (Python :8010)",
        "x-valstorm-service": "open-api",
        "x-valstorm-port": 8010
      }
    },
    "/v1/gcp/pubsub/publish": {
      "post": {
        "tags": [
          "gcp"
        ],
        "summary": "Publish",
        "operationId": "publish_v1_gcp_pubsub_publish_post",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "parameters": [
          {
            "name": "X-Organization-ID",
            "in": "header",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Organization-Id"
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Body_publish_v1_gcp_pubsub_publish_post"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "title": "Response Publish V1 Gcp Pubsub Publish Post"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        },
        "x-valstorm-runtime": "open-api (Python :8010)",
        "x-valstorm-service": "open-api",
        "x-valstorm-port": 8010
      }
    },
    "/v1/github/setup-guide": {
      "get": {
        "tags": [
          "github"
        ],
        "summary": "Get Github Setup Guide Route",
        "operationId": "get_github_setup_guide_route_v1_github_setup_guide_get",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "parameters": [
          {
            "name": "X-Organization-ID",
            "in": "header",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Organization-Id"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "title": "Response Get Github Setup Guide Route V1 Github Setup Guide Get"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        },
        "x-valstorm-runtime": "open-api (Python :8010)",
        "x-valstorm-service": "open-api",
        "x-valstorm-port": 8010
      }
    },
    "/v1/github/credentials": {
      "post": {
        "tags": [
          "github"
        ],
        "summary": "Save Github Credentials Route",
        "operationId": "save_github_credentials_route_v1_github_credentials_post",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "parameters": [
          {
            "name": "X-Organization-ID",
            "in": "header",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Organization-Id"
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/GitHubSaveCredentialsRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "title": "Response Save Github Credentials Route V1 Github Credentials Post"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        },
        "x-valstorm-runtime": "open-api (Python :8010)",
        "x-valstorm-service": "open-api",
        "x-valstorm-port": 8010
      }
    },
    "/v1/github/auth/login": {
      "get": {
        "tags": [
          "github"
        ],
        "summary": "Login Github Route",
        "operationId": "login_github_route_v1_github_auth_login_get",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "parameters": [
          {
            "name": "X-Organization-ID",
            "in": "header",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Organization-Id"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "title": "Response Login Github Route V1 Github Auth Login Get"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        },
        "x-valstorm-runtime": "open-api (Python :8010)",
        "x-valstorm-service": "open-api",
        "x-valstorm-port": 8010
      }
    },
    "/v1/github/auth/status": {
      "get": {
        "tags": [
          "github"
        ],
        "summary": "Get Github Status Route",
        "operationId": "get_github_status_route_v1_github_auth_status_get",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "parameters": [
          {
            "name": "X-Organization-ID",
            "in": "header",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Organization-Id"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "title": "Response Get Github Status Route V1 Github Auth Status Get"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        },
        "x-valstorm-runtime": "open-api (Python :8010)",
        "x-valstorm-service": "open-api",
        "x-valstorm-port": 8010
      }
    },
    "/v1/github/auth/disconnect": {
      "post": {
        "tags": [
          "github"
        ],
        "summary": "Disconnect Github Route",
        "operationId": "disconnect_github_route_v1_github_auth_disconnect_post",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "parameters": [
          {
            "name": "X-Organization-ID",
            "in": "header",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Organization-Id"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "title": "Response Disconnect Github Route V1 Github Auth Disconnect Post"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        },
        "x-valstorm-runtime": "open-api (Python :8010)",
        "x-valstorm-service": "open-api",
        "x-valstorm-port": 8010
      }
    },
    "/v1/github/repositories": {
      "get": {
        "tags": [
          "github"
        ],
        "summary": "List Github Repositories Route",
        "operationId": "list_github_repositories_route_v1_github_repositories_get",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "parameters": [
          {
            "name": "X-Organization-ID",
            "in": "header",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Organization-Id"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "additionalProperties": true
                  },
                  "title": "Response List Github Repositories Route V1 Github Repositories Get"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        },
        "x-valstorm-runtime": "open-api (Python :8010)",
        "x-valstorm-service": "open-api",
        "x-valstorm-port": 8010
      }
    },
    "/v1/github/pulls": {
      "post": {
        "tags": [
          "github"
        ],
        "summary": "Create Github Pull Request Route",
        "operationId": "create_github_pull_request_route_v1_github_pulls_post",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "parameters": [
          {
            "name": "X-Organization-ID",
            "in": "header",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Organization-Id"
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/GitHubCreatePullRequestRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "title": "Response Create Github Pull Request Route V1 Github Pulls Post"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        },
        "x-valstorm-runtime": "open-api (Python :8010)",
        "x-valstorm-service": "open-api",
        "x-valstorm-port": 8010
      }
    },
    "/v1/github/issues": {
      "post": {
        "tags": [
          "github"
        ],
        "summary": "Create Github Issue Route",
        "operationId": "create_github_issue_route_v1_github_issues_post",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "parameters": [
          {
            "name": "X-Organization-ID",
            "in": "header",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Organization-Id"
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/GitHubCreateIssueRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "title": "Response Create Github Issue Route V1 Github Issues Post"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        },
        "x-valstorm-runtime": "open-api (Python :8010)",
        "x-valstorm-service": "open-api",
        "x-valstorm-port": 8010
      }
    },
    "/v1/ci/deployments": {
      "get": {
        "tags": [
          "ci"
        ],
        "summary": "List Ci Deployments Route",
        "operationId": "list_ci_deployments_route_v1_ci_deployments_get",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "parameters": [
          {
            "name": "X-Organization-ID",
            "in": "header",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Organization-Id"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "title": "Response List Ci Deployments Route V1 Ci Deployments Get"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        },
        "x-valstorm-runtime": "open-api (Python :8010)",
        "x-valstorm-service": "open-api",
        "x-valstorm-port": 8010
      }
    },
    "/v1/github/auth/callback": {
      "get": {
        "tags": [
          "github-public"
        ],
        "summary": "Callback Github Route",
        "operationId": "callback_github_route_v1_github_auth_callback_get",
        "parameters": [
          {
            "name": "installation_id",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "integer"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Installation Id"
            }
          },
          {
            "name": "setup_action",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Setup Action"
            }
          },
          {
            "name": "code",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Code"
            }
          },
          {
            "name": "state",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "State"
            }
          },
          {
            "name": "error",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Error"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "title": "Response Callback Github Route V1 Github Auth Callback Get"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        },
        "x-valstorm-runtime": "open-api (Python :8010)",
        "x-valstorm-service": "open-api",
        "x-valstorm-port": 8010
      }
    },
    "/v1/github/webhook": {
      "post": {
        "tags": [
          "github-public"
        ],
        "summary": "Handle Github Ci Webhook Route",
        "operationId": "handle_github_ci_webhook_route_v1_github_webhook_post",
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "additionalProperties": true,
                  "type": "object",
                  "title": "Response Handle Github Ci Webhook Route V1 Github Webhook Post"
                }
              }
            }
          }
        },
        "x-valstorm-runtime": "open-api (Python :8010)",
        "x-valstorm-service": "open-api",
        "x-valstorm-port": 8010
      }
    },
    "/v1/ci/webhooks/github": {
      "post": {
        "tags": [
          "ci-webhooks"
        ],
        "summary": "Handle Github Ci Webhook Route",
        "operationId": "handle_github_ci_webhook_route_v1_ci_webhooks_github_post",
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "additionalProperties": true,
                  "type": "object",
                  "title": "Response Handle Github Ci Webhook Route V1 Ci Webhooks Github Post"
                }
              }
            }
          }
        },
        "x-valstorm-runtime": "open-api (Python :8010)",
        "x-valstorm-service": "open-api",
        "x-valstorm-port": 8010
      }
    },
    "/v1/ci/webhook": {
      "post": {
        "tags": [
          "ci-webhooks"
        ],
        "summary": "Handle Github Ci Webhook Route",
        "operationId": "handle_github_ci_webhook_route_v1_ci_webhook_post",
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "additionalProperties": true,
                  "type": "object",
                  "title": "Response Handle Github Ci Webhook Route V1 Ci Webhook Post"
                }
              }
            }
          }
        },
        "x-valstorm-runtime": "open-api (Python :8010)",
        "x-valstorm-service": "open-api",
        "x-valstorm-port": 8010
      }
    },
    "/v1/google-marketing/setup-guide": {
      "get": {
        "tags": [
          "google-marketing"
        ],
        "summary": "Get Setup Guide",
        "operationId": "get_setup_guide_v1_google_marketing_setup_guide_get",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "parameters": [
          {
            "name": "X-Organization-ID",
            "in": "header",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Organization-Id"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {}
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        },
        "x-valstorm-runtime": "open-api (Python :8010)",
        "x-valstorm-service": "open-api",
        "x-valstorm-port": 8010
      }
    },
    "/v1/google-marketing/verify-connection": {
      "get": {
        "tags": [
          "google-marketing"
        ],
        "summary": "Verify Connection",
        "operationId": "verify_connection_v1_google_marketing_verify_connection_get",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "parameters": [
          {
            "name": "X-Organization-ID",
            "in": "header",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Organization-Id"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {}
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        },
        "x-valstorm-runtime": "open-api (Python :8010)",
        "x-valstorm-service": "open-api",
        "x-valstorm-port": 8010
      }
    },
    "/v1/google-marketing/ads/campaigns": {
      "get": {
        "tags": [
          "google-marketing"
        ],
        "summary": "List Ads Campaigns",
        "operationId": "list_ads_campaigns_v1_google_marketing_ads_campaigns_get",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "parameters": [
          {
            "name": "X-Organization-ID",
            "in": "header",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Organization-Id"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {}
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        },
        "x-valstorm-runtime": "open-api (Python :8010)",
        "x-valstorm-service": "open-api",
        "x-valstorm-port": 8010
      }
    },
    "/v1/google-marketing/gsc/sites": {
      "get": {
        "tags": [
          "google-marketing"
        ],
        "summary": "List Gsc Sites",
        "operationId": "list_gsc_sites_v1_google_marketing_gsc_sites_get",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "parameters": [
          {
            "name": "X-Organization-ID",
            "in": "header",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Organization-Id"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {}
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        },
        "x-valstorm-runtime": "open-api (Python :8010)",
        "x-valstorm-service": "open-api",
        "x-valstorm-port": 8010
      }
    },
    "/v1/google-marketing/ga4/realtime-report": {
      "get": {
        "tags": [
          "google-marketing"
        ],
        "summary": "Get Ga4 Realtime",
        "operationId": "get_ga4_realtime_v1_google_marketing_ga4_realtime_report_get",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "parameters": [
          {
            "name": "X-Organization-ID",
            "in": "header",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Organization-Id"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {}
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        },
        "x-valstorm-runtime": "open-api (Python :8010)",
        "x-valstorm-service": "open-api",
        "x-valstorm-port": 8010
      }
    },
    "/v1/google-marketing/gtm/container": {
      "get": {
        "tags": [
          "google-marketing"
        ],
        "summary": "Get Gtm Container",
        "operationId": "get_gtm_container_v1_google_marketing_gtm_container_get",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "parameters": [
          {
            "name": "X-Organization-ID",
            "in": "header",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Organization-Id"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {}
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        },
        "x-valstorm-runtime": "open-api (Python :8010)",
        "x-valstorm-service": "open-api",
        "x-valstorm-port": 8010
      }
    },
    "/v1/google/setup-guide": {
      "get": {
        "tags": [
          "google-workspace"
        ],
        "summary": "Get Google Workspace Setup Guide",
        "operationId": "get_google_workspace_setup_guide_v1_google_setup_guide_get",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "parameters": [
          {
            "name": "X-Organization-ID",
            "in": "header",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Organization-Id"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "title": "Response Get Google Workspace Setup Guide V1 Google Setup Guide Get"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        },
        "x-valstorm-runtime": "open-api (Python :8010)",
        "x-valstorm-service": "open-api",
        "x-valstorm-port": 8010
      }
    },
    "/v1/google-workspace/setup-guide": {
      "get": {
        "tags": [
          "google-workspace"
        ],
        "summary": "Get Google Workspace Setup Guide",
        "operationId": "get_google_workspace_setup_guide_v1_google_workspace_setup_guide_get",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "parameters": [
          {
            "name": "X-Organization-ID",
            "in": "header",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Organization-Id"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "title": "Response Get Google Workspace Setup Guide V1 Google Workspace Setup Guide Get"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        },
        "x-valstorm-runtime": "open-api (Python :8010)",
        "x-valstorm-service": "open-api",
        "x-valstorm-port": 8010
      }
    },
    "/v1/google/auth/status": {
      "get": {
        "tags": [
          "google-workspace"
        ],
        "summary": "Get Google Workspace Auth Status",
        "operationId": "get_google_workspace_auth_status_v1_google_auth_status_get",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "parameters": [
          {
            "name": "X-Organization-ID",
            "in": "header",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Organization-Id"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "title": "Response Get Google Workspace Auth Status V1 Google Auth Status Get"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        },
        "x-valstorm-runtime": "open-api (Python :8010)",
        "x-valstorm-service": "open-api",
        "x-valstorm-port": 8010
      }
    },
    "/v1/google-workspace/auth/status": {
      "get": {
        "tags": [
          "google-workspace"
        ],
        "summary": "Get Google Workspace Auth Status",
        "operationId": "get_google_workspace_auth_status_v1_google_workspace_auth_status_get",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "parameters": [
          {
            "name": "X-Organization-ID",
            "in": "header",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Organization-Id"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "title": "Response Get Google Workspace Auth Status V1 Google Workspace Auth Status Get"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        },
        "x-valstorm-runtime": "open-api (Python :8010)",
        "x-valstorm-service": "open-api",
        "x-valstorm-port": 8010
      }
    },
    "/v1/google/auth/login": {
      "get": {
        "tags": [
          "google-workspace"
        ],
        "summary": "Login Google Workspace",
        "operationId": "login_google_workspace_v1_google_auth_login_get",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "parameters": [
          {
            "name": "scope_preset",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "default": "standard",
              "title": "Scope Preset"
            }
          },
          {
            "name": "redirect_url",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Redirect Url"
            }
          },
          {
            "name": "callback_uri",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Callback Uri"
            }
          },
          {
            "name": "X-Organization-ID",
            "in": "header",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Organization-Id"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "title": "Response Login Google Workspace V1 Google Auth Login Get"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        },
        "x-valstorm-runtime": "open-api (Python :8010)",
        "x-valstorm-service": "open-api",
        "x-valstorm-port": 8010
      }
    },
    "/v1/google-workspace/auth/login": {
      "get": {
        "tags": [
          "google-workspace"
        ],
        "summary": "Login Google Workspace",
        "operationId": "login_google_workspace_v1_google_workspace_auth_login_get",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "parameters": [
          {
            "name": "scope_preset",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "default": "standard",
              "title": "Scope Preset"
            }
          },
          {
            "name": "redirect_url",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Redirect Url"
            }
          },
          {
            "name": "callback_uri",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Callback Uri"
            }
          },
          {
            "name": "X-Organization-ID",
            "in": "header",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Organization-Id"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "title": "Response Login Google Workspace V1 Google Workspace Auth Login Get"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        },
        "x-valstorm-runtime": "open-api (Python :8010)",
        "x-valstorm-service": "open-api",
        "x-valstorm-port": 8010
      }
    },
    "/v1/google/auth/callback": {
      "get": {
        "tags": [
          "google-workspace"
        ],
        "summary": "Callback Google Workspace",
        "operationId": "callback_google_workspace_v1_google_auth_callback_get",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "parameters": [
          {
            "name": "code",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Code"
            }
          },
          {
            "name": "state",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "title": "State"
            }
          },
          {
            "name": "X-Organization-ID",
            "in": "header",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Organization-Id"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "title": "Response Callback Google Workspace V1 Google Auth Callback Get"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        },
        "x-valstorm-runtime": "open-api (Python :8010)",
        "x-valstorm-service": "open-api",
        "x-valstorm-port": 8010
      }
    },
    "/v1/google-workspace/auth/callback": {
      "get": {
        "tags": [
          "google-workspace"
        ],
        "summary": "Callback Google Workspace",
        "operationId": "callback_google_workspace_v1_google_workspace_auth_callback_get",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "parameters": [
          {
            "name": "code",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Code"
            }
          },
          {
            "name": "state",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "title": "State"
            }
          },
          {
            "name": "X-Organization-ID",
            "in": "header",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Organization-Id"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "title": "Response Callback Google Workspace V1 Google Workspace Auth Callback Get"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        },
        "x-valstorm-runtime": "open-api (Python :8010)",
        "x-valstorm-service": "open-api",
        "x-valstorm-port": 8010
      }
    },
    "/v1/google-workspace/verify": {
      "post": {
        "tags": [
          "google-workspace"
        ],
        "summary": "Verify Google Workspace",
        "operationId": "verify_google_workspace_v1_google_workspace_verify_post",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "parameters": [
          {
            "name": "X-Organization-ID",
            "in": "header",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Organization-Id"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "title": "Response Verify Google Workspace V1 Google Workspace Verify Post"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        },
        "x-valstorm-runtime": "open-api (Python :8010)",
        "x-valstorm-service": "open-api",
        "x-valstorm-port": 8010
      }
    },
    "/v1/google/gmail/send": {
      "post": {
        "tags": [
          "google-workspace"
        ],
        "summary": "Send Gmail Route",
        "operationId": "send_gmail_route_v1_google_gmail_send_post",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "parameters": [
          {
            "name": "X-Organization-ID",
            "in": "header",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Organization-Id"
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/SendGmailPayload"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "title": "Response Send Gmail Route V1 Google Gmail Send Post"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        },
        "x-valstorm-runtime": "open-api (Python :8010)",
        "x-valstorm-service": "open-api",
        "x-valstorm-port": 8010
      }
    },
    "/v1/google-workspace/gmail/send": {
      "post": {
        "tags": [
          "google-workspace"
        ],
        "summary": "Send Gmail Route",
        "operationId": "send_gmail_route_v1_google_workspace_gmail_send_post",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "parameters": [
          {
            "name": "X-Organization-ID",
            "in": "header",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Organization-Id"
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/SendGmailPayload"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "title": "Response Send Gmail Route V1 Google Workspace Gmail Send Post"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        },
        "x-valstorm-runtime": "open-api (Python :8010)",
        "x-valstorm-service": "open-api",
        "x-valstorm-port": 8010
      }
    },
    "/v1/google-workspace/gmail/watch": {
      "post": {
        "tags": [
          "google-workspace"
        ],
        "summary": "Watch Gmail Route",
        "operationId": "watch_gmail_route_v1_google_workspace_gmail_watch_post",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "parameters": [
          {
            "name": "X-Organization-ID",
            "in": "header",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Organization-Id"
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/WatchGmailPayload"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "title": "Response Watch Gmail Route V1 Google Workspace Gmail Watch Post"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        },
        "x-valstorm-runtime": "open-api (Python :8010)",
        "x-valstorm-service": "open-api",
        "x-valstorm-port": 8010
      }
    },
    "/v1/google-workspace/gmail/sync": {
      "post": {
        "tags": [
          "google-workspace"
        ],
        "summary": "Sync Gmail Route",
        "operationId": "sync_gmail_route_v1_google_workspace_gmail_sync_post",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "parameters": [
          {
            "name": "X-Organization-ID",
            "in": "header",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Organization-Id"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "title": "Response Sync Gmail Route V1 Google Workspace Gmail Sync Post"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        },
        "x-valstorm-runtime": "open-api (Python :8010)",
        "x-valstorm-service": "open-api",
        "x-valstorm-port": 8010
      }
    },
    "/v1/google/webhooks/pubsub": {
      "post": {
        "tags": [
          "google-workspace"
        ],
        "summary": "Google Pubsub Webhook Ingress",
        "description": "Unauthenticated Google Cloud Pub/Sub push webhook endpoint.\nResolves tenant org_id in O(1) time via `external_account_routing` (`provider=\"google_workspace\"`)\nand dispatches `email:google_pubsub_webhook` to the native Go worker.",
        "operationId": "google_pubsub_webhook_ingress_v1_google_webhooks_pubsub_post",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "parameters": [
          {
            "name": "X-Organization-ID",
            "in": "header",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Organization-Id"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "title": "Response Google Pubsub Webhook Ingress V1 Google Webhooks Pubsub Post"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        },
        "x-valstorm-runtime": "open-api (Python :8010)",
        "x-valstorm-service": "open-api",
        "x-valstorm-port": 8010
      }
    },
    "/v1/google-workspace/webhooks/pubsub": {
      "post": {
        "tags": [
          "google-workspace"
        ],
        "summary": "Google Pubsub Webhook Ingress",
        "description": "Unauthenticated Google Cloud Pub/Sub push webhook endpoint.\nResolves tenant org_id in O(1) time via `external_account_routing` (`provider=\"google_workspace\"`)\nand dispatches `email:google_pubsub_webhook` to the native Go worker.",
        "operationId": "google_pubsub_webhook_ingress_v1_google_workspace_webhooks_pubsub_post",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "parameters": [
          {
            "name": "X-Organization-ID",
            "in": "header",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Organization-Id"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "title": "Response Google Pubsub Webhook Ingress V1 Google Workspace Webhooks Pubsub Post"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        },
        "x-valstorm-runtime": "open-api (Python :8010)",
        "x-valstorm-service": "open-api",
        "x-valstorm-port": 8010
      }
    },
    "/v1/google-workspace/calendar/events": {
      "get": {
        "tags": [
          "google-workspace"
        ],
        "summary": "List Calendar Events Route",
        "operationId": "list_calendar_events_route_v1_google_workspace_calendar_events_get",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "parameters": [
          {
            "name": "calendar_id",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "default": "primary",
              "title": "Calendar Id"
            }
          },
          {
            "name": "time_min",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Time Min"
            }
          },
          {
            "name": "time_max",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Time Max"
            }
          },
          {
            "name": "max_results",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "default": 50,
              "title": "Max Results"
            }
          },
          {
            "name": "X-Organization-ID",
            "in": "header",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Organization-Id"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "title": "Response List Calendar Events Route V1 Google Workspace Calendar Events Get"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        },
        "x-valstorm-runtime": "open-api (Python :8010)",
        "x-valstorm-service": "open-api",
        "x-valstorm-port": 8010
      },
      "post": {
        "tags": [
          "google-workspace"
        ],
        "summary": "Create Calendar Event Route",
        "operationId": "create_calendar_event_route_v1_google_workspace_calendar_events_post",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "parameters": [
          {
            "name": "X-Organization-ID",
            "in": "header",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Organization-Id"
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateCalendarEventPayload"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "title": "Response Create Calendar Event Route V1 Google Workspace Calendar Events Post"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        },
        "x-valstorm-runtime": "open-api (Python :8010)",
        "x-valstorm-service": "open-api",
        "x-valstorm-port": 8010
      }
    },
    "/v1/google-workspace/calendar/free-busy": {
      "post": {
        "tags": [
          "google-workspace"
        ],
        "summary": "Query Free Busy Route",
        "operationId": "query_free_busy_route_v1_google_workspace_calendar_free_busy_post",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "parameters": [
          {
            "name": "X-Organization-ID",
            "in": "header",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Organization-Id"
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/FreeBusyPayload"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "title": "Response Query Free Busy Route V1 Google Workspace Calendar Free Busy Post"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        },
        "x-valstorm-runtime": "open-api (Python :8010)",
        "x-valstorm-service": "open-api",
        "x-valstorm-port": 8010
      }
    },
    "/v1/google-workspace/meet/create": {
      "post": {
        "tags": [
          "google-workspace"
        ],
        "summary": "Create Meet Route",
        "operationId": "create_meet_route_v1_google_workspace_meet_create_post",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "parameters": [
          {
            "name": "X-Organization-ID",
            "in": "header",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Organization-Id"
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateMeetPayload"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "title": "Response Create Meet Route V1 Google Workspace Meet Create Post"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        },
        "x-valstorm-runtime": "open-api (Python :8010)",
        "x-valstorm-service": "open-api",
        "x-valstorm-port": 8010
      }
    },
    "/v1/google-workspace/drive/files": {
      "get": {
        "tags": [
          "google-workspace"
        ],
        "summary": "List Drive Files Route",
        "operationId": "list_drive_files_route_v1_google_workspace_drive_files_get",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "parameters": [
          {
            "name": "q",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "default": "",
              "title": "Q"
            }
          },
          {
            "name": "page_size",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "default": 25,
              "title": "Page Size"
            }
          },
          {
            "name": "mime_type",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Mime Type"
            }
          },
          {
            "name": "X-Organization-ID",
            "in": "header",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Organization-Id"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "title": "Response List Drive Files Route V1 Google Workspace Drive Files Get"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        },
        "x-valstorm-runtime": "open-api (Python :8010)",
        "x-valstorm-service": "open-api",
        "x-valstorm-port": 8010
      }
    },
    "/v1/google-workspace/docs/{document_id}": {
      "get": {
        "tags": [
          "google-workspace"
        ],
        "summary": "Get Google Doc Route",
        "operationId": "get_google_doc_route_v1_google_workspace_docs__document_id__get",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "parameters": [
          {
            "name": "document_id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Document Id"
            }
          },
          {
            "name": "X-Organization-ID",
            "in": "header",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Organization-Id"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "title": "Response Get Google Doc Route V1 Google Workspace Docs  Document Id  Get"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        },
        "x-valstorm-runtime": "open-api (Python :8010)",
        "x-valstorm-service": "open-api",
        "x-valstorm-port": 8010
      }
    },
    "/v1/inbound/settings": {
      "get": {
        "tags": [
          "inbound"
        ],
        "summary": "Get Inbound Settings",
        "description": "Returns the organization's inbound lead capture settings (`publishable_key`,\n`allowed_inbound_origins`, `inbound_form_settings`). Auto-provisions a publishable key if none exists.",
        "operationId": "get_inbound_settings_v1_inbound_settings_get",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "parameters": [
          {
            "name": "X-Organization-ID",
            "in": "header",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Organization-Id"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "title": "Response Get Inbound Settings V1 Inbound Settings Get"
                }
              }
            }
          },
          "404": {
            "description": "Not found"
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        },
        "x-valstorm-runtime": "open-api (Python :8010)",
        "x-valstorm-service": "open-api",
        "x-valstorm-port": 8010
      },
      "put": {
        "tags": [
          "inbound"
        ],
        "summary": "Update Inbound Settings",
        "description": "Updates the organization's allowed CORS origins and inbound form settings,\nimmediately updating the Redis `pk:{publishable_key}` cache used by the Go `/v1/inbound/submit` gateway.",
        "operationId": "update_inbound_settings_v1_inbound_settings_put",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "parameters": [
          {
            "name": "X-Organization-ID",
            "in": "header",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Organization-Id"
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/InboundSettingsUpdate"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "title": "Response Update Inbound Settings V1 Inbound Settings Put"
                }
              }
            }
          },
          "404": {
            "description": "Not found"
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        },
        "x-valstorm-runtime": "open-api (Python :8010)",
        "x-valstorm-service": "open-api",
        "x-valstorm-port": 8010
      }
    },
    "/v1/inbound/publishable-key/rotate": {
      "post": {
        "tags": [
          "inbound"
        ],
        "summary": "Rotate Publishable Key",
        "description": "Rotates the organization's `publishable_key`, invalidating the old key in Redis and\n`external_account_routing` and registering a new `pk_live_...` key.",
        "operationId": "rotate_publishable_key_v1_inbound_publishable_key_rotate_post",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "parameters": [
          {
            "name": "X-Organization-ID",
            "in": "header",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Organization-Id"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "title": "Response Rotate Publishable Key V1 Inbound Publishable Key Rotate Post"
                }
              }
            }
          },
          "404": {
            "description": "Not found"
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        },
        "x-valstorm-runtime": "open-api (Python :8010)",
        "x-valstorm-service": "open-api",
        "x-valstorm-port": 8010
      }
    },
    "/v1/linkedin/setup-guide": {
      "get": {
        "tags": [
          "linkedin"
        ],
        "summary": "Get Linkedin Setup Guide",
        "operationId": "get_linkedin_setup_guide_v1_linkedin_setup_guide_get",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "parameters": [
          {
            "name": "X-Organization-ID",
            "in": "header",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Organization-Id"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "title": "Response Get Linkedin Setup Guide V1 Linkedin Setup Guide Get"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        },
        "x-valstorm-runtime": "open-api (Python :8010)",
        "x-valstorm-service": "open-api",
        "x-valstorm-port": 8010
      }
    },
    "/v1/linkedin/auth/login": {
      "get": {
        "tags": [
          "linkedin"
        ],
        "summary": "Login Linkedin",
        "operationId": "login_linkedin_v1_linkedin_auth_login_get",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "parameters": [
          {
            "name": "callback_uri",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Callback Uri"
            }
          },
          {
            "name": "X-Organization-ID",
            "in": "header",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Organization-Id"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "title": "Response Login Linkedin V1 Linkedin Auth Login Get"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        },
        "x-valstorm-runtime": "open-api (Python :8010)",
        "x-valstorm-service": "open-api",
        "x-valstorm-port": 8010
      }
    },
    "/v1/linkedin/verify": {
      "post": {
        "tags": [
          "linkedin"
        ],
        "summary": "Verify Linkedin Connection",
        "operationId": "verify_linkedin_connection_v1_linkedin_verify_post",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "parameters": [
          {
            "name": "X-Organization-ID",
            "in": "header",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Organization-Id"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "title": "Response Verify Linkedin Connection V1 Linkedin Verify Post"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        },
        "x-valstorm-runtime": "open-api (Python :8010)",
        "x-valstorm-service": "open-api",
        "x-valstorm-port": 8010
      }
    },
    "/v1/linkedin/ads/accounts": {
      "get": {
        "tags": [
          "linkedin"
        ],
        "summary": "List Linkedin Ad Accounts",
        "operationId": "list_linkedin_ad_accounts_v1_linkedin_ads_accounts_get",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "parameters": [
          {
            "name": "X-Organization-ID",
            "in": "header",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Organization-Id"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "title": "Response List Linkedin Ad Accounts V1 Linkedin Ads Accounts Get"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        },
        "x-valstorm-runtime": "open-api (Python :8010)",
        "x-valstorm-service": "open-api",
        "x-valstorm-port": 8010
      }
    },
    "/v1/linkedin/ads/campaigns": {
      "get": {
        "tags": [
          "linkedin"
        ],
        "summary": "List Linkedin Campaigns",
        "operationId": "list_linkedin_campaigns_v1_linkedin_ads_campaigns_get",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "parameters": [
          {
            "name": "ad_account_id",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Ad Account Id"
            }
          },
          {
            "name": "X-Organization-ID",
            "in": "header",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Organization-Id"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "title": "Response List Linkedin Campaigns V1 Linkedin Ads Campaigns Get"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        },
        "x-valstorm-runtime": "open-api (Python :8010)",
        "x-valstorm-service": "open-api",
        "x-valstorm-port": 8010
      },
      "post": {
        "tags": [
          "linkedin"
        ],
        "summary": "Create Linkedin Campaign",
        "operationId": "create_linkedin_campaign_v1_linkedin_ads_campaigns_post",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "parameters": [
          {
            "name": "X-Organization-ID",
            "in": "header",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Organization-Id"
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateLinkedInCampaignPayload"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "title": "Response Create Linkedin Campaign V1 Linkedin Ads Campaigns Post"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        },
        "x-valstorm-runtime": "open-api (Python :8010)",
        "x-valstorm-service": "open-api",
        "x-valstorm-port": 8010
      }
    },
    "/v1/linkedin/ads/audience-estimate": {
      "post": {
        "tags": [
          "linkedin"
        ],
        "summary": "Estimate Linkedin Audience",
        "operationId": "estimate_linkedin_audience_v1_linkedin_ads_audience_estimate_post",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "parameters": [
          {
            "name": "X-Organization-ID",
            "in": "header",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Organization-Id"
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/AudienceEstimatePayload"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "title": "Response Estimate Linkedin Audience V1 Linkedin Ads Audience Estimate Post"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        },
        "x-valstorm-runtime": "open-api (Python :8010)",
        "x-valstorm-service": "open-api",
        "x-valstorm-port": 8010
      }
    },
    "/v1/linkedin/ads/analytics": {
      "get": {
        "tags": [
          "linkedin"
        ],
        "summary": "Get Linkedin Ad Analytics",
        "operationId": "get_linkedin_ad_analytics_v1_linkedin_ads_analytics_get",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "parameters": [
          {
            "name": "pivot",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "default": "CAMPAIGN",
              "title": "Pivot"
            }
          },
          {
            "name": "X-Organization-ID",
            "in": "header",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Organization-Id"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "title": "Response Get Linkedin Ad Analytics V1 Linkedin Ads Analytics Get"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        },
        "x-valstorm-runtime": "open-api (Python :8010)",
        "x-valstorm-service": "open-api",
        "x-valstorm-port": 8010
      }
    },
    "/v1/linkedin/ads/library": {
      "get": {
        "tags": [
          "linkedin"
        ],
        "summary": "Search Linkedin Ad Library",
        "operationId": "search_linkedin_ad_library_v1_linkedin_ads_library_get",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "parameters": [
          {
            "name": "keyword",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Keyword"
            }
          },
          {
            "name": "advertiser_name",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Advertiser Name"
            }
          },
          {
            "name": "country",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "default": "US",
              "title": "Country"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "default": 25,
              "title": "Limit"
            }
          },
          {
            "name": "X-Organization-ID",
            "in": "header",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Organization-Id"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "title": "Response Search Linkedin Ad Library V1 Linkedin Ads Library Get"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        },
        "x-valstorm-runtime": "open-api (Python :8010)",
        "x-valstorm-service": "open-api",
        "x-valstorm-port": 8010
      }
    },
    "/v1/linkedin/publishing/post": {
      "post": {
        "tags": [
          "linkedin"
        ],
        "summary": "Publish Linkedin Post Route",
        "operationId": "publish_linkedin_post_route_v1_linkedin_publishing_post_post",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "parameters": [
          {
            "name": "X-Organization-ID",
            "in": "header",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Organization-Id"
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/PublishLinkedInPostPayload"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "title": "Response Publish Linkedin Post Route V1 Linkedin Publishing Post Post"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        },
        "x-valstorm-runtime": "open-api (Python :8010)",
        "x-valstorm-service": "open-api",
        "x-valstorm-port": 8010
      }
    },
    "/v1/linkedin/publishing/carousel": {
      "post": {
        "tags": [
          "linkedin"
        ],
        "summary": "Publish Linkedin Carousel Route",
        "operationId": "publish_linkedin_carousel_route_v1_linkedin_publishing_carousel_post",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "parameters": [
          {
            "name": "X-Organization-ID",
            "in": "header",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Organization-Id"
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/PublishLinkedInCarouselPayload"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "title": "Response Publish Linkedin Carousel Route V1 Linkedin Publishing Carousel Post"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        },
        "x-valstorm-runtime": "open-api (Python :8010)",
        "x-valstorm-service": "open-api",
        "x-valstorm-port": 8010
      }
    },
    "/v1/linkedin/publishing/analytics": {
      "get": {
        "tags": [
          "linkedin"
        ],
        "summary": "Get Linkedin Post Analytics Route",
        "operationId": "get_linkedin_post_analytics_route_v1_linkedin_publishing_analytics_get",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "parameters": [
          {
            "name": "post_urn",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Post Urn"
            }
          },
          {
            "name": "author_urn",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Author Urn"
            }
          },
          {
            "name": "X-Organization-ID",
            "in": "header",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Organization-Id"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "title": "Response Get Linkedin Post Analytics Route V1 Linkedin Publishing Analytics Get"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        },
        "x-valstorm-runtime": "open-api (Python :8010)",
        "x-valstorm-service": "open-api",
        "x-valstorm-port": 8010
      }
    },
    "/v1/linkedin/network/connections": {
      "get": {
        "tags": [
          "linkedin"
        ],
        "summary": "List Linkedin Connections Route",
        "operationId": "list_linkedin_connections_route_v1_linkedin_network_connections_get",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "parameters": [
          {
            "name": "start",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "default": 0,
              "title": "Start"
            }
          },
          {
            "name": "count",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "default": 50,
              "title": "Count"
            }
          },
          {
            "name": "X-Organization-ID",
            "in": "header",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Organization-Id"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "title": "Response List Linkedin Connections Route V1 Linkedin Network Connections Get"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        },
        "x-valstorm-runtime": "open-api (Python :8010)",
        "x-valstorm-service": "open-api",
        "x-valstorm-port": 8010
      }
    },
    "/v1/linkedin/webhooks": {
      "post": {
        "tags": [
          "linkedin-webhooks"
        ],
        "summary": "Receive Linkedin Webhook",
        "description": "Unauthenticated LinkedIn webhook receiver with O(1) tenant routing.",
        "operationId": "receive_linkedin_webhook_v1_linkedin_webhooks_post",
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "additionalProperties": true,
                  "type": "object",
                  "title": "Response Receive Linkedin Webhook V1 Linkedin Webhooks Post"
                }
              }
            }
          }
        },
        "x-valstorm-runtime": "open-api (Python :8010)",
        "x-valstorm-service": "open-api",
        "x-valstorm-port": 8010
      }
    },
    "/v1/meta/setup-guide": {
      "get": {
        "tags": [
          "meta"
        ],
        "summary": "Get Meta Setup Guide",
        "operationId": "get_meta_setup_guide_v1_meta_setup_guide_get",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "parameters": [
          {
            "name": "X-Organization-ID",
            "in": "header",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Organization-Id"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "title": "Response Get Meta Setup Guide V1 Meta Setup Guide Get"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        },
        "x-valstorm-runtime": "open-api (Python :8010)",
        "x-valstorm-service": "open-api",
        "x-valstorm-port": 8010
      }
    },
    "/v1/meta/verify": {
      "post": {
        "tags": [
          "meta"
        ],
        "summary": "Verify Meta Connection",
        "operationId": "verify_meta_connection_v1_meta_verify_post",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "parameters": [
          {
            "name": "X-Organization-ID",
            "in": "header",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Organization-Id"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "title": "Response Verify Meta Connection V1 Meta Verify Post"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        },
        "x-valstorm-runtime": "open-api (Python :8010)",
        "x-valstorm-service": "open-api",
        "x-valstorm-port": 8010
      }
    },
    "/v1/meta/business/assets": {
      "get": {
        "tags": [
          "meta"
        ],
        "summary": "Get Meta Business Assets",
        "operationId": "get_meta_business_assets_v1_meta_business_assets_get",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "parameters": [
          {
            "name": "X-Organization-ID",
            "in": "header",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Organization-Id"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "title": "Response Get Meta Business Assets V1 Meta Business Assets Get"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        },
        "x-valstorm-runtime": "open-api (Python :8010)",
        "x-valstorm-service": "open-api",
        "x-valstorm-port": 8010
      }
    },
    "/v1/meta/ads/campaigns": {
      "get": {
        "tags": [
          "meta"
        ],
        "summary": "List Meta Campaigns",
        "operationId": "list_meta_campaigns_v1_meta_ads_campaigns_get",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "parameters": [
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "default": 50,
              "title": "Limit"
            }
          },
          {
            "name": "X-Organization-ID",
            "in": "header",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Organization-Id"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "title": "Response List Meta Campaigns V1 Meta Ads Campaigns Get"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        },
        "x-valstorm-runtime": "open-api (Python :8010)",
        "x-valstorm-service": "open-api",
        "x-valstorm-port": 8010
      },
      "post": {
        "tags": [
          "meta"
        ],
        "summary": "Create Meta Campaign",
        "operationId": "create_meta_campaign_v1_meta_ads_campaigns_post",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "parameters": [
          {
            "name": "X-Organization-ID",
            "in": "header",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Organization-Id"
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateMetaCampaignPayload"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "title": "Response Create Meta Campaign V1 Meta Ads Campaigns Post"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        },
        "x-valstorm-runtime": "open-api (Python :8010)",
        "x-valstorm-service": "open-api",
        "x-valstorm-port": 8010
      }
    },
    "/v1/meta/ads/audiences/custom": {
      "post": {
        "tags": [
          "meta"
        ],
        "summary": "Upload Meta Custom Audience",
        "operationId": "upload_meta_custom_audience_v1_meta_ads_audiences_custom_post",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "parameters": [
          {
            "name": "X-Organization-ID",
            "in": "header",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Organization-Id"
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UploadCustomAudiencePayload"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "title": "Response Upload Meta Custom Audience V1 Meta Ads Audiences Custom Post"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        },
        "x-valstorm-runtime": "open-api (Python :8010)",
        "x-valstorm-service": "open-api",
        "x-valstorm-port": 8010
      }
    },
    "/v1/meta/ads/insights": {
      "get": {
        "tags": [
          "meta"
        ],
        "summary": "Get Meta Ad Insights",
        "operationId": "get_meta_ad_insights_v1_meta_ads_insights_get",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "parameters": [
          {
            "name": "level",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "default": "campaign",
              "title": "Level"
            }
          },
          {
            "name": "date_preset",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "default": "last_30d",
              "title": "Date Preset"
            }
          },
          {
            "name": "X-Organization-ID",
            "in": "header",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Organization-Id"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "title": "Response Get Meta Ad Insights V1 Meta Ads Insights Get"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        },
        "x-valstorm-runtime": "open-api (Python :8010)",
        "x-valstorm-service": "open-api",
        "x-valstorm-port": 8010
      }
    },
    "/v1/meta/ads/interests": {
      "get": {
        "tags": [
          "meta"
        ],
        "summary": "Search Meta Ad Interests",
        "operationId": "search_meta_ad_interests_v1_meta_ads_interests_get",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "parameters": [
          {
            "name": "q",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Q"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "default": 25,
              "title": "Limit"
            }
          },
          {
            "name": "X-Organization-ID",
            "in": "header",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Organization-Id"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "title": "Response Search Meta Ad Interests V1 Meta Ads Interests Get"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        },
        "x-valstorm-runtime": "open-api (Python :8010)",
        "x-valstorm-service": "open-api",
        "x-valstorm-port": 8010
      }
    },
    "/v1/meta/publishing/facebook": {
      "post": {
        "tags": [
          "meta"
        ],
        "summary": "Publish Facebook Post Route",
        "operationId": "publish_facebook_post_route_v1_meta_publishing_facebook_post",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "parameters": [
          {
            "name": "X-Organization-ID",
            "in": "header",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Organization-Id"
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/PublishFacebookPayload"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "title": "Response Publish Facebook Post Route V1 Meta Publishing Facebook Post"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        },
        "x-valstorm-runtime": "open-api (Python :8010)",
        "x-valstorm-service": "open-api",
        "x-valstorm-port": 8010
      }
    },
    "/v1/meta/publishing/instagram": {
      "post": {
        "tags": [
          "meta"
        ],
        "summary": "Publish Instagram Media Route",
        "operationId": "publish_instagram_media_route_v1_meta_publishing_instagram_post",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "parameters": [
          {
            "name": "X-Organization-ID",
            "in": "header",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Organization-Id"
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/PublishInstagramPayload"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "title": "Response Publish Instagram Media Route V1 Meta Publishing Instagram Post"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        },
        "x-valstorm-runtime": "open-api (Python :8010)",
        "x-valstorm-service": "open-api",
        "x-valstorm-port": 8010
      }
    },
    "/v1/meta/webhooks": {
      "get": {
        "tags": [
          "meta-webhooks"
        ],
        "summary": "Verify Meta Webhook Challenge",
        "operationId": "verify_meta_webhook_challenge_v1_meta_webhooks_get",
        "parameters": [
          {
            "name": "hub.mode",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Hub.Mode"
            }
          },
          {
            "name": "hub.challenge",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Hub.Challenge"
            }
          },
          {
            "name": "hub.verify_token",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Hub.Verify Token"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {}
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        },
        "x-valstorm-runtime": "open-api (Python :8010)",
        "x-valstorm-service": "open-api",
        "x-valstorm-port": 8010
      },
      "post": {
        "tags": [
          "meta-webhooks"
        ],
        "summary": "Receive Meta Webhook",
        "description": "Unauthenticated Meta Graph API webhook endpoint (Instagram & LeadGen).\nResolves tenant org_id in O(1) time via `external_account_routing` (`provider='meta'`)\nand persists an `instagram_webhook` (`insw_...`) record.",
        "operationId": "receive_meta_webhook_v1_meta_webhooks_post",
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "title": "Response Receive Meta Webhook V1 Meta Webhooks Post"
                }
              }
            }
          }
        },
        "x-valstorm-runtime": "open-api (Python :8010)",
        "x-valstorm-service": "open-api",
        "x-valstorm-port": 8010
      }
    },
    "/v1/microsoft/setup-guide": {
      "get": {
        "tags": [
          "microsoft"
        ],
        "summary": "Get Microsoft Setup Guide Route",
        "operationId": "get_microsoft_setup_guide_route_v1_microsoft_setup_guide_get",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "parameters": [
          {
            "name": "X-Organization-ID",
            "in": "header",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Organization-Id"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "title": "Response Get Microsoft Setup Guide Route V1 Microsoft Setup Guide Get"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        },
        "x-valstorm-runtime": "open-api (Python :8010)",
        "x-valstorm-service": "open-api",
        "x-valstorm-port": 8010
      }
    },
    "/v1/microsoft/credentials": {
      "post": {
        "tags": [
          "microsoft"
        ],
        "summary": "Save Microsoft Credentials Route",
        "operationId": "save_microsoft_credentials_route_v1_microsoft_credentials_post",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "parameters": [
          {
            "name": "X-Organization-ID",
            "in": "header",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Organization-Id"
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/MicrosoftCredentialsRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "title": "Response Save Microsoft Credentials Route V1 Microsoft Credentials Post"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        },
        "x-valstorm-runtime": "open-api (Python :8010)",
        "x-valstorm-service": "open-api",
        "x-valstorm-port": 8010
      }
    },
    "/v1/microsoft/verify": {
      "post": {
        "tags": [
          "microsoft"
        ],
        "summary": "Verify Microsoft Connection Route",
        "operationId": "verify_microsoft_connection_route_v1_microsoft_verify_post",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "parameters": [
          {
            "name": "X-Organization-ID",
            "in": "header",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Organization-Id"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "title": "Response Verify Microsoft Connection Route V1 Microsoft Verify Post"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        },
        "x-valstorm-runtime": "open-api (Python :8010)",
        "x-valstorm-service": "open-api",
        "x-valstorm-port": 8010
      }
    },
    "/v1/microsoft/auth/login": {
      "get": {
        "tags": [
          "microsoft"
        ],
        "summary": "Login Microsoft Route",
        "operationId": "login_microsoft_route_v1_microsoft_auth_login_get",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "parameters": [
          {
            "name": "X-Organization-ID",
            "in": "header",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Organization-Id"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "title": "Response Login Microsoft Route V1 Microsoft Auth Login Get"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        },
        "x-valstorm-runtime": "open-api (Python :8010)",
        "x-valstorm-service": "open-api",
        "x-valstorm-port": 8010
      }
    },
    "/v1/microsoft/me": {
      "get": {
        "tags": [
          "microsoft"
        ],
        "summary": "Get Microsoft Profile Route",
        "operationId": "get_microsoft_profile_route_v1_microsoft_me_get",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "parameters": [
          {
            "name": "X-Organization-ID",
            "in": "header",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Organization-Id"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "title": "Response Get Microsoft Profile Route V1 Microsoft Me Get"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        },
        "x-valstorm-runtime": "open-api (Python :8010)",
        "x-valstorm-service": "open-api",
        "x-valstorm-port": 8010
      }
    },
    "/v1/microsoft/list-inbox": {
      "get": {
        "tags": [
          "microsoft"
        ],
        "summary": "List Microsoft Inbox Route",
        "operationId": "list_microsoft_inbox_route_v1_microsoft_list_inbox_get",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "parameters": [
          {
            "name": "top",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "default": 25,
              "title": "Top"
            }
          },
          {
            "name": "skip",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "default": 0,
              "title": "Skip"
            }
          },
          {
            "name": "X-Organization-ID",
            "in": "header",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Organization-Id"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "title": "Response List Microsoft Inbox Route V1 Microsoft List Inbox Get"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        },
        "x-valstorm-runtime": "open-api (Python :8010)",
        "x-valstorm-service": "open-api",
        "x-valstorm-port": 8010
      }
    },
    "/v1/microsoft/email/sync": {
      "post": {
        "tags": [
          "microsoft"
        ],
        "summary": "Sync Microsoft Inbox Route",
        "operationId": "sync_microsoft_inbox_route_v1_microsoft_email_sync_post",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "parameters": [
          {
            "name": "X-Organization-ID",
            "in": "header",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Organization-Id"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "title": "Response Sync Microsoft Inbox Route V1 Microsoft Email Sync Post"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        },
        "x-valstorm-runtime": "open-api (Python :8010)",
        "x-valstorm-service": "open-api",
        "x-valstorm-port": 8010
      }
    },
    "/v1/microsoft/email/send": {
      "post": {
        "tags": [
          "microsoft"
        ],
        "summary": "Send Microsoft Email Route",
        "operationId": "send_microsoft_email_route_v1_microsoft_email_send_post",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "parameters": [
          {
            "name": "X-Organization-ID",
            "in": "header",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Organization-Id"
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/SendEmailRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "title": "Response Send Microsoft Email Route V1 Microsoft Email Send Post"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        },
        "x-valstorm-runtime": "open-api (Python :8010)",
        "x-valstorm-service": "open-api",
        "x-valstorm-port": 8010
      }
    },
    "/v1/microsoft/email/{message_id}/reply": {
      "post": {
        "tags": [
          "microsoft"
        ],
        "summary": "Reply Microsoft Email Route",
        "operationId": "reply_microsoft_email_route_v1_microsoft_email__message_id__reply_post",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "parameters": [
          {
            "name": "message_id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Message Id"
            }
          },
          {
            "name": "X-Organization-ID",
            "in": "header",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Organization-Id"
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ReplyEmailRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "title": "Response Reply Microsoft Email Route V1 Microsoft Email  Message Id  Reply Post"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        },
        "x-valstorm-runtime": "open-api (Python :8010)",
        "x-valstorm-service": "open-api",
        "x-valstorm-port": 8010
      }
    },
    "/v1/microsoft/calendar": {
      "get": {
        "tags": [
          "microsoft"
        ],
        "summary": "Get Microsoft Calendar Route",
        "operationId": "get_microsoft_calendar_route_v1_microsoft_calendar_get",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "parameters": [
          {
            "name": "X-Organization-ID",
            "in": "header",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Organization-Id"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "title": "Response Get Microsoft Calendar Route V1 Microsoft Calendar Get"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        },
        "x-valstorm-runtime": "open-api (Python :8010)",
        "x-valstorm-service": "open-api",
        "x-valstorm-port": 8010
      }
    },
    "/v1/microsoft/calendars": {
      "get": {
        "tags": [
          "microsoft"
        ],
        "summary": "List Microsoft Calendars Route",
        "operationId": "list_microsoft_calendars_route_v1_microsoft_calendars_get",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "parameters": [
          {
            "name": "X-Organization-ID",
            "in": "header",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Organization-Id"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "title": "Response List Microsoft Calendars Route V1 Microsoft Calendars Get"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        },
        "x-valstorm-runtime": "open-api (Python :8010)",
        "x-valstorm-service": "open-api",
        "x-valstorm-port": 8010
      }
    },
    "/v1/microsoft/calendar/events": {
      "get": {
        "tags": [
          "microsoft"
        ],
        "summary": "List Microsoft Events Route",
        "operationId": "list_microsoft_events_route_v1_microsoft_calendar_events_get",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "parameters": [
          {
            "name": "calendar_id",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Calendar Id"
            }
          },
          {
            "name": "X-Organization-ID",
            "in": "header",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Organization-Id"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "title": "Response List Microsoft Events Route V1 Microsoft Calendar Events Get"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        },
        "x-valstorm-runtime": "open-api (Python :8010)",
        "x-valstorm-service": "open-api",
        "x-valstorm-port": 8010
      }
    },
    "/v1/microsoft/calendar/{calendar_id}/sync": {
      "post": {
        "tags": [
          "microsoft"
        ],
        "summary": "Sync Microsoft Calendar Route",
        "operationId": "sync_microsoft_calendar_route_v1_microsoft_calendar__calendar_id__sync_post",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "parameters": [
          {
            "name": "calendar_id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Calendar Id"
            }
          },
          {
            "name": "X-Organization-ID",
            "in": "header",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Organization-Id"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "title": "Response Sync Microsoft Calendar Route V1 Microsoft Calendar  Calendar Id  Sync Post"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        },
        "x-valstorm-runtime": "open-api (Python :8010)",
        "x-valstorm-service": "open-api",
        "x-valstorm-port": 8010
      }
    },
    "/v1/microsoft/subscriptions": {
      "post": {
        "tags": [
          "microsoft"
        ],
        "summary": "Create Microsoft Subscription Route",
        "operationId": "create_microsoft_subscription_route_v1_microsoft_subscriptions_post",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "parameters": [
          {
            "name": "X-Organization-ID",
            "in": "header",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Organization-Id"
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateSubscriptionRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "title": "Response Create Microsoft Subscription Route V1 Microsoft Subscriptions Post"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        },
        "x-valstorm-runtime": "open-api (Python :8010)",
        "x-valstorm-service": "open-api",
        "x-valstorm-port": 8010
      },
      "get": {
        "tags": [
          "microsoft"
        ],
        "summary": "List Microsoft Subscriptions Route",
        "operationId": "list_microsoft_subscriptions_route_v1_microsoft_subscriptions_get",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "parameters": [
          {
            "name": "X-Organization-ID",
            "in": "header",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Organization-Id"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "title": "Response List Microsoft Subscriptions Route V1 Microsoft Subscriptions Get"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        },
        "x-valstorm-runtime": "open-api (Python :8010)",
        "x-valstorm-service": "open-api",
        "x-valstorm-port": 8010
      }
    },
    "/v1/microsoft/subscriptions/{subscription_id}": {
      "delete": {
        "tags": [
          "microsoft"
        ],
        "summary": "Delete Microsoft Subscription Route",
        "operationId": "delete_microsoft_subscription_route_v1_microsoft_subscriptions__subscription_id__delete",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "parameters": [
          {
            "name": "subscription_id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Subscription Id"
            }
          },
          {
            "name": "X-Organization-ID",
            "in": "header",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Organization-Id"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "title": "Response Delete Microsoft Subscription Route V1 Microsoft Subscriptions  Subscription Id  Delete"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        },
        "x-valstorm-runtime": "open-api (Python :8010)",
        "x-valstorm-service": "open-api",
        "x-valstorm-port": 8010
      }
    },
    "/v1/microsoft/auth/callback": {
      "get": {
        "tags": [
          "microsoft-webhooks"
        ],
        "summary": "Callback Microsoft Route",
        "operationId": "callback_microsoft_route_v1_microsoft_auth_callback_get",
        "parameters": [
          {
            "name": "code",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Code"
            }
          },
          {
            "name": "state",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "State"
            }
          },
          {
            "name": "error",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Error"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "title": "Response Callback Microsoft Route V1 Microsoft Auth Callback Get"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        },
        "x-valstorm-runtime": "open-api (Python :8010)",
        "x-valstorm-service": "open-api",
        "x-valstorm-port": 8010
      }
    },
    "/v1/microsoft/webhook/notifications/{org_id}/{user_id}": {
      "post": {
        "tags": [
          "microsoft-webhooks"
        ],
        "summary": "Microsoft Email Webhook Route",
        "operationId": "microsoft_email_webhook_route_v1_microsoft_webhook_notifications__org_id___user_id__post",
        "parameters": [
          {
            "name": "org_id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Org Id"
            }
          },
          {
            "name": "user_id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "title": "User Id"
            }
          },
          {
            "name": "validationToken",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Validationtoken"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {}
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        },
        "x-valstorm-runtime": "open-api (Python :8010)",
        "x-valstorm-service": "open-api",
        "x-valstorm-port": 8010
      }
    },
    "/v1/microsoft/webhook/calendar/notifications/{org_id}/{user_id}/{calendar_id}": {
      "post": {
        "tags": [
          "microsoft-webhooks"
        ],
        "summary": "Microsoft Calendar Webhook Route",
        "operationId": "microsoft_calendar_webhook_route_v1_microsoft_webhook_calendar_notifications__org_id___user_id___calendar_id__post",
        "parameters": [
          {
            "name": "org_id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Org Id"
            }
          },
          {
            "name": "user_id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "title": "User Id"
            }
          },
          {
            "name": "calendar_id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Calendar Id"
            }
          },
          {
            "name": "validationToken",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Validationtoken"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {}
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        },
        "x-valstorm-runtime": "open-api (Python :8010)",
        "x-valstorm-service": "open-api",
        "x-valstorm-port": 8010
      }
    },
    "/v1/salesforce/setup-guide": {
      "get": {
        "tags": [
          "salesforce"
        ],
        "summary": "Get Salesforce Setup Guide Route",
        "operationId": "get_salesforce_setup_guide_route_v1_salesforce_setup_guide_get",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "parameters": [
          {
            "name": "X-Organization-ID",
            "in": "header",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Organization-Id"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "title": "Response Get Salesforce Setup Guide Route V1 Salesforce Setup Guide Get"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        },
        "x-valstorm-runtime": "open-api (Python :8010)",
        "x-valstorm-service": "open-api",
        "x-valstorm-port": 8010
      }
    },
    "/v1/salesforce/credentials": {
      "post": {
        "tags": [
          "salesforce"
        ],
        "summary": "Save Salesforce Credentials Route",
        "operationId": "save_salesforce_credentials_route_v1_salesforce_credentials_post",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "parameters": [
          {
            "name": "X-Organization-ID",
            "in": "header",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Organization-Id"
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/SalesforceCredentialsRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "title": "Response Save Salesforce Credentials Route V1 Salesforce Credentials Post"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        },
        "x-valstorm-runtime": "open-api (Python :8010)",
        "x-valstorm-service": "open-api",
        "x-valstorm-port": 8010
      }
    },
    "/v1/salesforce/auth/login": {
      "get": {
        "tags": [
          "salesforce"
        ],
        "summary": "Login Salesforce Route",
        "operationId": "login_salesforce_route_v1_salesforce_auth_login_get",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "parameters": [
          {
            "name": "X-Organization-ID",
            "in": "header",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Organization-Id"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "title": "Response Login Salesforce Route V1 Salesforce Auth Login Get"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        },
        "x-valstorm-runtime": "open-api (Python :8010)",
        "x-valstorm-service": "open-api",
        "x-valstorm-port": 8010
      }
    },
    "/v1/salesforce/query": {
      "post": {
        "tags": [
          "salesforce"
        ],
        "summary": "Query Salesforce Route",
        "operationId": "query_salesforce_route_v1_salesforce_query_post",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "parameters": [
          {
            "name": "X-Organization-ID",
            "in": "header",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Organization-Id"
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/SalesforceQueryRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "title": "Response Query Salesforce Route V1 Salesforce Query Post"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        },
        "x-valstorm-runtime": "open-api (Python :8010)",
        "x-valstorm-service": "open-api",
        "x-valstorm-port": 8010
      }
    },
    "/v1/salesforce/records": {
      "post": {
        "tags": [
          "salesforce"
        ],
        "summary": "Create Salesforce Records Route",
        "operationId": "create_salesforce_records_route_v1_salesforce_records_post",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "parameters": [
          {
            "name": "X-Organization-ID",
            "in": "header",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Organization-Id"
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/SalesforceCompositeRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "title": "Response Create Salesforce Records Route V1 Salesforce Records Post"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        },
        "x-valstorm-runtime": "open-api (Python :8010)",
        "x-valstorm-service": "open-api",
        "x-valstorm-port": 8010
      },
      "patch": {
        "tags": [
          "salesforce"
        ],
        "summary": "Update Salesforce Records Route",
        "operationId": "update_salesforce_records_route_v1_salesforce_records_patch",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "parameters": [
          {
            "name": "X-Organization-ID",
            "in": "header",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Organization-Id"
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/SalesforceCompositeRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "title": "Response Update Salesforce Records Route V1 Salesforce Records Patch"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        },
        "x-valstorm-runtime": "open-api (Python :8010)",
        "x-valstorm-service": "open-api",
        "x-valstorm-port": 8010
      }
    },
    "/v1/salesforce/files/upload": {
      "post": {
        "tags": [
          "salesforce"
        ],
        "summary": "Upload Salesforce File Route",
        "operationId": "upload_salesforce_file_route_v1_salesforce_files_upload_post",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "parameters": [
          {
            "name": "X-Organization-ID",
            "in": "header",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Organization-Id"
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/SalesforceUploadFileRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "title": "Response Upload Salesforce File Route V1 Salesforce Files Upload Post"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        },
        "x-valstorm-runtime": "open-api (Python :8010)",
        "x-valstorm-service": "open-api",
        "x-valstorm-port": 8010
      }
    },
    "/v1/salesforce/auth/callback": {
      "get": {
        "tags": [
          "salesforce-public"
        ],
        "summary": "Callback Salesforce Route",
        "operationId": "callback_salesforce_route_v1_salesforce_auth_callback_get",
        "parameters": [
          {
            "name": "code",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Code"
            }
          },
          {
            "name": "state",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "State"
            }
          },
          {
            "name": "error",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Error"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "title": "Response Callback Salesforce Route V1 Salesforce Auth Callback Get"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        },
        "x-valstorm-runtime": "open-api (Python :8010)",
        "x-valstorm-service": "open-api",
        "x-valstorm-port": 8010
      }
    },
    "/v1/email-services/sendgrid/setup-guide": {
      "get": {
        "tags": [
          "sendgrid"
        ],
        "summary": "Get Sendgrid Setup Guide",
        "operationId": "get_sendgrid_setup_guide_v1_email_services_sendgrid_setup_guide_get",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "parameters": [
          {
            "name": "X-Organization-ID",
            "in": "header",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Organization-Id"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "title": "Response Get Sendgrid Setup Guide V1 Email Services Sendgrid Setup Guide Get"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        },
        "x-valstorm-runtime": "open-api (Python :8010)",
        "x-valstorm-service": "open-api",
        "x-valstorm-port": 8010
      }
    },
    "/v1/email-services/sendgrid/verify": {
      "post": {
        "tags": [
          "sendgrid"
        ],
        "summary": "Verify Sendgrid Connection",
        "operationId": "verify_sendgrid_connection_v1_email_services_sendgrid_verify_post",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "parameters": [
          {
            "name": "X-Organization-ID",
            "in": "header",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Organization-Id"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "title": "Response Verify Sendgrid Connection V1 Email Services Sendgrid Verify Post"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        },
        "x-valstorm-runtime": "open-api (Python :8010)",
        "x-valstorm-service": "open-api",
        "x-valstorm-port": 8010
      }
    },
    "/v1/email-services/sendgrid/credentials": {
      "post": {
        "tags": [
          "sendgrid"
        ],
        "summary": "Save Sendgrid Credentials",
        "operationId": "save_sendgrid_credentials_v1_email_services_sendgrid_credentials_post",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "parameters": [
          {
            "name": "X-Organization-ID",
            "in": "header",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Organization-Id"
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/SendGridCredentialsPayload"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "title": "Response Save Sendgrid Credentials V1 Email Services Sendgrid Credentials Post"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        },
        "x-valstorm-runtime": "open-api (Python :8010)",
        "x-valstorm-service": "open-api",
        "x-valstorm-port": 8010
      }
    },
    "/v1/email-services/sendgrid/send": {
      "post": {
        "tags": [
          "sendgrid"
        ],
        "summary": "Send Sendgrid Email",
        "operationId": "send_sendgrid_email_v1_email_services_sendgrid_send_post",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "parameters": [
          {
            "name": "X-Organization-ID",
            "in": "header",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Organization-Id"
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/SendGridSendPayload"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "title": "Response Send Sendgrid Email V1 Email Services Sendgrid Send Post"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        },
        "x-valstorm-runtime": "open-api (Python :8010)",
        "x-valstorm-service": "open-api",
        "x-valstorm-port": 8010
      }
    },
    "/v1/email-services/sendgrid/messages/search": {
      "post": {
        "tags": [
          "sendgrid"
        ],
        "summary": "Search Sendgrid Messages",
        "operationId": "search_sendgrid_messages_v1_email_services_sendgrid_messages_search_post",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "parameters": [
          {
            "name": "X-Organization-ID",
            "in": "header",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Organization-Id"
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/SendGridSearchPayload"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "title": "Response Search Sendgrid Messages V1 Email Services Sendgrid Messages Search Post"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        },
        "x-valstorm-runtime": "open-api (Python :8010)",
        "x-valstorm-service": "open-api",
        "x-valstorm-port": 8010
      }
    },
    "/v1/email-services/sendgrid/messages/{message_id}": {
      "get": {
        "tags": [
          "sendgrid"
        ],
        "summary": "Get Sendgrid Message Details",
        "operationId": "get_sendgrid_message_details_v1_email_services_sendgrid_messages__message_id__get",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "parameters": [
          {
            "name": "message_id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Message Id"
            }
          },
          {
            "name": "X-Organization-ID",
            "in": "header",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Organization-Id"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "title": "Response Get Sendgrid Message Details V1 Email Services Sendgrid Messages  Message Id  Get"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        },
        "x-valstorm-runtime": "open-api (Python :8010)",
        "x-valstorm-service": "open-api",
        "x-valstorm-port": 8010
      },
      "post": {
        "tags": [
          "sendgrid"
        ],
        "summary": "Get Sendgrid Message Details",
        "operationId": "get_sendgrid_message_details_v1_email_services_sendgrid_messages__message_id__post",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "parameters": [
          {
            "name": "message_id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Message Id"
            }
          },
          {
            "name": "X-Organization-ID",
            "in": "header",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Organization-Id"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "title": "Response Get Sendgrid Message Details V1 Email Services Sendgrid Messages  Message Id  Post"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        },
        "x-valstorm-runtime": "open-api (Python :8010)",
        "x-valstorm-service": "open-api",
        "x-valstorm-port": 8010
      }
    },
    "/v1/email-services/sendgrid/webhook/{organization_id}": {
      "post": {
        "tags": [
          "sendgrid-webhooks"
        ],
        "summary": "Receive Sendgrid Webhook",
        "description": "Receives SendGrid Event Webhook batches and enqueues `sendgrid:webhook_event` to the Go worker.",
        "operationId": "receive_sendgrid_webhook_v1_email_services_sendgrid_webhook__organization_id__post",
        "parameters": [
          {
            "name": "organization_id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Organization Id"
            }
          }
        ],
        "responses": {
          "202": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "title": "Response Receive Sendgrid Webhook V1 Email Services Sendgrid Webhook  Organization Id  Post"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        },
        "x-valstorm-runtime": "open-api (Python :8010)",
        "x-valstorm-service": "open-api",
        "x-valstorm-port": 8010
      }
    },
    "/v1/slack/auth/login": {
      "get": {
        "tags": [
          "slack"
        ],
        "summary": "Login Slack",
        "description": "Generates Slack OAuth v2 authorization URL with anti-CSRF state stored in `platform.cache`.",
        "operationId": "login_slack_v1_slack_auth_login_get",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "parameters": [
          {
            "name": "team_id",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Team Id"
            }
          },
          {
            "name": "X-Organization-ID",
            "in": "header",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Organization-Id"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "title": "Response Login Slack V1 Slack Auth Login Get"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        },
        "x-valstorm-runtime": "open-api (Python :8010)",
        "x-valstorm-service": "open-api",
        "x-valstorm-port": 8010
      }
    },
    "/v1/slack/auth/status": {
      "get": {
        "tags": [
          "slack"
        ],
        "summary": "Get Slack Status",
        "description": "Returns current Slack integration connection status and workspace metadata.",
        "operationId": "get_slack_status_v1_slack_auth_status_get",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "parameters": [
          {
            "name": "X-Organization-ID",
            "in": "header",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Organization-Id"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "title": "Response Get Slack Status V1 Slack Auth Status Get"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        },
        "x-valstorm-runtime": "open-api (Python :8010)",
        "x-valstorm-service": "open-api",
        "x-valstorm-port": 8010
      }
    },
    "/v1/slack/auth/disconnect": {
      "post": {
        "tags": [
          "slack"
        ],
        "summary": "Disconnect Slack",
        "description": "Revokes Slack tokens and marks connection as disconnected.",
        "operationId": "disconnect_slack_v1_slack_auth_disconnect_post",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "parameters": [
          {
            "name": "X-Organization-ID",
            "in": "header",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Organization-Id"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": {
                    "type": "string"
                  },
                  "title": "Response Disconnect Slack V1 Slack Auth Disconnect Post"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        },
        "x-valstorm-runtime": "open-api (Python :8010)",
        "x-valstorm-service": "open-api",
        "x-valstorm-port": 8010
      }
    },
    "/v1/slack/channels": {
      "get": {
        "tags": [
          "slack"
        ],
        "summary": "List Slack Channels",
        "operationId": "list_slack_channels_v1_slack_channels_get",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "parameters": [
          {
            "name": "types",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "default": "public_channel,private_channel",
              "title": "Types"
            }
          },
          {
            "name": "cursor",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Cursor"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "default": 100,
              "title": "Limit"
            }
          },
          {
            "name": "X-Organization-ID",
            "in": "header",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Organization-Id"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "title": "Response List Slack Channels V1 Slack Channels Get"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        },
        "x-valstorm-runtime": "open-api (Python :8010)",
        "x-valstorm-service": "open-api",
        "x-valstorm-port": 8010
      }
    },
    "/v1/slack/chat/post": {
      "post": {
        "tags": [
          "slack"
        ],
        "summary": "Post Slack Message",
        "operationId": "post_slack_message_v1_slack_chat_post_post",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "parameters": [
          {
            "name": "X-Organization-ID",
            "in": "header",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Organization-Id"
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/SlackPostMessageRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "title": "Response Post Slack Message V1 Slack Chat Post Post"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        },
        "x-valstorm-runtime": "open-api (Python :8010)",
        "x-valstorm-service": "open-api",
        "x-valstorm-port": 8010
      }
    },
    "/v1/slack/users": {
      "get": {
        "tags": [
          "slack"
        ],
        "summary": "List Slack Users",
        "operationId": "list_slack_users_v1_slack_users_get",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "parameters": [
          {
            "name": "cursor",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Cursor"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "default": 100,
              "title": "Limit"
            }
          },
          {
            "name": "X-Organization-ID",
            "in": "header",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Organization-Id"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "title": "Response List Slack Users V1 Slack Users Get"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        },
        "x-valstorm-runtime": "open-api (Python :8010)",
        "x-valstorm-service": "open-api",
        "x-valstorm-port": 8010
      }
    },
    "/v1/slack/users/{user_id}/profile": {
      "get": {
        "tags": [
          "slack"
        ],
        "summary": "Get Slack User Profile",
        "operationId": "get_slack_user_profile_v1_slack_users__user_id__profile_get",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "parameters": [
          {
            "name": "user_id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "title": "User Id"
            }
          },
          {
            "name": "X-Organization-ID",
            "in": "header",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Organization-Id"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "title": "Response Get Slack User Profile V1 Slack Users  User Id  Profile Get"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        },
        "x-valstorm-runtime": "open-api (Python :8010)",
        "x-valstorm-service": "open-api",
        "x-valstorm-port": 8010
      }
    },
    "/v1/slack/chat/history": {
      "get": {
        "tags": [
          "slack"
        ],
        "summary": "Get Slack Channel History",
        "operationId": "get_slack_channel_history_v1_slack_chat_history_get",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "parameters": [
          {
            "name": "channel",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Channel"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "default": 50,
              "title": "Limit"
            }
          },
          {
            "name": "latest",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Latest"
            }
          },
          {
            "name": "oldest",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Oldest"
            }
          },
          {
            "name": "cursor",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Cursor"
            }
          },
          {
            "name": "X-Organization-ID",
            "in": "header",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Organization-Id"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "title": "Response Get Slack Channel History V1 Slack Chat History Get"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        },
        "x-valstorm-runtime": "open-api (Python :8010)",
        "x-valstorm-service": "open-api",
        "x-valstorm-port": 8010
      }
    },
    "/v1/slack/chat/replies": {
      "get": {
        "tags": [
          "slack"
        ],
        "summary": "Get Slack Thread Replies",
        "operationId": "get_slack_thread_replies_v1_slack_chat_replies_get",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "parameters": [
          {
            "name": "channel",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Channel"
            }
          },
          {
            "name": "ts",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Ts"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "default": 50,
              "title": "Limit"
            }
          },
          {
            "name": "latest",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Latest"
            }
          },
          {
            "name": "oldest",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Oldest"
            }
          },
          {
            "name": "cursor",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Cursor"
            }
          },
          {
            "name": "inclusive",
            "in": "query",
            "required": false,
            "schema": {
              "type": "boolean",
              "default": true,
              "title": "Inclusive"
            }
          },
          {
            "name": "X-Organization-ID",
            "in": "header",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Organization-Id"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "title": "Response Get Slack Thread Replies V1 Slack Chat Replies Get"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        },
        "x-valstorm-runtime": "open-api (Python :8010)",
        "x-valstorm-service": "open-api",
        "x-valstorm-port": 8010
      }
    },
    "/v1/slack/chat/update": {
      "post": {
        "tags": [
          "slack"
        ],
        "summary": "Update Slack Message Route",
        "operationId": "update_slack_message_route_v1_slack_chat_update_post",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "parameters": [
          {
            "name": "X-Organization-ID",
            "in": "header",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Organization-Id"
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/SlackUpdateMessageRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "title": "Response Update Slack Message Route V1 Slack Chat Update Post"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        },
        "x-valstorm-runtime": "open-api (Python :8010)",
        "x-valstorm-service": "open-api",
        "x-valstorm-port": 8010
      }
    },
    "/v1/slack/chat/delete": {
      "post": {
        "tags": [
          "slack"
        ],
        "summary": "Delete Slack Message Route",
        "operationId": "delete_slack_message_route_v1_slack_chat_delete_post",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "parameters": [
          {
            "name": "X-Organization-ID",
            "in": "header",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Organization-Id"
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/SlackDeleteMessageRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "title": "Response Delete Slack Message Route V1 Slack Chat Delete Post"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        },
        "x-valstorm-runtime": "open-api (Python :8010)",
        "x-valstorm-service": "open-api",
        "x-valstorm-port": 8010
      }
    },
    "/v1/slack/reactions/add": {
      "post": {
        "tags": [
          "slack"
        ],
        "summary": "Add Slack Reaction Route",
        "operationId": "add_slack_reaction_route_v1_slack_reactions_add_post",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "parameters": [
          {
            "name": "X-Organization-ID",
            "in": "header",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Organization-Id"
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/SlackAddReactionRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "title": "Response Add Slack Reaction Route V1 Slack Reactions Add Post"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        },
        "x-valstorm-runtime": "open-api (Python :8010)",
        "x-valstorm-service": "open-api",
        "x-valstorm-port": 8010
      }
    },
    "/v1/slack/auth/callback": {
      "get": {
        "tags": [
          "slack"
        ],
        "summary": "Callback Slack",
        "operationId": "callback_slack_v1_slack_auth_callback_get",
        "parameters": [
          {
            "name": "code",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Code"
            }
          },
          {
            "name": "state",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "State"
            }
          },
          {
            "name": "error",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Error"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {}
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        },
        "x-valstorm-runtime": "open-api (Python :8010)",
        "x-valstorm-service": "open-api",
        "x-valstorm-port": 8010
      }
    },
    "/v1/slack/oidc/login": {
      "get": {
        "tags": [
          "slack"
        ],
        "summary": "Oidc Login Slack",
        "operationId": "oidc_login_slack_v1_slack_oidc_login_get",
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "additionalProperties": {
                    "type": "string"
                  },
                  "type": "object",
                  "title": "Response Oidc Login Slack V1 Slack Oidc Login Get"
                }
              }
            }
          }
        },
        "x-valstorm-runtime": "open-api (Python :8010)",
        "x-valstorm-service": "open-api",
        "x-valstorm-port": 8010
      }
    },
    "/v1/slack/oidc/callback": {
      "get": {
        "tags": [
          "slack"
        ],
        "summary": "Oidc Callback Slack",
        "operationId": "oidc_callback_slack_v1_slack_oidc_callback_get",
        "parameters": [
          {
            "name": "code",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Code"
            }
          },
          {
            "name": "state",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "State"
            }
          },
          {
            "name": "error",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Error"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {}
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        },
        "x-valstorm-runtime": "open-api (Python :8010)",
        "x-valstorm-service": "open-api",
        "x-valstorm-port": 8010
      }
    },
    "/v1/slack/events": {
      "post": {
        "tags": [
          "slack"
        ],
        "summary": "Handle Slack Events",
        "description": "Public Slack Events Webhook endpoint.\nPerforms HMAC SHA-256 signature verification, handles url_verification challenges,\nand offloads event processing to `ValstormBackgroundWorker` via `platform.tasks.enqueue`.",
        "operationId": "handle_slack_events_v1_slack_events_post",
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {}
              }
            }
          }
        },
        "x-valstorm-runtime": "open-api (Python :8010)",
        "x-valstorm-service": "open-api",
        "x-valstorm-port": 8010
      }
    },
    "/v1/slack/commands": {
      "post": {
        "tags": [
          "slack"
        ],
        "summary": "Handle Slack Commands",
        "description": "Public Slack Slash Command Webhook endpoint (`/valstorm <command>`).",
        "operationId": "handle_slack_commands_v1_slack_commands_post",
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {}
              }
            }
          }
        },
        "x-valstorm-runtime": "open-api (Python :8010)",
        "x-valstorm-service": "open-api",
        "x-valstorm-port": 8010
      }
    },
    "/v1/stripe/setup-guide": {
      "get": {
        "tags": [
          "stripe"
        ],
        "summary": "Get Stripe Setup Guide Route",
        "operationId": "get_stripe_setup_guide_route_v1_stripe_setup_guide_get",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "parameters": [
          {
            "name": "X-Organization-ID",
            "in": "header",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Organization-Id"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "title": "Response Get Stripe Setup Guide Route V1 Stripe Setup Guide Get"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        },
        "x-valstorm-runtime": "open-api (Python :8010)",
        "x-valstorm-service": "open-api",
        "x-valstorm-port": 8010
      }
    },
    "/v1/stripe/credentials": {
      "post": {
        "tags": [
          "stripe"
        ],
        "summary": "Save Stripe Credentials Route",
        "operationId": "save_stripe_credentials_route_v1_stripe_credentials_post",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "parameters": [
          {
            "name": "X-Organization-ID",
            "in": "header",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Organization-Id"
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/StripeSaveCredentialsRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "title": "Response Save Stripe Credentials Route V1 Stripe Credentials Post"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        },
        "x-valstorm-runtime": "open-api (Python :8010)",
        "x-valstorm-service": "open-api",
        "x-valstorm-port": 8010
      }
    },
    "/v1/stripe/verify": {
      "post": {
        "tags": [
          "stripe"
        ],
        "summary": "Verify Stripe Connection Route",
        "operationId": "verify_stripe_connection_route_v1_stripe_verify_post",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "parameters": [
          {
            "name": "X-Organization-ID",
            "in": "header",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Organization-Id"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "title": "Response Verify Stripe Connection Route V1 Stripe Verify Post"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        },
        "x-valstorm-runtime": "open-api (Python :8010)",
        "x-valstorm-service": "open-api",
        "x-valstorm-port": 8010
      }
    },
    "/v1/stripe/fetch": {
      "post": {
        "tags": [
          "stripe"
        ],
        "summary": "Stripe Fetch Proxy Route",
        "operationId": "stripe_fetch_proxy_route_v1_stripe_fetch_post",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "parameters": [
          {
            "name": "X-Organization-ID",
            "in": "header",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Organization-Id"
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/StripeFetchRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "title": "Response Stripe Fetch Proxy Route V1 Stripe Fetch Post"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        },
        "x-valstorm-runtime": "open-api (Python :8010)",
        "x-valstorm-service": "open-api",
        "x-valstorm-port": 8010
      }
    },
    "/v1/stripe/sync/historical": {
      "post": {
        "tags": [
          "stripe"
        ],
        "summary": "Trigger Historical Stripe Sync Route",
        "operationId": "trigger_historical_stripe_sync_route_v1_stripe_sync_historical_post",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "parameters": [
          {
            "name": "X-Organization-ID",
            "in": "header",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Organization-Id"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "title": "Response Trigger Historical Stripe Sync Route V1 Stripe Sync Historical Post"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        },
        "x-valstorm-runtime": "open-api (Python :8010)",
        "x-valstorm-service": "open-api",
        "x-valstorm-port": 8010
      }
    },
    "/v1/stripe/auth/login": {
      "get": {
        "tags": [
          "stripe"
        ],
        "summary": "Login Stripe Route",
        "operationId": "login_stripe_route_v1_stripe_auth_login_get",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "parameters": [
          {
            "name": "X-Organization-ID",
            "in": "header",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Organization-Id"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "title": "Response Login Stripe Route V1 Stripe Auth Login Get"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        },
        "x-valstorm-runtime": "open-api (Python :8010)",
        "x-valstorm-service": "open-api",
        "x-valstorm-port": 8010
      }
    },
    "/v1/stripe/auth/claim": {
      "post": {
        "tags": [
          "stripe"
        ],
        "summary": "Claim Stripe Credentials Route",
        "operationId": "claim_stripe_credentials_route_v1_stripe_auth_claim_post",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "parameters": [
          {
            "name": "X-Organization-ID",
            "in": "header",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Organization-Id"
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/StripeClaimRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "title": "Response Claim Stripe Credentials Route V1 Stripe Auth Claim Post"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        },
        "x-valstorm-runtime": "open-api (Python :8010)",
        "x-valstorm-service": "open-api",
        "x-valstorm-port": 8010
      }
    },
    "/v1/stripe/public/auth/callback": {
      "get": {
        "tags": [
          "stripe-webhooks"
        ],
        "summary": "Stripe Auth Callback Route",
        "operationId": "stripe_auth_callback_route_v1_stripe_public_auth_callback_get",
        "parameters": [
          {
            "name": "code",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Code"
            }
          },
          {
            "name": "user_id",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "User Id"
            }
          },
          {
            "name": "account_id",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Account Id"
            }
          },
          {
            "name": "stripe_user_id",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Stripe User Id"
            }
          },
          {
            "name": "install_signature",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Install Signature"
            }
          },
          {
            "name": "livemode",
            "in": "query",
            "required": false,
            "schema": {
              "type": "boolean",
              "default": false,
              "title": "Livemode"
            }
          },
          {
            "name": "state",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "State"
            }
          },
          {
            "name": "valstorm_user_id",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Valstorm User Id"
            }
          },
          {
            "name": "valstorm_org_id",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Valstorm Org Id"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "title": "Response Stripe Auth Callback Route V1 Stripe Public Auth Callback Get"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        },
        "x-valstorm-runtime": "open-api (Python :8010)",
        "x-valstorm-service": "open-api",
        "x-valstorm-port": 8010
      }
    },
    "/v1/stripe/public/webhook": {
      "post": {
        "tags": [
          "stripe-webhooks"
        ],
        "summary": "Stripe Customer Crm Webhook Route",
        "description": "Receives Stripe Connect / Customer CRM webhooks (`POST /v1/stripe/public/webhook`),\nverifies `Stripe-Signature` when configured, resolves the owning tenant in O(1) via\n`external_account_routing` (`provider=\"stripe\"`, `external_id=acct_...`), and syncs CRM records.",
        "operationId": "stripe_customer_crm_webhook_route_v1_stripe_public_webhook_post",
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "additionalProperties": true,
                  "type": "object",
                  "title": "Response Stripe Customer Crm Webhook Route V1 Stripe Public Webhook Post"
                }
              }
            }
          }
        },
        "x-valstorm-runtime": "open-api (Python :8010)",
        "x-valstorm-service": "open-api",
        "x-valstorm-port": 8010
      }
    },
    "/v1/support/ask": {
      "post": {
        "tags": [
          "support"
        ],
        "summary": "Ask Valstorm Support Route",
        "operationId": "ask_valstorm_support_route_v1_support_ask_post",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/SupportAskRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "additionalProperties": true,
                  "type": "object",
                  "title": "Response Ask Valstorm Support Route V1 Support Ask Post"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        },
        "x-valstorm-runtime": "open-api (Python :8010)",
        "x-valstorm-service": "open-api",
        "x-valstorm-port": 8010
      }
    },
    "/v1/support/telemetry": {
      "post": {
        "tags": [
          "support"
        ],
        "summary": "Log Support Telemetry Route",
        "operationId": "log_support_telemetry_route_v1_support_telemetry_post",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/SupportTelemetryRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "additionalProperties": true,
                  "type": "object",
                  "title": "Response Log Support Telemetry Route V1 Support Telemetry Post"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        },
        "x-valstorm-runtime": "open-api (Python :8010)",
        "x-valstorm-service": "open-api",
        "x-valstorm-port": 8010
      }
    },
    "/v1/support/tickets": {
      "post": {
        "tags": [
          "support"
        ],
        "summary": "Create Support Ticket Route",
        "operationId": "create_support_ticket_route_v1_support_tickets_post",
        "requestBody": {
          "content": {
            "multipart/form-data": {
              "schema": {
                "$ref": "#/components/schemas/Body_create_support_ticket_route_v1_support_tickets_post"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "additionalProperties": true,
                  "type": "object",
                  "title": "Response Create Support Ticket Route V1 Support Tickets Post"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        },
        "x-valstorm-runtime": "open-api (Python :8010)",
        "x-valstorm-service": "open-api",
        "x-valstorm-port": 8010
      }
    },
    "/v1/telnyx/setup-guide": {
      "get": {
        "tags": [
          "telnyx"
        ],
        "summary": "Get Telnyx Setup Guide",
        "operationId": "get_telnyx_setup_guide_v1_telnyx_setup_guide_get",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "parameters": [
          {
            "name": "X-Organization-ID",
            "in": "header",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Organization-Id"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "title": "Response Get Telnyx Setup Guide V1 Telnyx Setup Guide Get"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        },
        "x-valstorm-runtime": "open-api (Python :8010)",
        "x-valstorm-service": "open-api",
        "x-valstorm-port": 8010
      }
    },
    "/v1/telnyx/verify": {
      "post": {
        "tags": [
          "telnyx"
        ],
        "summary": "Verify Telnyx Connection",
        "operationId": "verify_telnyx_connection_v1_telnyx_verify_post",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "parameters": [
          {
            "name": "X-Organization-ID",
            "in": "header",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Organization-Id"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "title": "Response Verify Telnyx Connection V1 Telnyx Verify Post"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        },
        "x-valstorm-runtime": "open-api (Python :8010)",
        "x-valstorm-service": "open-api",
        "x-valstorm-port": 8010
      }
    },
    "/v1/telnyx/admin/overview": {
      "get": {
        "tags": [
          "telnyx"
        ],
        "summary": "Get Telnyx Admin Overview",
        "operationId": "get_telnyx_admin_overview_v1_telnyx_admin_overview_get",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "parameters": [
          {
            "name": "X-Organization-ID",
            "in": "header",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Organization-Id"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "title": "Response Get Telnyx Admin Overview V1 Telnyx Admin Overview Get"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        },
        "x-valstorm-runtime": "open-api (Python :8010)",
        "x-valstorm-service": "open-api",
        "x-valstorm-port": 8010
      }
    },
    "/v1/telnyx/admin/credentials": {
      "post": {
        "tags": [
          "telnyx"
        ],
        "summary": "Save Telnyx Admin Credentials",
        "operationId": "save_telnyx_admin_credentials_v1_telnyx_admin_credentials_post",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "parameters": [
          {
            "name": "X-Organization-ID",
            "in": "header",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Organization-Id"
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/TelnyxCredentialsPayload"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "title": "Response Save Telnyx Admin Credentials V1 Telnyx Admin Credentials Post"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        },
        "x-valstorm-runtime": "open-api (Python :8010)",
        "x-valstorm-service": "open-api",
        "x-valstorm-port": 8010
      }
    },
    "/v1/telnyx/admin/numbers/sync": {
      "post": {
        "tags": [
          "telnyx"
        ],
        "summary": "Sync Telnyx Numbers",
        "operationId": "sync_telnyx_numbers_v1_telnyx_admin_numbers_sync_post",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "parameters": [
          {
            "name": "X-Organization-ID",
            "in": "header",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Organization-Id"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "title": "Response Sync Telnyx Numbers V1 Telnyx Admin Numbers Sync Post"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        },
        "x-valstorm-runtime": "open-api (Python :8010)",
        "x-valstorm-service": "open-api",
        "x-valstorm-port": 8010
      }
    },
    "/v1/telnyx/admin/numbers/search": {
      "get": {
        "tags": [
          "telnyx"
        ],
        "summary": "Search Telnyx Numbers",
        "operationId": "search_telnyx_numbers_v1_telnyx_admin_numbers_search_get",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "parameters": [
          {
            "name": "area_code",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Area Code"
            }
          },
          {
            "name": "country_code",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "default": "US",
              "title": "Country Code"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "default": 10,
              "title": "Limit"
            }
          },
          {
            "name": "X-Organization-ID",
            "in": "header",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Organization-Id"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "title": "Response Search Telnyx Numbers V1 Telnyx Admin Numbers Search Get"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        },
        "x-valstorm-runtime": "open-api (Python :8010)",
        "x-valstorm-service": "open-api",
        "x-valstorm-port": 8010
      }
    },
    "/v1/telnyx/admin/numbers/order": {
      "post": {
        "tags": [
          "telnyx"
        ],
        "summary": "Order Telnyx Number",
        "operationId": "order_telnyx_number_v1_telnyx_admin_numbers_order_post",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "parameters": [
          {
            "name": "X-Organization-ID",
            "in": "header",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Organization-Id"
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/TelnyxNumberOrderPayload"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "title": "Response Order Telnyx Number V1 Telnyx Admin Numbers Order Post"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        },
        "x-valstorm-runtime": "open-api (Python :8010)",
        "x-valstorm-service": "open-api",
        "x-valstorm-port": 8010
      }
    },
    "/v1/telnyx/message": {
      "post": {
        "tags": [
          "telnyx"
        ],
        "summary": "Send Telnyx Message",
        "operationId": "send_telnyx_message_v1_telnyx_message_post",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "parameters": [
          {
            "name": "X-Organization-ID",
            "in": "header",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Organization-Id"
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/TelnyxMessagePayload"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "title": "Response Send Telnyx Message V1 Telnyx Message Post"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        },
        "x-valstorm-runtime": "open-api (Python :8010)",
        "x-valstorm-service": "open-api",
        "x-valstorm-port": 8010
      }
    },
    "/v1/telnyx/call": {
      "post": {
        "tags": [
          "telnyx"
        ],
        "summary": "Initiate Telnyx Call",
        "operationId": "initiate_telnyx_call_v1_telnyx_call_post",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "parameters": [
          {
            "name": "X-Organization-ID",
            "in": "header",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Organization-Id"
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/TelnyxCallPayload"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "title": "Response Initiate Telnyx Call V1 Telnyx Call Post"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        },
        "x-valstorm-runtime": "open-api (Python :8010)",
        "x-valstorm-service": "open-api",
        "x-valstorm-port": 8010
      }
    },
    "/v1/telnyx/calls/{call_control_id}/{action}": {
      "post": {
        "tags": [
          "telnyx"
        ],
        "summary": "Execute Telnyx Call Action",
        "operationId": "execute_telnyx_call_action_v1_telnyx_calls__call_control_id___action__post",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "parameters": [
          {
            "name": "call_control_id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Call Control Id"
            }
          },
          {
            "name": "action",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Action"
            }
          },
          {
            "name": "X-Organization-ID",
            "in": "header",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Organization-Id"
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/TelnyxCallActionPayload"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "title": "Response Execute Telnyx Call Action V1 Telnyx Calls  Call Control Id   Action  Post"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        },
        "x-valstorm-runtime": "open-api (Python :8010)",
        "x-valstorm-service": "open-api",
        "x-valstorm-port": 8010
      }
    },
    "/v1/telnyx/admin/porting/portability-check": {
      "post": {
        "tags": [
          "telnyx"
        ],
        "summary": "Check Telnyx Portability",
        "operationId": "check_telnyx_portability_v1_telnyx_admin_porting_portability_check_post",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "parameters": [
          {
            "name": "X-Organization-ID",
            "in": "header",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Organization-Id"
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/TelnyxPortabilityPayload"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "title": "Response Check Telnyx Portability V1 Telnyx Admin Porting Portability Check Post"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        },
        "x-valstorm-runtime": "open-api (Python :8010)",
        "x-valstorm-service": "open-api",
        "x-valstorm-port": 8010
      }
    },
    "/v1/telnyx/admin/porting/orders": {
      "get": {
        "tags": [
          "telnyx"
        ],
        "summary": "List Telnyx Porting Orders",
        "operationId": "list_telnyx_porting_orders_v1_telnyx_admin_porting_orders_get",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "parameters": [
          {
            "name": "page_size",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "default": 25,
              "title": "Page Size"
            }
          },
          {
            "name": "X-Organization-ID",
            "in": "header",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Organization-Id"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "title": "Response List Telnyx Porting Orders V1 Telnyx Admin Porting Orders Get"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        },
        "x-valstorm-runtime": "open-api (Python :8010)",
        "x-valstorm-service": "open-api",
        "x-valstorm-port": 8010
      },
      "post": {
        "tags": [
          "telnyx"
        ],
        "summary": "Create Telnyx Porting Order",
        "operationId": "create_telnyx_porting_order_v1_telnyx_admin_porting_orders_post",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "parameters": [
          {
            "name": "X-Organization-ID",
            "in": "header",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Organization-Id"
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/TelnyxPortabilityPayload"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "title": "Response Create Telnyx Porting Order V1 Telnyx Admin Porting Orders Post"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        },
        "x-valstorm-runtime": "open-api (Python :8010)",
        "x-valstorm-service": "open-api",
        "x-valstorm-port": 8010
      }
    },
    "/v1/telnyx/admin/ai-assistants": {
      "get": {
        "tags": [
          "telnyx"
        ],
        "summary": "List Telnyx Ai Assistants",
        "operationId": "list_telnyx_ai_assistants_v1_telnyx_admin_ai_assistants_get",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "parameters": [
          {
            "name": "X-Organization-ID",
            "in": "header",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Organization-Id"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "title": "Response List Telnyx Ai Assistants V1 Telnyx Admin Ai Assistants Get"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        },
        "x-valstorm-runtime": "open-api (Python :8010)",
        "x-valstorm-service": "open-api",
        "x-valstorm-port": 8010
      }
    },
    "/v1/telnyx/webhooks/{org_id}": {
      "post": {
        "tags": [
          "telnyx-webhooks"
        ],
        "summary": "Telnyx Webhook Passthrough",
        "description": "Tenant-scoped HTTP Webhook relay for Telnyx events.\nEnqueues `telnyx:webhook_event` to the Go worker (`plugins/valstorm-plugin-telnyx/go`).",
        "operationId": "telnyx_webhook_passthrough_v1_telnyx_webhooks__org_id__post",
        "parameters": [
          {
            "name": "org_id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Org Id"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "title": "Response Telnyx Webhook Passthrough V1 Telnyx Webhooks  Org Id  Post"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        },
        "x-valstorm-runtime": "open-api (Python :8010)",
        "x-valstorm-service": "open-api",
        "x-valstorm-port": 8010
      }
    },
    "/v1/webhooks/telnyx/{org_id}": {
      "post": {
        "tags": [
          "telnyx"
        ],
        "summary": "Telnyx Call Control v2 & SMS/MMS Webhook Handler (Go)",
        "description": "Processes real-time Telnyx Call Control v2 state transitions, inbound/outbound SMS & Group MMS events, and recording transcription triggers directly in Go.\n\n> **Dual-Runtime Ingress:** High-speed Go handler on `open-worker (:8080)` with Python route parity on `open-api (:8010)`.",
        "operationId": "telnyx_webhook_ingest_go",
        "parameters": [
          {
            "in": "path",
            "name": "org_id",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            },
            "description": "Successful Response"
          }
        },
        "x-valstorm-runtime": "open-worker (Go :8080) + open-api (Python :8010)",
        "x-valstorm-service": "open-worker + open-api",
        "x-valstorm-port": 8080,
        "x-valstorm-plugin": "telnyx",
        "x-valstorm-scope": "public"
      }
    },
    "/v1/twilio/setup-guide": {
      "get": {
        "tags": [
          "twilio"
        ],
        "summary": "Get Twilio Setup Guide",
        "operationId": "get_twilio_setup_guide_v1_twilio_setup_guide_get",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "parameters": [
          {
            "name": "X-Organization-ID",
            "in": "header",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Organization-Id"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "title": "Response Get Twilio Setup Guide V1 Twilio Setup Guide Get"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        },
        "x-valstorm-runtime": "open-api (Python :8010)",
        "x-valstorm-service": "open-api",
        "x-valstorm-port": 8010
      }
    },
    "/v1/twilio/verify": {
      "post": {
        "tags": [
          "twilio"
        ],
        "summary": "Verify Twilio Connection",
        "operationId": "verify_twilio_connection_v1_twilio_verify_post",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "parameters": [
          {
            "name": "X-Organization-ID",
            "in": "header",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Organization-Id"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "title": "Response Verify Twilio Connection V1 Twilio Verify Post"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        },
        "x-valstorm-runtime": "open-api (Python :8010)",
        "x-valstorm-service": "open-api",
        "x-valstorm-port": 8010
      }
    },
    "/v1/twilio/admin/credentials": {
      "post": {
        "tags": [
          "twilio"
        ],
        "summary": "Save Twilio Credentials",
        "operationId": "save_twilio_credentials_v1_twilio_admin_credentials_post",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "parameters": [
          {
            "name": "X-Organization-ID",
            "in": "header",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Organization-Id"
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/TwilioCredentialsPayload"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "title": "Response Save Twilio Credentials V1 Twilio Admin Credentials Post"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        },
        "x-valstorm-runtime": "open-api (Python :8010)",
        "x-valstorm-service": "open-api",
        "x-valstorm-port": 8010
      }
    },
    "/v1/twilio/admin/numbers/sync": {
      "post": {
        "tags": [
          "twilio"
        ],
        "summary": "Sync Twilio Numbers",
        "operationId": "sync_twilio_numbers_v1_twilio_admin_numbers_sync_post",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "parameters": [
          {
            "name": "X-Organization-ID",
            "in": "header",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Organization-Id"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "title": "Response Sync Twilio Numbers V1 Twilio Admin Numbers Sync Post"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        },
        "x-valstorm-runtime": "open-api (Python :8010)",
        "x-valstorm-service": "open-api",
        "x-valstorm-port": 8010
      }
    },
    "/v1/twilio/admin/numbers/search": {
      "get": {
        "tags": [
          "twilio"
        ],
        "summary": "Search Twilio Numbers",
        "operationId": "search_twilio_numbers_v1_twilio_admin_numbers_search_get",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "parameters": [
          {
            "name": "area_code",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Area Code"
            }
          },
          {
            "name": "country_code",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "default": "US",
              "title": "Country Code"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "default": 10,
              "title": "Limit"
            }
          },
          {
            "name": "X-Organization-ID",
            "in": "header",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Organization-Id"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "title": "Response Search Twilio Numbers V1 Twilio Admin Numbers Search Get"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        },
        "x-valstorm-runtime": "open-api (Python :8010)",
        "x-valstorm-service": "open-api",
        "x-valstorm-port": 8010
      }
    },
    "/v1/twilio/admin/numbers/order": {
      "post": {
        "tags": [
          "twilio"
        ],
        "summary": "Order Twilio Number",
        "operationId": "order_twilio_number_v1_twilio_admin_numbers_order_post",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "parameters": [
          {
            "name": "X-Organization-ID",
            "in": "header",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Organization-Id"
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/TwilioOrderNumberPayload"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "title": "Response Order Twilio Number V1 Twilio Admin Numbers Order Post"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        },
        "x-valstorm-runtime": "open-api (Python :8010)",
        "x-valstorm-service": "open-api",
        "x-valstorm-port": 8010
      }
    },
    "/v1/twilio/message": {
      "post": {
        "tags": [
          "twilio"
        ],
        "summary": "Send Twilio Message",
        "operationId": "send_twilio_message_v1_twilio_message_post",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "parameters": [
          {
            "name": "X-Organization-ID",
            "in": "header",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Organization-Id"
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/TwilioMessagePayload"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "title": "Response Send Twilio Message V1 Twilio Message Post"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        },
        "x-valstorm-runtime": "open-api (Python :8010)",
        "x-valstorm-service": "open-api",
        "x-valstorm-port": 8010
      }
    },
    "/v1/twilio/conversation": {
      "post": {
        "tags": [
          "twilio"
        ],
        "summary": "Create Twilio Conversation",
        "operationId": "create_twilio_conversation_v1_twilio_conversation_post",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "parameters": [
          {
            "name": "X-Organization-ID",
            "in": "header",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Organization-Id"
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/TwilioConversationPayload"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "title": "Response Create Twilio Conversation V1 Twilio Conversation Post"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        },
        "x-valstorm-runtime": "open-api (Python :8010)",
        "x-valstorm-service": "open-api",
        "x-valstorm-port": 8010
      }
    },
    "/v1/twilio/call": {
      "post": {
        "tags": [
          "twilio"
        ],
        "summary": "Initiate Twilio Call",
        "operationId": "initiate_twilio_call_v1_twilio_call_post",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "parameters": [
          {
            "name": "X-Organization-ID",
            "in": "header",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Organization-Id"
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/TwilioCallPayload"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "title": "Response Initiate Twilio Call V1 Twilio Call Post"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        },
        "x-valstorm-runtime": "open-api (Python :8010)",
        "x-valstorm-service": "open-api",
        "x-valstorm-port": 8010
      }
    },
    "/v1/twilio/lookup/{phone_number}": {
      "get": {
        "tags": [
          "twilio"
        ],
        "summary": "Lookup Twilio Phone Number",
        "operationId": "lookup_twilio_phone_number_v1_twilio_lookup__phone_number__get",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "parameters": [
          {
            "name": "phone_number",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Phone Number"
            }
          },
          {
            "name": "X-Organization-ID",
            "in": "header",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Organization-Id"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "title": "Response Lookup Twilio Phone Number V1 Twilio Lookup  Phone Number  Get"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        },
        "x-valstorm-runtime": "open-api (Python :8010)",
        "x-valstorm-service": "open-api",
        "x-valstorm-port": 8010
      }
    },
    "/v1/twilio/call/available": {
      "post": {
        "tags": [
          "twilio"
        ],
        "summary": "Update Twilio Call Availability",
        "operationId": "update_twilio_call_availability_v1_twilio_call_available_post",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "parameters": [
          {
            "name": "X-Organization-ID",
            "in": "header",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Organization-Id"
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/TwilioCallAvailabilityPayload"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "title": "Response Update Twilio Call Availability V1 Twilio Call Available Post"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        },
        "x-valstorm-runtime": "open-api (Python :8010)",
        "x-valstorm-service": "open-api",
        "x-valstorm-port": 8010
      }
    },
    "/v1/twilio/media/recording/{sid}": {
      "get": {
        "tags": [
          "twilio"
        ],
        "summary": "Get Twilio Call Recording",
        "operationId": "get_twilio_call_recording_v1_twilio_media_recording__sid__get",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "parameters": [
          {
            "name": "sid",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Sid"
            }
          },
          {
            "name": "format",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "default": "mp3",
              "title": "Format"
            }
          },
          {
            "name": "X-Organization-ID",
            "in": "header",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Organization-Id"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {}
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        },
        "x-valstorm-runtime": "open-api (Python :8010)",
        "x-valstorm-service": "open-api",
        "x-valstorm-port": 8010
      }
    },
    "/v1/webhooks/twilio/{org_id}": {
      "post": {
        "tags": [
          "twilio"
        ],
        "summary": "Twilio Voice & Programmable Messaging Webhook Handler (Go)",
        "description": "Processes real-time Twilio Voice status callbacks, Conversations v1 webhooks, and inbound SMS/MMS events directly via Go `PlatformContext`.\n\n> **Dual-Runtime Ingress:** High-speed Go handler on `open-worker (:8080)` with Python route parity on `open-api (:8010)`.",
        "operationId": "twilio_webhook_ingest_go",
        "parameters": [
          {
            "in": "path",
            "name": "org_id",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            },
            "description": "Successful Response"
          }
        },
        "x-valstorm-runtime": "open-worker (Go :8080) + open-api (Python :8010)",
        "x-valstorm-service": "open-worker + open-api",
        "x-valstorm-port": 8080,
        "x-valstorm-plugin": "twilio",
        "x-valstorm-scope": "public"
      }
    },
    "/v1/twilio/call/recording/{org_id}": {
      "post": {
        "tags": [
          "twilio-webhooks"
        ],
        "summary": "Receive Twilio Webhook",
        "description": "Tenant-scoped Twilio Conversations & Voice webhook relay.\nEnqueues `twilio:webhook_*` tasks to the Go worker (`plugins/valstorm-plugin-twilio/go`).",
        "operationId": "receive_twilio_webhook_v1_twilio_call_recording__org_id__post",
        "parameters": [
          {
            "name": "org_id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Org Id"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "title": "Response Receive Twilio Webhook V1 Twilio Call Recording  Org Id  Post"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        },
        "x-valstorm-runtime": "open-api (Python :8010)",
        "x-valstorm-service": "open-api",
        "x-valstorm-port": 8010
      }
    },
    "/v1/twilio/call/recording/callback/{org_id}": {
      "post": {
        "tags": [
          "twilio-webhooks"
        ],
        "summary": "Receive Twilio Webhook",
        "description": "Tenant-scoped Twilio Conversations & Voice webhook relay.\nEnqueues `twilio:webhook_*` tasks to the Go worker (`plugins/valstorm-plugin-twilio/go`).",
        "operationId": "receive_twilio_webhook_v1_twilio_call_recording_callback__org_id__post",
        "parameters": [
          {
            "name": "org_id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Org Id"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "title": "Response Receive Twilio Webhook V1 Twilio Call Recording Callback  Org Id  Post"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        },
        "x-valstorm-runtime": "open-api (Python :8010)",
        "x-valstorm-service": "open-api",
        "x-valstorm-port": 8010
      }
    },
    "/v1/twilio/call/callback/{org_id}": {
      "post": {
        "tags": [
          "twilio-webhooks"
        ],
        "summary": "Receive Twilio Webhook",
        "description": "Tenant-scoped Twilio Conversations & Voice webhook relay.\nEnqueues `twilio:webhook_*` tasks to the Go worker (`plugins/valstorm-plugin-twilio/go`).",
        "operationId": "receive_twilio_webhook_v1_twilio_call_callback__org_id__post",
        "parameters": [
          {
            "name": "org_id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Org Id"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "title": "Response Receive Twilio Webhook V1 Twilio Call Callback  Org Id  Post"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        },
        "x-valstorm-runtime": "open-api (Python :8010)",
        "x-valstorm-service": "open-api",
        "x-valstorm-port": 8010
      }
    },
    "/v1/twilio/conversation/{org_id}/post-webhook": {
      "post": {
        "tags": [
          "twilio-webhooks"
        ],
        "summary": "Receive Twilio Webhook",
        "description": "Tenant-scoped Twilio Conversations & Voice webhook relay.\nEnqueues `twilio:webhook_*` tasks to the Go worker (`plugins/valstorm-plugin-twilio/go`).",
        "operationId": "receive_twilio_webhook_v1_twilio_conversation__org_id__post_webhook_post",
        "parameters": [
          {
            "name": "org_id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Org Id"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "title": "Response Receive Twilio Webhook V1 Twilio Conversation  Org Id  Post Webhook Post"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        },
        "x-valstorm-runtime": "open-api (Python :8010)",
        "x-valstorm-service": "open-api",
        "x-valstorm-port": 8010
      }
    },
    "/v1/routes": {
      "get": {
        "tags": [
          "system"
        ],
        "summary": "List Available Routes",
        "description": "Returns all registered API routes and their canonical OAuth/permission scopes.",
        "operationId": "list_available_routes_v1_routes_get",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "parameters": [
          {
            "name": "X-Organization-ID",
            "in": "header",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Organization-Id"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {}
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        },
        "x-valstorm-runtime": "open-api (Python :8010)",
        "x-valstorm-service": "open-api",
        "x-valstorm-port": 8010
      }
    },
    "/health": {
      "get": {
        "description": "Returns service health, version, and UTC timestamp for the Go open-worker runtime.",
        "operationId": "open_worker_health",
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            },
            "description": "Successful Response"
          }
        },
        "summary": "Open Worker Health Check",
        "tags": [
          "system"
        ],
        "x-valstorm-port": 8080,
        "x-valstorm-runtime": "open-worker (Go :8080)",
        "x-valstorm-scope": "public",
        "x-valstorm-service": "open-worker"
      }
    },
    "/v1/deployment/install": {
      "post": {
        "description": "Compiles PostgreSQL tables/columns and upserts standard records for an app bundle into a single target organization database.",
        "operationId": "deployment_single_tenant_install",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "properties": {
                  "app_id": {
                    "type": "string"
                  },
                  "org_id": {
                    "type": "string"
                  }
                },
                "required": [
                  "org_id",
                  "app_id"
                ],
                "type": "object"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            },
            "description": "Successful Response"
          }
        },
        "summary": "Install App Bundle into Single Tenant Database",
        "tags": [
          "deployment"
        ],
        "x-valstorm-port": 8080,
        "x-valstorm-runtime": "open-worker (Go :8080)",
        "x-valstorm-scope": "deployment:write",
        "x-valstorm-service": "open-worker"
      }
    },
    "/v1/deployment/rollout": {
      "post": {
        "description": "Executes concurrent (`errgroup`) multi-tenant PostgreSQL schema DDL compilation and marketplace app bundle installation across all subscribed tenant databases.",
        "operationId": "deployment_fleet_rollout",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "properties": {
                  "app_id": {
                    "description": "Marketplace App ID (e.g. app_0Ik4pJ5P60Bk7x1u)",
                    "type": "string"
                  },
                  "concurrency": {
                    "default": 10,
                    "type": "integer"
                  },
                  "target_orgs": {
                    "items": {
                      "type": "string"
                    },
                    "type": "array"
                  }
                },
                "required": [
                  "app_id"
                ],
                "type": "object"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            },
            "description": "Successful Response"
          }
        },
        "summary": "Execute Concurrent Fleet-Wide App Bundle & DDL Rollout",
        "tags": [
          "deployment"
        ],
        "x-valstorm-port": 8080,
        "x-valstorm-runtime": "open-worker (Go :8080)",
        "x-valstorm-scope": "deployment:write",
        "x-valstorm-service": "open-worker"
      }
    },
    "/v1/deployment/status/{job_id}": {
      "get": {
        "description": "Retrieves real-time progress, completed tenant counts, and per-tenant errors for a fleet deployment rollout job.",
        "operationId": "deployment_rollout_status",
        "parameters": [
          {
            "in": "path",
            "name": "job_id",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            },
            "description": "Successful Response"
          }
        },
        "summary": "Get Fleet App Deployment Job Status",
        "tags": [
          "deployment"
        ],
        "x-valstorm-port": 8080,
        "x-valstorm-runtime": "open-worker (Go :8080)",
        "x-valstorm-scope": "deployment:read",
        "x-valstorm-service": "open-worker"
      }
    },
    "/v1/email-services/sendgrid/webhook/{org_id}": {
      "post": {
        "description": "Ingests high-volume SendGrid delivery, bounce, open, and click webhook batches directly into tenant PostgreSQL (`sgem_`).",
        "operationId": "sendgrid_event_webhook_go",
        "parameters": [
          {
            "in": "path",
            "name": "org_id",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            },
            "description": "Successful Response"
          }
        },
        "summary": "SendGrid Email Delivery & Engagement Event Webhook (Go)",
        "tags": [
          "sendgrid"
        ],
        "x-valstorm-plugin": "sendgrid",
        "x-valstorm-port": 8080,
        "x-valstorm-runtime": "open-worker (Go :8080)",
        "x-valstorm-scope": "public",
        "x-valstorm-service": "open-worker"
      }
    },
    "/v1/inbound/submit": {
      "post": {
        "description": "Ingests public web form submissions, sanitizes fields against the tenant's PostgreSQL schema cache, inserts the target record (`lead`, `contact`, `ticket`), broadcasts real-time CUD over WebSockets, and relays async triggers.",
        "operationId": "inbound_form_submit_go",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "properties": {
                  "data": {
                    "type": "object"
                  },
                  "object_name": {
                    "default": "lead",
                    "type": "string"
                  },
                  "org_id": {
                    "type": "string"
                  }
                },
                "required": [
                  "org_id",
                  "data"
                ],
                "type": "object"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            },
            "description": "Successful Response"
          }
        },
        "summary": "High-Throughput Public Form & Lead Ingestion (Go)",
        "tags": [
          "inbound"
        ],
        "x-valstorm-plugin": "inbound",
        "x-valstorm-port": 8080,
        "x-valstorm-runtime": "open-worker (Go :8080)",
        "x-valstorm-scope": "public",
        "x-valstorm-service": "open-worker"
      }
    },
    "/v1/inbound/webhook": {
      "post": {
        "description": "Ingests external webhook payloads directly into tenant PostgreSQL tables and enqueues downstream workflow triggers via native Go `PlatformContext`.",
        "operationId": "inbound_webhook_ingest_go",
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            },
            "description": "Successful Response"
          }
        },
        "summary": "High-Throughput Inbound Webhook Ingestion (Go)",
        "tags": [
          "inbound"
        ],
        "x-valstorm-plugin": "inbound",
        "x-valstorm-port": 8080,
        "x-valstorm-runtime": "open-worker (Go :8080)",
        "x-valstorm-scope": "public",
        "x-valstorm-service": "open-worker"
      }
    },
    "/v1/ws/desktop/execute": {
      "post": {
        "description": "Validates the caller's Bearer JWT and publishes a `DESKTOP_COMMAND` envelope over Valkey Pub/Sub (`{org_id}/{target_user_id}/{target_device_id}`) to a connected Valstorm Desktop / vsagent daemon.",
        "operationId": "ws_desktop_execute",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "properties": {
                  "command_type": {
                    "example": "ai_prompt",
                    "type": "string"
                  },
                  "payload": {
                    "type": "object"
                  },
                  "target_device_id": {
                    "type": "string"
                  },
                  "target_user_id": {
                    "type": "string"
                  }
                },
                "required": [
                  "target_user_id",
                  "target_device_id",
                  "command_type"
                ],
                "type": "object"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            },
            "description": "Successful Response"
          }
        },
        "summary": "Dispatch Remote Command to Connected Desktop Client",
        "tags": [
          "websocket"
        ],
        "x-valstorm-port": 8080,
        "x-valstorm-runtime": "open-worker (Go :8080)",
        "x-valstorm-scope": "websocket:execute",
        "x-valstorm-service": "open-worker"
      }
    },
    "/v1/ws/send_message": {
      "post": {
        "description": "Publishes a real-time JSON event payload to an organization (`{org_id}`) or user (`{org_id}/{user_id}`) Valkey Pub/Sub channel and broadcasts to all subscribed WebSocket clients.",
        "operationId": "ws_send_message",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "properties": {
                  "data": {
                    "description": "JSON payload to broadcast",
                    "type": "object"
                  },
                  "org_id": {
                    "description": "Target organization ID",
                    "type": "string"
                  },
                  "user_id": {
                    "description": "Optional target user ID",
                    "type": "string"
                  }
                },
                "required": [
                  "data"
                ],
                "type": "object"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            },
            "description": "Successful Response"
          }
        },
        "summary": "Publish Real-Time Message to WebSocket Channel",
        "tags": [
          "websocket"
        ],
        "x-valstorm-port": 8080,
        "x-valstorm-runtime": "open-worker (Go :8080)",
        "x-valstorm-scope": "websocket:publish",
        "x-valstorm-service": "open-worker"
      }
    },
    "/v1/ws/{org_id}/{user_id}": {
      "get": {
        "description": "Upgrades the connection to a persistent bi-directional WebSocket subscribed to `{org_id}`, `{org_id}/{user_id}`, and optional `{org_id}/{user_id}/{device_id}` CUD and AI stream channels.",
        "operationId": "ws_upgrade_channel",
        "parameters": [
          {
            "in": "path",
            "name": "org_id",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "user_id",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Bearer JWT or PAT token",
            "in": "query",
            "name": "token",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Optional workstation device ID",
            "in": "query",
            "name": "device_id",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            },
            "description": "Successful Response"
          }
        },
        "summary": "Upgrade HTTP Connection to Real-Time WebSocket Stream",
        "tags": [
          "websocket"
        ],
        "x-valstorm-port": 8080,
        "x-valstorm-runtime": "open-worker (Go :8080)",
        "x-valstorm-scope": "websocket:connect",
        "x-valstorm-service": "open-worker"
      }
    },
    "/v1/runs": {
      "post": {
        "operationId": "agent_runtime_create_run",
        "summary": "Start Autonomous Cloud ReAct Agent Run",
        "description": "Spawns an isolated multi-turn ReAct agent execution run (`run_id`) on `open-agent-runtime` (:8660) with cross-plugin tools, subagent delegation, and SSE event streaming.",
        "tags": [
          "agent-runtime"
        ],
        "x-valstorm-runtime": "open-agent-runtime (Python :8660)",
        "x-valstorm-service": "open-agent-runtime",
        "x-valstorm-port": 8660,
        "x-valstorm-scope": "ai:write",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "input": {
                    "type": "string",
                    "description": "User prompt or autonomous goal"
                  },
                  "chat_id": {
                    "type": "string",
                    "description": "Parent ai_chat ID (aich_...)"
                  },
                  "profile": {
                    "type": "string",
                    "default": "chief-of-staff",
                    "description": "Agent profile slug (developer, researcher, chief-of-staff)"
                  },
                  "model": {
                    "type": "string",
                    "default": "gemini-flash-latest"
                  },
                  "reasoning_effort": {
                    "type": "string",
                    "enum": [
                      "low",
                      "medium",
                      "high"
                    ]
                  },
                  "execution_environment": {
                    "type": "string",
                    "enum": [
                      "cloud",
                      "docker",
                      "host"
                    ],
                    "default": "cloud"
                  }
                },
                "required": [
                  "input"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Run initialized with run_id"
          }
        }
      }
    },
    "/v1/runs/{run_id}/events": {
      "get": {
        "operationId": "agent_runtime_stream_events",
        "summary": "Stream Live ReAct Agent Run SSE Events",
        "description": "Server-Sent Events (SSE) stream emitting `run.started`, `message.delta`, `tool.started`, `tool.completed`, `subagent.status`, and `run.completed` events.",
        "tags": [
          "agent-runtime"
        ],
        "x-valstorm-runtime": "open-agent-runtime (Python :8660)",
        "x-valstorm-service": "open-agent-runtime",
        "x-valstorm-port": 8660,
        "x-valstorm-scope": "ai:read",
        "parameters": [
          {
            "name": "run_id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "text/event-stream SSE feed"
          }
        }
      }
    },
    "/v1/scrape": {
      "post": {
        "operationId": "web_scraper_scrape_url",
        "summary": "3-Tier Waterfall Web Scrape to Clean Markdown",
        "description": "Scrapes a public URL via `open-web-scraper` (:8661) using the 3-tier waterfall (Fast HTTP/2 -> Stealth Headless Playwright Chromium -> Firecrawl), caches with Zstandard (`zstd`) in PostgreSQL + Valkey, and optionally ingests directly into a VFS Vault.",
        "tags": [
          "web-scraper"
        ],
        "x-valstorm-runtime": "open-web-scraper (Python :8661)",
        "x-valstorm-service": "open-web-scraper",
        "x-valstorm-port": 8661,
        "x-valstorm-scope": "vfs:write",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "url": {
                    "type": "string",
                    "description": "Target URL to scrape"
                  },
                  "force_refresh": {
                    "type": "boolean",
                    "default": false
                  },
                  "ingest_to_vfs": {
                    "type": "boolean",
                    "default": false
                  },
                  "vault_id": {
                    "type": "string",
                    "default": "root"
                  }
                },
                "required": [
                  "url"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Cleaned Markdown + compression metrics"
          }
        }
      }
    },
    "/v1/crawl": {
      "post": {
        "operationId": "web_scraper_crawl_domain",
        "summary": "Multi-Page Domain Crawler with VFS Vault Ingestion",
        "description": "Discovers internal links and crawls up to `max_pages` across a target domain with SSRF protection and bounded concurrency.",
        "tags": [
          "web-scraper"
        ],
        "x-valstorm-runtime": "open-web-scraper (Python :8661)",
        "x-valstorm-service": "open-web-scraper",
        "x-valstorm-port": 8661,
        "x-valstorm-scope": "vfs:write",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "url": {
                    "type": "string"
                  },
                  "max_pages": {
                    "type": "integer",
                    "default": 10
                  },
                  "ingest_to_vfs": {
                    "type": "boolean",
                    "default": false
                  }
                },
                "required": [
                  "url"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Aggregated Markdown map for crawled pages"
          }
        }
      }
    },
    "/v1/feed/poll": {
      "post": {
        "operationId": "web_scraper_poll_feed",
        "summary": "Poll RSS 2.0 / Atom Feed to Clean Markdown",
        "description": "Polls an RSS 2.0 or Atom XML feed and returns recent articles converted to clean Markdown.",
        "tags": [
          "web-scraper"
        ],
        "x-valstorm-runtime": "open-web-scraper (Python :8661)",
        "x-valstorm-service": "open-web-scraper",
        "x-valstorm-port": 8661,
        "x-valstorm-scope": "public",
        "responses": {
          "200": {
            "description": "Parsed feed items"
          }
        }
      }
    },
    "/v1/diff": {
      "post": {
        "operationId": "web_scraper_content_diff",
        "summary": "Compare Live Webpage Against Zstd PostgreSQL Archive",
        "description": "Compares the live version of a webpage against its previously archived Zstandard snapshot in PostgreSQL to detect pricing or content changes.",
        "tags": [
          "web-scraper"
        ],
        "x-valstorm-runtime": "open-web-scraper (Python :8661)",
        "x-valstorm-service": "open-web-scraper",
        "x-valstorm-port": 8661,
        "x-valstorm-scope": "public",
        "responses": {
          "200": {
            "description": "Unified diff and change summary"
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "AcceptActivationInvite": {
        "properties": {
          "activation_code": {
            "type": "string",
            "title": "Activation Code"
          },
          "organization_id": {
            "type": "string",
            "title": "Organization Id"
          },
          "user_id": {
            "type": "string",
            "title": "User Id"
          }
        },
        "type": "object",
        "required": [
          "activation_code",
          "organization_id",
          "user_id"
        ],
        "title": "AcceptActivationInvite"
      },
      "AddFactPayload": {
        "properties": {
          "fact": {
            "type": "string",
            "title": "Fact"
          },
          "category": {
            "type": "string",
            "title": "Category",
            "default": "general"
          },
          "source_chat_id": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Source Chat Id"
          },
          "confidence": {
            "type": "number",
            "title": "Confidence",
            "default": 1
          },
          "supersedes": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Supersedes"
          }
        },
        "type": "object",
        "required": [
          "fact"
        ],
        "title": "AddFactPayload"
      },
      "AgentChatPayload": {
        "properties": {
          "message": {
            "type": "string",
            "title": "Message",
            "default": ""
          },
          "user_message": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "User Message"
          },
          "ai_chat": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Ai Chat"
          },
          "agent_id": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Agent Id"
          },
          "model": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Model",
            "default": "gemini-flash-latest"
          },
          "reasoning_effort": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Reasoning Effort"
          },
          "system_prompt": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "System Prompt"
          },
          "allowed_tools": {
            "anyOf": [
              {
                "items": {
                  "type": "string"
                },
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "title": "Allowed Tools"
          },
          "ui_context": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Ui Context"
          },
          "execution_environment": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Execution Environment"
          },
          "device": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Device"
          },
          "vsagent_api_key": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Vsagent Api Key"
          },
          "hermes_api_key": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Hermes Api Key"
          },
          "session_id": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Session Id"
          },
          "provider": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Provider"
          },
          "chat_name": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Chat Name"
          },
          "related_to": {
            "anyOf": [
              {},
              {
                "type": "null"
              }
            ],
            "title": "Related To"
          },
          "files": {
            "anyOf": [
              {
                "items": {},
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "title": "Files"
          },
          "attachments": {
            "anyOf": [
              {
                "items": {
                  "additionalProperties": true,
                  "type": "object"
                },
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "title": "Attachments"
          },
          "run_id": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Run Id"
          },
          "step_id": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Step Id"
          },
          "parent_run_id": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Parent Run Id"
          },
          "agent_role": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Agent Role"
          },
          "tool_calls": {
            "anyOf": [
              {},
              {
                "type": "null"
              }
            ],
            "title": "Tool Calls"
          },
          "tool_result": {
            "anyOf": [
              {},
              {
                "type": "null"
              }
            ],
            "title": "Tool Result"
          },
          "run_mode": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Run Mode"
          },
          "goal": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Goal"
          },
          "context": {
            "anyOf": [
              {},
              {
                "type": "null"
              }
            ],
            "title": "Context"
          },
          "tasks": {
            "anyOf": [
              {
                "items": {
                  "additionalProperties": true,
                  "type": "object"
                },
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "title": "Tasks"
          }
        },
        "type": "object",
        "title": "AgentChatPayload"
      },
      "AiCredentialsPayload": {
        "properties": {
          "gemini_api_key": {
            "type": "string",
            "title": "Gemini Api Key"
          },
          "default_model": {
            "type": "string",
            "title": "Default Model",
            "default": "gemini-flash-latest"
          },
          "default_thinking_level": {
            "type": "string",
            "title": "Default Thinking Level",
            "default": "high"
          }
        },
        "type": "object",
        "required": [
          "gemini_api_key"
        ],
        "title": "AiCredentialsPayload"
      },
      "ApplyAppsRequest": {
        "properties": {
          "app_ids": {
            "items": {
              "type": "string"
            },
            "type": "array",
            "title": "App Ids"
          }
        },
        "type": "object",
        "required": [
          "app_ids"
        ],
        "title": "ApplyAppsRequest"
      },
      "AudienceEstimatePayload": {
        "properties": {
          "targeting_criteria": {
            "additionalProperties": true,
            "type": "object",
            "title": "Targeting Criteria"
          }
        },
        "type": "object",
        "title": "AudienceEstimatePayload"
      },
      "AutoReplenishUpdateRequest": {
        "properties": {
          "enabled": {
            "type": "boolean",
            "title": "Enabled",
            "description": "Enable or disable auto-replenishment"
          },
          "threshold": {
            "type": "number",
            "minimum": 1,
            "title": "Threshold",
            "description": "Minimum balance triggering auto top-up",
            "default": 25
          },
          "amount": {
            "type": "number",
            "minimum": 10,
            "title": "Amount",
            "description": "Amount to charge and add to credits",
            "default": 100
          }
        },
        "type": "object",
        "required": [
          "enabled"
        ],
        "title": "AutoReplenishUpdateRequest"
      },
      "AvailabilityUpdateRequest": {
        "properties": {
          "call_status": {
            "type": "string",
            "title": "Call Status",
            "default": "available"
          },
          "reset": {
            "type": "boolean",
            "title": "Reset",
            "default": false
          },
          "user_id": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "User Id"
          },
          "available_for_mobile_calls": {
            "anyOf": [
              {
                "type": "boolean"
              },
              {
                "type": "null"
              }
            ],
            "title": "Available For Mobile Calls"
          },
          "available_for_web_calls": {
            "anyOf": [
              {
                "type": "boolean"
              },
              {
                "type": "null"
              }
            ],
            "title": "Available For Web Calls"
          },
          "allow_mobile_calls": {
            "anyOf": [
              {
                "type": "boolean"
              },
              {
                "type": "null"
              }
            ],
            "title": "Allow Mobile Calls"
          },
          "allow_web_calls": {
            "anyOf": [
              {
                "type": "boolean"
              },
              {
                "type": "null"
              }
            ],
            "title": "Allow Web Calls"
          },
          "has_mobile_app": {
            "anyOf": [
              {
                "type": "boolean"
              },
              {
                "type": "null"
              }
            ],
            "title": "Has Mobile App"
          }
        },
        "type": "object",
        "title": "AvailabilityUpdateRequest"
      },
      "AxisField": {
        "properties": {
          "key": {
            "type": "string",
            "title": "Key"
          },
          "label": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Label"
          },
          "aggregate": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Aggregate"
          },
          "groupByDateTime": {
            "anyOf": [
              {
                "type": "string",
                "enum": [
                  "Minute",
                  "Hour",
                  "Day",
                  "Week",
                  "Month",
                  "Quarter",
                  "Year"
                ]
              },
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Groupbydatetime"
          },
          "cumulative": {
            "anyOf": [
              {
                "type": "boolean"
              },
              {
                "type": "null"
              }
            ],
            "title": "Cumulative",
            "default": false
          }
        },
        "type": "object",
        "required": [
          "key"
        ],
        "title": "AxisField"
      },
      "Body_create_public_file_api_v1_files_public_post": {
        "properties": {
          "file": {
            "anyOf": [
              {
                "type": "string",
                "contentMediaType": "application/octet-stream"
              },
              {
                "type": "null"
              }
            ],
            "title": "File"
          },
          "files": {
            "anyOf": [
              {
                "items": {
                  "type": "string",
                  "contentMediaType": "application/octet-stream"
                },
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "title": "Files"
          },
          "filename": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Filename"
          },
          "vaults": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Vaults"
          },
          "vault_id": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Vault Id"
          },
          "compression_config": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Compression Config"
          }
        },
        "type": "object",
        "title": "Body_create_public_file_api_v1_files_public_post"
      },
      "Body_create_support_ticket_route_v1_support_tickets_post": {
        "properties": {
          "subject": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Subject"
          },
          "email": {
            "anyOf": [
              {
                "type": "string",
                "format": "email"
              },
              {
                "type": "null"
              }
            ],
            "title": "Email"
          },
          "name": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Name",
            "default": "Valstorm User"
          },
          "type": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Type",
            "default": "support"
          },
          "description": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Description"
          },
          "phone": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Phone"
          },
          "company_name": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Company Name"
          },
          "organization_id": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Organization Id"
          },
          "files": {
            "items": {
              "type": "string",
              "contentMediaType": "application/octet-stream"
            },
            "type": "array",
            "title": "Files"
          }
        },
        "type": "object",
        "title": "Body_create_support_ticket_route_v1_support_tickets_post"
      },
      "Body_direct_upload_api_v1_files__post": {
        "properties": {
          "file": {
            "anyOf": [
              {
                "type": "string",
                "contentMediaType": "application/octet-stream"
              },
              {
                "type": "null"
              }
            ],
            "title": "File"
          },
          "files": {
            "anyOf": [
              {
                "items": {
                  "type": "string",
                  "contentMediaType": "application/octet-stream"
                },
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "title": "Files"
          },
          "filename": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Filename"
          },
          "is_public": {
            "type": "boolean",
            "title": "Is Public",
            "default": false
          },
          "public_file": {
            "anyOf": [
              {
                "type": "boolean"
              },
              {
                "type": "null"
              }
            ],
            "title": "Public File"
          },
          "vaults": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Vaults"
          },
          "vault_id": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Vault Id"
          },
          "compression_config": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Compression Config"
          }
        },
        "type": "object",
        "title": "Body_direct_upload_api_v1_files__post"
      },
      "Body_direct_upload_api_v1_files_post": {
        "properties": {
          "file": {
            "anyOf": [
              {
                "type": "string",
                "contentMediaType": "application/octet-stream"
              },
              {
                "type": "null"
              }
            ],
            "title": "File"
          },
          "files": {
            "anyOf": [
              {
                "items": {
                  "type": "string",
                  "contentMediaType": "application/octet-stream"
                },
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "title": "Files"
          },
          "filename": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Filename"
          },
          "is_public": {
            "type": "boolean",
            "title": "Is Public",
            "default": false
          },
          "public_file": {
            "anyOf": [
              {
                "type": "boolean"
              },
              {
                "type": "null"
              }
            ],
            "title": "Public File"
          },
          "vaults": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Vaults"
          },
          "vault_id": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Vault Id"
          },
          "compression_config": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Compression Config"
          }
        },
        "type": "object",
        "title": "Body_direct_upload_api_v1_files_post"
      },
      "Body_insert_rows_v1_gcp_bigquery_insert_post": {
        "properties": {
          "dataset": {
            "type": "string",
            "title": "Dataset"
          },
          "table": {
            "type": "string",
            "title": "Table"
          },
          "rows": {
            "items": {
              "additionalProperties": true,
              "type": "object"
            },
            "type": "array",
            "title": "Rows"
          }
        },
        "type": "object",
        "required": [
          "dataset",
          "table",
          "rows"
        ],
        "title": "Body_insert_rows_v1_gcp_bigquery_insert_post"
      },
      "Body_preview_document_route_v1_document_preview_post": {
        "properties": {
          "template_id": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Template Id"
          },
          "file_id": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "File Id"
          },
          "file": {
            "anyOf": [
              {
                "type": "string",
                "contentMediaType": "application/octet-stream"
              },
              {
                "type": "null"
              }
            ],
            "title": "File"
          },
          "fields_metadata": {
            "type": "string",
            "title": "Fields Metadata",
            "default": "[]"
          },
          "record_data": {
            "type": "string",
            "title": "Record Data",
            "default": "{}"
          }
        },
        "type": "object",
        "title": "Body_preview_document_route_v1_document_preview_post"
      },
      "Body_publish_v1_gcp_pubsub_publish_post": {
        "properties": {
          "topic": {
            "type": "string",
            "title": "Topic"
          },
          "data": {
            "type": "string",
            "title": "Data"
          },
          "attributes": {
            "anyOf": [
              {
                "additionalProperties": {
                  "type": "string"
                },
                "type": "object"
              },
              {
                "type": "null"
              }
            ],
            "title": "Attributes"
          }
        },
        "type": "object",
        "required": [
          "topic",
          "data"
        ],
        "title": "Body_publish_v1_gcp_pubsub_publish_post"
      },
      "Body_query_v1_gcp_bigquery_query_post": {
        "properties": {
          "query": {
            "type": "string",
            "title": "Query"
          },
          "params": {
            "anyOf": [
              {
                "additionalProperties": true,
                "type": "object"
              },
              {
                "type": "null"
              }
            ],
            "title": "Params"
          },
          "dataset": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Dataset"
          }
        },
        "type": "object",
        "required": [
          "query"
        ],
        "title": "Body_query_v1_gcp_bigquery_query_post"
      },
      "Body_transcribe_audio_route_v1_ai_audio_transcribe_post": {
        "properties": {
          "file": {
            "type": "string",
            "contentMediaType": "application/octet-stream",
            "title": "File"
          }
        },
        "type": "object",
        "required": [
          "file"
        ],
        "title": "Body_transcribe_audio_route_v1_ai_audio_transcribe_post"
      },
      "Body_transcribe_recording_compat_v1_ai_recording_transcribe_post": {
        "properties": {
          "file": {
            "anyOf": [
              {
                "type": "string",
                "contentMediaType": "application/octet-stream"
              },
              {
                "type": "null"
              }
            ],
            "title": "File"
          }
        },
        "type": "object",
        "title": "Body_transcribe_recording_compat_v1_ai_recording_transcribe_post"
      },
      "Body_upload_vfs_file_api_v1_vfs_upload_post": {
        "properties": {
          "file": {
            "type": "string",
            "contentMediaType": "application/octet-stream",
            "title": "File"
          },
          "vault_id": {
            "type": "string",
            "title": "Vault Id"
          },
          "is_public": {
            "type": "boolean",
            "title": "Is Public",
            "default": false
          }
        },
        "type": "object",
        "required": [
          "file",
          "vault_id"
        ],
        "title": "Body_upload_vfs_file_api_v1_vfs_upload_post"
      },
      "BookingLinkUpsertPayload": {
        "properties": {
          "slug": {
            "type": "string",
            "title": "Slug"
          },
          "title": {
            "type": "string",
            "title": "Title"
          },
          "description": {
            "type": "string",
            "title": "Description",
            "default": ""
          },
          "duration_minutes": {
            "type": "integer",
            "title": "Duration Minutes",
            "default": 15
          },
          "host_name": {
            "type": "string",
            "title": "Host Name",
            "default": "Jared Simpson"
          },
          "host_email": {
            "type": "string",
            "title": "Host Email",
            "default": "jared@valstorm.com"
          },
          "host_timezone": {
            "type": "string",
            "title": "Host Timezone",
            "default": "America/New_York"
          },
          "active": {
            "type": "boolean",
            "title": "Active",
            "default": true
          }
        },
        "type": "object",
        "required": [
          "slug",
          "title"
        ],
        "title": "BookingLinkUpsertPayload"
      },
      "CancelAgentRunPayload": {
        "properties": {
          "ai_chat": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Ai Chat"
          },
          "run_id": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Run Id"
          }
        },
        "type": "object",
        "title": "CancelAgentRunPayload"
      },
      "CliBrowserTokenResponse": {
        "properties": {
          "exchange_code": {
            "type": "string",
            "title": "Exchange Code"
          }
        },
        "type": "object",
        "required": [
          "exchange_code"
        ],
        "title": "CliBrowserTokenResponse"
      },
      "ConfirmToolPayload": {
        "properties": {
          "ai_chat": {
            "type": "string",
            "title": "Ai Chat"
          },
          "approved": {
            "type": "boolean",
            "title": "Approved"
          },
          "agent_id": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Agent Id"
          },
          "model": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Model"
          }
        },
        "type": "object",
        "required": [
          "ai_chat",
          "approved"
        ],
        "title": "ConfirmToolPayload"
      },
      "ConsumeCliTokenRequest": {
        "properties": {
          "exchange_code": {
            "type": "string",
            "title": "Exchange Code"
          }
        },
        "type": "object",
        "required": [
          "exchange_code"
        ],
        "title": "ConsumeCliTokenRequest"
      },
      "CreateCalendarEventPayload": {
        "properties": {
          "summary": {
            "type": "string",
            "title": "Summary"
          },
          "start_time": {
            "type": "string",
            "title": "Start Time"
          },
          "end_time": {
            "type": "string",
            "title": "End Time"
          },
          "attendees": {
            "items": {
              "type": "string"
            },
            "type": "array",
            "title": "Attendees"
          },
          "description": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Description"
          },
          "location": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Location"
          },
          "calendar_id": {
            "type": "string",
            "title": "Calendar Id",
            "default": "primary"
          },
          "add_google_meet": {
            "type": "boolean",
            "title": "Add Google Meet",
            "default": false
          }
        },
        "type": "object",
        "required": [
          "summary",
          "start_time",
          "end_time"
        ],
        "title": "CreateCalendarEventPayload"
      },
      "CreateCreditCheckoutSessionRequest": {
        "properties": {
          "amount": {
            "type": "number",
            "title": "Amount",
            "description": "Credit amount in USD ($1 = 1 credit, min $25, max $10,000)",
            "default": 100
          },
          "success_url": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Success Url"
          },
          "cancel_url": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Cancel Url"
          }
        },
        "type": "object",
        "title": "CreateCreditCheckoutSessionRequest"
      },
      "CreateFunctionRequest": {
        "properties": {
          "name": {
            "type": "string",
            "title": "Name"
          },
          "code": {
            "type": "string",
            "title": "Code"
          },
          "file_name": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "File Name"
          },
          "app": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "App"
          }
        },
        "type": "object",
        "required": [
          "name",
          "code"
        ],
        "title": "CreateFunctionRequest"
      },
      "CreateLinkedInCampaignPayload": {
        "properties": {
          "name": {
            "type": "string",
            "title": "Name"
          },
          "campaign_group_urn": {
            "type": "string",
            "title": "Campaign Group Urn"
          },
          "daily_budget_amount": {
            "type": "string",
            "title": "Daily Budget Amount",
            "default": "50.00"
          },
          "currency_code": {
            "type": "string",
            "title": "Currency Code",
            "default": "USD"
          },
          "objective_type": {
            "type": "string",
            "title": "Objective Type",
            "default": "LEAD_GENERATION"
          },
          "cost_type": {
            "type": "string",
            "title": "Cost Type",
            "default": "CPM"
          },
          "status": {
            "type": "string",
            "title": "Status",
            "default": "PAUSED"
          },
          "targeting_criteria": {
            "anyOf": [
              {
                "additionalProperties": true,
                "type": "object"
              },
              {
                "type": "null"
              }
            ],
            "title": "Targeting Criteria"
          }
        },
        "type": "object",
        "required": [
          "name",
          "campaign_group_urn"
        ],
        "title": "CreateLinkedInCampaignPayload"
      },
      "CreateMeetPayload": {
        "properties": {
          "summary": {
            "type": "string",
            "title": "Summary"
          },
          "start_time": {
            "type": "string",
            "title": "Start Time"
          },
          "end_time": {
            "type": "string",
            "title": "End Time"
          },
          "attendees": {
            "items": {
              "type": "string"
            },
            "type": "array",
            "title": "Attendees"
          },
          "description": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Description"
          }
        },
        "type": "object",
        "required": [
          "summary",
          "start_time",
          "end_time"
        ],
        "title": "CreateMeetPayload"
      },
      "CreateMetaCampaignPayload": {
        "properties": {
          "name": {
            "type": "string",
            "title": "Name"
          },
          "objective": {
            "type": "string",
            "title": "Objective",
            "default": "OUTCOME_LEADS"
          },
          "status": {
            "type": "string",
            "title": "Status",
            "default": "PAUSED"
          },
          "daily_budget_cents": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Daily Budget Cents"
          },
          "special_ad_categories": {
            "items": {
              "type": "string"
            },
            "type": "array",
            "title": "Special Ad Categories"
          }
        },
        "type": "object",
        "required": [
          "name"
        ],
        "title": "CreateMetaCampaignPayload"
      },
      "CreateSandboxRequest": {
        "properties": {
          "name": {
            "type": "string",
            "minLength": 1,
            "title": "Name"
          },
          "description": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Description"
          },
          "environment": {
            "type": "string",
            "title": "Environment",
            "default": "sandbox"
          }
        },
        "type": "object",
        "required": [
          "name"
        ],
        "title": "CreateSandboxRequest"
      },
      "CreateSubscriptionRequest": {
        "properties": {
          "resource": {
            "type": "string",
            "title": "Resource"
          },
          "change_type": {
            "type": "string",
            "title": "Change Type",
            "default": "created,updated,deleted"
          },
          "webhook_url": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Webhook Url"
          },
          "client_state": {
            "type": "string",
            "title": "Client State",
            "default": "valstorm_ms_sync"
          }
        },
        "type": "object",
        "required": [
          "resource"
        ],
        "title": "CreateSubscriptionRequest"
      },
      "DeepgramCredentialsPayload": {
        "properties": {
          "api_key": {
            "type": "string",
            "title": "Api Key"
          },
          "project_id": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Project Id"
          },
          "model": {
            "type": "string",
            "title": "Model",
            "default": "nova-3"
          },
          "discover_project": {
            "type": "boolean",
            "title": "Discover Project",
            "default": true
          }
        },
        "type": "object",
        "required": [
          "api_key"
        ],
        "title": "DeepgramCredentialsPayload"
      },
      "DeepgramTranscribePayload": {
        "properties": {
          "file_id": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "File Id"
          },
          "audio_url": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Audio Url"
          },
          "diarize": {
            "type": "boolean",
            "title": "Diarize",
            "default": true
          },
          "model": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Model"
          }
        },
        "type": "object",
        "title": "DeepgramTranscribePayload"
      },
      "ExecuteAiToolPayload": {
        "properties": {
          "tool_name": {
            "type": "string",
            "title": "Tool Name"
          },
          "arguments": {
            "additionalProperties": true,
            "type": "object",
            "title": "Arguments"
          },
          "env_val": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Env Val"
          }
        },
        "type": "object",
        "required": [
          "tool_name"
        ],
        "title": "ExecuteAiToolPayload"
      },
      "ExecuteFunctionRequest": {
        "properties": {
          "function_id": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Function Id"
          },
          "function_name": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Function Name"
          },
          "code": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Code"
          },
          "inputs": {
            "anyOf": [
              {
                "additionalProperties": true,
                "type": "object"
              },
              {
                "type": "null"
              }
            ],
            "title": "Inputs"
          },
          "records": {
            "anyOf": [
              {
                "items": {
                  "additionalProperties": true,
                  "type": "object"
                },
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "title": "Records"
          },
          "record": {
            "anyOf": [
              {
                "additionalProperties": true,
                "type": "object"
              },
              {
                "type": "null"
              }
            ],
            "title": "Record"
          },
          "event": {
            "anyOf": [
              {
                "additionalProperties": true,
                "type": "object"
              },
              {
                "type": "null"
              }
            ],
            "title": "Event"
          },
          "timeout": {
            "anyOf": [
              {
                "type": "number",
                "maximum": 60,
                "minimum": 0.1
              },
              {
                "type": "null"
              }
            ],
            "title": "Timeout",
            "default": 5
          }
        },
        "type": "object",
        "title": "ExecuteFunctionRequest"
      },
      "Field": {
        "properties": {
          "key": {
            "type": "string",
            "title": "Key"
          },
          "label": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Label"
          },
          "aggregate": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Aggregate"
          },
          "groupByDateTime": {
            "anyOf": [
              {
                "type": "string",
                "enum": [
                  "Minute",
                  "Hour",
                  "Day",
                  "Week",
                  "Month",
                  "Quarter",
                  "Year"
                ]
              },
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Groupbydatetime"
          },
          "cumulative": {
            "anyOf": [
              {
                "type": "boolean"
              },
              {
                "type": "null"
              }
            ],
            "title": "Cumulative",
            "default": false
          }
        },
        "type": "object",
        "required": [
          "key"
        ],
        "title": "Field"
      },
      "FileContentBatchItem": {
        "properties": {
          "file_id": {
            "type": "string",
            "title": "File Id"
          },
          "content": {
            "type": "string",
            "title": "Content"
          },
          "change_summary": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Change Summary"
          }
        },
        "type": "object",
        "required": [
          "file_id",
          "content"
        ],
        "title": "FileContentBatchItem"
      },
      "FileContentUpdateRequest": {
        "properties": {
          "content": {
            "type": "string",
            "title": "Content"
          },
          "change_summary": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Change Summary"
          }
        },
        "type": "object",
        "required": [
          "content"
        ],
        "title": "FileContentUpdateRequest"
      },
      "FreeBusyPayload": {
        "properties": {
          "time_min": {
            "type": "string",
            "title": "Time Min"
          },
          "time_max": {
            "type": "string",
            "title": "Time Max"
          },
          "calendar_ids": {
            "items": {
              "type": "string"
            },
            "type": "array",
            "title": "Calendar Ids"
          }
        },
        "type": "object",
        "required": [
          "time_min",
          "time_max"
        ],
        "title": "FreeBusyPayload"
      },
      "FrontendAnalyticsRequest": {
        "properties": {
          "query": {
            "type": "string",
            "title": "Query"
          },
          "chartType": {
            "type": "string",
            "title": "Charttype"
          },
          "field": {
            "anyOf": [
              {
                "items": {
                  "$ref": "#/components/schemas/Field"
                },
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "title": "Field"
          },
          "x": {
            "anyOf": [
              {
                "items": {
                  "$ref": "#/components/schemas/AxisField"
                },
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "title": "X"
          },
          "y": {
            "anyOf": [
              {
                "items": {
                  "$ref": "#/components/schemas/AxisField"
                },
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "title": "Y"
          },
          "aggregate": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Aggregate",
            "default": "count"
          },
          "summarizeBy": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Summarizeby"
          },
          "groupByDateTime": {
            "anyOf": [
              {
                "type": "string",
                "enum": [
                  "Minute",
                  "Hour",
                  "Day",
                  "Week",
                  "Month",
                  "Quarter",
                  "Year"
                ]
              },
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Groupbydatetime"
          },
          "dashboard_id": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Dashboard Id"
          },
          "component_id": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Component Id"
          },
          "object_id": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Object Id"
          },
          "item": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Item"
          },
          "bypass_cache": {
            "anyOf": [
              {
                "type": "boolean"
              },
              {
                "type": "null"
              }
            ],
            "title": "Bypass Cache",
            "default": false
          }
        },
        "type": "object",
        "required": [
          "query",
          "chartType"
        ],
        "title": "FrontendAnalyticsRequest"
      },
      "GeneratePdfRequest": {
        "properties": {
          "output_name": {
            "type": "string",
            "title": "Output Name",
            "default": "generated.pdf"
          },
          "file_name": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "File Name"
          },
          "metadata": {
            "anyOf": [
              {
                "additionalProperties": true,
                "type": "object"
              },
              {
                "type": "string"
              }
            ],
            "title": "Metadata"
          },
          "data": {
            "anyOf": [
              {
                "additionalProperties": true,
                "type": "object"
              },
              {
                "items": {
                  "additionalProperties": true,
                  "type": "object"
                },
                "type": "array"
              }
            ],
            "title": "Data"
          },
          "pdf_template": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "additionalProperties": true,
                "type": "object"
              },
              {
                "type": "null"
              }
            ],
            "title": "Pdf Template"
          },
          "file_id": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "File Id"
          },
          "public_upload": {
            "type": "boolean",
            "title": "Public Upload",
            "default": false
          },
          "randomize_name": {
            "type": "boolean",
            "title": "Randomize Name",
            "default": true
          }
        },
        "type": "object",
        "title": "GeneratePdfRequest"
      },
      "GetFileByLocationRequest": {
        "properties": {
          "location": {
            "type": "string",
            "title": "Location"
          }
        },
        "type": "object",
        "required": [
          "location"
        ],
        "title": "GetFileByLocationRequest"
      },
      "GitHubCreateIssueRequest": {
        "properties": {
          "owner": {
            "type": "string",
            "title": "Owner"
          },
          "repo": {
            "type": "string",
            "title": "Repo"
          },
          "title": {
            "type": "string",
            "title": "Title"
          },
          "body": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Body"
          },
          "labels": {
            "items": {
              "type": "string"
            },
            "type": "array",
            "title": "Labels"
          },
          "assignees": {
            "items": {
              "type": "string"
            },
            "type": "array",
            "title": "Assignees"
          }
        },
        "type": "object",
        "required": [
          "owner",
          "repo",
          "title"
        ],
        "title": "GitHubCreateIssueRequest"
      },
      "GitHubCreatePullRequestRequest": {
        "properties": {
          "owner": {
            "type": "string",
            "title": "Owner"
          },
          "repo": {
            "type": "string",
            "title": "Repo"
          },
          "title": {
            "type": "string",
            "title": "Title"
          },
          "head": {
            "type": "string",
            "title": "Head"
          },
          "base": {
            "type": "string",
            "title": "Base",
            "default": "main"
          },
          "body": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Body"
          },
          "draft": {
            "type": "boolean",
            "title": "Draft",
            "default": false
          }
        },
        "type": "object",
        "required": [
          "owner",
          "repo",
          "title",
          "head"
        ],
        "title": "GitHubCreatePullRequestRequest"
      },
      "GitHubSaveCredentialsRequest": {
        "properties": {
          "access_token": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Access Token"
          },
          "installation_id": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Installation Id"
          },
          "account_login": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Account Login"
          },
          "account_type": {
            "type": "string",
            "title": "Account Type",
            "default": "Organization"
          },
          "webhook_secret": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Webhook Secret"
          },
          "git_slack_channel": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Git Slack Channel"
          }
        },
        "type": "object",
        "title": "GitHubSaveCredentialsRequest"
      },
      "GoogleRegistrationRequest": {
        "properties": {
          "id_token": {
            "type": "string",
            "title": "Id Token"
          },
          "name": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Name"
          },
          "client_id": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Client Id",
            "default": "web"
          }
        },
        "type": "object",
        "required": [
          "id_token"
        ],
        "title": "GoogleRegistrationRequest"
      },
      "HTTPValidationError": {
        "properties": {
          "detail": {
            "items": {
              "$ref": "#/components/schemas/ValidationError"
            },
            "type": "array",
            "title": "Detail"
          }
        },
        "type": "object",
        "title": "HTTPValidationError"
      },
      "InboundSettingsUpdate": {
        "properties": {
          "allowed_inbound_origins": {
            "items": {
              "type": "string"
            },
            "type": "array",
            "title": "Allowed Inbound Origins"
          },
          "inbound_form_settings": {
            "additionalProperties": true,
            "type": "object",
            "title": "Inbound Form Settings"
          }
        },
        "type": "object",
        "title": "InboundSettingsUpdate"
      },
      "LoginRequest": {
        "properties": {
          "email": {
            "anyOf": [
              {
                "type": "string",
                "format": "email"
              },
              {
                "type": "null"
              }
            ],
            "title": "Email"
          },
          "username": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Username"
          },
          "password": {
            "type": "string",
            "title": "Password"
          }
        },
        "type": "object",
        "required": [
          "password"
        ],
        "title": "LoginRequest"
      },
      "MeetingSummarizePayload": {
        "properties": {
          "transcript": {
            "type": "string",
            "title": "Transcript"
          },
          "diarized_transcript": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Diarized Transcript"
          },
          "scratchpad_notes": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Scratchpad Notes"
          },
          "title": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Title"
          }
        },
        "type": "object",
        "required": [
          "transcript"
        ],
        "title": "MeetingSummarizePayload"
      },
      "MicrosoftCredentialsRequest": {
        "properties": {
          "client_id": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Client Id"
          },
          "client_secret": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Client Secret"
          },
          "tenant_id": {
            "type": "string",
            "title": "Tenant Id",
            "default": "common"
          },
          "access_token": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Access Token"
          },
          "refresh_token": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Refresh Token"
          },
          "expires_in": {
            "type": "integer",
            "title": "Expires In",
            "default": 3600
          },
          "user_email": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "User Email"
          }
        },
        "type": "object",
        "title": "MicrosoftCredentialsRequest"
      },
      "OAuthAuthorizeRequest": {
        "properties": {
          "client_id": {
            "type": "string",
            "title": "Client Id"
          },
          "response_type": {
            "type": "string",
            "title": "Response Type",
            "default": "code"
          },
          "redirect_uri": {
            "type": "string",
            "title": "Redirect Uri"
          },
          "scope": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Scope"
          },
          "state": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "State"
          },
          "code_challenge": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Code Challenge"
          },
          "code_challenge_method": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Code Challenge Method",
            "default": "S256"
          }
        },
        "type": "object",
        "required": [
          "client_id",
          "redirect_uri"
        ],
        "title": "OAuthAuthorizeRequest"
      },
      "OAuthCodeRequest": {
        "properties": {
          "client_id": {
            "type": "string",
            "title": "Client Id"
          },
          "redirect_uri": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Redirect Uri"
          },
          "scope": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Scope"
          },
          "state": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "State"
          },
          "code_challenge": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Code Challenge"
          },
          "code_challenge_method": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Code Challenge Method",
            "default": "S256"
          }
        },
        "type": "object",
        "required": [
          "client_id"
        ],
        "title": "OAuthCodeRequest"
      },
      "OnboardAppRequest": {
        "properties": {
          "app_id": {
            "type": "string",
            "title": "App Id"
          }
        },
        "type": "object",
        "required": [
          "app_id"
        ],
        "title": "OnboardAppRequest"
      },
      "OpenAiChatCompletionPayload": {
        "properties": {
          "model": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Model",
            "default": "gemini-flash-latest"
          },
          "messages": {
            "items": {
              "additionalProperties": true,
              "type": "object"
            },
            "type": "array",
            "title": "Messages"
          },
          "response_format": {
            "anyOf": [
              {
                "additionalProperties": true,
                "type": "object"
              },
              {
                "type": "null"
              }
            ],
            "title": "Response Format"
          },
          "temperature": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "title": "Temperature"
          },
          "max_tokens": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Max Tokens"
          },
          "stream": {
            "type": "boolean",
            "title": "Stream",
            "default": false
          },
          "reasoning_effort": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Reasoning Effort"
          },
          "tools": {
            "anyOf": [
              {
                "items": {
                  "additionalProperties": true,
                  "type": "object"
                },
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "title": "Tools"
          }
        },
        "type": "object",
        "title": "OpenAiChatCompletionPayload"
      },
      "PersonalAccessTokenCreate": {
        "properties": {
          "name": {
            "type": "string",
            "title": "Name"
          },
          "expires_in_days": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Expires In Days"
          }
        },
        "type": "object",
        "required": [
          "name"
        ],
        "title": "PersonalAccessTokenCreate"
      },
      "PersonalAccessTokenResponse": {
        "properties": {
          "id": {
            "type": "string",
            "title": "Id"
          },
          "name": {
            "type": "string",
            "title": "Name"
          },
          "token": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Token"
          },
          "created_at": {
            "type": "string",
            "title": "Created At"
          },
          "expires_at": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Expires At"
          },
          "last_used_at": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Last Used At"
          }
        },
        "type": "object",
        "required": [
          "id",
          "name",
          "created_at"
        ],
        "title": "PersonalAccessTokenResponse"
      },
      "PinAssetPayload": {
        "properties": {
          "asset_id": {
            "type": "string",
            "title": "Asset Id"
          },
          "asset_name": {
            "type": "string",
            "title": "Asset Name"
          },
          "asset_type": {
            "type": "string",
            "title": "Asset Type",
            "default": "vault_document"
          },
          "asset_path": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Asset Path"
          },
          "pinned": {
            "type": "boolean",
            "title": "Pinned",
            "default": true
          }
        },
        "type": "object",
        "required": [
          "asset_id",
          "asset_name"
        ],
        "title": "PinAssetPayload"
      },
      "PresignedUploadRequest": {
        "properties": {
          "filename": {
            "type": "string",
            "title": "Filename"
          },
          "content_type": {
            "type": "string",
            "title": "Content Type",
            "default": "application/octet-stream"
          },
          "mime_type": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Mime Type"
          },
          "is_public": {
            "type": "boolean",
            "title": "Is Public",
            "default": false
          },
          "public_file": {
            "anyOf": [
              {
                "type": "boolean"
              },
              {
                "type": "null"
              }
            ],
            "title": "Public File"
          },
          "vaults": {
            "anyOf": [
              {
                "items": {
                  "type": "string"
                },
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "title": "Vaults"
          },
          "vault_id": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Vault Id"
          },
          "file_id": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "File Id"
          }
        },
        "type": "object",
        "required": [
          "filename"
        ],
        "title": "PresignedUploadRequest"
      },
      "PromoteAppRequest": {
        "properties": {
          "target_org_id": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Target Org Id"
          },
          "name": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Name"
          },
          "title": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Title"
          },
          "description": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Description"
          },
          "version": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Version"
          },
          "schemas": {
            "anyOf": [
              {
                "items": {},
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "title": "Schemas"
          },
          "records": {
            "anyOf": [
              {
                "additionalProperties": true,
                "type": "object"
              },
              {
                "type": "null"
              }
            ],
            "title": "Records"
          }
        },
        "additionalProperties": true,
        "type": "object",
        "title": "PromoteAppRequest"
      },
      "PublishFacebookPayload": {
        "properties": {
          "message": {
            "type": "string",
            "title": "Message"
          },
          "link": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Link"
          },
          "image_url": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Image Url"
          },
          "page_id": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Page Id"
          },
          "published": {
            "type": "boolean",
            "title": "Published",
            "default": true
          }
        },
        "type": "object",
        "required": [
          "message"
        ],
        "title": "PublishFacebookPayload"
      },
      "PublishInstagramPayload": {
        "properties": {
          "caption": {
            "type": "string",
            "title": "Caption"
          },
          "media_type": {
            "type": "string",
            "title": "Media Type",
            "default": "IMAGE"
          },
          "image_url": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Image Url"
          },
          "video_url": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Video Url"
          },
          "instagram_account_id": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Instagram Account Id"
          }
        },
        "type": "object",
        "required": [
          "caption"
        ],
        "title": "PublishInstagramPayload"
      },
      "PublishLinkedInCarouselPayload": {
        "properties": {
          "title": {
            "type": "string",
            "title": "Title"
          },
          "commentary": {
            "type": "string",
            "title": "Commentary"
          },
          "file_id": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "File Id"
          },
          "author_type": {
            "type": "string",
            "title": "Author Type",
            "default": "organization"
          },
          "author_urn": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Author Urn"
          },
          "visibility": {
            "type": "string",
            "title": "Visibility",
            "default": "PUBLIC"
          }
        },
        "type": "object",
        "required": [
          "title",
          "commentary"
        ],
        "title": "PublishLinkedInCarouselPayload"
      },
      "PublishLinkedInPostPayload": {
        "properties": {
          "commentary": {
            "type": "string",
            "title": "Commentary"
          },
          "author_type": {
            "type": "string",
            "title": "Author Type",
            "default": "organization"
          },
          "author_urn": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Author Urn"
          },
          "visibility": {
            "type": "string",
            "title": "Visibility",
            "default": "PUBLIC"
          },
          "media_urn": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Media Urn"
          },
          "media_title": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Media Title"
          },
          "article_url": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Article Url"
          }
        },
        "type": "object",
        "required": [
          "commentary"
        ],
        "title": "PublishLinkedInPostPayload"
      },
      "PullMetadataRequest": {
        "properties": {
          "object_types": {
            "anyOf": [
              {
                "items": {
                  "type": "string"
                },
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "title": "Object Types"
          },
          "file_name": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "File Name"
          },
          "app_id": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "App Id"
          },
          "manifest": {
            "anyOf": [
              {
                "additionalProperties": true,
                "type": "object"
              },
              {
                "type": "null"
              }
            ],
            "title": "Manifest"
          },
          "include_schemas": {
            "type": "boolean",
            "title": "Include Schemas",
            "default": true
          }
        },
        "type": "object",
        "title": "PullMetadataRequest"
      },
      "PushMetadataRequest": {
        "properties": {
          "objects": {
            "anyOf": [
              {
                "additionalProperties": {
                  "items": {
                    "additionalProperties": true,
                    "type": "object"
                  },
                  "type": "array"
                },
                "type": "object"
              },
              {
                "type": "null"
              }
            ],
            "title": "Objects"
          },
          "records": {
            "anyOf": [
              {
                "additionalProperties": {
                  "items": {
                    "additionalProperties": true,
                    "type": "object"
                  },
                  "type": "array"
                },
                "type": "object"
              },
              {
                "type": "null"
              }
            ],
            "title": "Records"
          },
          "schemas": {
            "anyOf": [
              {
                "items": {
                  "additionalProperties": true,
                  "type": "object"
                },
                "type": "array"
              },
              {
                "additionalProperties": {
                  "additionalProperties": true,
                  "type": "object"
                },
                "type": "object"
              },
              {
                "type": "null"
              }
            ],
            "title": "Schemas"
          },
          "app_id": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "App Id"
          },
          "app": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "App"
          }
        },
        "additionalProperties": true,
        "type": "object",
        "title": "PushMetadataRequest"
      },
      "RegisterFileRequest": {
        "properties": {
          "filename": {
            "type": "string",
            "title": "Filename"
          },
          "content_type": {
            "type": "string",
            "title": "Content Type",
            "default": "application/octet-stream"
          },
          "location": {
            "type": "string",
            "title": "Location"
          },
          "file_size": {
            "type": "integer",
            "title": "File Size",
            "default": 0
          },
          "is_public": {
            "type": "boolean",
            "title": "Is Public",
            "default": false
          },
          "vaults": {
            "anyOf": [
              {
                "items": {
                  "type": "string"
                },
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "title": "Vaults"
          },
          "file_id": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "File Id"
          },
          "content": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Content"
          },
          "compression_config": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Compression Config"
          }
        },
        "type": "object",
        "required": [
          "filename",
          "location"
        ],
        "title": "RegisterFileRequest"
      },
      "RegisterRequest": {
        "properties": {
          "name": {
            "type": "string",
            "title": "Name"
          },
          "email": {
            "type": "string",
            "format": "email",
            "title": "Email"
          },
          "password": {
            "type": "string",
            "title": "Password"
          },
          "organization_name": {
            "type": "string",
            "title": "Organization Name"
          }
        },
        "type": "object",
        "required": [
          "name",
          "email",
          "password",
          "organization_name"
        ],
        "title": "RegisterRequest"
      },
      "RegistrationRequest": {
        "properties": {
          "company": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Company"
          },
          "website": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Website"
          },
          "first_name": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "First Name"
          },
          "last_name": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Last Name"
          },
          "name": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Name"
          },
          "email": {
            "type": "string",
            "title": "Email"
          },
          "system_user": {
            "type": "boolean",
            "title": "System User",
            "default": false
          },
          "turnstile_token": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Turnstile Token"
          },
          "honeypot": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Honeypot"
          }
        },
        "type": "object",
        "required": [
          "email"
        ],
        "title": "RegistrationRequest"
      },
      "RemoveFactPayload": {
        "properties": {
          "old_text": {
            "type": "string",
            "title": "Old Text"
          }
        },
        "type": "object",
        "required": [
          "old_text"
        ],
        "title": "RemoveFactPayload"
      },
      "ReplyEmailRequest": {
        "properties": {
          "comment": {
            "type": "string",
            "title": "Comment"
          },
          "to_recipients": {
            "anyOf": [
              {
                "items": {
                  "type": "string"
                },
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "title": "To Recipients"
          }
        },
        "type": "object",
        "required": [
          "comment"
        ],
        "title": "ReplyEmailRequest"
      },
      "ResendOtpRequest": {
        "properties": {
          "email": {
            "type": "string",
            "title": "Email"
          },
          "turnstile_token": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Turnstile Token"
          }
        },
        "type": "object",
        "required": [
          "email"
        ],
        "title": "ResendOtpRequest"
      },
      "ReserveBookingPayload": {
        "properties": {
          "org_id": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Org Id"
          },
          "start_time": {
            "type": "string",
            "title": "Start Time"
          },
          "end_time": {
            "type": "string",
            "title": "End Time"
          },
          "timezone": {
            "type": "string",
            "title": "Timezone",
            "default": "America/New_York"
          },
          "name": {
            "type": "string",
            "title": "Name"
          },
          "email": {
            "type": "string",
            "title": "Email"
          },
          "phone": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Phone"
          },
          "notes": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Notes"
          },
          "attribution": {
            "additionalProperties": {
              "type": "string"
            },
            "type": "object",
            "title": "Attribution"
          }
        },
        "type": "object",
        "required": [
          "start_time",
          "end_time",
          "name",
          "email"
        ],
        "title": "ReserveBookingPayload"
      },
      "RollbackRequest": {
        "properties": {
          "target_version": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Target Version"
          },
          "version_number": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Version Number"
          },
          "change_summary": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Change Summary"
          }
        },
        "type": "object",
        "title": "RollbackRequest"
      },
      "SalesforceCompositeRequest": {
        "properties": {
          "object_api_name": {
            "type": "string",
            "title": "Object Api Name"
          },
          "records": {
            "items": {
              "additionalProperties": true,
              "type": "object"
            },
            "type": "array",
            "title": "Records"
          },
          "all_or_none": {
            "type": "boolean",
            "title": "All Or None",
            "default": false
          }
        },
        "type": "object",
        "required": [
          "object_api_name"
        ],
        "title": "SalesforceCompositeRequest"
      },
      "SalesforceCredentialsRequest": {
        "properties": {
          "instance_url": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Instance Url"
          },
          "access_token": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Access Token"
          },
          "refresh_token": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Refresh Token"
          },
          "client_id": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Client Id"
          },
          "client_secret": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Client Secret"
          },
          "salesforce_user_id": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Salesforce User Id"
          }
        },
        "type": "object",
        "title": "SalesforceCredentialsRequest"
      },
      "SalesforceQueryRequest": {
        "properties": {
          "query": {
            "type": "string",
            "title": "Query"
          }
        },
        "type": "object",
        "required": [
          "query"
        ],
        "title": "SalesforceQueryRequest"
      },
      "SalesforceUploadFileRequest": {
        "properties": {
          "record_id": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Record Id"
          },
          "file_name": {
            "type": "string",
            "title": "File Name",
            "default": "Document.pdf"
          },
          "file_base64": {
            "type": "string",
            "title": "File Base64"
          }
        },
        "type": "object",
        "required": [
          "file_base64"
        ],
        "title": "SalesforceUploadFileRequest"
      },
      "SchemaCreateRequest": {
        "properties": {
          "name": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Name"
          },
          "title": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Title"
          },
          "api_name": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Api Name"
          },
          "prefix": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Prefix"
          },
          "icon": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Icon"
          },
          "description": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Description"
          },
          "app": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "App"
          },
          "ownership": {
            "anyOf": [
              {
                "type": "boolean"
              },
              {
                "type": "null"
              }
            ],
            "title": "Ownership",
            "default": true
          },
          "exclusive_ownership": {
            "anyOf": [
              {
                "type": "boolean"
              },
              {
                "type": "null"
              }
            ],
            "title": "Exclusive Ownership",
            "default": false
          },
          "junction_object": {
            "anyOf": [
              {
                "type": "boolean"
              },
              {
                "type": "null"
              }
            ],
            "title": "Junction Object",
            "default": false
          },
          "relates_to_any_object": {
            "anyOf": [
              {
                "type": "boolean"
              },
              {
                "type": "null"
              }
            ],
            "title": "Relates To Any Object",
            "default": false
          },
          "properties": {
            "additionalProperties": true,
            "type": "object",
            "title": "Properties",
            "default": {}
          },
          "required": {
            "items": {
              "type": "string"
            },
            "type": "array",
            "title": "Required",
            "default": []
          }
        },
        "additionalProperties": true,
        "type": "object",
        "title": "SchemaCreateRequest"
      },
      "SchemaFieldCreateRequest": {
        "properties": {
          "object_api_name": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Object Api Name"
          },
          "field_api_name": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Field Api Name"
          },
          "api_name": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Api Name"
          },
          "object_id": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Object Id"
          },
          "field_name": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Field Name"
          },
          "name": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Name"
          },
          "app": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "App"
          },
          "type": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Type"
          },
          "format": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Format"
          },
          "options": {
            "anyOf": [
              {
                "items": {},
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "title": "Options"
          },
          "values": {
            "anyOf": [
              {
                "items": {},
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "title": "Values"
          },
          "enum": {
            "anyOf": [
              {
                "items": {},
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "title": "Enum"
          },
          "restricted": {
            "anyOf": [
              {
                "type": "boolean"
              },
              {
                "type": "null"
              }
            ],
            "title": "Restricted"
          },
          "is_formula": {
            "anyOf": [
              {
                "type": "boolean"
              },
              {
                "type": "null"
              }
            ],
            "title": "Is Formula"
          },
          "formula": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Formula"
          },
          "is_rollup": {
            "anyOf": [
              {
                "type": "boolean"
              },
              {
                "type": "null"
              }
            ],
            "title": "Is Rollup"
          },
          "rollup_target_object": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Rollup Target Object"
          },
          "rollup_relationship_field": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Rollup Relationship Field"
          },
          "rollup_type": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Rollup Type"
          },
          "rollup_source_field": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Rollup Source Field"
          },
          "rollup_filter": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Rollup Filter"
          },
          "result_type": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Result Type"
          },
          "virtual": {
            "anyOf": [
              {
                "type": "boolean"
              },
              {
                "type": "null"
              }
            ],
            "title": "Virtual"
          },
          "prefix": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Prefix"
          },
          "auto_number_prefix": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Auto Number Prefix"
          },
          "starting_number": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Starting Number"
          },
          "field_def": {
            "anyOf": [
              {
                "additionalProperties": true,
                "type": "object"
              },
              {
                "type": "null"
              }
            ],
            "title": "Field Def"
          },
          "component": {
            "anyOf": [
              {
                "additionalProperties": true,
                "type": "object"
              },
              {
                "type": "null"
              }
            ],
            "title": "Component"
          }
        },
        "additionalProperties": true,
        "type": "object",
        "title": "SchemaFieldCreateRequest"
      },
      "SchemaFieldUpdateRequest": {
        "properties": {
          "object_api_name": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Object Api Name"
          },
          "object_id": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Object Id"
          },
          "field_name": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Field Name"
          },
          "field_api_name": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Field Api Name"
          },
          "api_name": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Api Name"
          },
          "app": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "App"
          },
          "type": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Type"
          },
          "format": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Format"
          },
          "options": {
            "anyOf": [
              {
                "items": {},
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "title": "Options"
          },
          "values": {
            "anyOf": [
              {
                "items": {},
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "title": "Values"
          },
          "enum": {
            "anyOf": [
              {
                "items": {},
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "title": "Enum"
          },
          "restricted": {
            "anyOf": [
              {
                "type": "boolean"
              },
              {
                "type": "null"
              }
            ],
            "title": "Restricted"
          },
          "is_formula": {
            "anyOf": [
              {
                "type": "boolean"
              },
              {
                "type": "null"
              }
            ],
            "title": "Is Formula"
          },
          "formula": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Formula"
          },
          "is_rollup": {
            "anyOf": [
              {
                "type": "boolean"
              },
              {
                "type": "null"
              }
            ],
            "title": "Is Rollup"
          },
          "rollup_target_object": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Rollup Target Object"
          },
          "rollup_relationship_field": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Rollup Relationship Field"
          },
          "rollup_type": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Rollup Type"
          },
          "rollup_source_field": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Rollup Source Field"
          },
          "rollup_filter": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Rollup Filter"
          },
          "result_type": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Result Type"
          },
          "virtual": {
            "anyOf": [
              {
                "type": "boolean"
              },
              {
                "type": "null"
              }
            ],
            "title": "Virtual"
          },
          "prefix": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Prefix"
          },
          "auto_number_prefix": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Auto Number Prefix"
          },
          "starting_number": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Starting Number"
          },
          "field_def": {
            "anyOf": [
              {
                "additionalProperties": true,
                "type": "object"
              },
              {
                "type": "null"
              }
            ],
            "title": "Field Def"
          }
        },
        "additionalProperties": true,
        "type": "object",
        "title": "SchemaFieldUpdateRequest"
      },
      "SchemaSyncRequest": {
        "properties": {
          "object_name": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Object Name"
          },
          "prune": {
            "type": "boolean",
            "title": "Prune",
            "default": false
          },
          "app": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "App",
            "default": "base"
          }
        },
        "type": "object",
        "title": "SchemaSyncRequest"
      },
      "SchemaUpdateRequest": {
        "properties": {
          "id": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Id"
          },
          "api_name": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Api Name"
          },
          "title": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Title"
          },
          "name": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Name"
          },
          "icon": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Icon"
          },
          "description": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Description"
          },
          "app": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "App"
          },
          "prefix": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Prefix"
          },
          "ownership": {
            "anyOf": [
              {
                "type": "boolean"
              },
              {
                "type": "null"
              }
            ],
            "title": "Ownership"
          },
          "exclusive_ownership": {
            "anyOf": [
              {
                "type": "boolean"
              },
              {
                "type": "null"
              }
            ],
            "title": "Exclusive Ownership"
          },
          "junction_object": {
            "anyOf": [
              {
                "type": "boolean"
              },
              {
                "type": "null"
              }
            ],
            "title": "Junction Object"
          },
          "relates_to_any_object": {
            "anyOf": [
              {
                "type": "boolean"
              },
              {
                "type": "null"
              }
            ],
            "title": "Relates To Any Object"
          },
          "properties": {
            "anyOf": [
              {
                "additionalProperties": true,
                "type": "object"
              },
              {
                "type": "null"
              }
            ],
            "title": "Properties"
          },
          "required": {
            "anyOf": [
              {
                "items": {
                  "type": "string"
                },
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "title": "Required"
          },
          "validation_rules": {
            "anyOf": [
              {
                "additionalProperties": true,
                "type": "object"
              },
              {
                "type": "null"
              }
            ],
            "title": "Validation Rules"
          }
        },
        "additionalProperties": true,
        "type": "object",
        "title": "SchemaUpdateRequest"
      },
      "SearchRequest": {
        "properties": {
          "query": {
            "type": "string",
            "title": "Query",
            "description": "Search query string"
          },
          "target_schema": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Target Schema",
            "description": "Optional target schema alias (e.g. 'contact', 'account', 'deal', 'opportunity', 'task', 'file')"
          },
          "limit": {
            "type": "integer",
            "maximum": 50,
            "minimum": 1,
            "title": "Limit",
            "description": "Max number of results",
            "default": 15
          },
          "include_crm": {
            "type": "boolean",
            "title": "Include Crm",
            "description": "Whether to include CRM records",
            "default": true
          },
          "include_vfs": {
            "type": "boolean",
            "title": "Include Vfs",
            "description": "Whether to include VFS files & vaults",
            "default": true
          },
          "enable_rag": {
            "anyOf": [
              {
                "type": "boolean"
              },
              {
                "type": "null"
              }
            ],
            "title": "Enable Rag",
            "description": "Force enable/disable RAG synthesis"
          },
          "vault_ids": {
            "anyOf": [
              {
                "items": {
                  "type": "string"
                },
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "title": "Vault Ids",
            "description": "Optional vault filter IDs"
          }
        },
        "type": "object",
        "required": [
          "query"
        ],
        "title": "SearchRequest"
      },
      "SendEmailRequest": {
        "properties": {
          "subject": {
            "type": "string",
            "title": "Subject"
          },
          "to_emails": {
            "anyOf": [
              {
                "items": {
                  "type": "string"
                },
                "type": "array"
              },
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "To Emails"
          },
          "to_recipients": {
            "anyOf": [
              {
                "items": {
                  "type": "string"
                },
                "type": "array"
              },
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "To Recipients"
          },
          "to": {
            "anyOf": [
              {
                "items": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "additionalProperties": true,
                      "type": "object"
                    }
                  ]
                },
                "type": "array"
              },
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "To"
          },
          "body_content": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Body Content"
          },
          "body": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Body"
          },
          "html_content": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Html Content"
          },
          "plain_text_content": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Plain Text Content"
          },
          "is_html": {
            "type": "boolean",
            "title": "Is Html",
            "default": true
          },
          "cc_emails": {
            "anyOf": [
              {
                "items": {
                  "type": "string"
                },
                "type": "array"
              },
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Cc Emails"
          },
          "cc_recipients": {
            "anyOf": [
              {
                "items": {
                  "type": "string"
                },
                "type": "array"
              },
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Cc Recipients"
          },
          "cc": {
            "anyOf": [
              {
                "items": {
                  "type": "string"
                },
                "type": "array"
              },
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Cc"
          },
          "bcc_emails": {
            "anyOf": [
              {
                "items": {
                  "type": "string"
                },
                "type": "array"
              },
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Bcc Emails"
          },
          "bcc_recipients": {
            "anyOf": [
              {
                "items": {
                  "type": "string"
                },
                "type": "array"
              },
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Bcc Recipients"
          },
          "bcc": {
            "anyOf": [
              {
                "items": {
                  "type": "string"
                },
                "type": "array"
              },
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Bcc"
          },
          "parent_message_id": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Parent Message Id"
          },
          "thread_id": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Thread Id"
          }
        },
        "type": "object",
        "required": [
          "subject"
        ],
        "title": "SendEmailRequest"
      },
      "SendGmailPayload": {
        "properties": {
          "to": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "items": {
                  "type": "string"
                },
                "type": "array"
              }
            ],
            "title": "To"
          },
          "subject": {
            "type": "string",
            "title": "Subject"
          },
          "body_html": {
            "type": "string",
            "title": "Body Html"
          },
          "cc": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "items": {
                  "type": "string"
                },
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "title": "Cc"
          },
          "bcc": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "items": {
                  "type": "string"
                },
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "title": "Bcc"
          },
          "thread_id": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Thread Id"
          },
          "in_reply_to": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "In Reply To"
          }
        },
        "type": "object",
        "required": [
          "to",
          "subject",
          "body_html"
        ],
        "title": "SendGmailPayload"
      },
      "SendGridCredentialsPayload": {
        "properties": {
          "api_key": {
            "type": "string",
            "title": "Api Key"
          },
          "from_email": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "From Email"
          },
          "from_name": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "From Name"
          },
          "webhook_token": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Webhook Token"
          },
          "validate_live": {
            "type": "boolean",
            "title": "Validate Live",
            "default": true
          }
        },
        "type": "object",
        "required": [
          "api_key"
        ],
        "title": "SendGridCredentialsPayload"
      },
      "SendGridSearchPayload": {
        "properties": {
          "query": {
            "type": "string",
            "title": "Query"
          },
          "limit": {
            "type": "integer",
            "title": "Limit",
            "default": 25
          }
        },
        "type": "object",
        "required": [
          "query"
        ],
        "title": "SendGridSearchPayload"
      },
      "SendGridSendPayload": {
        "properties": {
          "to": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "items": {
                  "type": "string"
                },
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "title": "To"
          },
          "to_emails": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "items": {
                  "type": "string"
                },
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "title": "To Emails"
          },
          "cc": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "items": {
                  "type": "string"
                },
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "title": "Cc"
          },
          "bcc": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "items": {
                  "type": "string"
                },
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "title": "Bcc"
          },
          "from_email": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "From Email"
          },
          "from_name": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "From Name"
          },
          "subject": {
            "type": "string",
            "title": "Subject"
          },
          "body": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Body"
          },
          "plain_text_content": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Plain Text Content"
          },
          "html_content": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Html Content"
          },
          "merge_data": {
            "anyOf": [
              {
                "additionalProperties": true,
                "type": "object"
              },
              {
                "type": "null"
              }
            ],
            "title": "Merge Data"
          },
          "thread_id": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Thread Id"
          },
          "contact_id": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Contact Id"
          },
          "enqueue_worker": {
            "type": "boolean",
            "title": "Enqueue Worker",
            "default": false
          }
        },
        "type": "object",
        "required": [
          "subject"
        ],
        "title": "SendGridSendPayload"
      },
      "SlackAddReactionRequest": {
        "properties": {
          "channel": {
            "type": "string",
            "title": "Channel"
          },
          "timestamp": {
            "type": "string",
            "title": "Timestamp"
          },
          "name": {
            "type": "string",
            "title": "Name"
          }
        },
        "type": "object",
        "required": [
          "channel",
          "timestamp",
          "name"
        ],
        "title": "SlackAddReactionRequest",
        "description": "Payload model for reactions.add."
      },
      "SlackDeleteMessageRequest": {
        "properties": {
          "channel": {
            "type": "string",
            "title": "Channel"
          },
          "ts": {
            "type": "string",
            "title": "Ts"
          },
          "as_user": {
            "anyOf": [
              {
                "type": "boolean"
              },
              {
                "type": "null"
              }
            ],
            "title": "As User"
          }
        },
        "type": "object",
        "required": [
          "channel",
          "ts"
        ],
        "title": "SlackDeleteMessageRequest",
        "description": "Payload model for chat.delete."
      },
      "SlackPostMessageRequest": {
        "properties": {
          "channel": {
            "type": "string",
            "title": "Channel"
          },
          "text": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Text"
          },
          "blocks": {
            "anyOf": [
              {
                "items": {
                  "additionalProperties": true,
                  "type": "object"
                },
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "title": "Blocks"
          },
          "thread_ts": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Thread Ts"
          },
          "as_user": {
            "anyOf": [
              {
                "type": "boolean"
              },
              {
                "type": "null"
              }
            ],
            "title": "As User"
          },
          "mrkdwn": {
            "anyOf": [
              {
                "type": "boolean"
              },
              {
                "type": "null"
              }
            ],
            "title": "Mrkdwn"
          }
        },
        "type": "object",
        "required": [
          "channel"
        ],
        "title": "SlackPostMessageRequest",
        "description": "Payload model for chat.postMessage."
      },
      "SlackUpdateMessageRequest": {
        "properties": {
          "channel": {
            "type": "string",
            "title": "Channel"
          },
          "ts": {
            "type": "string",
            "title": "Ts"
          },
          "text": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Text"
          },
          "blocks": {
            "anyOf": [
              {
                "items": {
                  "additionalProperties": true,
                  "type": "object"
                },
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "title": "Blocks"
          }
        },
        "type": "object",
        "required": [
          "channel",
          "ts"
        ],
        "title": "SlackUpdateMessageRequest",
        "description": "Payload model for chat.update."
      },
      "SqlPostQueryRequest": {
        "properties": {
          "query": {
            "type": "string",
            "title": "Query"
          },
          "bypass_cache": {
            "type": "boolean",
            "title": "Bypass Cache",
            "default": false
          },
          "hydrate": {
            "type": "boolean",
            "title": "Hydrate",
            "default": true
          },
          "limit": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Limit"
          },
          "offset": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Offset",
            "default": 0
          }
        },
        "type": "object",
        "required": [
          "query"
        ],
        "title": "SqlPostQueryRequest"
      },
      "StripeClaimRequest": {
        "properties": {
          "claim_token": {
            "type": "string",
            "title": "Claim Token"
          }
        },
        "type": "object",
        "required": [
          "claim_token"
        ],
        "title": "StripeClaimRequest"
      },
      "StripeFetchRequest": {
        "properties": {
          "resource": {
            "type": "string",
            "title": "Resource"
          },
          "action": {
            "type": "string",
            "title": "Action"
          },
          "id": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Id"
          },
          "params": {
            "anyOf": [
              {
                "additionalProperties": true,
                "type": "object"
              },
              {
                "type": "null"
              }
            ],
            "title": "Params"
          }
        },
        "type": "object",
        "required": [
          "resource",
          "action"
        ],
        "title": "StripeFetchRequest"
      },
      "StripeSaveCredentialsRequest": {
        "properties": {
          "api_key": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Api Key"
          },
          "stripe_account_id": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Stripe Account Id"
          },
          "webhook_secret": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Webhook Secret"
          },
          "signing_secret": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Signing Secret"
          },
          "livemode": {
            "type": "boolean",
            "title": "Livemode",
            "default": false
          }
        },
        "type": "object",
        "title": "StripeSaveCredentialsRequest"
      },
      "SupportAskMessage": {
        "properties": {
          "role": {
            "type": "string",
            "title": "Role"
          },
          "content": {
            "type": "string",
            "title": "Content"
          }
        },
        "type": "object",
        "required": [
          "role",
          "content"
        ],
        "title": "SupportAskMessage"
      },
      "SupportAskRequest": {
        "properties": {
          "message": {
            "type": "string",
            "title": "Message"
          },
          "chat_history": {
            "items": {
              "$ref": "#/components/schemas/SupportAskMessage"
            },
            "type": "array",
            "title": "Chat History"
          },
          "page_context": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Page Context"
          },
          "error_context": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Error Context"
          },
          "user_email": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "User Email"
          },
          "user_name": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "User Name"
          },
          "organization_id": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Organization Id"
          },
          "bypass_cache": {
            "type": "boolean",
            "title": "Bypass Cache",
            "default": false
          },
          "ai_answer_override": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Ai Answer Override"
          }
        },
        "type": "object",
        "required": [
          "message"
        ],
        "title": "SupportAskRequest"
      },
      "SupportTelemetryRequest": {
        "properties": {
          "action": {
            "type": "string",
            "title": "Action"
          },
          "query": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Query"
          },
          "chat_transcript": {
            "items": {
              "additionalProperties": true,
              "type": "object"
            },
            "type": "array",
            "title": "Chat Transcript"
          },
          "user_email": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "User Email"
          },
          "organization_id": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Organization Id"
          }
        },
        "type": "object",
        "required": [
          "action"
        ],
        "title": "SupportTelemetryRequest"
      },
      "SwitchOrgRequest": {
        "properties": {
          "organization_id": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Organization Id"
          },
          "id": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Id"
          }
        },
        "type": "object",
        "title": "SwitchOrgRequest"
      },
      "TelnyxCallActionPayload": {
        "properties": {
          "payload": {
            "additionalProperties": true,
            "type": "object",
            "title": "Payload"
          }
        },
        "type": "object",
        "title": "TelnyxCallActionPayload"
      },
      "TelnyxCallPayload": {
        "properties": {
          "to": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "To"
          },
          "to_phone": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "To Phone"
          },
          "from_number": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "From Number"
          },
          "from_phone": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "From Phone"
          },
          "connection_id": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Connection Id"
          },
          "contact_id": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Contact Id"
          }
        },
        "type": "object",
        "title": "TelnyxCallPayload"
      },
      "TelnyxCredentialsPayload": {
        "properties": {
          "api_key": {
            "type": "string",
            "title": "Api Key"
          },
          "public_key": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Public Key"
          },
          "connection_id": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Connection Id"
          },
          "messaging_profile_id": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Messaging Profile Id"
          },
          "default_from_number": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Default From Number"
          },
          "validate_live": {
            "type": "boolean",
            "title": "Validate Live",
            "default": true
          }
        },
        "type": "object",
        "required": [
          "api_key"
        ],
        "title": "TelnyxCredentialsPayload"
      },
      "TelnyxMessagePayload": {
        "properties": {
          "to": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "items": {
                  "type": "string"
                },
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "title": "To"
          },
          "to_phone": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "To Phone"
          },
          "to_phones": {
            "anyOf": [
              {
                "items": {
                  "type": "string"
                },
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "title": "To Phones"
          },
          "from_number": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "From Number"
          },
          "body": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Body",
            "default": ""
          },
          "message": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Message"
          },
          "conversation_id": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Conversation Id"
          },
          "contact_id": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Contact Id"
          },
          "media_urls": {
            "anyOf": [
              {
                "items": {
                  "type": "string"
                },
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "title": "Media Urls"
          },
          "is_group": {
            "type": "boolean",
            "title": "Is Group",
            "default": false
          }
        },
        "type": "object",
        "title": "TelnyxMessagePayload"
      },
      "TelnyxNumberOrderPayload": {
        "properties": {
          "phone_number": {
            "type": "string",
            "title": "Phone Number"
          },
          "connection_id": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Connection Id"
          },
          "messaging_profile_id": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Messaging Profile Id"
          }
        },
        "type": "object",
        "required": [
          "phone_number"
        ],
        "title": "TelnyxNumberOrderPayload"
      },
      "TelnyxPortabilityPayload": {
        "properties": {
          "phone_numbers": {
            "items": {
              "type": "string"
            },
            "type": "array",
            "title": "Phone Numbers"
          }
        },
        "type": "object",
        "required": [
          "phone_numbers"
        ],
        "title": "TelnyxPortabilityPayload"
      },
      "TokenRefreshRequest": {
        "properties": {
          "refresh_token": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Refresh Token"
          }
        },
        "type": "object",
        "title": "TokenRefreshRequest"
      },
      "TokenResponse": {
        "properties": {
          "access_token": {
            "type": "string",
            "title": "Access Token"
          },
          "refresh_token": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Refresh Token"
          },
          "token_type": {
            "type": "string",
            "title": "Token Type",
            "default": "bearer"
          },
          "expires_in": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Expires In"
          },
          "scope": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Scope"
          },
          "user": {
            "anyOf": [
              {
                "additionalProperties": true,
                "type": "object"
              },
              {
                "type": "null"
              }
            ],
            "title": "User"
          }
        },
        "type": "object",
        "required": [
          "access_token"
        ],
        "title": "TokenResponse"
      },
      "TwilioCallAvailabilityPayload": {
        "properties": {
          "call_status": {
            "type": "string",
            "title": "Call Status",
            "default": "available"
          },
          "user_id": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "User Id"
          },
          "available_for_web_calls": {
            "anyOf": [
              {
                "type": "boolean"
              },
              {
                "type": "null"
              }
            ],
            "title": "Available For Web Calls"
          },
          "available_for_mobile_calls": {
            "anyOf": [
              {
                "type": "boolean"
              },
              {
                "type": "null"
              }
            ],
            "title": "Available For Mobile Calls"
          },
          "allow_web_calls": {
            "anyOf": [
              {
                "type": "boolean"
              },
              {
                "type": "null"
              }
            ],
            "title": "Allow Web Calls"
          },
          "allow_mobile_calls": {
            "anyOf": [
              {
                "type": "boolean"
              },
              {
                "type": "null"
              }
            ],
            "title": "Allow Mobile Calls"
          },
          "has_mobile_app": {
            "anyOf": [
              {
                "type": "boolean"
              },
              {
                "type": "null"
              }
            ],
            "title": "Has Mobile App"
          },
          "reset": {
            "type": "boolean",
            "title": "Reset",
            "default": false
          }
        },
        "type": "object",
        "title": "TwilioCallAvailabilityPayload"
      },
      "TwilioCallPayload": {
        "properties": {
          "to_phone": {
            "type": "string",
            "title": "To Phone"
          },
          "from_phone": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "From Phone"
          },
          "url": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Url"
          },
          "twiml": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Twiml"
          }
        },
        "type": "object",
        "required": [
          "to_phone"
        ],
        "title": "TwilioCallPayload"
      },
      "TwilioConversationPayload": {
        "properties": {
          "friendly_name": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Friendly Name"
          },
          "phone": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Phone"
          },
          "contact_ids": {
            "anyOf": [
              {
                "items": {
                  "type": "string"
                },
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "title": "Contact Ids"
          },
          "is_group": {
            "type": "boolean",
            "title": "Is Group",
            "default": false
          },
          "chat_service_sid": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Chat Service Sid"
          }
        },
        "type": "object",
        "title": "TwilioConversationPayload"
      },
      "TwilioCredentialsPayload": {
        "properties": {
          "account_sid": {
            "type": "string",
            "title": "Account Sid"
          },
          "auth_token": {
            "type": "string",
            "title": "Auth Token"
          },
          "chat_service_sid": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Chat Service Sid"
          },
          "default_from_number": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Default From Number"
          },
          "validate_live": {
            "type": "boolean",
            "title": "Validate Live",
            "default": true
          }
        },
        "type": "object",
        "required": [
          "account_sid",
          "auth_token"
        ],
        "title": "TwilioCredentialsPayload"
      },
      "TwilioMessagePayload": {
        "properties": {
          "to_phone": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "To Phone"
          },
          "from_number": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "From Number"
          },
          "message": {
            "type": "string",
            "title": "Message"
          },
          "conversation_id": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Conversation Id"
          },
          "contact_id": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Contact Id"
          },
          "media_urls": {
            "anyOf": [
              {
                "items": {
                  "type": "string"
                },
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "title": "Media Urls"
          }
        },
        "type": "object",
        "required": [
          "message"
        ],
        "title": "TwilioMessagePayload"
      },
      "TwilioOrderNumberPayload": {
        "properties": {
          "phone_number": {
            "type": "string",
            "title": "Phone Number"
          },
          "friendly_name": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Friendly Name"
          }
        },
        "type": "object",
        "required": [
          "phone_number"
        ],
        "title": "TwilioOrderNumberPayload"
      },
      "UninstallAppRequest": {
        "properties": {
          "drop_schemas": {
            "type": "boolean",
            "title": "Drop Schemas",
            "default": false
          },
          "drop_columns": {
            "type": "boolean",
            "title": "Drop Columns",
            "default": false
          },
          "delete_records": {
            "type": "boolean",
            "title": "Delete Records",
            "default": true
          },
          "remove_app_record": {
            "type": "boolean",
            "title": "Remove App Record",
            "default": false
          }
        },
        "type": "object",
        "title": "UninstallAppRequest"
      },
      "UpdateSandboxRequest": {
        "properties": {
          "name": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Name"
          },
          "description": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Description"
          },
          "environment": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Environment"
          }
        },
        "type": "object",
        "title": "UpdateSandboxRequest"
      },
      "UploadCustomAudiencePayload": {
        "properties": {
          "name": {
            "type": "string",
            "title": "Name"
          },
          "contacts": {
            "items": {
              "additionalProperties": true,
              "type": "object"
            },
            "type": "array",
            "title": "Contacts"
          },
          "description": {
            "type": "string",
            "title": "Description",
            "default": "Synced from Open Valstorm CRM"
          },
          "create_lookalike_us_1pct": {
            "type": "boolean",
            "title": "Create Lookalike Us 1Pct",
            "default": false
          }
        },
        "type": "object",
        "required": [
          "name",
          "contacts"
        ],
        "title": "UploadCustomAudiencePayload"
      },
      "UserActivationRequest": {
        "properties": {
          "activation_code": {
            "type": "string",
            "title": "Activation Code"
          },
          "password": {
            "type": "string",
            "title": "Password"
          }
        },
        "type": "object",
        "required": [
          "activation_code",
          "password"
        ],
        "title": "UserActivationRequest"
      },
      "UserRegistrationRequest": {
        "properties": {
          "first_name": {
            "type": "string",
            "title": "First Name"
          },
          "last_name": {
            "type": "string",
            "title": "Last Name"
          },
          "email": {
            "type": "string",
            "format": "email",
            "title": "Email"
          },
          "organization_id": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Organization Id"
          },
          "permissions": {
            "items": {
              "type": "string"
            },
            "type": "array",
            "title": "Permissions"
          },
          "system_user": {
            "type": "boolean",
            "title": "System User",
            "default": false
          }
        },
        "type": "object",
        "required": [
          "first_name",
          "last_name",
          "email"
        ],
        "title": "UserRegistrationRequest"
      },
      "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"
      },
      "ValidationRuleCreateRequest": {
        "properties": {
          "api_name": {
            "type": "string",
            "title": "Api Name"
          },
          "error_message": {
            "type": "string",
            "title": "Error Message"
          },
          "formula": {
            "type": "string",
            "title": "Formula"
          },
          "active": {
            "type": "boolean",
            "title": "Active",
            "default": true
          }
        },
        "type": "object",
        "required": [
          "api_name",
          "error_message",
          "formula"
        ],
        "title": "ValidationRuleCreateRequest"
      },
      "ValidationRuleUpdateRequest": {
        "properties": {
          "error_message": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Error Message"
          },
          "formula": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Formula"
          },
          "active": {
            "anyOf": [
              {
                "type": "boolean"
              },
              {
                "type": "null"
              }
            ],
            "title": "Active"
          }
        },
        "type": "object",
        "title": "ValidationRuleUpdateRequest"
      },
      "VerifyOtpRequest": {
        "properties": {
          "email": {
            "type": "string",
            "title": "Email"
          },
          "code": {
            "type": "string",
            "title": "Code"
          },
          "client_id": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Client Id",
            "default": "web"
          }
        },
        "type": "object",
        "required": [
          "email",
          "code"
        ],
        "title": "VerifyOtpRequest"
      },
      "VfsBatchDeleteRequest": {
        "properties": {
          "items": {
            "items": {
              "type": "string"
            },
            "type": "array",
            "title": "Items"
          }
        },
        "type": "object",
        "required": [
          "items"
        ],
        "title": "VfsBatchDeleteRequest"
      },
      "VfsBatchMoveItem": {
        "properties": {
          "item_id": {
            "type": "string",
            "title": "Item Id"
          },
          "from_vault_id": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "From Vault Id"
          },
          "to_vault_id": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "To Vault Id"
          }
        },
        "type": "object",
        "required": [
          "item_id"
        ],
        "title": "VfsBatchMoveItem"
      },
      "VfsBatchMoveRequest": {
        "properties": {
          "items": {
            "items": {
              "$ref": "#/components/schemas/VfsBatchMoveItem"
            },
            "type": "array",
            "title": "Items"
          }
        },
        "type": "object",
        "required": [
          "items"
        ],
        "title": "VfsBatchMoveRequest"
      },
      "VfsBatchVaultsRequest": {
        "properties": {
          "vault_ids": {
            "items": {
              "type": "string"
            },
            "type": "array",
            "title": "Vault Ids"
          },
          "bypass_cache": {
            "type": "boolean",
            "title": "Bypass Cache",
            "default": false
          }
        },
        "type": "object",
        "required": [
          "vault_ids"
        ],
        "title": "VfsBatchVaultsRequest"
      },
      "VfsIndexChunksRequest": {
        "properties": {
          "file_id": {
            "type": "string",
            "title": "File Id"
          },
          "text_content": {
            "type": "string",
            "title": "Text Content"
          },
          "vault_id": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Vault Id"
          },
          "embeddings": {
            "anyOf": [
              {
                "items": {
                  "items": {
                    "type": "number"
                  },
                  "type": "array"
                },
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "title": "Embeddings"
          },
          "chunk_size": {
            "type": "integer",
            "title": "Chunk Size",
            "default": 800
          }
        },
        "type": "object",
        "required": [
          "file_id",
          "text_content"
        ],
        "title": "VfsIndexChunksRequest"
      },
      "VfsMoveRequest": {
        "properties": {
          "item_id": {
            "type": "string",
            "title": "Item Id"
          },
          "from_vault_id": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "From Vault Id"
          },
          "to_vault_id": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "To Vault Id"
          }
        },
        "type": "object",
        "required": [
          "item_id"
        ],
        "title": "VfsMoveRequest"
      },
      "VfsQueryRequest": {
        "properties": {
          "query": {
            "type": "string",
            "title": "Query"
          },
          "bypass_cache": {
            "type": "boolean",
            "title": "Bypass Cache",
            "default": false
          }
        },
        "type": "object",
        "required": [
          "query"
        ],
        "title": "VfsQueryRequest"
      },
      "VfsSearchRequest": {
        "properties": {
          "query": {
            "type": "string",
            "title": "Query"
          },
          "query_embedding": {
            "anyOf": [
              {
                "items": {
                  "type": "number"
                },
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "title": "Query Embedding"
          },
          "limit": {
            "type": "integer",
            "title": "Limit",
            "default": 10
          },
          "vault_id": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Vault Id"
          }
        },
        "type": "object",
        "required": [
          "query"
        ],
        "title": "VfsSearchRequest"
      },
      "WatchGmailPayload": {
        "properties": {
          "topic_name": {
            "type": "string",
            "title": "Topic Name"
          },
          "label_ids": {
            "anyOf": [
              {
                "items": {
                  "type": "string"
                },
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "title": "Label Ids"
          }
        },
        "type": "object",
        "required": [
          "topic_name"
        ],
        "title": "WatchGmailPayload"
      },
      "WebNotification": {
        "properties": {
          "message": {
            "$ref": "#/components/schemas/WebNotificationMessage"
          },
          "project_id": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Project Id"
          }
        },
        "additionalProperties": true,
        "type": "object",
        "required": [
          "message"
        ],
        "title": "WebNotification"
      },
      "WebNotificationData": {
        "properties": {
          "title": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Title"
          },
          "body": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Body"
          },
          "icon": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Icon"
          },
          "url": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Url"
          }
        },
        "additionalProperties": true,
        "type": "object",
        "title": "WebNotificationData"
      },
      "WebNotificationMessage": {
        "properties": {
          "token": {
            "type": "string",
            "title": "Token"
          },
          "title": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Title"
          },
          "body": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Body"
          },
          "data": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/WebNotificationData"
              },
              {
                "additionalProperties": true,
                "type": "object"
              }
            ],
            "title": "Data"
          }
        },
        "additionalProperties": true,
        "type": "object",
        "required": [
          "token"
        ],
        "title": "WebNotificationMessage"
      }
    },
    "securitySchemes": {
      "HTTPBearer": {
        "type": "http",
        "scheme": "bearer"
      }
    }
  }
}