{
  "openapi": "3.1.0",
  "info": {
    "description": "The Autessa developer API. Authenticate with `Authorization: <key>` (no Bearer prefix): a client API key, or a deploy key for /clients/deploy and /clients/pipelines.",
    "title": "Autessa API",
    "version": "2026-11"
  },
  "servers": [
    {
      "url": "https://api.autessa.com"
    }
  ],
  "security": [
    {
      "apiKey": []
    }
  ],
  "tags": [
    {
      "description": "AI Application Firewall: inspect turns, score voices, verify people, simulations and alerts",
      "name": "aaf"
    },
    {
      "description": "Autessa as code: diff, deploy, roll back and pull a project in one tenant (deploy key)",
      "name": "deploy"
    },
    {
      "description": "Tools an external agent may call: built-ins and the tenant tools the key may run",
      "name": "agent-tools"
    },
    {
      "description": "Transcript grading",
      "name": "evaluations"
    },
    {
      "description": "AutessaDB Drive: find, grep, read and search files",
      "name": "autessadb-drive"
    },
    {
      "description": "Synthetic data: generate rows, or run jobs that produce a file",
      "name": "synthetic-data"
    },
    {
      "description": "Phone numbers: list, search, buy and route (key permission PHONE_MANAGE)",
      "name": "phone"
    },
    {
      "description": "AutessaDB tables: query, search and write rows",
      "name": "autessadb"
    },
    {
      "description": "SecurePass call redaction jobs and items",
      "name": "call-redaction"
    },
    {
      "description": "Autessa Pipelines: start, watch, promote and roll back runs",
      "name": "pipelines"
    },
    {
      "description": "Run Autessa agents",
      "name": "agents"
    }
  ],
  "paths": {
    "/clients/aaf/challenge/start": {
      "post": {
        "description": "400 when no method is set up for the person; 429 while the session is locked.",
        "operationId": "start",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ChallengeStartRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "*/*": {
                "schema": {
                  "$ref": "#/components/schemas/ChallengeStartResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "summary": "Start a verification",
        "tags": [
          "aaf"
        ],
        "x-autessa-status": "live"
      }
    },
    "/clients/aaf/challenge/verify": {
      "post": {
        "operationId": "verify",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ChallengeVerifyRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "*/*": {
                "schema": {
                  "$ref": "#/components/schemas/ChallengeVerifyResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "summary": "Check an answer",
        "tags": [
          "aaf"
        ],
        "x-autessa-status": "live"
      }
    },
    "/clients/aaf/dashboard": {
      "get": {
        "operationId": "dashboard",
        "parameters": [
          {
            "in": "query",
            "name": "from",
            "required": false,
            "schema": {
              "type": "string"
            },
            "description": "ISO-8601 instant or date; default 7 days ago."
          },
          {
            "in": "query",
            "name": "to",
            "required": false,
            "schema": {
              "type": "string"
            },
            "description": "ISO-8601 instant or date; default now."
          },
          {
            "in": "query",
            "name": "source",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "policyName",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "apiKeyId",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "*/*": {
                "schema": {
                  "$ref": "#/components/schemas/DashboardResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "summary": "What the firewall checked and caught",
        "tags": [
          "aaf"
        ],
        "x-autessa-status": "live"
      }
    },
    "/clients/aaf/disclosures/{subjectId}": {
      "get": {
        "operationId": "disclosures",
        "parameters": [
          {
            "in": "path",
            "name": "subjectId",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "policyName",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "*/*": {
                "schema": {
                  "$ref": "#/components/schemas/DisclosuresResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "summary": "Sensitive records shown to one end user in the last 24 hours",
        "tags": [
          "aaf"
        ],
        "x-autessa-status": "live"
      }
    },
    "/clients/aaf/events": {
      "get": {
        "operationId": "events",
        "parameters": [
          {
            "in": "query",
            "name": "since",
            "required": false,
            "schema": {
              "type": "string"
            },
            "description": "Default: 24 hours ago."
          },
          {
            "in": "query",
            "name": "limit",
            "required": false,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "*/*": {
                "schema": {
                  "$ref": "#/components/schemas/EventsResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "summary": "List alerts and flags (newest first)",
        "tags": [
          "aaf"
        ],
        "x-autessa-status": "live"
      }
    },
    "/clients/aaf/inspect": {
      "post": {
        "description": "Check one point of a turn (user input, tool call, tool result, final reply, voice, or the tool definitions an agent is about to get) and get what to do. BLOCK and CHALLENGE carry the policy's safeReply; text phases carry redactedText when personal data was masked. Company-scoped: no resourceId.",
        "operationId": "inspect",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/InspectRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "*/*": {
                "schema": {
                  "$ref": "#/components/schemas/InspectResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "summary": "Inspect one turn",
        "tags": [
          "aaf"
        ],
        "x-autessa-status": "live"
      }
    },
    "/clients/aaf/simulations": {
      "post": {
        "description": "Runs the attack packs against an Autessa agent (agentId), a named policy, the company default, or your own agent's HTTP endpoint (target). Sending target together with agentId is a 400. Options: categories, languages (en, es) and multiTurn.",
        "operationId": "startSimulation",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/SimulationRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "content": {
              "*/*": {
                "schema": {
                  "$ref": "#/components/schemas/SimulationStartResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "summary": "Start an attack simulation",
        "tags": [
          "aaf"
        ],
        "x-autessa-status": "live"
      }
    },
    "/clients/aaf/simulations/{simulationId}": {
      "get": {
        "operationId": "simulation",
        "parameters": [
          {
            "in": "path",
            "name": "simulationId",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "*/*": {
                "schema": {
                  "$ref": "#/components/schemas/SimulationResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "summary": "Get a simulation's scorecard",
        "tags": [
          "aaf"
        ],
        "x-autessa-status": "live"
      }
    },
    "/clients/aaf/tool-pins": {
      "get": {
        "description": "Each (server, tool name) definition is pinned the first time it is seen; a later change is CHANGED until a company admin approves it in Autessa.",
        "operationId": "toolPins",
        "parameters": [
          {
            "in": "query",
            "name": "status",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "limit",
            "required": false,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "*/*": {
                "schema": {
                  "$ref": "#/components/schemas/ToolPinListResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "summary": "List pinned tool definitions",
        "tags": [
          "aaf"
        ],
        "x-autessa-status": "live"
      }
    },
    "/clients/aaf/totp/confirm": {
      "post": {
        "operationId": "totpConfirm",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/TotpConfirmRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "*/*": {
                "schema": {
                  "$ref": "#/components/schemas/TotpConfirmResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "summary": "Confirm an authenticator with a first code",
        "tags": [
          "aaf"
        ],
        "x-autessa-status": "live"
      }
    },
    "/clients/aaf/totp/enroll": {
      "post": {
        "operationId": "totpEnroll",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/TotpEnrollRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "*/*": {
                "schema": {
                  "$ref": "#/components/schemas/TotpEnrollResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "summary": "Set up an authenticator app for a user",
        "tags": [
          "aaf"
        ],
        "x-autessa-status": "live"
      }
    },
    "/clients/aaf/totp/{subjectId}": {
      "delete": {
        "operationId": "totpRemove",
        "parameters": [
          {
            "in": "path",
            "name": "subjectId",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "*/*": {
                "schema": {
                  "$ref": "#/components/schemas/TotpRemoveResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "summary": "Remove a user's authenticator",
        "tags": [
          "aaf"
        ],
        "x-autessa-status": "live"
      },
      "get": {
        "operationId": "totpStatus",
        "parameters": [
          {
            "in": "path",
            "name": "subjectId",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "*/*": {
                "schema": {
                  "$ref": "#/components/schemas/TotpStatusResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "summary": "A user's authenticator status",
        "tags": [
          "aaf"
        ],
        "x-autessa-status": "live"
      }
    },
    "/clients/aaf/voice/score": {
      "post": {
        "operationId": "scoreVoiceUpload",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/VoiceScoreRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "*/*": {
                "schema": {
                  "$ref": "#/components/schemas/VoiceScoreResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "summary": "Score audio for a synthetic voice",
        "tags": [
          "aaf"
        ],
        "x-autessa-status": "live"
      }
    },
    "/clients/aaf/word-of-day": {
      "get": {
        "description": "Needs the key permission AAF_WORD_OF_DAY (403 without it); 404 when the word of the day is off.",
        "operationId": "wordOfDay",
        "parameters": [
          {
            "in": "query",
            "name": "agentId",
            "required": false,
            "schema": {
              "type": "string"
            },
            "description": "For a policy with scope AGENT."
          }
        ],
        "responses": {
          "200": {
            "content": {
              "*/*": {
                "schema": {
                  "$ref": "#/components/schemas/WordOfDayResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "summary": "Today's word of the day",
        "tags": [
          "aaf"
        ],
        "x-autessa-status": "live"
      }
    },
    "/clients/agent-tools": {
      "get": {
        "description": "Tenant tools appear when the key may run them.",
        "operationId": "list_1",
        "parameters": [
          {
            "in": "query",
            "name": "include",
            "required": false,
            "schema": {
              "type": "string"
            },
            "description": "Comma list of builtin, tenant."
          }
        ],
        "responses": {
          "200": {
            "content": {
              "*/*": {
                "schema": {
                  "$ref": "#/components/schemas/ListAgentToolsResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "summary": "List tools an external agent may call",
        "tags": [
          "agent-tools"
        ],
        "x-autessa-status": "live"
      }
    },
    "/clients/agent-tools/{name}/invoke": {
      "post": {
        "description": "Runs through the same execution path and permission checks as tenant tools. The firewall TOOL_CALL check applies when the company policy has it on. Messaging (send_sms, send_email) and approvals (request_approval, get_approval) are built-in tools called here.",
        "operationId": "invoke",
        "parameters": [
          {
            "in": "path",
            "name": "name",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/InvokeAgentToolRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "content": {
              "*/*": {
                "schema": {
                  "$ref": "#/components/schemas/InvokeAgentToolResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "summary": "Invoke one tool",
        "tags": [
          "agent-tools"
        ],
        "x-autessa-status": "live"
      }
    },
    "/clients/agents/conversation": {
      "post": {
        "operationId": "handleMessage_4",
        "parameters": [
          {
            "description": "The agent id the key is granted. A body agentId must match it (filled from it when omitted).",
            "in": "query",
            "name": "resourceId",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ClientGetConversationRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "*/*": {
                "schema": {
                  "$ref": "#/components/schemas/ClientGetConversationResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "agents"
        ],
        "x-autessa-status": "live"
      }
    },
    "/clients/agents/conversation-status": {
      "post": {
        "description": "Needs ?resourceId=<agent id>; a body agentId must match it (filled from it when omitted).",
        "operationId": "handleMessage_5",
        "parameters": [
          {
            "description": "The agent id the key is granted. A body agentId must match it (filled from it when omitted).",
            "in": "query",
            "name": "resourceId",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ClientGetConversationStatusRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "*/*": {
                "schema": {
                  "$ref": "#/components/schemas/ClientGetConversationStatusResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "summary": "A conversation's status",
        "tags": [
          "agents"
        ],
        "x-autessa-status": "live"
      }
    },
    "/clients/agents/execute": {
      "post": {
        "description": "Needs ?resourceId=<agent id>; a body agentId must match it (filled from it when omitted). Rate limited per key.",
        "operationId": "handleMessage_1",
        "parameters": [
          {
            "description": "The agent id the key is granted. A body agentId must match it (filled from it when omitted).",
            "in": "query",
            "name": "resourceId",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/AgentExecutionRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {},
            "description": "OK"
          }
        },
        "summary": "Send a turn and get the reply",
        "tags": [
          "agents"
        ],
        "x-autessa-status": "live"
      }
    },
    "/clients/agents/execute-close": {
      "post": {
        "description": "Needs ?resourceId=<agent id>; a body agentId must match it (filled from it when omitted).",
        "operationId": "handleMessage_3",
        "parameters": [
          {
            "description": "The agent id the key is granted. A body agentId must match it (filled from it when omitted).",
            "in": "query",
            "name": "resourceId",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CloseAgentConversationRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {},
            "description": "OK"
          }
        },
        "summary": "Close a conversation",
        "tags": [
          "agents"
        ],
        "x-autessa-status": "live"
      }
    },
    "/clients/agents/execute-create": {
      "post": {
        "description": "Needs ?resourceId=<agent id>; a body agentId must match it (filled from it when omitted).",
        "operationId": "handleMessage_2",
        "parameters": [
          {
            "description": "The agent id the key is granted. A body agentId must match it (filled from it when omitted).",
            "in": "query",
            "name": "resourceId",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ClientCreateAgentConversationRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "*/*": {
                "schema": {
                  "$ref": "#/components/schemas/CreateAgentConversationResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "summary": "Start a conversation",
        "tags": [
          "agents"
        ],
        "x-autessa-status": "live"
      }
    },
    "/clients/agents/generate-audio-upload-link": {
      "post": {
        "operationId": "generateAudioUploadLink",
        "parameters": [
          {
            "description": "The agent id the key is granted. A body agentId must match it (filled from it when omitted).",
            "in": "query",
            "name": "resourceId",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/GenerateAudioUploadLinkRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "*/*": {
                "schema": {
                  "$ref": "#/components/schemas/GenerateAudioUploadLinkResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "agents"
        ],
        "x-autessa-status": "live"
      }
    },
    "/clients/agents/generate-file-upload-link": {
      "post": {
        "operationId": "generateFileUploadLink",
        "parameters": [
          {
            "description": "The agent id the key is granted. A body agentId must match it (filled from it when omitted).",
            "in": "query",
            "name": "resourceId",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/GenerateFileUploadLinkRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "*/*": {
                "schema": {
                  "$ref": "#/components/schemas/GenerateFileUploadLinkResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "agents"
        ],
        "x-autessa-status": "live"
      }
    },
    "/clients/agents/generate-image-upload-link": {
      "post": {
        "operationId": "generateImageUploadLink",
        "parameters": [
          {
            "description": "The agent id the key is granted. A body agentId must match it (filled from it when omitted).",
            "in": "query",
            "name": "resourceId",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/GenerateImageUploadLinkRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "*/*": {
                "schema": {
                  "$ref": "#/components/schemas/GenerateImageUploadLinkResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "agents"
        ],
        "x-autessa-status": "live"
      }
    },
    "/clients/agents/revive-conversation": {
      "post": {
        "operationId": "handleMessage",
        "parameters": [
          {
            "description": "The agent id the key is granted. A body agentId must match it (filled from it when omitted).",
            "in": "query",
            "name": "resourceId",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ClientReviveConversationRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "*/*": {
                "schema": {
                  "$ref": "#/components/schemas/ClientReviveConversationResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "agents"
        ],
        "x-autessa-status": "live"
      }
    },
    "/clients/autessadb-drive/access": {
      "post": {
        "operationId": "access",
        "parameters": [
          {
            "description": "The Drive table id the key is granted. The body tableId must match it.",
            "in": "query",
            "name": "resourceId",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NodeRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "*/*": {
                "schema": {
                  "$ref": "#/components/schemas/AccessResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "autessadb-drive"
        ],
        "x-autessa-status": "live"
      }
    },
    "/clients/autessadb-drive/changes": {
      "post": {
        "operationId": "changes",
        "parameters": [
          {
            "description": "The Drive table id the key is granted. The body tableId must match it.",
            "in": "query",
            "name": "resourceId",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/TableOnlyRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "*/*": {
                "schema": {
                  "$ref": "#/components/schemas/ChangesResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "autessadb-drive"
        ],
        "x-autessa-status": "live"
      }
    },
    "/clients/autessadb-drive/comments/add": {
      "post": {
        "operationId": "commentsAdd",
        "parameters": [
          {
            "description": "The Drive table id the key is granted. The body tableId must match it.",
            "in": "query",
            "name": "resourceId",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CommentAddRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "*/*": {
                "schema": {
                  "$ref": "#/components/schemas/CommentThreadResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "autessadb-drive"
        ],
        "x-autessa-status": "live"
      }
    },
    "/clients/autessadb-drive/comments/delete": {
      "post": {
        "operationId": "commentsDelete",
        "parameters": [
          {
            "description": "The Drive table id the key is granted. The body tableId must match it.",
            "in": "query",
            "name": "resourceId",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CommentDeleteRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "*/*": {
                "schema": {
                  "$ref": "#/components/schemas/CommentDeleteResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "autessadb-drive"
        ],
        "x-autessa-status": "live"
      }
    },
    "/clients/autessadb-drive/comments/edit": {
      "post": {
        "operationId": "commentsEdit",
        "parameters": [
          {
            "description": "The Drive table id the key is granted. The body tableId must match it.",
            "in": "query",
            "name": "resourceId",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CommentEditRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "*/*": {
                "schema": {
                  "$ref": "#/components/schemas/CommentThreadResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "autessadb-drive"
        ],
        "x-autessa-status": "live"
      }
    },
    "/clients/autessadb-drive/comments/list": {
      "post": {
        "operationId": "commentsList",
        "parameters": [
          {
            "description": "The Drive table id the key is granted. The body tableId must match it.",
            "in": "query",
            "name": "resourceId",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CommentsListRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "*/*": {
                "schema": {
                  "$ref": "#/components/schemas/CommentsListResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "autessadb-drive"
        ],
        "x-autessa-status": "live"
      }
    },
    "/clients/autessadb-drive/comments/resolve": {
      "post": {
        "operationId": "commentsResolve",
        "parameters": [
          {
            "description": "The Drive table id the key is granted. The body tableId must match it.",
            "in": "query",
            "name": "resourceId",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CommentResolveRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "*/*": {
                "schema": {
                  "$ref": "#/components/schemas/CommentThreadResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "autessadb-drive"
        ],
        "x-autessa-status": "live"
      }
    },
    "/clients/autessadb-drive/download-url": {
      "post": {
        "description": "Needs ?resourceId=<drive table id>; the body tableId must match it.",
        "operationId": "downloadUrl",
        "parameters": [
          {
            "description": "The Drive table id the key is granted. The body tableId must match it.",
            "in": "query",
            "name": "resourceId",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/DownloadUrlRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "*/*": {
                "schema": {
                  "$ref": "#/components/schemas/DownloadUrlResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "summary": "A download link for a file",
        "tags": [
          "autessadb-drive"
        ],
        "x-autessa-status": "live"
      }
    },
    "/clients/autessadb-drive/edit": {
      "post": {
        "operationId": "edit",
        "parameters": [
          {
            "description": "The Drive table id the key is granted. The body tableId must match it.",
            "in": "query",
            "name": "resourceId",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/EditRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "*/*": {
                "schema": {
                  "$ref": "#/components/schemas/EditResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "autessadb-drive"
        ],
        "x-autessa-status": "live"
      }
    },
    "/clients/autessadb-drive/empty-trash": {
      "post": {
        "operationId": "emptyTrash",
        "parameters": [
          {
            "description": "The Drive table id the key is granted. The body tableId must match it.",
            "in": "query",
            "name": "resourceId",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/TableOnlyRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "*/*": {
                "schema": {
                  "$ref": "#/components/schemas/PurgeResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "autessadb-drive"
        ],
        "x-autessa-status": "live"
      }
    },
    "/clients/autessadb-drive/fetch": {
      "post": {
        "operationId": "fetch",
        "parameters": [
          {
            "description": "The Drive table id the key is granted. The body tableId must match it.",
            "in": "query",
            "name": "resourceId",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/DownloadUrlRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "*/*": {
                "schema": {
                  "$ref": "#/components/schemas/FetchResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "autessadb-drive"
        ],
        "x-autessa-status": "live"
      }
    },
    "/clients/autessadb-drive/find": {
      "post": {
        "description": "Needs ?resourceId=<drive table id>; the body tableId must match it.",
        "operationId": "find",
        "parameters": [
          {
            "description": "The Drive table id the key is granted. The body tableId must match it.",
            "in": "query",
            "name": "resourceId",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/FindRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "*/*": {
                "schema": {
                  "$ref": "#/components/schemas/FindResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "summary": "Find files by name, type, size or date",
        "tags": [
          "autessadb-drive"
        ],
        "x-autessa-status": "live"
      }
    },
    "/clients/autessadb-drive/fs/replace": {
      "post": {
        "operationId": "fsReplace",
        "parameters": [
          {
            "description": "The Drive table id the key is granted. The body tableId must match it.",
            "in": "query",
            "name": "resourceId",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/FsReplaceRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "*/*": {
                "schema": {
                  "$ref": "#/components/schemas/NodeResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "autessadb-drive"
        ],
        "x-autessa-status": "live"
      }
    },
    "/clients/autessadb-drive/grep": {
      "post": {
        "description": "Needs ?resourceId=<drive table id>; the body tableId must match it.",
        "operationId": "grep",
        "parameters": [
          {
            "description": "The Drive table id the key is granted. The body tableId must match it.",
            "in": "query",
            "name": "resourceId",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/GrepRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "*/*": {
                "schema": {
                  "$ref": "#/components/schemas/GrepResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "summary": "Search file text by pattern",
        "tags": [
          "autessadb-drive"
        ],
        "x-autessa-status": "live"
      }
    },
    "/clients/autessadb-drive/links/create": {
      "post": {
        "operationId": "linksCreate",
        "parameters": [
          {
            "description": "The Drive table id the key is granted. The body tableId must match it.",
            "in": "query",
            "name": "resourceId",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/LinksCreateRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "*/*": {
                "schema": {
                  "$ref": "#/components/schemas/LinksCreateResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "autessadb-drive"
        ],
        "x-autessa-status": "live"
      }
    },
    "/clients/autessadb-drive/links/list": {
      "post": {
        "operationId": "linksList",
        "parameters": [
          {
            "description": "The Drive table id the key is granted. The body tableId must match it.",
            "in": "query",
            "name": "resourceId",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NodeRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "*/*": {
                "schema": {
                  "$ref": "#/components/schemas/LinksListResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "autessadb-drive"
        ],
        "x-autessa-status": "live"
      }
    },
    "/clients/autessadb-drive/links/revoke": {
      "post": {
        "operationId": "linksRevoke",
        "parameters": [
          {
            "description": "The Drive table id the key is granted. The body tableId must match it.",
            "in": "query",
            "name": "resourceId",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/LinkIdRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "*/*": {
                "schema": {
                  "$ref": "#/components/schemas/OkResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "autessadb-drive"
        ],
        "x-autessa-status": "live"
      }
    },
    "/clients/autessadb-drive/ls": {
      "post": {
        "description": "Needs ?resourceId=<drive table id>; the body tableId must match it.",
        "operationId": "ls",
        "parameters": [
          {
            "description": "The Drive table id the key is granted. The body tableId must match it.",
            "in": "query",
            "name": "resourceId",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/LsRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "*/*": {
                "schema": {
                  "$ref": "#/components/schemas/LsResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "summary": "List a folder",
        "tags": [
          "autessadb-drive"
        ],
        "x-autessa-status": "live"
      }
    },
    "/clients/autessadb-drive/mkdir": {
      "post": {
        "operationId": "mkdir",
        "parameters": [
          {
            "description": "The Drive table id the key is granted. The body tableId must match it.",
            "in": "query",
            "name": "resourceId",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/MkdirRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "*/*": {
                "schema": {
                  "$ref": "#/components/schemas/MkdirResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "autessadb-drive"
        ],
        "x-autessa-status": "live"
      }
    },
    "/clients/autessadb-drive/move": {
      "post": {
        "operationId": "move",
        "parameters": [
          {
            "description": "The Drive table id the key is granted. The body tableId must match it.",
            "in": "query",
            "name": "resourceId",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/MoveRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "*/*": {
                "schema": {
                  "$ref": "#/components/schemas/MoveResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "autessadb-drive"
        ],
        "x-autessa-status": "live"
      }
    },
    "/clients/autessadb-drive/pull": {
      "post": {
        "operationId": "pull",
        "parameters": [
          {
            "description": "The Drive table id the key is granted. The body tableId must match it.",
            "in": "query",
            "name": "resourceId",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/PullRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "*/*": {
                "schema": {
                  "$ref": "#/components/schemas/PullResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "autessadb-drive"
        ],
        "x-autessa-status": "live"
      }
    },
    "/clients/autessadb-drive/purge": {
      "post": {
        "operationId": "purge",
        "parameters": [
          {
            "description": "The Drive table id the key is granted. The body tableId must match it.",
            "in": "query",
            "name": "resourceId",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NodeIdsRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "*/*": {
                "schema": {
                  "$ref": "#/components/schemas/PurgeResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "autessadb-drive"
        ],
        "x-autessa-status": "live"
      }
    },
    "/clients/autessadb-drive/push": {
      "post": {
        "operationId": "push",
        "parameters": [
          {
            "description": "The Drive table id the key is granted. The body tableId must match it.",
            "in": "query",
            "name": "resourceId",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/PushRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "*/*": {
                "schema": {
                  "$ref": "#/components/schemas/CommitResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "autessadb-drive"
        ],
        "x-autessa-status": "live"
      }
    },
    "/clients/autessadb-drive/read": {
      "post": {
        "description": "Needs ?resourceId=<drive table id>; the body tableId must match it.",
        "operationId": "read",
        "parameters": [
          {
            "description": "The Drive table id the key is granted. The body tableId must match it.",
            "in": "query",
            "name": "resourceId",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ReadRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "*/*": {
                "schema": {
                  "$ref": "#/components/schemas/ReadResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "summary": "Read a file's text",
        "tags": [
          "autessadb-drive"
        ],
        "x-autessa-status": "live"
      }
    },
    "/clients/autessadb-drive/rename": {
      "post": {
        "operationId": "rename",
        "parameters": [
          {
            "description": "The Drive table id the key is granted. The body tableId must match it.",
            "in": "query",
            "name": "resourceId",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/RenameRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "*/*": {
                "schema": {
                  "$ref": "#/components/schemas/NodeResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "autessadb-drive"
        ],
        "x-autessa-status": "live"
      }
    },
    "/clients/autessadb-drive/restore": {
      "post": {
        "operationId": "restore",
        "parameters": [
          {
            "description": "The Drive table id the key is granted. The body tableId must match it.",
            "in": "query",
            "name": "resourceId",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NodeIdsRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "*/*": {
                "schema": {
                  "$ref": "#/components/schemas/RestoreResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "autessadb-drive"
        ],
        "x-autessa-status": "live"
      }
    },
    "/clients/autessadb-drive/search": {
      "post": {
        "description": "Needs ?resourceId=<drive table id>; the body tableId must match it.",
        "operationId": "search_1",
        "parameters": [
          {
            "description": "The Drive table id the key is granted. The body tableId must match it.",
            "in": "query",
            "name": "resourceId",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/SearchRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "*/*": {
                "schema": {
                  "$ref": "#/components/schemas/SearchResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "summary": "Ranked search over file text",
        "tags": [
          "autessadb-drive"
        ],
        "x-autessa-status": "live"
      }
    },
    "/clients/autessadb-drive/settings/get": {
      "post": {
        "operationId": "settingsGet",
        "parameters": [
          {
            "description": "The Drive table id the key is granted. The body tableId must match it.",
            "in": "query",
            "name": "resourceId",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/TableOnlyRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "*/*": {
                "schema": {
                  "$ref": "#/components/schemas/SettingsResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "autessadb-drive"
        ],
        "x-autessa-status": "live"
      }
    },
    "/clients/autessadb-drive/settings/update": {
      "post": {
        "operationId": "settingsUpdate",
        "parameters": [
          {
            "description": "The Drive table id the key is granted. The body tableId must match it.",
            "in": "query",
            "name": "resourceId",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/SettingsUpdateRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "*/*": {
                "schema": {
                  "$ref": "#/components/schemas/SettingsResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "autessadb-drive"
        ],
        "x-autessa-status": "live"
      }
    },
    "/clients/autessadb-drive/shared-with-company": {
      "post": {
        "operationId": "sharedWithCompany",
        "parameters": [
          {
            "description": "The Drive table id the key is granted. The body tableId must match it.",
            "in": "query",
            "name": "resourceId",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/TableOnlyRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "*/*": {
                "schema": {
                  "$ref": "#/components/schemas/SharedWithMeResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "autessadb-drive"
        ],
        "x-autessa-status": "live"
      }
    },
    "/clients/autessadb-drive/shared-with-me": {
      "post": {
        "operationId": "sharedWithMe",
        "parameters": [
          {
            "description": "The Drive table id the key is granted. The body tableId must match it.",
            "in": "query",
            "name": "resourceId",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/TableOnlyRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "*/*": {
                "schema": {
                  "$ref": "#/components/schemas/SharedWithMeResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "autessadb-drive"
        ],
        "x-autessa-status": "live"
      }
    },
    "/clients/autessadb-drive/shares/list": {
      "post": {
        "operationId": "sharesList",
        "parameters": [
          {
            "description": "The Drive table id the key is granted. The body tableId must match it.",
            "in": "query",
            "name": "resourceId",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NodeRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "*/*": {
                "schema": {
                  "$ref": "#/components/schemas/SharesListResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "autessadb-drive"
        ],
        "x-autessa-status": "live"
      }
    },
    "/clients/autessadb-drive/shares/remove": {
      "post": {
        "operationId": "sharesRemove",
        "parameters": [
          {
            "description": "The Drive table id the key is granted. The body tableId must match it.",
            "in": "query",
            "name": "resourceId",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/SharesRemoveRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "*/*": {
                "schema": {
                  "$ref": "#/components/schemas/OkResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "autessadb-drive"
        ],
        "x-autessa-status": "live"
      }
    },
    "/clients/autessadb-drive/shares/upsert": {
      "post": {
        "operationId": "sharesUpsert",
        "parameters": [
          {
            "description": "The Drive table id the key is granted. The body tableId must match it.",
            "in": "query",
            "name": "resourceId",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/SharesUpsertRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "*/*": {
                "schema": {
                  "$ref": "#/components/schemas/SharesUpsertResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "autessadb-drive"
        ],
        "x-autessa-status": "live"
      }
    },
    "/clients/autessadb-drive/stat": {
      "post": {
        "description": "Needs ?resourceId=<drive table id>; the body tableId must match it.",
        "operationId": "stat",
        "parameters": [
          {
            "description": "The Drive table id the key is granted. The body tableId must match it.",
            "in": "query",
            "name": "resourceId",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NodeRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "*/*": {
                "schema": {
                  "$ref": "#/components/schemas/StatResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "summary": "One node's details",
        "tags": [
          "autessadb-drive"
        ],
        "x-autessa-status": "live"
      }
    },
    "/clients/autessadb-drive/status": {
      "post": {
        "operationId": "status",
        "parameters": [
          {
            "description": "The Drive table id the key is granted. The body tableId must match it.",
            "in": "query",
            "name": "resourceId",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/TableOnlyRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "*/*": {
                "schema": {
                  "$ref": "#/components/schemas/StatusResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "autessadb-drive"
        ],
        "x-autessa-status": "live"
      }
    },
    "/clients/autessadb-drive/transfer-owner": {
      "post": {
        "operationId": "transferOwner",
        "parameters": [
          {
            "description": "The Drive table id the key is granted. The body tableId must match it.",
            "in": "query",
            "name": "resourceId",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/TransferOwnerRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "*/*": {
                "schema": {
                  "$ref": "#/components/schemas/NodeResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "autessadb-drive"
        ],
        "x-autessa-status": "live"
      }
    },
    "/clients/autessadb-drive/trash": {
      "post": {
        "operationId": "trash",
        "parameters": [
          {
            "description": "The Drive table id the key is granted. The body tableId must match it.",
            "in": "query",
            "name": "resourceId",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/TrashRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "*/*": {
                "schema": {
                  "$ref": "#/components/schemas/TrashResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "autessadb-drive"
        ],
        "x-autessa-status": "live"
      }
    },
    "/clients/autessadb-drive/trash/list": {
      "post": {
        "operationId": "trashList",
        "parameters": [
          {
            "description": "The Drive table id the key is granted. The body tableId must match it.",
            "in": "query",
            "name": "resourceId",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/TableOnlyRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "*/*": {
                "schema": {
                  "$ref": "#/components/schemas/TrashListResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "autessadb-drive"
        ],
        "x-autessa-status": "live"
      }
    },
    "/clients/autessadb-drive/tree": {
      "post": {
        "operationId": "tree",
        "parameters": [
          {
            "description": "The Drive table id the key is granted. The body tableId must match it.",
            "in": "query",
            "name": "resourceId",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/TreeRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "*/*": {
                "schema": {
                  "$ref": "#/components/schemas/TreeResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "autessadb-drive"
        ],
        "x-autessa-status": "live"
      }
    },
    "/clients/autessadb-drive/upload": {
      "post": {
        "operationId": "upload_1",
        "parameters": [
          {
            "description": "The Drive table id the key is granted. The body tableId must match it.",
            "in": "query",
            "name": "resourceId",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UploadRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "*/*": {
                "schema": {
                  "$ref": "#/components/schemas/UploadResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "autessadb-drive"
        ],
        "x-autessa-status": "live"
      }
    },
    "/clients/autessadb-drive/uploads/abort": {
      "post": {
        "operationId": "uploadsAbort",
        "parameters": [
          {
            "description": "The Drive table id the key is granted. The body tableId must match it.",
            "in": "query",
            "name": "resourceId",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UploadIdsRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "*/*": {
                "schema": {
                  "$ref": "#/components/schemas/OkResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "autessadb-drive"
        ],
        "x-autessa-status": "live"
      }
    },
    "/clients/autessadb-drive/uploads/commit": {
      "post": {
        "operationId": "uploadsCommit",
        "parameters": [
          {
            "description": "The Drive table id the key is granted. The body tableId must match it.",
            "in": "query",
            "name": "resourceId",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UploadIdsRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "*/*": {
                "schema": {
                  "$ref": "#/components/schemas/CommitResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "autessadb-drive"
        ],
        "x-autessa-status": "live"
      }
    },
    "/clients/autessadb-drive/uploads/complete": {
      "post": {
        "operationId": "completeAlias",
        "parameters": [
          {
            "description": "The Drive table id the key is granted. The body tableId must match it.",
            "in": "query",
            "name": "resourceId",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CompleteMultipartRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "*/*": {
                "schema": {
                  "$ref": "#/components/schemas/CompleteMultipartResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "autessadb-drive"
        ],
        "x-autessa-status": "live"
      }
    },
    "/clients/autessadb-drive/uploads/complete-multipart": {
      "post": {
        "operationId": "completeMultipart",
        "parameters": [
          {
            "description": "The Drive table id the key is granted. The body tableId must match it.",
            "in": "query",
            "name": "resourceId",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CompleteMultipartRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "*/*": {
                "schema": {
                  "$ref": "#/components/schemas/CompleteMultipartResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "autessadb-drive"
        ],
        "x-autessa-status": "live"
      }
    },
    "/clients/autessadb-drive/uploads/create": {
      "post": {
        "operationId": "uploadsCreate",
        "parameters": [
          {
            "description": "The Drive table id the key is granted. The body tableId must match it.",
            "in": "query",
            "name": "resourceId",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UploadsCreateRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "*/*": {
                "schema": {
                  "$ref": "#/components/schemas/UploadsCreateResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "autessadb-drive"
        ],
        "x-autessa-status": "live"
      }
    },
    "/clients/autessadb-drive/uploads/part-urls": {
      "post": {
        "operationId": "partUrls",
        "parameters": [
          {
            "description": "The Drive table id the key is granted. The body tableId must match it.",
            "in": "query",
            "name": "resourceId",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/PartUrlsRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "*/*": {
                "schema": {
                  "$ref": "#/components/schemas/PartUrlsResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "autessadb-drive"
        ],
        "x-autessa-status": "live"
      }
    },
    "/clients/autessadb-drive/uploads/progress": {
      "post": {
        "operationId": "uploadsProgress",
        "parameters": [
          {
            "description": "The Drive table id the key is granted. The body tableId must match it.",
            "in": "query",
            "name": "resourceId",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UploadIdsRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "*/*": {
                "schema": {
                  "$ref": "#/components/schemas/UploadProgressResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "autessadb-drive"
        ],
        "x-autessa-status": "live"
      }
    },
    "/clients/autessadb-drive/uploads/resume": {
      "post": {
        "operationId": "uploadsResume",
        "parameters": [
          {
            "description": "The Drive table id the key is granted. The body tableId must match it.",
            "in": "query",
            "name": "resourceId",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UploadResumeRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "*/*": {
                "schema": {
                  "$ref": "#/components/schemas/UploadResumeResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "autessadb-drive"
        ],
        "x-autessa-status": "live"
      }
    },
    "/clients/autessadb-drive/usage": {
      "post": {
        "operationId": "usage",
        "parameters": [
          {
            "description": "The Drive table id the key is granted. The body tableId must match it.",
            "in": "query",
            "name": "resourceId",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/TableOnlyRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "*/*": {
                "schema": {
                  "$ref": "#/components/schemas/UsageResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "autessadb-drive"
        ],
        "x-autessa-status": "live"
      }
    },
    "/clients/autessadb-drive/versions/list": {
      "post": {
        "operationId": "versionsList",
        "parameters": [
          {
            "description": "The Drive table id the key is granted. The body tableId must match it.",
            "in": "query",
            "name": "resourceId",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NodeRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "*/*": {
                "schema": {
                  "$ref": "#/components/schemas/VersionsListResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "autessadb-drive"
        ],
        "x-autessa-status": "live"
      }
    },
    "/clients/autessadb-drive/versions/restore": {
      "post": {
        "operationId": "versionsRestore",
        "parameters": [
          {
            "description": "The Drive table id the key is granted. The body tableId must match it.",
            "in": "query",
            "name": "resourceId",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/VersionRestoreRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "*/*": {
                "schema": {
                  "$ref": "#/components/schemas/NodeResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "autessadb-drive"
        ],
        "x-autessa-status": "live"
      }
    },
    "/clients/autessadb-drive/write": {
      "post": {
        "operationId": "write",
        "parameters": [
          {
            "description": "The Drive table id the key is granted. The body tableId must match it.",
            "in": "query",
            "name": "resourceId",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/WriteRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "*/*": {
                "schema": {
                  "$ref": "#/components/schemas/WriteResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "autessadb-drive"
        ],
        "x-autessa-status": "live"
      }
    },
    "/clients/autessadb/aggregate": {
      "post": {
        "operationId": "aggregate",
        "parameters": [
          {
            "description": "The table id the key is granted. The body tableId must match it (403 otherwise).",
            "in": "query",
            "name": "resourceId",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/AggregateRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "*/*": {
                "schema": {
                  "$ref": "#/components/schemas/AggregateResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "autessadb"
        ],
        "x-autessa-status": "live"
      }
    },
    "/clients/autessadb/batch-delete": {
      "post": {
        "operationId": "batchDeleteRows",
        "parameters": [
          {
            "description": "The table id the key is granted. The body tableId must match it (403 otherwise).",
            "in": "query",
            "name": "resourceId",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/BatchDeleteRowsRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "*/*": {
                "schema": {
                  "$ref": "#/components/schemas/BatchDeleteRowsResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "autessadb"
        ],
        "x-autessa-status": "live"
      }
    },
    "/clients/autessadb/batch-update": {
      "post": {
        "operationId": "batchUpdateRows",
        "parameters": [
          {
            "description": "The table id the key is granted. The body tableId must match it (403 otherwise).",
            "in": "query",
            "name": "resourceId",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/BatchUpdateRowsRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "*/*": {
                "schema": {
                  "$ref": "#/components/schemas/BatchUpdateRowsResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "autessadb"
        ],
        "x-autessa-status": "live"
      }
    },
    "/clients/autessadb/bulk-delete-by-ids": {
      "post": {
        "operationId": "bulkDeleteRowsByIds",
        "parameters": [
          {
            "description": "The table id the key is granted. The body tableId must match it (403 otherwise).",
            "in": "query",
            "name": "resourceId",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/BulkDeleteRowsByIdsRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "*/*": {
                "schema": {
                  "$ref": "#/components/schemas/BulkDeleteRowsByIdsResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "autessadb"
        ],
        "x-autessa-status": "live"
      }
    },
    "/clients/autessadb/bulk-insert": {
      "post": {
        "operationId": "bulkInsertRows",
        "parameters": [
          {
            "description": "The table id the key is granted. The body tableId must match it (403 otherwise).",
            "in": "query",
            "name": "resourceId",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/BulkInsertRowsRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "*/*": {
                "schema": {
                  "$ref": "#/components/schemas/BulkInsertRowsResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "autessadb"
        ],
        "x-autessa-status": "live"
      }
    },
    "/clients/autessadb/bulk-update-by-ids": {
      "post": {
        "operationId": "bulkUpdateRowsByIds",
        "parameters": [
          {
            "description": "The table id the key is granted. The body tableId must match it (403 otherwise).",
            "in": "query",
            "name": "resourceId",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/BulkUpdateRowsByIdsRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "*/*": {
                "schema": {
                  "$ref": "#/components/schemas/BulkUpdateRowsByIdsResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "autessadb"
        ],
        "x-autessa-status": "live"
      }
    },
    "/clients/autessadb/create-knowledge-base": {
      "post": {
        "operationId": "createKnowledgeBase",
        "parameters": [
          {
            "description": "The table id the key is granted. The body tableId must match it (403 otherwise).",
            "in": "query",
            "name": "resourceId",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateKnowledgeBaseRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "*/*": {
                "schema": {
                  "$ref": "#/components/schemas/CreateKnowledgeBaseResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "autessadb"
        ],
        "x-autessa-status": "live"
      }
    },
    "/clients/autessadb/delete-row": {
      "post": {
        "operationId": "deleteRow",
        "parameters": [
          {
            "description": "The table id the key is granted. The body tableId must match it (403 otherwise).",
            "in": "query",
            "name": "resourceId",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/DeleteRowRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "*/*": {
                "schema": {
                  "$ref": "#/components/schemas/DeleteRowResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "autessadb"
        ],
        "x-autessa-status": "live"
      }
    },
    "/clients/autessadb/generate-upload-link": {
      "post": {
        "operationId": "generateUploadLink",
        "parameters": [
          {
            "description": "The table id the key is granted. The body tableId must match it (403 otherwise).",
            "in": "query",
            "name": "resourceId",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/GenerateUploadLinkRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "*/*": {
                "schema": {
                  "$ref": "#/components/schemas/GenerateUploadLinkResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "autessadb"
        ],
        "x-autessa-status": "live"
      }
    },
    "/clients/autessadb/generate-upload-links": {
      "post": {
        "operationId": "generateUploadLinks",
        "parameters": [
          {
            "description": "The table id the key is granted. The body tableId must match it (403 otherwise).",
            "in": "query",
            "name": "resourceId",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/GenerateUploadLinksRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "*/*": {
                "schema": {
                  "$ref": "#/components/schemas/GenerateUploadLinksResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "autessadb"
        ],
        "x-autessa-status": "live"
      }
    },
    "/clients/autessadb/get-data": {
      "post": {
        "operationId": "getTableData",
        "parameters": [
          {
            "description": "The table id the key is granted. The body tableId must match it (403 otherwise).",
            "in": "query",
            "name": "resourceId",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/GetTableDataRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "*/*": {
                "schema": {
                  "$ref": "#/components/schemas/GetTableDataResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "autessadb"
        ],
        "x-autessa-status": "live"
      }
    },
    "/clients/autessadb/get-single-row": {
      "post": {
        "description": "Needs ?resourceId=<table id>; the body tableId must match it (403 otherwise). A key without the table's READ/WRITE permission gets 400 with errors.",
        "operationId": "getSingleRow",
        "parameters": [
          {
            "description": "The table id the key is granted. The body tableId must match it (403 otherwise).",
            "in": "query",
            "name": "resourceId",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/GetSingleRowRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "*/*": {
                "schema": {
                  "$ref": "#/components/schemas/GetSingleRowResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "summary": "Get one row",
        "tags": [
          "autessadb"
        ],
        "x-autessa-status": "live"
      }
    },
    "/clients/autessadb/index-record": {
      "post": {
        "description": "Needs ?resourceId=<table id>; the body tableId must match it (403 otherwise). A key without the table's READ/WRITE permission gets 400 with errors.",
        "operationId": "indexRecordRow",
        "parameters": [
          {
            "description": "The table id the key is granted. The body tableId must match it (403 otherwise).",
            "in": "query",
            "name": "resourceId",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/IndexRecordRowRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "*/*": {
                "schema": {
                  "$ref": "#/components/schemas/IndexRecordRowResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "summary": "Index (vectorize) one row now",
        "tags": [
          "autessadb"
        ],
        "x-autessa-status": "live"
      }
    },
    "/clients/autessadb/insert": {
      "post": {
        "description": "Needs ?resourceId=<table id>; the body tableId must match it (403 otherwise). A key without the table's READ/WRITE permission gets 400 with errors.",
        "operationId": "insertRow",
        "parameters": [
          {
            "description": "The table id the key is granted. The body tableId must match it (403 otherwise).",
            "in": "query",
            "name": "resourceId",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/InsertRowRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "*/*": {
                "schema": {
                  "$ref": "#/components/schemas/InsertRowResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "summary": "Insert a row",
        "tags": [
          "autessadb"
        ],
        "x-autessa-status": "live"
      }
    },
    "/clients/autessadb/join-query": {
      "post": {
        "operationId": "joinQueryTableData",
        "parameters": [
          {
            "description": "The table id the key is granted. The body tableId must match it (403 otherwise).",
            "in": "query",
            "name": "resourceId",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/JoinQueryTableDataRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "*/*": {
                "schema": {
                  "$ref": "#/components/schemas/JoinQueryTableDataResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "autessadb"
        ],
        "x-autessa-status": "live"
      }
    },
    "/clients/autessadb/query": {
      "post": {
        "description": "Needs ?resourceId=<table id>; the body tableId must match it (403 otherwise). A key without the table's READ/WRITE permission gets 400 with errors.",
        "operationId": "queryTableData",
        "parameters": [
          {
            "description": "The table id the key is granted. The body tableId must match it (403 otherwise).",
            "in": "query",
            "name": "resourceId",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/QueryTableDataRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "*/*": {
                "schema": {
                  "$ref": "#/components/schemas/QueryTableDataResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "summary": "Filter, sort and page rows",
        "tags": [
          "autessadb"
        ],
        "x-autessa-status": "live"
      }
    },
    "/clients/autessadb/search": {
      "post": {
        "description": "Needs ?resourceId=<table id>; the body tableId must match it (403 otherwise). A key without the table's READ/WRITE permission gets 400 with errors.",
        "operationId": "searchTable",
        "parameters": [
          {
            "description": "The table id the key is granted. The body tableId must match it (403 otherwise).",
            "in": "query",
            "name": "resourceId",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/SearchTableRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "*/*": {
                "schema": {
                  "$ref": "#/components/schemas/SearchTableResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "summary": "Semantic search on a column",
        "tags": [
          "autessadb"
        ],
        "x-autessa-status": "live"
      }
    },
    "/clients/autessadb/update": {
      "post": {
        "description": "Needs ?resourceId=<table id>; the body tableId must match it (403 otherwise). A key without the table's READ/WRITE permission gets 400 with errors.",
        "operationId": "updateRow",
        "parameters": [
          {
            "description": "The table id the key is granted. The body tableId must match it (403 otherwise).",
            "in": "query",
            "name": "resourceId",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateRowRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "*/*": {
                "schema": {
                  "$ref": "#/components/schemas/UpdateRowResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "summary": "Update a row",
        "tags": [
          "autessadb"
        ],
        "x-autessa-status": "live"
      }
    },
    "/clients/call-redaction/bucket-access": {
      "get": {
        "operationId": "bucketAccess",
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RedactBucketAccess"
                }
              }
            },
            "description": "The trust and permissions policies for your role."
          }
        },
        "summary": "Role policies for reading your bucket",
        "tags": [
          "call-redaction"
        ],
        "x-autessa-status": "live"
      }
    },
    "/clients/call-redaction/evidence/verify": {
      "post": {
        "description": "Send an evidence document as returned. valid is true when it was signed with this company's evidence key (any of its versions, so evidence signed before a key rotation still verifies) over exactly this content.",
        "operationId": "verifyEvidence",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/RedactionEvidence"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/EvidenceVerifyResponse"
                }
              }
            },
            "description": "Whether the document is signed with this company's key over exactly this content."
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RedactError"
                }
              }
            },
            "description": "INVALID_REQUEST (or another validation code)."
          }
        },
        "summary": "Verify redaction evidence",
        "tags": [
          "call-redaction"
        ],
        "x-autessa-status": "live"
      }
    },
    "/clients/call-redaction/items": {
      "get": {
        "operationId": "itemByExternalId",
        "parameters": [
          {
            "in": "query",
            "name": "externalId",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RedactItem"
                }
              }
            },
            "description": "The most recent item with this externalId."
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RedactError"
                }
              }
            },
            "description": "NOT_FOUND: no such item or job for this company."
          }
        },
        "summary": "Get the most recent item with your externalId",
        "tags": [
          "call-redaction"
        ],
        "x-autessa-status": "live"
      },
      "post": {
        "description": "Full-audio redaction with chunked upload: create, append chunks, finalize. Nothing is redacted until finalize; the whole recording is then processed.",
        "operationId": "createChunkedItem",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/RedactCreateItemRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RedactCreateItemResponse"
                }
              }
            },
            "description": "Created; upload chunks next."
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RedactError"
                }
              }
            },
            "description": "INVALID_REQUEST (or another validation code)."
          }
        },
        "summary": "Create a chunked item",
        "tags": [
          "call-redaction"
        ],
        "x-autessa-status": "live"
      }
    },
    "/clients/call-redaction/items/{itemId}": {
      "delete": {
        "description": "503 PURGE_INCOMPLETE when storage deletion did not finish: call again.",
        "operationId": "deleteItem",
        "parameters": [
          {
            "in": "path",
            "name": "itemId",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "waitSeconds",
            "required": false,
            "schema": {
              "type": "integer",
              "format": "int32"
            },
            "description": "Wait for an in-progress item first (409 ITEM_IN_PROGRESS otherwise)."
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RedactDeleteItemResponse"
                }
              }
            },
            "description": "Deleted (also on a repeat call)."
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RedactError"
                }
              }
            },
            "description": "NOT_FOUND: no such item or job for this company."
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RedactError"
                }
              }
            },
            "description": "ITEM_IN_PROGRESS: still being processed."
          },
          "503": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RedactError"
                }
              }
            },
            "description": "PURGE_INCOMPLETE: the deletion did not finish; call again."
          }
        },
        "summary": "Delete everything stored for an item",
        "tags": [
          "call-redaction"
        ],
        "x-autessa-status": "live"
      },
      "get": {
        "operationId": "item",
        "parameters": [
          {
            "in": "path",
            "name": "itemId",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RedactItem"
                }
              }
            },
            "description": "The item."
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RedactError"
                }
              }
            },
            "description": "NOT_FOUND: no such item or job for this company."
          }
        },
        "summary": "Get one item",
        "tags": [
          "call-redaction"
        ],
        "x-autessa-status": "live"
      }
    },
    "/clients/call-redaction/items/{itemId}/chunks/{seq}": {
      "put": {
        "description": "Idempotent per (seq, channel): re-sending the same chunk is safe.",
        "operationId": "putChunk",
        "parameters": [
          {
            "in": "path",
            "name": "itemId",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "seq",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            },
            "description": "0-based chunk sequence number."
          },
          {
            "in": "query",
            "name": "channel",
            "required": false,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/octet-stream": {
              "schema": {
                "type": "string",
                "format": "binary"
              }
            }
          },
          "description": "The raw chunk bytes (at most 5 MB).",
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RedactAppendChunkResponse"
                }
              }
            },
            "description": "Stored (sending the same seq and channel again replaces it)."
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RedactError"
                }
              }
            },
            "description": "INVALID_REQUEST (or another validation code)."
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RedactError"
                }
              }
            },
            "description": "NOT_FOUND: no such item or job for this company."
          },
          "413": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RedactError"
                }
              }
            },
            "description": "CHUNK_TOO_LARGE: more than 5 MB."
          }
        },
        "summary": "Upload one chunk",
        "tags": [
          "call-redaction"
        ],
        "x-autessa-status": "live"
      }
    },
    "/clients/call-redaction/items/{itemId}/evidence": {
      "get": {
        "description": "What was redacted by type and time span (never a value), the second-pass verification (the redacted audio transcribed again), model and rule versions, timestamps, and an HMAC-SHA256 signature. ?format=pdf returns the same as a PDF with the signed JSON attached. 202 with status VERIFYING until the second pass finishes (?waitSeconds=0-120 waits). 409 ITEM_IN_PROGRESS before the item is redacted.",
        "operationId": "evidence",
        "parameters": [
          {
            "in": "path",
            "name": "itemId",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "format",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "waitSeconds",
            "required": false,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RedactionEvidence"
                }
              },
              "application/pdf": {
                "schema": {
                  "type": "string",
                  "format": "binary"
                }
              }
            },
            "description": "READY, UNAVAILABLE or FAILED evidence; a PDF with ?format=pdf."
          },
          "202": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RedactionEvidence"
                }
              }
            },
            "description": "The second pass is still running (status VERIFYING)."
          },
          "402": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RedactError"
                }
              }
            },
            "description": "BUDGET_EXCEEDED: the company's AI budget (or signup credit) is used up."
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RedactError"
                }
              }
            },
            "description": "NOT_FOUND: no such item or job for this company."
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RedactError"
                }
              }
            },
            "description": "ITEM_IN_PROGRESS: the item is not redacted yet."
          }
        },
        "summary": "Get signed redaction evidence",
        "tags": [
          "call-redaction"
        ],
        "x-autessa-status": "live"
      }
    },
    "/clients/call-redaction/items/{itemId}/finalize": {
      "post": {
        "description": "totalChunks is optional: a whole number, or per channel as {\"0\": n, \"1\": m}. 422 MISSING_CHUNKS lists every missing {channel, seq}. A repeat call answers the same 202.",
        "operationId": "finalizeChunkedItem",
        "parameters": [
          {
            "in": "path",
            "name": "itemId",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/RedactFinalizeRequest"
              }
            }
          }
        },
        "responses": {
          "202": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RedactFinalizeResponse"
                }
              }
            },
            "description": "Queued (also on a repeat call); read the result with GET /items/{itemId}."
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RedactError"
                }
              }
            },
            "description": "INVALID_REQUEST (or another validation code)."
          },
          "402": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RedactError"
                }
              }
            },
            "description": "BUDGET_EXCEEDED: the company's AI budget (or signup credit) is used up."
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RedactError"
                }
              }
            },
            "description": "NOT_FOUND: no such item or job for this company."
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RedactMissingChunksError"
                }
              }
            },
            "description": "MISSING_CHUNKS: every missing {channel, seq}."
          }
        },
        "summary": "Finish uploading and queue redaction",
        "tags": [
          "call-redaction"
        ],
        "x-autessa-status": "live"
      }
    },
    "/clients/call-redaction/items/{itemId}/review": {
      "post": {
        "operationId": "review",
        "parameters": [
          {
            "in": "path",
            "name": "itemId",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/RedactReviewRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RedactItem"
                }
              }
            },
            "description": "Approved: the item."
          },
          "202": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RedactItem"
                }
              }
            },
            "description": "Added redactions are being applied (review.reviewStatus PENDING)."
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RedactError"
                }
              }
            },
            "description": "INVALID_REQUEST (or another validation code)."
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RedactError"
                }
              }
            },
            "description": "NOT_FOUND: no such item or job for this company."
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RedactError"
                }
              }
            },
            "description": "ALREADY_REVIEWED."
          }
        },
        "summary": "Approve or redact more",
        "tags": [
          "call-redaction"
        ],
        "x-autessa-status": "live"
      }
    },
    "/clients/call-redaction/items/{itemId}/review-media": {
      "get": {
        "operationId": "reviewMedia",
        "parameters": [
          {
            "in": "path",
            "name": "itemId",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RedactReviewMedia"
                }
              }
            },
            "description": "Redacted audio link and transcript for the review player."
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RedactError"
                }
              }
            },
            "description": "NOT_FOUND: no such item or job for this company."
          }
        },
        "summary": "Audio and transcript for review",
        "tags": [
          "call-redaction"
        ],
        "x-autessa-status": "live"
      }
    },
    "/clients/call-redaction/jobs": {
      "get": {
        "operationId": "jobs",
        "parameters": [
          {
            "in": "query",
            "name": "limit",
            "required": false,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "in": "query",
            "name": "after",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RedactJobList"
                }
              }
            },
            "description": "The company's batch jobs, newest first."
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RedactError"
                }
              }
            },
            "description": "INVALID_REQUEST (or another validation code)."
          }
        },
        "summary": "List batch jobs (newest first)",
        "tags": [
          "call-redaction"
        ],
        "x-autessa-status": "live"
      },
      "post": {
        "operationId": "submit",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/RedactSubmitJobRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "202": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RedactSubmitJobResponse"
                }
              }
            },
            "description": "Queued."
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RedactError"
                }
              }
            },
            "description": "INVALID_REQUEST (or another validation code)."
          },
          "402": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RedactError"
                }
              }
            },
            "description": "BUDGET_EXCEEDED: the company's AI budget (or signup credit) is used up."
          }
        },
        "summary": "Queue a batch of recordings",
        "tags": [
          "call-redaction"
        ],
        "x-autessa-status": "live"
      }
    },
    "/clients/call-redaction/jobs/{jobId}": {
      "get": {
        "operationId": "job",
        "parameters": [
          {
            "in": "path",
            "name": "jobId",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RedactJob"
                }
              }
            },
            "description": "The job with counts."
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RedactError"
                }
              }
            },
            "description": "NOT_FOUND: no such item or job for this company."
          }
        },
        "summary": "Get a job with counts",
        "tags": [
          "call-redaction"
        ],
        "x-autessa-status": "live"
      }
    },
    "/clients/call-redaction/jobs/{jobId}/items": {
      "get": {
        "operationId": "jobItems",
        "parameters": [
          {
            "in": "path",
            "name": "jobId",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "status",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "limit",
            "required": false,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "in": "query",
            "name": "after",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "needsReview",
            "required": false,
            "schema": {
              "type": "boolean"
            },
            "description": "Only items flagged for review that nobody has decided yet."
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RedactItemList"
                }
              }
            },
            "description": "A page of the job's items."
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RedactError"
                }
              }
            },
            "description": "NOT_FOUND: no such item or job for this company."
          }
        },
        "summary": "List a job's items",
        "tags": [
          "call-redaction"
        ],
        "x-autessa-status": "live"
      }
    },
    "/clients/call-redaction/jobs/{jobId}/retry-failed": {
      "post": {
        "operationId": "retryFailed",
        "parameters": [
          {
            "in": "path",
            "name": "jobId",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "202": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RedactRetryFailedResponse"
                }
              }
            },
            "description": "The FAILED items counted now are re-opened in the background."
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RedactError"
                }
              }
            },
            "description": "NOT_FOUND: no such item or job for this company."
          }
        },
        "summary": "Re-run a job's FAILED items",
        "tags": [
          "call-redaction"
        ],
        "x-autessa-status": "live"
      }
    },
    "/clients/call-redaction/redact": {
      "post": {
        "operationId": "redact",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/RedactRequest"
              }
            },
            "multipart/form-data": {
              "schema": {
                "$ref": "#/components/schemas/RedactMultipartRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RedactItem"
                }
              }
            },
            "description": "The item, finished (COMPLETED or FAILED)."
          },
          "202": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RedactItem"
                }
              }
            },
            "description": "The wait ran out: the item id and its status so far."
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RedactError"
                }
              }
            },
            "description": "INVALID_REQUEST (or another validation code)."
          },
          "402": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RedactError"
                }
              }
            },
            "description": "BUDGET_EXCEEDED: the company's AI budget (or signup credit) is used up."
          }
        },
        "summary": "Redact one recording and wait",
        "tags": [
          "call-redaction"
        ],
        "x-autessa-status": "live"
      }
    },
    "/clients/call-redaction/review": {
      "get": {
        "operationId": "reviewQueue",
        "parameters": [
          {
            "in": "query",
            "name": "limit",
            "required": false,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "in": "query",
            "name": "after",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RedactItemList"
                }
              }
            },
            "description": "Calls waiting for review, newest first."
          }
        },
        "summary": "Calls waiting for review",
        "tags": [
          "call-redaction"
        ],
        "x-autessa-status": "live"
      }
    },
    "/clients/call-redaction/uploads": {
      "post": {
        "operationId": "uploads",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/RedactUploadsRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RedactUploadsResponse"
                }
              }
            },
            "description": "Presigned upload links."
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RedactError"
                }
              }
            },
            "description": "INVALID_REQUEST (or another validation code)."
          }
        },
        "summary": "Get presigned upload links",
        "tags": [
          "call-redaction"
        ],
        "x-autessa-status": "live"
      }
    },
    "/clients/deploy/apply": {
      "post": {
        "operationId": "apply",
        "parameters": [
          {
            "in": "header",
            "name": "Idempotency-Key",
            "required": false,
            "schema": {
              "type": "string"
            },
            "description": "A UUIDv4 the libraries send on every POST so it can be retried safely."
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ApplyRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "*/*": {
                "schema": {
                  "$ref": "#/components/schemas/DeploymentResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "summary": "Apply a manifest to a stage (idempotent, matched on logicalId); poll the deployment",
        "tags": [
          "deploy"
        ],
        "x-autessa-status": "planned",
        "description": "Idempotent, matched on logicalId; publishes draft to published. Deletes only with prune. Needs scope DEPLOY_APPLY."
      }
    },
    "/clients/deploy/deployments": {
      "get": {
        "operationId": "deployments",
        "parameters": [
          {
            "in": "query",
            "name": "stage",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "limit",
            "required": false,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "*/*": {
                "schema": {
                  "$ref": "#/components/schemas/DeploymentsResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "summary": "Deployments, newest first",
        "tags": [
          "deploy"
        ],
        "x-autessa-status": "planned"
      }
    },
    "/clients/deploy/deployments/{deploymentId}": {
      "get": {
        "operationId": "deployment",
        "parameters": [
          {
            "in": "path",
            "name": "deploymentId",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "*/*": {
                "schema": {
                  "$ref": "#/components/schemas/DeploymentResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "summary": "One deployment: status, changes, error",
        "tags": [
          "deploy"
        ],
        "x-autessa-status": "planned"
      }
    },
    "/clients/deploy/export": {
      "get": {
        "operationId": "export_1",
        "parameters": [
          {
            "description": "Comma-separated kinds (tables,tools,agents,managers,scheduledEvents,webhooks,mcpServers,apps); default all",
            "in": "query",
            "name": "resources",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "source,apps",
            "in": "query",
            "name": "include",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "*/*": {
                "schema": {
                  "$ref": "#/components/schemas/ExportResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "summary": "Pull: export the tenant's resources as Manifest v2 plus source files",
        "tags": [
          "deploy"
        ],
        "x-autessa-status": "planned",
        "description": "Needs scope DEPLOY_PULL."
      }
    },
    "/clients/deploy/files": {
      "post": {
        "operationId": "upload",
        "requestBody": {
          "content": {
            "multipart/form-data": {
              "schema": {
                "$ref": "#/components/schemas/DeployFilesUpload"
              }
            }
          },
          "description": "One file part per file, each named sha256:<hex> of its content.",
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "*/*": {
                "schema": {
                  "$ref": "#/components/schemas/FilesResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "summary": "Upload synth files, each part named sha256:<hex> of its content; files already stored are skipped",
        "tags": [
          "deploy"
        ],
        "x-autessa-status": "planned"
      }
    },
    "/clients/deploy/files/missing": {
      "get": {
        "operationId": "missing",
        "parameters": [
          {
            "description": "Comma-separated sha256:<hex> hashes",
            "in": "query",
            "name": "hashes",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "*/*": {
                "schema": {
                  "$ref": "#/components/schemas/FilesResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "summary": "Which of these content hashes still need uploading",
        "tags": [
          "deploy"
        ],
        "x-autessa-status": "planned"
      }
    },
    "/clients/deploy/preview": {
      "post": {
        "operationId": "preview",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/PreviewRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "*/*": {
                "schema": {
                  "$ref": "#/components/schemas/PreviewResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "summary": "Server-side diff of a manifest against a stage; flags every change that widens access",
        "tags": [
          "deploy"
        ],
        "x-autessa-status": "planned",
        "description": "Needs scope DEPLOY_DIFF."
      }
    },
    "/clients/deploy/rollback": {
      "post": {
        "operationId": "rollback_1",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/RollbackRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "*/*": {
                "schema": {
                  "$ref": "#/components/schemas/DeploymentResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "summary": "Re-apply an earlier good manifest to a stage",
        "tags": [
          "deploy"
        ],
        "x-autessa-status": "planned",
        "description": "Needs scope DEPLOY_ROLLBACK."
      }
    },
    "/clients/deploy/schema": {
      "get": {
        "operationId": "schema",
        "responses": {
          "200": {
            "content": {
              "*/*": {
                "schema": {
                  "$ref": "#/components/schemas/SchemaResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "summary": "The Manifest v2 JSON Schema",
        "tags": [
          "deploy"
        ],
        "x-autessa-status": "planned"
      }
    },
    "/clients/evaluations/grade": {
      "post": {
        "operationId": "grade",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/EvaluateTranscriptRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "*/*": {
                "schema": {
                  "$ref": "#/components/schemas/EvaluateTranscriptResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "summary": "Grade one transcript",
        "tags": [
          "evaluations"
        ],
        "x-autessa-status": "live"
      }
    },
    "/clients/evaluations/items": {
      "get": {
        "operationId": "getItemByExternalId",
        "parameters": [
          {
            "in": "query",
            "name": "externalId",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "*/*": {
                "schema": {
                  "$ref": "#/components/schemas/GradingItemResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "summary": "Get a graded item by your externalId",
        "tags": [
          "evaluations"
        ],
        "x-autessa-status": "live"
      }
    },
    "/clients/evaluations/items/{itemId}": {
      "get": {
        "operationId": "getItem",
        "parameters": [
          {
            "in": "path",
            "name": "itemId",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "*/*": {
                "schema": {
                  "$ref": "#/components/schemas/GradingItemResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "summary": "Get one graded item",
        "tags": [
          "evaluations"
        ],
        "x-autessa-status": "live"
      }
    },
    "/clients/evaluations/jobs": {
      "get": {
        "operationId": "listJobs_1",
        "parameters": [
          {
            "in": "query",
            "name": "page",
            "required": false,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "in": "query",
            "name": "pageSize",
            "required": false,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "*/*": {
                "schema": {
                  "$ref": "#/components/schemas/GradingJobListResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "summary": "List grading jobs",
        "tags": [
          "evaluations"
        ],
        "x-autessa-status": "planned"
      },
      "post": {
        "operationId": "createJob_1",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateGradingJobRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "*/*": {
                "schema": {
                  "$ref": "#/components/schemas/CreateGradingJobResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "summary": "Grade a batch in the background",
        "tags": [
          "evaluations"
        ],
        "x-autessa-status": "planned"
      }
    },
    "/clients/evaluations/jobs/{jobId}": {
      "get": {
        "operationId": "getJob_1",
        "parameters": [
          {
            "in": "path",
            "name": "jobId",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "*/*": {
                "schema": {
                  "$ref": "#/components/schemas/GradingJobResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "summary": "Get a grading job",
        "tags": [
          "evaluations"
        ],
        "x-autessa-status": "planned"
      }
    },
    "/clients/evaluations/jobs/{jobId}/items": {
      "get": {
        "operationId": "getJobItems",
        "parameters": [
          {
            "in": "path",
            "name": "jobId",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "status",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "page",
            "required": false,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "in": "query",
            "name": "pageSize",
            "required": false,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "*/*": {
                "schema": {
                  "$ref": "#/components/schemas/GradingItemListResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "summary": "List a job's graded items",
        "tags": [
          "evaluations"
        ],
        "x-autessa-status": "planned"
      }
    },
    "/clients/phone/numbers": {
      "get": {
        "operationId": "list",
        "parameters": [
          {
            "in": "query",
            "name": "limit",
            "required": false,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "in": "query",
            "name": "cursor",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PhoneNumberList"
                }
              }
            },
            "description": "The company's numbers."
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PhoneError"
                }
              }
            },
            "description": "The key lacks PHONE_MANAGE."
          }
        },
        "summary": "List the company's numbers",
        "tags": [
          "phone"
        ],
        "x-autessa-status": "planned"
      }
    },
    "/clients/phone/numbers/purchase": {
      "post": {
        "description": "Needs the key permission PHONE_MANAGE (company admin).",
        "operationId": "purchase",
        "parameters": [
          {
            "in": "header",
            "name": "Idempotency-Key",
            "required": false,
            "schema": {
              "type": "string"
            },
            "description": "A UUIDv4 the libraries send on every POST so it can be retried safely."
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/PhonePurchaseRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PhoneNumber"
                }
              }
            },
            "description": "The bought number (Idempotency-Key honored)."
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PhoneError"
                }
              }
            },
            "description": "Invalid request."
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PhoneError"
                }
              }
            },
            "description": "The key lacks PHONE_MANAGE."
          }
        },
        "summary": "Buy a number",
        "tags": [
          "phone"
        ],
        "x-autessa-status": "planned"
      }
    },
    "/clients/phone/numbers/search": {
      "post": {
        "operationId": "search",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/PhoneSearchRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PhoneSearchResponse"
                }
              }
            },
            "description": "Numbers available to buy."
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PhoneError"
                }
              }
            },
            "description": "Invalid request."
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PhoneError"
                }
              }
            },
            "description": "The key lacks PHONE_MANAGE."
          }
        },
        "summary": "Search numbers to buy",
        "tags": [
          "phone"
        ],
        "x-autessa-status": "planned"
      }
    },
    "/clients/phone/numbers/{numberId}/routing": {
      "post": {
        "operationId": "routing",
        "parameters": [
          {
            "in": "path",
            "name": "numberId",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/PhoneRouting"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PhoneNumber"
                }
              }
            },
            "description": "The number with its new routing."
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PhoneError"
                }
              }
            },
            "description": "Invalid request."
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PhoneError"
                }
              }
            },
            "description": "The key lacks PHONE_MANAGE."
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PhoneError"
                }
              }
            },
            "description": "No such number for this company."
          }
        },
        "summary": "Route a number to an agent or your own agent",
        "tags": [
          "phone"
        ],
        "x-autessa-status": "planned"
      }
    },
    "/clients/pipelines/{pipelineId}/runs": {
      "get": {
        "operationId": "runs",
        "parameters": [
          {
            "in": "path",
            "name": "pipelineId",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "cursor",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "*/*": {
                "schema": {
                  "$ref": "#/components/schemas/RunListResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "summary": "A pipeline's runs, newest first",
        "tags": [
          "pipelines"
        ],
        "x-autessa-status": "planned"
      },
      "post": {
        "operationId": "startUpload",
        "parameters": [
          {
            "in": "path",
            "name": "pipelineId",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/RunRefRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "*/*": {
                "schema": {
                  "$ref": "#/components/schemas/RunResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "summary": "Start a run from a git ref of the pipeline's repo",
        "tags": [
          "pipelines"
        ],
        "x-autessa-status": "planned"
      }
    },
    "/clients/pipelines/{pipelineId}/runs/{runId}": {
      "get": {
        "operationId": "run",
        "parameters": [
          {
            "in": "path",
            "name": "pipelineId",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "runId",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "*/*": {
                "schema": {
                  "$ref": "#/components/schemas/RunResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "summary": "One run with its stages, steps and diffs",
        "tags": [
          "pipelines"
        ],
        "x-autessa-status": "planned"
      }
    },
    "/clients/pipelines/{pipelineId}/runs/{runId}/promote": {
      "post": {
        "operationId": "promote",
        "parameters": [
          {
            "in": "path",
            "name": "pipelineId",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "runId",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/StageActionRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "*/*": {
                "schema": {
                  "$ref": "#/components/schemas/RunResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "summary": "Approve a stage waiting for approval",
        "tags": [
          "pipelines"
        ],
        "x-autessa-status": "planned"
      }
    },
    "/clients/pipelines/{pipelineId}/runs/{runId}/rollback": {
      "post": {
        "operationId": "rollback",
        "parameters": [
          {
            "in": "path",
            "name": "pipelineId",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "runId",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/StageActionRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "*/*": {
                "schema": {
                  "$ref": "#/components/schemas/RunResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "summary": "Roll a deployed stage back",
        "tags": [
          "pipelines"
        ],
        "x-autessa-status": "planned"
      }
    },
    "/clients/pipelines/{pipelineId}/webhook/github": {
      "post": {
        "description": "Verified with the pipeline's secret (X-Hub-Signature-256); the repo tarball is fetched with a stored token.",
        "operationId": "github",
        "parameters": [
          {
            "in": "path",
            "name": "pipelineId",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "header",
            "name": "X-GitHub-Event",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "header",
            "name": "X-Hub-Signature-256",
            "required": false,
            "schema": {
              "type": "string"
            },
            "description": "HMAC-SHA256 of the body with the pipeline's webhook secret."
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "additionalProperties": true
              }
            }
          },
          "description": "GitHub's push event payload, as GitHub sends it.",
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "*/*": {
                "schema": {
                  "$ref": "#/components/schemas/WebhookResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "summary": "GitHub push webhook (HMAC-verified with the pipeline's webhook secret)",
        "tags": [
          "pipelines"
        ],
        "x-autessa-status": "planned"
      }
    },
    "/clients/synthetic-data/generate": {
      "post": {
        "description": "For small sets: the rows come back in the response.",
        "operationId": "generate",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/GenerateRowsRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "*/*": {
                "schema": {
                  "$ref": "#/components/schemas/GenerateRowsResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "summary": "Generate rows and get them back",
        "tags": [
          "synthetic-data"
        ],
        "x-autessa-status": "planned"
      }
    },
    "/clients/synthetic-data/jobs": {
      "get": {
        "operationId": "listJobs",
        "responses": {
          "200": {
            "content": {
              "*/*": {
                "schema": {
                  "$ref": "#/components/schemas/ListSyntheticDataJobsResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "summary": "List synthetic data jobs (newest first)",
        "tags": [
          "synthetic-data"
        ],
        "x-autessa-status": "planned"
      },
      "post": {
        "description": "Runs in the background. Output is a file by default (DATASET_FILE); table targets are not available to API keys.",
        "operationId": "createJob",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateSyntheticDataJobRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "*/*": {
                "schema": {
                  "$ref": "#/components/schemas/CreateSyntheticDataJobResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "summary": "Start a synthetic data job",
        "tags": [
          "synthetic-data"
        ],
        "x-autessa-status": "planned"
      }
    },
    "/clients/synthetic-data/jobs/{jobId}": {
      "get": {
        "operationId": "getJob",
        "parameters": [
          {
            "in": "path",
            "name": "jobId",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "*/*": {
                "schema": {
                  "$ref": "#/components/schemas/GetSyntheticDataJobResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "summary": "Get a job's status, progress and batches",
        "tags": [
          "synthetic-data"
        ],
        "x-autessa-status": "planned"
      }
    },
    "/clients/synthetic-data/jobs/{jobId}/append": {
      "post": {
        "operationId": "append",
        "parameters": [
          {
            "in": "path",
            "name": "jobId",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/AppendRowsRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "*/*": {
                "schema": {
                  "$ref": "#/components/schemas/SyntheticDataJobStatusResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "summary": "Generate more rows into a job",
        "tags": [
          "synthetic-data"
        ],
        "x-autessa-status": "planned"
      }
    },
    "/clients/synthetic-data/jobs/{jobId}/approve": {
      "post": {
        "operationId": "approve",
        "parameters": [
          {
            "in": "path",
            "name": "jobId",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "*/*": {
                "schema": {
                  "$ref": "#/components/schemas/SyntheticDataJobStatusResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "summary": "Approve the staged rows",
        "tags": [
          "synthetic-data"
        ],
        "x-autessa-status": "planned"
      }
    },
    "/clients/synthetic-data/jobs/{jobId}/cancel": {
      "post": {
        "operationId": "cancel",
        "parameters": [
          {
            "in": "path",
            "name": "jobId",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "*/*": {
                "schema": {
                  "$ref": "#/components/schemas/SyntheticDataJobStatusResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "summary": "Cancel a job",
        "tags": [
          "synthetic-data"
        ],
        "x-autessa-status": "planned"
      }
    },
    "/clients/synthetic-data/jobs/{jobId}/discard": {
      "post": {
        "operationId": "discard",
        "parameters": [
          {
            "in": "path",
            "name": "jobId",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "*/*": {
                "schema": {
                  "$ref": "#/components/schemas/SyntheticDataJobStatusResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "summary": "Discard the staged rows",
        "tags": [
          "synthetic-data"
        ],
        "x-autessa-status": "planned"
      }
    },
    "/clients/synthetic-data/jobs/{jobId}/exclude-rows": {
      "post": {
        "operationId": "excludeRows",
        "parameters": [
          {
            "in": "path",
            "name": "jobId",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ExcludeRowsRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "*/*": {
                "schema": {
                  "$ref": "#/components/schemas/SyntheticDataJobStatusResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "summary": "Leave rows out of a job",
        "tags": [
          "synthetic-data"
        ],
        "x-autessa-status": "planned"
      }
    },
    "/clients/synthetic-data/jobs/{jobId}/export": {
      "get": {
        "operationId": "export",
        "parameters": [
          {
            "in": "path",
            "name": "jobId",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "*/*": {
                "schema": {
                  "$ref": "#/components/schemas/ExportResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "summary": "A download link for a job's file",
        "tags": [
          "synthetic-data"
        ],
        "x-autessa-status": "planned"
      }
    },
    "/clients/synthetic-data/jobs/{jobId}/preview": {
      "get": {
        "operationId": "preview_1",
        "parameters": [
          {
            "in": "path",
            "name": "jobId",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "batchIndex",
            "required": false,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "*/*": {
                "schema": {
                  "$ref": "#/components/schemas/PreviewRowsResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "summary": "Preview staged rows (REVIEW mode)",
        "tags": [
          "synthetic-data"
        ],
        "x-autessa-status": "planned"
      }
    },
    "/clients/synthetic-data/jobs/{jobId}/regenerate-batch": {
      "post": {
        "operationId": "regenerateBatch",
        "parameters": [
          {
            "in": "path",
            "name": "jobId",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/RegenerateBatchRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "*/*": {
                "schema": {
                  "$ref": "#/components/schemas/SyntheticDataJobStatusResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "summary": "Generate one batch again",
        "tags": [
          "synthetic-data"
        ],
        "x-autessa-status": "planned"
      }
    },
    "/clients/synthetic-data/schema/propose": {
      "post": {
        "operationId": "proposeSchema",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ProposeSchemaRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "*/*": {
                "schema": {
                  "$ref": "#/components/schemas/ProposeSchemaResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "summary": "Propose columns from a description",
        "tags": [
          "synthetic-data"
        ],
        "x-autessa-status": "planned"
      }
    }
  },
  "components": {
    "schemas": {
      "AccessChangeView": {
        "type": "object",
        "properties": {
          "email": {
            "type": "string"
          },
          "id": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "role": {
            "type": "string"
          },
          "type": {
            "type": "string"
          },
          "viaNodeId": {
            "type": "string"
          },
          "viaPath": {
            "type": "string"
          }
        }
      },
      "AccessChanges": {
        "type": "object",
        "properties": {
          "empty": {
            "type": "boolean"
          },
          "gaining": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/AccessChangeView"
            }
          },
          "losing": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/AccessChangeView"
            }
          }
        }
      },
      "AccessResponse": {
        "type": "object",
        "properties": {
          "deprecationWarnings": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "driveRole": {
            "type": "string"
          },
          "effectiveRole": {
            "type": "string"
          },
          "errors": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "exception": {
            "$ref": "#/components/schemas/AutessaResponse",
            "writeOnly": true
          },
          "sessionToken": {
            "type": "string"
          }
        }
      },
      "ActingIdentity": {
        "type": "object",
        "properties": {
          "accountable": {
            "type": "boolean"
          },
          "apiKeyId": {
            "type": "string",
            "format": "uuid"
          },
          "appGated": {
            "type": "boolean"
          },
          "ceilingUserId": {
            "type": "integer",
            "format": "int64"
          },
          "companyId": {
            "type": "integer",
            "format": "int64"
          },
          "customAppId": {
            "type": "integer",
            "format": "int64"
          },
          "customAppRowId": {
            "type": "integer",
            "format": "int64"
          },
          "delegated": {
            "type": "boolean"
          },
          "email": {
            "type": "string"
          },
          "grantScope": {
            "$ref": "#/components/schemas/GrantScope"
          },
          "kind": {
            "type": "string",
            "enum": [
              "PLATFORM_USER",
              "CUSTOMAPP_USER",
              "CUSTOMAPP_ACCESS_LINK",
              "ANONYMOUS_APP",
              "SERVICE_KEY",
              "SYSTEM",
              "ANONYMOUS_DENY"
            ]
          },
          "legacyKey": {
            "type": "boolean"
          },
          "policyEnforced": {
            "type": "boolean"
          },
          "userId": {
            "type": "integer",
            "format": "int64"
          }
        }
      },
      "AgentConversationDto": {
        "type": "object",
        "properties": {
          "apiKeyId": {
            "type": "string"
          },
          "businessNumber": {
            "type": "string"
          },
          "channel": {
            "type": "string"
          },
          "closeDate": {
            "type": "string",
            "format": "date-time"
          },
          "conversationId": {
            "type": "string"
          },
          "evaluationContext": {
            "$ref": "#/components/schemas/EvaluationContext"
          },
          "language": {
            "type": "string"
          },
          "otherNumber": {
            "type": "string"
          },
          "resourceId": {
            "type": "string",
            "description": "ID id."
          },
          "version": {
            "type": "string"
          }
        }
      },
      "AgentExecutionRequest": {
        "type": "object",
        "properties": {
          "actingIdentity": {
            "$ref": "#/components/schemas/ActingIdentity"
          },
          "agentId": {
            "type": "string",
            "description": "ID id."
          },
          "callerCanAnswer": {
            "type": "boolean"
          },
          "combinedInputAsOne": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/MultimodalInput"
            }
          },
          "conversationId": {
            "type": "string"
          },
          "conversationLanguage": {
            "type": "string"
          },
          "environmentVariables": {
            "type": "object",
            "additionalProperties": {
              "type": "string"
            }
          },
          "executionOutputMode": {
            "type": "string",
            "enum": [
              "TEXT",
              "AUDIO"
            ]
          },
          "input": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/MultimodalInput"
            }
          },
          "messageType": {
            "type": "string",
            "enum": [
              "VOICE",
              "MULTIMODAL",
              "PLAYBACK_COMPLETE"
            ]
          },
          "promptTemplateVariables": {
            "type": "object",
            "additionalProperties": {
              "type": "string"
            }
          },
          "simulation": {
            "type": "boolean"
          },
          "trustedEnvironmentVariables": {
            "type": "object",
            "additionalProperties": {
              "type": "string"
            }
          },
          "version": {
            "$ref": "#/components/schemas/CustomVersion"
          }
        },
        "required": [
          "conversationId",
          "input"
        ]
      },
      "AgentInvocationFaithfulness": {
        "type": "object",
        "properties": {
          "agentName": {
            "type": "string"
          },
          "analysis": {
            "type": "string"
          },
          "asReasoning": {
            "type": "string"
          },
          "derivable": {
            "type": "boolean"
          },
          "field": {
            "type": "string"
          },
          "invocationId": {
            "type": "string"
          },
          "value": {
            "type": "string"
          }
        }
      },
      "AgentRow": {
        "type": "object",
        "properties": {
          "agentId": {
            "type": "string",
            "description": "ID id."
          },
          "agentName": {
            "type": "string"
          },
          "blocked": {
            "type": "integer",
            "format": "int64"
          },
          "caught": {
            "type": "integer",
            "format": "int64"
          },
          "inspections": {
            "type": "integer",
            "format": "int64"
          },
          "points": {
            "type": "integer",
            "format": "int64"
          }
        }
      },
      "AgentToolDto": {
        "type": "object",
        "properties": {
          "description": {
            "type": "string"
          },
          "inputSchema": {
            "type": "object"
          },
          "name": {
            "type": "string"
          },
          "outputSchema": {
            "type": "object"
          },
          "source": {
            "type": "string"
          },
          "title": {
            "type": "string"
          },
          "toolId": {
            "type": "string",
            "description": "ID id."
          }
        }
      },
      "AggregateGroupDto": {
        "type": "object",
        "properties": {
          "key": {
            "type": "object",
            "additionalProperties": {
              "type": "string"
            }
          },
          "values": {
            "type": "object",
            "additionalProperties": {}
          }
        }
      },
      "AggregateRequest": {
        "type": "object",
        "properties": {
          "aggregates": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/AggregateSpecDto"
            }
          },
          "groupBy": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "groupsLogicalOperator": {
            "type": "string"
          },
          "having": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/HavingConditionDto"
            }
          },
          "limit": {
            "type": "integer",
            "format": "int32"
          },
          "orderBy": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/OrderByDto"
            }
          },
          "tableId": {
            "type": "string",
            "description": "ID id."
          },
          "whereGroups": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/WhereGroupDto"
            }
          }
        }
      },
      "AggregateResponse": {
        "type": "object",
        "properties": {
          "deprecationWarnings": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "errors": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "exception": {
            "$ref": "#/components/schemas/AutessaResponse",
            "writeOnly": true
          },
          "groups": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/AggregateGroupDto"
            }
          },
          "sessionToken": {
            "type": "string"
          },
          "truncated": {
            "type": "boolean"
          }
        }
      },
      "AggregateSpecDto": {
        "type": "object",
        "properties": {
          "alias": {
            "type": "string"
          },
          "column": {
            "type": "string"
          },
          "function": {
            "type": "string",
            "enum": [
              "COUNT",
              "SUM",
              "AVG",
              "MIN",
              "MAX"
            ]
          }
        }
      },
      "AnalyticsColumnSpec": {
        "type": "object",
        "properties": {
          "pii": {
            "type": "boolean"
          },
          "precision": {
            "type": "integer",
            "format": "int32"
          },
          "scale": {
            "type": "integer",
            "format": "int32"
          },
          "synonyms": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "type": {
            "type": "string",
            "enum": [
              "STRING",
              "LONG",
              "INT",
              "DOUBLE",
              "DECIMAL",
              "BOOLEAN",
              "DATE",
              "TIMESTAMP",
              "TIMESTAMPTZ",
              "STRING_LIST",
              "JSON"
            ]
          },
          "unit": {
            "type": "string"
          }
        }
      },
      "AnalyticsTableSpec": {
        "type": "object",
        "properties": {
          "icebergFormatVersion": {
            "type": "integer",
            "format": "int32"
          },
          "partitionSpec": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/PartitionField"
            }
          },
          "sortOrder": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/SortField"
            }
          },
          "sqlName": {
            "type": "string"
          }
        }
      },
      "AnomalyDto": {
        "type": "object",
        "properties": {
          "action": {
            "type": "string"
          },
          "enabled": {
            "type": "boolean"
          },
          "failMode": {
            "type": "string"
          },
          "minHistory": {
            "type": "integer",
            "format": "int32"
          },
          "sensitivity": {
            "type": "string"
          }
        }
      },
      "AppendRowsRequest": {
        "type": "object",
        "properties": {
          "additionalRowCount": {
            "type": "integer",
            "format": "int32"
          },
          "jobId": {
            "type": "string"
          }
        }
      },
      "ApplyRequest": {
        "type": "object",
        "properties": {
          "allowPhonePurchase": {
            "type": "boolean",
            "description": "The stage's allowPhonePurchase (see preview). Default false."
          },
          "drift": {
            "type": "string",
            "deprecated": true,
            "description": "Alias of permissionDrift"
          },
          "idempotencyKey": {
            "type": "string",
            "description": "Retrying with the same key returns the first deployment (the Idempotency-Key header works too)"
          },
          "manifest": {
            "type": "object"
          },
          "manifestHash": {
            "type": "string"
          },
          "permissionDrift": {
            "type": "string",
            "enum": [
              "REPORT",
              "RESET"
            ]
          },
          "prune": {
            "type": "boolean"
          },
          "stage": {
            "type": "string"
          },
          "variables": {
            "type": "object",
            "additionalProperties": {
              "type": "string"
            }
          }
        },
        "required": [
          "manifest",
          "stage",
          "idempotencyKey"
        ]
      },
      "ArgumentFaithfulness": {
        "type": "object",
        "properties": {
          "analysis": {
            "type": "string"
          },
          "asReasoning": {
            "type": "string"
          },
          "derivable": {
            "type": "boolean"
          },
          "value": {
            "type": "string"
          },
          "variable": {
            "type": "string"
          }
        }
      },
      "AttemptDto": {
        "type": "object",
        "properties": {
          "caseId": {
            "type": "string"
          },
          "category": {
            "type": "string"
          },
          "caughtAtTurn": {
            "type": "integer",
            "format": "int32"
          },
          "conversationId": {
            "type": "string"
          },
          "detail": {
            "type": "string"
          },
          "eventIds": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "language": {
            "type": "string"
          },
          "multiTurn": {
            "type": "boolean"
          },
          "name": {
            "type": "string"
          },
          "outcome": {
            "type": "string"
          },
          "turns": {
            "type": "integer",
            "format": "int32"
          }
        }
      },
      "AutessaArgument": {
        "type": "object",
        "properties": {
          "description": {
            "type": "string"
          },
          "isRequired": {
            "type": "boolean"
          },
          "jsonSchema": {
            "$ref": "#/components/schemas/JsonSchema"
          }
        }
      },
      "AutessaDbColumnDefinition": {
        "type": "object",
        "properties": {
          "allowOverflow": {
            "type": "boolean"
          },
          "allowedValues": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "uniqueItems": true
          },
          "analytics": {
            "$ref": "#/components/schemas/AnalyticsColumnSpec"
          },
          "columnComment": {
            "type": "string"
          },
          "columnName": {
            "type": "string"
          },
          "columnType": {
            "type": "string",
            "enum": [
              "SHORT_TEXT",
              "LONG_TEXT",
              "ULTRA_LONG_TEXT",
              "FILE",
              "AUDIO",
              "IMAGE",
              "VIDEO",
              "INTEGER",
              "FLOAT",
              "BOOLEAN",
              "SINGLE_SELECT",
              "MULTI_SELECT",
              "DATETIME"
            ]
          },
          "computationValue": {
            "$ref": "#/components/schemas/AutessaDbComputation"
          },
          "defaultValue": {
            "$ref": "#/components/schemas/AutessaDbColumnValue"
          },
          "foreignKey": {
            "type": "boolean"
          },
          "foreignKeyTableId": {
            "type": "string",
            "description": "ID id."
          },
          "indexed": {
            "type": "boolean"
          },
          "masked": {
            "type": "boolean"
          },
          "numberConfiguration": {
            "$ref": "#/components/schemas/NumberConfiguration"
          },
          "required": {
            "type": "boolean"
          },
          "textConfiguration": {
            "$ref": "#/components/schemas/TextConfiguration"
          },
          "valueToDisplayNameMapping": {
            "type": "object",
            "additionalProperties": {
              "type": "string"
            }
          },
          "vectorizeField": {
            "type": "boolean"
          },
          "vectorized": {
            "type": "boolean"
          }
        }
      },
      "AutessaDbColumnValue": {
        "type": "object",
        "properties": {
          "booleanValue": {
            "type": "boolean"
          },
          "columnType": {
            "type": "string",
            "enum": [
              "SHORT_TEXT",
              "LONG_TEXT",
              "ULTRA_LONG_TEXT",
              "FILE",
              "AUDIO",
              "IMAGE",
              "VIDEO",
              "INTEGER",
              "FLOAT",
              "BOOLEAN",
              "SINGLE_SELECT",
              "MULTI_SELECT",
              "DATETIME"
            ]
          },
          "filePath": {
            "type": "string"
          },
          "floatValue": {
            "type": "number",
            "format": "float"
          },
          "integerValue": {
            "type": "integer",
            "format": "int32"
          },
          "multiSelectValue": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "uniqueItems": true
          },
          "multiSelectValueAsString": {
            "type": "string"
          },
          "presignedUrl": {
            "type": "string"
          },
          "textValue": {
            "type": "string"
          },
          "variableValue": {
            "type": "string"
          }
        }
      },
      "AutessaDbComputation": {
        "type": "object",
        "properties": {
          "dependsOn": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "script": {
            "type": "string"
          },
          "timeoutMs": {
            "type": "integer",
            "format": "int64"
          },
          "type": {
            "type": "string",
            "enum": [
              "SCRIPT",
              "AGENTIC_FLOW",
              "LLM_CALL",
              "CUSTOM"
            ]
          }
        }
      },
      "AutessaDbSchema": {
        "type": "object",
        "properties": {
          "analytics": {
            "$ref": "#/components/schemas/AnalyticsTableSpec"
          },
          "appendOnly": {
            "type": "boolean"
          },
          "builtInColumns": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/AutessaDbColumnDefinition"
            }
          },
          "columnDefinitions": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/AutessaDbColumnDefinition"
            }
          },
          "dbTriggers": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/AutessaDbTrigger"
            }
          },
          "dbType": {
            "type": "string",
            "enum": [
              "DEFAULT",
              "KNOWLEDGE_BASE",
              "DEPENDENT",
              "DRIVE",
              "ANALYTICS"
            ]
          },
          "drive": {
            "$ref": "#/components/schemas/DriveSettings"
          },
          "tableName": {
            "type": "string"
          },
          "tags": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "uniqueItems": true
          },
          "triggerSettings": {
            "$ref": "#/components/schemas/TriggerSettings"
          }
        }
      },
      "AutessaDbTrigger": {
        "type": "object",
        "properties": {
          "actionConfig": {},
          "condition": {
            "$ref": "#/components/schemas/TriggerCondition"
          },
          "definerUserId": {
            "type": "string",
            "description": "ID id."
          },
          "description": {
            "type": "string"
          },
          "enabled": {
            "type": "boolean"
          },
          "invokeAgentActionConfig": {
            "$ref": "#/components/schemas/InvokeAgentActionConfig"
          },
          "invokeManagerActionConfig": {
            "$ref": "#/components/schemas/InvokeManagerActionConfig"
          },
          "invokeToolActionConfig": {
            "$ref": "#/components/schemas/InvokeToolActionConfig"
          },
          "priority": {
            "type": "integer",
            "format": "int32"
          },
          "triggerId": {
            "type": "string"
          },
          "triggerName": {
            "type": "string"
          },
          "triggerType": {
            "type": "string",
            "enum": [
              "UPDATE_AUTESSADB",
              "INVOKE_TOOL",
              "INVOKE_AGENT",
              "INVOKE_MANAGER"
            ]
          },
          "updateDbActionConfig": {
            "$ref": "#/components/schemas/UpdateAutessaDbActionConfig"
          },
          "valid": {
            "type": "boolean"
          }
        }
      },
      "AutessaResponse": {
        "type": "object",
        "properties": {
          "deprecationWarnings": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "errors": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "exception": {
            "writeOnly": true
          },
          "sessionToken": {
            "type": "string"
          }
        }
      },
      "AutessaTool": {
        "type": "object",
        "properties": {
          "arguments": {
            "type": "object",
            "additionalProperties": {
              "$ref": "#/components/schemas/AutessaArgument"
            }
          },
          "authGate": {
            "$ref": "#/components/schemas/AuthGate"
          },
          "companyId": {
            "type": "string",
            "description": "ID id."
          },
          "description": {
            "type": "string"
          },
          "disclosure": {
            "$ref": "#/components/schemas/ToolDisclosure"
          },
          "lastPublishedTime": {
            "type": "string",
            "format": "date-time"
          },
          "name": {
            "type": "string"
          },
          "parsedToolConfig": {
            "$ref": "#/components/schemas/ToolConfig"
          },
          "previewVersion": {
            "type": "boolean"
          },
          "privateArguments": {
            "type": "object",
            "additionalProperties": {
              "$ref": "#/components/schemas/PrivateArgument"
            }
          },
          "publishedBy": {
            "type": "string",
            "description": "ID id."
          },
          "runAsOwnerAllowed": {
            "type": "boolean"
          },
          "sensitiveOutput": {
            "type": "boolean"
          },
          "shallowCopy": {
            "type": "boolean"
          },
          "tags": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "uniqueItems": true
          },
          "toolConfig": {
            "$ref": "#/components/schemas/AutessaToolConfig"
          },
          "toolId": {
            "type": "string",
            "description": "ID id."
          },
          "vaultAccess": {
            "$ref": "#/components/schemas/VaultAccess"
          },
          "voiceAnnouncement": {
            "$ref": "#/components/schemas/VoiceAnnouncement"
          }
        }
      },
      "AutessaToolConfig": {
        "type": "object",
        "properties": {
          "config": {
            "type": "object",
            "additionalProperties": {}
          },
          "fieldTypesForClass": {
            "type": "object",
            "additionalProperties": {
              "$ref": "#/components/schemas/FieldType"
            }
          },
          "invokableBy": {
            "type": "string",
            "enum": [
              "DIRECT",
              "OWNER_TOOLS"
            ]
          },
          "responseShapeForClass": {
            "type": "string"
          },
          "runAs": {
            "type": "string",
            "enum": [
              "INVOKER",
              "OWNER"
            ]
          },
          "runAsResetReason": {
            "type": "string"
          },
          "runAsSetBy": {
            "type": "integer",
            "format": "int64"
          },
          "skipExecutionHistory": {
            "type": "boolean"
          },
          "sqidIdFieldNamesForClass": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "uniqueItems": true
          },
          "toolType": {
            "type": "string",
            "enum": [
              "AUTESSA_SCRIPT",
              "API_CALL",
              "LLM_CALL",
              "SEND_EMAIL",
              "SEND_EMAIL_FANOUT",
              "MAKE_PHONE_CALL",
              "SEND_SMS",
              "SMS_RECORD_CONSENT",
              "SCHEDULE_EVENT",
              "SLACK_SEND_MESSAGE",
              "SLACK_READ_CHANNEL",
              "AUTESSADB_INSERT",
              "AUTESSADB_UPDATE",
              "AUTESSADB_DELETE",
              "AUTESSADB_BULK_INSERT",
              "AUTESSADB_BULK_UPDATE",
              "AUTESSADB_BULK_DELETE",
              "AUTESSADB_AGGREGATE",
              "AUTESSADB_DRIVE",
              "EXTRACT_AUDIO",
              "ANALYTICS_DESCRIBE",
              "ANALYTICS_QUERY",
              "ANALYTICS_GET_RESULT",
              "TRANSCRIBE",
              "AUTESSADB_SEMANTIC_QUERY",
              "AUTESSADB_QUERY_TABLE",
              "MCP",
              "GOOGLE_CALENDAR_CREATE_EVENT",
              "GOOGLE_CALENDAR_LIST_EVENTS",
              "GOOGLE_CALENDAR_UPDATE_EVENT",
              "GOOGLE_CALENDAR_DELETE_EVENT",
              "GMAIL_LIST_UNREAD",
              "GMAIL_MARK_AS_READ",
              "GMAIL_MOVE_TO_LABEL",
              "GMAIL_CREATE_DRAFT_REPLY",
              "GMAIL_CREATE_DRAFT",
              "GMAIL_SEND_DRAFT",
              "GMAIL_SEND_EMAIL",
              "GMAIL_GET_MESSAGE_BY_ID",
              "GMAIL_GET_ATTACHMENT_CONTENT",
              "GMAIL_GET_ATTACHMENT_DOWNLOAD_LINK",
              "GMAIL_SEARCH_MESSAGES",
              "OUTLOOK_LIST_UNREAD",
              "OUTLOOK_MARK_AS_READ",
              "OUTLOOK_MOVE_TO_FOLDER",
              "OUTLOOK_CREATE_DRAFT_REPLY",
              "OUTLOOK_CREATE_DRAFT",
              "OUTLOOK_SEND_DRAFT",
              "OUTLOOK_SEND_EMAIL",
              "OUTLOOK_GET_MESSAGE_BY_ID",
              "OUTLOOK_GET_ATTACHMENT_CONTENT",
              "OUTLOOK_GET_ATTACHMENT_DOWNLOAD_LINK",
              "OUTLOOK_SEARCH_MESSAGES",
              "OUTLOOK_CALENDAR_CREATE_EVENT",
              "OUTLOOK_CALENDAR_LIST_EVENTS",
              "OUTLOOK_CALENDAR_UPDATE_EVENT",
              "OUTLOOK_CALENDAR_DELETE_EVENT",
              "BOX_LIST_FILES",
              "BOX_SEARCH_FILES",
              "BOX_DOWNLOAD_FILE",
              "MANAGER_SIGNAL",
              "GET_FILE_CONTENT",
              "GET_FILE_CONTENT_FROM_TABLE",
              "AUTESSADB_GENERAL_SEARCH",
              "MCP_RESOURCE",
              "MCP_PROMPT",
              "PERPLEXITY_SEARCH",
              "LINKEDIN_PUBLISH_POST",
              "LINKEDIN_CREATE_DRAFT",
              "LINKEDIN_UPDATE_POST",
              "LINKEDIN_LIST_DRAFTS",
              "LINKEDIN_LIST_PUBLISHED",
              "GHOST_GET_POSTS",
              "GHOST_GET_POST",
              "GHOST_CREATE_POST",
              "GHOST_UPDATE_POST",
              "GHOST_PUBLISH_POST",
              "GHOST_SCHEDULE_POST",
              "GHOST_GET_POST_ANALYTICS",
              "GHOST_GET_TOP_POSTS",
              "STOCK_IMAGE_GENERATOR",
              "STOCK_VIDEO_GENERATOR",
              "LIVE_SEARCH_ENGINE",
              "SCRAPE_URL",
              "SERVER_BROWSER",
              "CONNECTED_SERVICE",
              "AUTESSA_CLI",
              "TWITTER_CREATE_DRAFT",
              "TWITTER_UPDATE_DRAFT",
              "TWITTER_PUBLISH_TWEET",
              "TWITTER_GET_TWEET_STATS",
              "TWITTER_GET_ALL_TWEETS",
              "TWITTER_GET_TWEET_BY_ID",
              "BLUESKY_CREATE_DRAFT",
              "BLUESKY_UPDATE_DRAFT",
              "BLUESKY_PUBLISH_POST",
              "BLUESKY_GET_POST_STATS",
              "BLUESKY_GET_ALL_POSTS",
              "BLUESKY_GET_POST_BY_ID",
              "FACEBOOK_CREATE_DRAFT_POST",
              "FACEBOOK_UPDATE_DRAFT_POST",
              "FACEBOOK_PUBLISH_POST",
              "FACEBOOK_GET_POST_STATS",
              "FACEBOOK_GET_ALL_POSTS",
              "FACEBOOK_GET_POST_BY_ID",
              "FACEBOOK_GET_PAGE_INSIGHTS",
              "FACEBOOK_LIST_AD_ACCOUNTS",
              "FACEBOOK_LIST_CAMPAIGNS",
              "FACEBOOK_GET_ADS_INSIGHTS",
              "INSTAGRAM_CREATE_DRAFT",
              "INSTAGRAM_UPDATE_DRAFT",
              "INSTAGRAM_PUBLISH_POST",
              "INSTAGRAM_GET_POST_STATS",
              "INSTAGRAM_GET_ALL_POSTS",
              "INSTAGRAM_GET_POST_BY_ID",
              "MAILCHIMP_CREATE_CAMPAIGN",
              "MAILCHIMP_SET_CAMPAIGN_CONTENT",
              "MAILCHIMP_SEND_CAMPAIGN",
              "MAILCHIMP_SCHEDULE_CAMPAIGN",
              "MAILCHIMP_GET_CAMPAIGNS",
              "MAILCHIMP_GET_CAMPAIGN_REPORT",
              "MAILCHIMP_GET_CAMPAIGN_CONTENT",
              "MAILCHIMP_GET_LISTS",
              "MAILCHIMP_ADD_CONTACT",
              "MAILCHIMP_UPDATE_CONTACT",
              "MAILCHIMP_GET_CONTACTS",
              "MAILCHIMP_LIST_EMAIL_CLICKERS",
              "MAILCHIMP_LIST_CONTACTS_WITH_CLICKED_CAMPAIGNS",
              "MAILCHIMP_GET_MEMBER_CLICK_ACTIVITY",
              "MAILCHIMP_LIST_EMAIL_OPENERS",
              "THREADS_CREATE_DRAFT",
              "THREADS_UPDATE_DRAFT",
              "THREADS_PUBLISH_POST",
              "THREADS_GET_POST_STATS",
              "THREADS_GET_ALL_POSTS",
              "THREADS_GET_POST_BY_ID",
              "INSTAGRAM_SYNC_POSTS",
              "FACEBOOK_SYNC_POSTS",
              "TWITTER_SYNC_TWEETS",
              "THREADS_SYNC_POSTS",
              "GOOGLE_ANALYTICS_RUN_REPORT",
              "GOOGLE_ANALYTICS_REALTIME_REPORT",
              "GOOGLE_ANALYTICS_GET_CONVERSIONS",
              "GOOGLE_ANALYTICS_GET_EVENTS",
              "GOOGLE_ANALYTICS_LIST_PROPERTIES",
              "GOOGLE_ANALYTICS_GET_METADATA",
              "BIGQUERY_LIST_DATASETS",
              "BIGQUERY_LIST_TABLES",
              "BIGQUERY_GET_TABLE_SCHEMA",
              "BIGQUERY_RUN_QUERY",
              "YOUTUBE_GET_VIDEOS",
              "YOUTUBE_GET_VIDEO_BY_ID",
              "YOUTUBE_GET_VIDEO_ANALYTICS",
              "BEEHIIV_GET_POSTS",
              "BEEHIIV_GET_POST_BY_ID",
              "BEEHIIV_GET_POST_STATS",
              "BEEHIIV_GET_AGGREGATE_STATS",
              "BEEHIIV_LIST_SUBSCRIPTIONS",
              "BEEHIIV_GET_SUBSCRIBER_BY_EMAIL",
              "BEEHIIV_GET_SUBSCRIBER_STATS",
              "TIKTOK_CREATE_DRAFT",
              "TIKTOK_GET_ALL_VIDEOS",
              "TIKTOK_GET_VIDEO_STATS",
              "TIKTOK_GET_CHANNEL_STATS",
              "TIKTOK_GET_VIDEO_BY_ID",
              "FETCH_AND_VIEW",
              "QUICKBOOKS_GET_CUSTOMERS",
              "QUICKBOOKS_GET_CUSTOMER_BY_ID",
              "QUICKBOOKS_CREATE_CUSTOMER",
              "QUICKBOOKS_UPDATE_CUSTOMER",
              "QUICKBOOKS_GET_INVOICES",
              "QUICKBOOKS_GET_INVOICE_BY_ID",
              "QUICKBOOKS_CREATE_INVOICE",
              "QUICKBOOKS_UPDATE_INVOICE",
              "QUICKBOOKS_SEND_INVOICE",
              "QUICKBOOKS_VOID_INVOICE",
              "QUICKBOOKS_DELETE_INVOICE",
              "QUICKBOOKS_GET_PAYMENTS",
              "QUICKBOOKS_GET_PAYMENT_BY_ID",
              "QUICKBOOKS_CREATE_PAYMENT",
              "QUICKBOOKS_VOID_PAYMENT",
              "QUICKBOOKS_GET_ESTIMATES",
              "QUICKBOOKS_GET_ESTIMATE_BY_ID",
              "QUICKBOOKS_CREATE_ESTIMATE",
              "QUICKBOOKS_SEND_ESTIMATE",
              "QUICKBOOKS_GET_VENDORS",
              "QUICKBOOKS_GET_VENDOR_BY_ID",
              "QUICKBOOKS_CREATE_VENDOR",
              "QUICKBOOKS_UPDATE_VENDOR",
              "QUICKBOOKS_GET_BILLS",
              "QUICKBOOKS_GET_BILL_BY_ID",
              "QUICKBOOKS_CREATE_BILL",
              "QUICKBOOKS_UPDATE_BILL",
              "QUICKBOOKS_DELETE_BILL",
              "QUICKBOOKS_GET_BILL_PAYMENTS",
              "QUICKBOOKS_GET_BILL_PAYMENT_BY_ID",
              "QUICKBOOKS_CREATE_BILL_PAYMENT",
              "QUICKBOOKS_GET_PURCHASE_ORDERS",
              "QUICKBOOKS_CREATE_PURCHASE_ORDER",
              "QUICKBOOKS_UPDATE_PURCHASE_ORDER",
              "QUICKBOOKS_GET_ITEMS",
              "QUICKBOOKS_GET_ITEM_BY_ID",
              "QUICKBOOKS_CREATE_ITEM",
              "QUICKBOOKS_UPDATE_ITEM",
              "QUICKBOOKS_GET_ACCOUNTS",
              "QUICKBOOKS_GET_ACCOUNT_BY_ID",
              "QUICKBOOKS_CREATE_ACCOUNT",
              "QUICKBOOKS_GET_PROFIT_AND_LOSS",
              "QUICKBOOKS_GET_BALANCE_SHEET",
              "QUICKBOOKS_GET_CASH_FLOW",
              "QUICKBOOKS_GET_AGED_RECEIVABLES",
              "QUICKBOOKS_GET_AGED_PAYABLES",
              "QUICKBOOKS_GET_CUSTOMER_BALANCE",
              "QUICKBOOKS_GET_VENDOR_BALANCE",
              "QUICKBOOKS_GET_TRANSACTION_LIST",
              "QUICKBOOKS_GET_COMPANY_INFO",
              "QUICKBOOKS_GET_PREFERENCES",
              "QUICKBOOKS_TOKENIZE_CARD",
              "QUICKBOOKS_CREATE_CARD",
              "QUICKBOOKS_CHARGE_CARD",
              "QUICKBOOKS_REFUND_CHARGE",
              "QUICKBOOKS_TOKENIZE_BANK_ACCOUNT",
              "QUICKBOOKS_PROCESS_ECHECK",
              "QUICKBOOKS_REFUND_ECHECK",
              "QUICKBOOKS_CREATE_AND_SEND_INVOICE",
              "QUICKBOOKS_GET_INVOICE_WITH_CUSTOMER",
              "QUICKBOOKS_RECORD_PAYMENT_FOR_INVOICE",
              "QUICKBOOKS_CREATE_AND_PAY_BILL",
              "QUICKBOOKS_GET_BILL_WITH_VENDOR",
              "QUICKBOOKS_SEARCH_CUSTOMER_BY_EMAIL",
              "QUICKBOOKS_SEARCH_CUSTOMER_BY_NAME",
              "QUICKBOOKS_SEARCH_VENDOR_BY_NAME",
              "QUICKBOOKS_GET_OR_CREATE_CUSTOMER",
              "QUICKBOOKS_GET_OR_CREATE_VENDOR",
              "QUICKBOOKS_GET_AR_SUMMARY",
              "QUICKBOOKS_GET_AP_SUMMARY",
              "QUICKBOOKS_GET_FINANCIAL_SNAPSHOT",
              "QUICKBOOKS_GET_RECENT_ACTIVITY",
              "QUICKBOOKS_GET_ITEMS_FOR_INVOICE",
              "QUICKBOOKS_GET_ACCOUNTS_FOR_EXPENSE",
              "QUICKBOOKS_CHARGE_AND_RECORD_PAYMENT",
              "QUICKBOOKS_PROCESS_ECHECK_AND_RECORD_PAYMENT",
              "QUICKBOOKS_CONVERT_ESTIMATE_TO_INVOICE",
              "QUICKBOOKS_QUERY_MULTIPLE_ENTITIES",
              "QUICKBOOKS_CHECK_INVOICE_PAYMENT_STATUS",
              "QUICKBOOKS_CHECK_BILL_PAYMENT_STATUS",
              "QUICKBOOKS_GET_ACCOUNT_BALANCE_OVERVIEW",
              "QUICKBOOKS_TOKENIZE_AND_STORE_CARD",
              "QUICKBOOKS_TOKENIZE_AND_CHARGE",
              "QUICKBOOKS_CHARGE_STORED_CARD",
              "QUICKBOOKS_TOKENIZE_AND_STORE_BANK_ACCOUNT",
              "QUICKBOOKS_TOKENIZE_AND_PROCESS_ECHECK",
              "QUICKBOOKS_CHARGE_STORED_BANK_ACCOUNT",
              "QUICKBOOKS_REFUND_CHARGE_AND_RECORD_CREDIT",
              "QUICKBOOKS_REFUND_ECHECK_AND_RECORD_CREDIT",
              "QUICKBOOKS_SETUP_CUSTOMER_PAYMENT_METHOD",
              "QUICKBOOKS_GET_ENTITY_PDF",
              "QUICKBOOKS_UPLOAD_ATTACHMENT",
              "QUICKBOOKS_CREATE_PURCHASE_ORDER_AND_GET_PDF",
              "QUICKBOOKS_CREATE_BILL_AND_GET_PDF",
              "QUICKBOOKS_SCHEDULE_BILL_PAYMENT",
              "QUICKBOOKS_CREATE_INVOICE_AND_ATTACH_PDF",
              "ACUMATICA_GET_ENTITIES",
              "ACUMATICA_GET_ENTITY_SCHEMA",
              "ACUMATICA_GET_RECORD",
              "ACUMATICA_UPSERT_RECORD",
              "ACUMATICA_GET_ATTACHMENTS",
              "ACUMATICA_DOWNLOAD_ATTACHMENT",
              "ACUMATICA_UPLOAD_ATTACHMENT",
              "ACUMATICA_GET_ACTIONS",
              "ACUMATICA_INVOKE_ACTION",
              "ACUMATICA_GET_ACTION_STATUS",
              "ACUMATICA_RAW_API_CALL",
              "PHONE_ADD_CONFERENCE_PARTICIPANT",
              "PHONE_HANG_UP",
              "PHONE_TRANSFER_CALL",
              "PHONE_TAKE_VOICEMAIL",
              "PHONE_PRESS_KEYS",
              "PHONE_PAUSE_RECORDING",
              "PHONE_GET_CALLER_INFO",
              "PHONE_SECURE_COLLECT",
              "PHONE_KEYPAD_INPUT",
              "ZOHO_CRM_SEARCH_CONTACTS",
              "ZOHO_CRM_GET_CONTACT",
              "ZOHO_CRM_UPSERT_CONTACT",
              "ZOHO_CRM_SEARCH_ACCOUNTS",
              "ZOHO_CRM_GET_ACCOUNT",
              "ZOHO_CRM_UPSERT_ACCOUNT",
              "ZOHO_CRM_ADD_CONTACT_TO_ACCOUNT",
              "ZOHO_CRM_ADD_NOTE",
              "ZOHO_CRM_LOG_TASK",
              "ZOHO_CRM_GET_RECORD",
              "ZOHO_CRM_SEARCH_RECORDS",
              "MEETING_RECORDER_NOTIFY",
              "MEETING_BOT_DISPATCH",
              "NOTION_SEARCH",
              "NOTION_RECENT_UPDATES",
              "NOTION_FETCH_PAGE",
              "NOTION_QUERY_DATABASE",
              "NOTION_QUERY_DATA_SOURCES",
              "NOTION_DISCOVER_PAGES",
              "NOTION_DISCOVER_DATABASES",
              "NOTION_CREATE_PAGE",
              "NOTION_UPDATE_PAGE",
              "NOTION_APPEND_BLOCKS",
              "NOTION_SUBMIT_FORM",
              "AUTESSA_PAYMENTS_CREATE_INVOICE",
              "AUTESSA_PAYMENTS_CHARGE_CUSTOMER",
              "AUTESSA_PAYMENTS_REFUND",
              "AUTESSA_PAYMENTS_GET_PAYOUT_STATUS",
              "AUTESSA_PAYMENTS_LIST_CUSTOMERS",
              "AUTESSA_PAYMENTS_GET_INVOICE",
              "DOCUMENT_EXTRACT",
              "DOCUMENT_RASTERIZE",
              "DOCUMENT_DETECT",
              "DOCUMENT_LOCATE_SPANS",
              "REDACTION_BURN",
              "AUDIO_REDACTION_BURN",
              "SPREADSHEET_SCRUB",
              "DOCUMENT_CACHE_LOOKUP",
              "DOCUMENT_CACHE_STORE",
              "FIRSTPASS_REVIEW_SESSION",
              "FIRSTPASS_BULK_DOC_OP",
              "FIRSTPASS_AUDIT_QUERY",
              "FIRSTPASS_VIDEO_TRACK",
              "FIRSTPASS_PURGE_DERIVED",
              "PLATE_REVIEW",
              "DOCUMENT_STITCH",
              "DOCUMENT_CONCAT",
              "TOOL_PIPELINE",
              "DOCUMENT_BULK_INTAKE",
              "PACKAGE_EXPORT",
              "NANO_BANANA_IMAGE_GEN",
              "AUDIO_TRANSCRIBE",
              "AUDIO_DETECT_SENSITIVE",
              "AUDIO_REDACT",
              "AUDIO_REDACTION_REDACT",
              "AUDIO_REDACTION_SUBMIT_BATCH",
              "AUDIO_REDACTION_GET_JOB",
              "AUDIO_REDACTION_GET_ITEM",
              "AUDIO_REDACTION_UPLOAD_LINKS",
              "AUDIO_REDACTION_BUCKET_ACCESS",
              "AUDIO_REDACTION_RETRY_FAILED",
              "AUDIO_REDACTION_DELETE_ITEM",
              "RECORDS_CLASSIFIER_GET_SETTINGS",
              "RECORDS_CLASSIFIER_SAVE_DISPOSITION",
              "RECORDS_CLASSIFIER_DELETE_DISPOSITION",
              "RECORDS_CLASSIFIER_SAVE_RECORD_CATEGORY",
              "RECORDS_CLASSIFIER_DELETE_RECORD_CATEGORY",
              "RECORDS_CLASSIFIER_SET_RULE",
              "RECORDS_CLASSIFIER_SET_OPTIONS",
              "MODEL_INFERENCE"
            ]
          }
        }
      },
      "AuthGate": {
        "type": "object",
        "properties": {
          "enabled": {
            "type": "boolean"
          },
          "freshnessMinutes": {
            "type": "integer",
            "format": "int32"
          },
          "methods": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "on": {
            "type": "boolean"
          },
          "passphraseId": {
            "type": "string"
          }
        }
      },
      "AutomatedEvaluation": {
        "type": "object",
        "properties": {
          "efficiencyScore": {
            "$ref": "#/components/schemas/EfficiencyScore"
          },
          "faithfulnessArgScore": {
            "$ref": "#/components/schemas/FaithfulnessScore"
          },
          "groundednessScore": {
            "$ref": "#/components/schemas/GroundednessScore"
          },
          "notes": {
            "type": "string"
          },
          "status": {
            "type": "string",
            "enum": [
              "SUCCESSFUL",
              "SUCCESSFUL_NOT_EFFICIENT",
              "SUCCESSFUL_NOT_ALL_STEPS",
              "UNSUCCESSFUL"
            ]
          },
          "taskCompletenessScore": {
            "$ref": "#/components/schemas/TaskCompletenessScore"
          }
        }
      },
      "BatchDeleteRowResult": {
        "type": "object",
        "properties": {
          "oldRow": {
            "type": "object",
            "additionalProperties": {
              "$ref": "#/components/schemas/AutessaDbColumnValue"
            }
          },
          "rowId": {
            "type": "integer",
            "format": "int64"
          }
        }
      },
      "BatchDeleteRowsRequest": {
        "type": "object",
        "properties": {
          "groupsLogicalOperator": {
            "type": "string"
          },
          "tableId": {
            "type": "string",
            "description": "ID id."
          },
          "whereGroups": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/WhereGroupDto"
            }
          }
        }
      },
      "BatchDeleteRowsResponse": {
        "type": "object",
        "properties": {
          "deletedCount": {
            "type": "integer",
            "format": "int32"
          },
          "deprecationWarnings": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "errors": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "exception": {
            "$ref": "#/components/schemas/AutessaResponse",
            "writeOnly": true
          },
          "results": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/BatchDeleteRowResult"
            }
          },
          "sessionToken": {
            "type": "string"
          }
        }
      },
      "BatchUpdateRowResult": {
        "type": "object",
        "properties": {
          "newRow": {
            "type": "object",
            "additionalProperties": {
              "$ref": "#/components/schemas/AutessaDbColumnValue"
            }
          },
          "oldRow": {
            "type": "object",
            "additionalProperties": {
              "$ref": "#/components/schemas/AutessaDbColumnValue"
            }
          },
          "rowId": {
            "type": "integer",
            "format": "int64"
          }
        }
      },
      "BatchUpdateRowsRequest": {
        "type": "object",
        "properties": {
          "deleteOrphanedFiles": {
            "type": "boolean"
          },
          "groupsLogicalOperator": {
            "type": "string"
          },
          "tableId": {
            "type": "string",
            "description": "ID id."
          },
          "values": {
            "type": "object",
            "additionalProperties": {
              "$ref": "#/components/schemas/AutessaDbColumnValue"
            }
          },
          "whereGroups": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/WhereGroupDto"
            }
          }
        }
      },
      "BatchUpdateRowsResponse": {
        "type": "object",
        "properties": {
          "computationStatus": {
            "type": "string"
          },
          "deprecationWarnings": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "errors": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "exception": {
            "$ref": "#/components/schemas/AutessaResponse",
            "writeOnly": true
          },
          "results": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/BatchUpdateRowResult"
            }
          },
          "sessionToken": {
            "type": "string"
          },
          "updatedCount": {
            "type": "integer",
            "format": "int32"
          }
        }
      },
      "BulkDeleteRowByIdResult": {
        "type": "object",
        "properties": {
          "deletedId": {
            "type": "integer",
            "format": "int64"
          },
          "errors": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "inputIndex": {
            "type": "integer",
            "format": "int32"
          }
        }
      },
      "BulkDeleteRowsByIdsRequest": {
        "type": "object",
        "properties": {
          "atomicity": {
            "type": "string",
            "enum": [
              "ALL_OR_NOTHING",
              "BEST_EFFORT_PER_CHUNK"
            ]
          },
          "ids": {
            "type": "array",
            "items": {
              "type": "integer",
              "format": "int64"
            }
          },
          "tableId": {
            "type": "string",
            "description": "ID id."
          },
          "triggerMode": {
            "type": "string",
            "enum": [
              "PER_ROW",
              "BATCH_CONTEXT",
              "SUPPRESS"
            ]
          }
        }
      },
      "BulkDeleteRowsByIdsResponse": {
        "type": "object",
        "properties": {
          "deletedCount": {
            "type": "integer",
            "format": "int32"
          },
          "deprecationWarnings": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "errors": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "exception": {
            "$ref": "#/components/schemas/AutessaResponse",
            "writeOnly": true
          },
          "results": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/BulkDeleteRowByIdResult"
            }
          },
          "sessionToken": {
            "type": "string"
          }
        }
      },
      "BulkInsertRowResult": {
        "type": "object",
        "properties": {
          "errors": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "inputIndex": {
            "type": "integer",
            "format": "int32"
          },
          "insertedId": {
            "type": "integer",
            "format": "int64"
          },
          "newRow": {
            "type": "object",
            "additionalProperties": {
              "$ref": "#/components/schemas/AutessaDbColumnValue"
            }
          }
        }
      },
      "BulkInsertRowsRequest": {
        "type": "object",
        "properties": {
          "atomicity": {
            "type": "string",
            "enum": [
              "ALL_OR_NOTHING",
              "BEST_EFFORT_PER_CHUNK"
            ]
          },
          "computeMode": {
            "type": "string",
            "enum": [
              "IMMEDIATE",
              "DEFERRED",
              "SKIP"
            ]
          },
          "indexingMode": {
            "type": "string",
            "enum": [
              "IMMEDIATE",
              "DEFERRED",
              "SKIP"
            ]
          },
          "rows": {
            "type": "array",
            "items": {
              "type": "object",
              "additionalProperties": {
                "$ref": "#/components/schemas/AutessaDbColumnValue"
              }
            }
          },
          "tableId": {
            "type": "string",
            "description": "ID id."
          },
          "triggerMode": {
            "type": "string",
            "enum": [
              "PER_ROW",
              "BATCH_CONTEXT",
              "SUPPRESS"
            ]
          }
        }
      },
      "BulkInsertRowsResponse": {
        "type": "object",
        "properties": {
          "computationStatus": {
            "type": "string"
          },
          "deprecationWarnings": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "errors": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "exception": {
            "$ref": "#/components/schemas/AutessaResponse",
            "writeOnly": true
          },
          "insertedCount": {
            "type": "integer",
            "format": "int32"
          },
          "results": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/BulkInsertRowResult"
            }
          },
          "sessionToken": {
            "type": "string"
          }
        }
      },
      "BulkUpdateRowByIdResult": {
        "type": "object",
        "properties": {
          "errors": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "inputIndex": {
            "type": "integer",
            "format": "int32"
          },
          "newRow": {
            "type": "object",
            "additionalProperties": {
              "$ref": "#/components/schemas/AutessaDbColumnValue"
            }
          },
          "oldRow": {
            "type": "object",
            "additionalProperties": {
              "$ref": "#/components/schemas/AutessaDbColumnValue"
            }
          },
          "updatedId": {
            "type": "integer",
            "format": "int64"
          }
        }
      },
      "BulkUpdateRowsByIdsRequest": {
        "type": "object",
        "properties": {
          "atomicity": {
            "type": "string",
            "enum": [
              "ALL_OR_NOTHING",
              "BEST_EFFORT_PER_CHUNK"
            ]
          },
          "computeMode": {
            "type": "string",
            "enum": [
              "IMMEDIATE",
              "DEFERRED",
              "SKIP"
            ]
          },
          "deleteOrphanedFiles": {
            "type": "boolean"
          },
          "indexingMode": {
            "type": "string",
            "enum": [
              "IMMEDIATE",
              "DEFERRED",
              "SKIP"
            ]
          },
          "tableId": {
            "type": "string",
            "description": "ID id."
          },
          "triggerMode": {
            "type": "string",
            "enum": [
              "PER_ROW",
              "BATCH_CONTEXT",
              "SUPPRESS"
            ]
          },
          "updates": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/RowUpdate"
            }
          }
        }
      },
      "BulkUpdateRowsByIdsResponse": {
        "type": "object",
        "properties": {
          "computationStatus": {
            "type": "string"
          },
          "deprecationWarnings": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "errors": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "exception": {
            "$ref": "#/components/schemas/AutessaResponse",
            "writeOnly": true
          },
          "results": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/BulkUpdateRowByIdResult"
            }
          },
          "sessionToken": {
            "type": "string"
          },
          "updatedCount": {
            "type": "integer",
            "format": "int32"
          }
        }
      },
      "CallerIdDto": {
        "type": "object",
        "properties": {
          "enabled": {
            "type": "boolean"
          },
          "onAttestationBC": {
            "type": "string"
          },
          "onFailed": {
            "type": "string"
          },
          "onNoValidation": {
            "type": "string"
          }
        }
      },
      "ChallengeDto": {
        "type": "object",
        "properties": {
          "lockMinutes": {
            "type": "integer",
            "format": "int32"
          },
          "maxAttempts": {
            "type": "integer",
            "format": "int32"
          },
          "methods": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "verifiedTtlMinutes": {
            "type": "integer",
            "format": "int32"
          }
        }
      },
      "ChallengeStartRequest": {
        "type": "object",
        "properties": {
          "agentId": {
            "type": "string",
            "description": "ID id."
          },
          "methods": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "description": "Default: the policy's."
          },
          "passphraseId": {
            "type": "string",
            "description": "For PASSPHRASE: which passphrase."
          },
          "policyName": {
            "type": "string"
          },
          "sessionId": {
            "type": "string",
            "description": "Attempts and locks are counted per session."
          },
          "subjectId": {
            "type": "string",
            "description": "Your id for the person, for the authenticator app."
          },
          "voice": {
            "type": "boolean",
            "description": "True when the answer will be spoken."
          }
        },
        "required": [
          "sessionId"
        ]
      },
      "ChallengeStartResponse": {
        "type": "object",
        "properties": {
          "challengeId": {
            "type": "string"
          },
          "deprecationWarnings": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "errors": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "exception": {
            "$ref": "#/components/schemas/AutessaResponse",
            "writeOnly": true
          },
          "methods": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "prompt": {
            "type": "string",
            "description": "What to show or say to the person."
          },
          "sessionToken": {
            "type": "string"
          }
        }
      },
      "ChallengeVerifyRequest": {
        "type": "object",
        "properties": {
          "answer": {
            "type": "string",
            "description": "A typed answer."
          },
          "challengeId": {
            "type": "string"
          },
          "method": {
            "type": "string"
          },
          "transcript": {
            "type": "string",
            "description": "A spoken answer, as transcribed."
          },
          "voiceScore": {
            "type": "number",
            "format": "double",
            "description": "That spoken turn's P(synthetic), if you scored it."
          }
        },
        "required": [
          "challengeId"
        ]
      },
      "ChallengeVerifyResponse": {
        "type": "object",
        "properties": {
          "attemptsLeft": {
            "type": "integer",
            "format": "int32"
          },
          "deprecationWarnings": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "duress": {
            "type": "boolean",
            "description": "True when the duress word was given. For you only: never tell the person."
          },
          "errors": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "exception": {
            "$ref": "#/components/schemas/AutessaResponse",
            "writeOnly": true
          },
          "sessionToken": {
            "type": "string"
          },
          "status": {
            "type": "string"
          }
        }
      },
      "Change": {
        "type": "object",
        "description": "One resource or permission change a deploy makes",
        "properties": {
          "action": {
            "type": "string",
            "enum": [
              "CREATE",
              "UPDATE",
              "DELETE",
              "NOOP"
            ]
          },
          "costBearing": {
            "type": "boolean",
            "description": "True when applying this change costs money; the note starts with WILL PURCHASE"
          },
          "fields": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "kind": {
            "type": "string"
          },
          "logicalId": {
            "type": "string"
          },
          "note": {
            "type": "string"
          },
          "permission": {
            "$ref": "#/components/schemas/PermissionDelta"
          }
        }
      },
      "ChangeView": {
        "type": "object",
        "properties": {
          "contentUpdatedAt": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "nodeId": {
            "type": "string"
          },
          "nodeType": {
            "type": "string"
          },
          "oldPath": {
            "type": "string"
          },
          "op": {
            "type": "string"
          },
          "parentId": {
            "type": "string"
          },
          "path": {
            "type": "string"
          },
          "seq": {
            "type": "integer",
            "format": "int64"
          },
          "sha256": {
            "type": "string"
          },
          "sizeBytes": {
            "type": "integer",
            "format": "int64"
          },
          "version": {
            "type": "integer",
            "format": "int32"
          }
        }
      },
      "ChangesResponse": {
        "type": "object",
        "properties": {
          "changes": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ChangeView"
            }
          },
          "cursor": {
            "type": "string"
          },
          "deprecationWarnings": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "errors": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "exception": {
            "$ref": "#/components/schemas/AutessaResponse",
            "writeOnly": true
          },
          "hasMore": {
            "type": "boolean"
          },
          "resyncRequired": {
            "type": "boolean"
          },
          "sessionToken": {
            "type": "string"
          }
        }
      },
      "ClientCreateAgentConversationRequest": {
        "type": "object",
        "properties": {
          "actingCustomAppId": {
            "type": "integer",
            "format": "int64"
          },
          "actingCustomAppRowId": {
            "type": "integer",
            "format": "int64"
          },
          "actingIdentity": {
            "$ref": "#/components/schemas/ActingIdentity"
          },
          "actingUserType": {
            "type": "string"
          },
          "agentId": {
            "type": "string",
            "description": "ID id."
          },
          "apiKeyId": {
            "type": "string"
          },
          "businessNumber": {
            "type": "string"
          },
          "channel": {
            "type": "string"
          },
          "clientMode": {
            "type": "boolean"
          },
          "companyId": {
            "type": "integer",
            "format": "int64"
          },
          "otherNumber": {
            "type": "string"
          },
          "userId": {
            "type": "integer",
            "format": "int64"
          },
          "version": {
            "$ref": "#/components/schemas/CustomVersion"
          },
          "visitorSessionRef": {
            "type": "string"
          }
        }
      },
      "ClientGetConversationRequest": {
        "type": "object",
        "properties": {
          "agentId": {
            "type": "string",
            "description": "ID id."
          },
          "conversationId": {
            "type": "string"
          }
        }
      },
      "ClientGetConversationResponse": {
        "type": "object",
        "properties": {
          "conversation": {
            "$ref": "#/components/schemas/AgentConversationDto"
          },
          "deprecationWarnings": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "errors": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "exception": {
            "$ref": "#/components/schemas/AutessaResponse",
            "writeOnly": true
          },
          "sessionToken": {
            "type": "string"
          }
        }
      },
      "ClientGetConversationStatusRequest": {
        "type": "object",
        "properties": {
          "agentId": {
            "type": "string",
            "description": "ID id."
          },
          "conversationId": {
            "type": "string"
          }
        },
        "required": [
          "conversationId"
        ]
      },
      "ClientGetConversationStatusResponse": {
        "type": "object",
        "properties": {
          "conversationId": {
            "type": "string"
          },
          "deprecationWarnings": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "errors": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "exception": {
            "$ref": "#/components/schemas/AutessaResponse",
            "writeOnly": true
          },
          "sessionToken": {
            "type": "string"
          },
          "status": {
            "type": "string",
            "enum": [
              "IN_PROGRESS",
              "CLOSED",
              "NOT_FOUND"
            ]
          }
        }
      },
      "ClientReviveConversationRequest": {
        "type": "object",
        "properties": {
          "agentId": {
            "type": "string",
            "description": "ID id."
          },
          "conversationId": {
            "type": "string"
          }
        }
      },
      "ClientReviveConversationResponse": {
        "type": "object",
        "properties": {
          "conversationId": {
            "type": "string"
          },
          "deprecationWarnings": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "errors": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "exception": {
            "$ref": "#/components/schemas/AutessaResponse",
            "writeOnly": true
          },
          "sessionToken": {
            "type": "string"
          },
          "status": {
            "type": "string"
          }
        }
      },
      "CloseAgentConversationRequest": {
        "type": "object",
        "properties": {
          "agentId": {
            "type": "string",
            "description": "ID id."
          },
          "conversationId": {
            "type": "string"
          }
        },
        "required": [
          "conversationId"
        ]
      },
      "ColumnFilter": {
        "type": "object",
        "properties": {
          "caseSensitive": {
            "type": "boolean"
          },
          "columnName": {
            "type": "string"
          },
          "compareValue": {
            "$ref": "#/components/schemas/ColumnFilterValue"
          },
          "operator": {
            "type": "string",
            "enum": [
              "CHANGED",
              "BECAME_NULL",
              "BECAME_NON_NULL",
              "EQUALS",
              "NOT_EQUALS",
              "NULL",
              "NOT_NULL",
              "GREATER_THAN",
              "LESS_THAN",
              "GREATER_OR_EQUAL",
              "LESS_OR_EQUAL",
              "CONTAINS",
              "STARTS_WITH",
              "ENDS_WITH",
              "VALUE_ADDED",
              "VALUE_REMOVED",
              "CONTAINS_VALUE",
              "IS_TRUE",
              "IS_FALSE"
            ]
          }
        }
      },
      "ColumnFilterValue": {
        "type": "object",
        "properties": {
          "booleanValue": {
            "type": "boolean"
          },
          "floatValue": {
            "type": "number",
            "format": "float"
          },
          "integerValue": {
            "type": "integer",
            "format": "int32"
          },
          "multiSelectValue": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "textValue": {
            "type": "string"
          },
          "variableValue": {
            "type": "string"
          }
        }
      },
      "ColumnMetadataRecord": {
        "type": "object",
        "properties": {
          "columnType": {
            "type": "string",
            "enum": [
              "SHORT_TEXT",
              "LONG_TEXT",
              "ULTRA_LONG_TEXT",
              "FILE",
              "AUDIO",
              "IMAGE",
              "VIDEO",
              "INTEGER",
              "FLOAT",
              "BOOLEAN",
              "SINGLE_SELECT",
              "MULTI_SELECT",
              "DATETIME"
            ]
          },
          "embeddingModel": {
            "type": "string"
          },
          "isVectorized": {
            "type": "boolean"
          },
          "lastVectorizationError": {
            "type": "string"
          },
          "lastVectorizationErrorAt": {
            "type": "string",
            "format": "date-time"
          },
          "lastVectorizedAt": {
            "type": "string",
            "format": "date-time"
          },
          "vectorCount": {
            "type": "integer",
            "format": "int32"
          },
          "vectorizationContentHash": {
            "type": "string"
          },
          "vectorizationDurationMs": {
            "type": "integer",
            "format": "int64"
          },
          "vectorizationEligible": {
            "type": "boolean"
          }
        }
      },
      "CommentAddRequest": {
        "type": "object",
        "properties": {
          "anchor": {
            "type": "object"
          },
          "body": {
            "type": "string"
          },
          "nodeId": {
            "type": "integer",
            "format": "int64"
          },
          "page": {
            "type": "integer",
            "format": "int32"
          },
          "parentId": {
            "type": "string"
          },
          "path": {
            "type": "string"
          },
          "quote": {
            "type": "string"
          },
          "range": {
            "type": "string"
          },
          "sheet": {
            "type": "string"
          },
          "tableId": {
            "type": "string",
            "description": "ID id."
          }
        }
      },
      "CommentAuthor": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "initials": {
            "type": "string"
          },
          "me": {
            "type": "boolean"
          },
          "name": {
            "type": "string"
          }
        }
      },
      "CommentDeleteRequest": {
        "type": "object",
        "properties": {
          "commentId": {
            "type": "string"
          },
          "tableId": {
            "type": "string",
            "description": "ID id."
          }
        }
      },
      "CommentDeleteResponse": {
        "type": "object",
        "properties": {
          "deprecationWarnings": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "errors": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "exception": {
            "$ref": "#/components/schemas/AutessaResponse",
            "writeOnly": true
          },
          "ok": {
            "type": "boolean"
          },
          "sessionToken": {
            "type": "string"
          },
          "thread": {
            "$ref": "#/components/schemas/CommentThreadView"
          }
        }
      },
      "CommentEditRequest": {
        "type": "object",
        "properties": {
          "body": {
            "type": "string"
          },
          "commentId": {
            "type": "string"
          },
          "tableId": {
            "type": "string",
            "description": "ID id."
          }
        }
      },
      "CommentResolveRequest": {
        "type": "object",
        "properties": {
          "commentId": {
            "type": "string"
          },
          "resolved": {
            "type": "boolean"
          },
          "tableId": {
            "type": "string",
            "description": "ID id."
          }
        }
      },
      "CommentThreadResponse": {
        "type": "object",
        "properties": {
          "deprecationWarnings": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "errors": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "exception": {
            "$ref": "#/components/schemas/AutessaResponse",
            "writeOnly": true
          },
          "sessionToken": {
            "type": "string"
          },
          "thread": {
            "$ref": "#/components/schemas/CommentThreadView"
          }
        }
      },
      "CommentThreadView": {
        "type": "object",
        "properties": {
          "anchor": {
            "type": "object"
          },
          "author": {
            "$ref": "#/components/schemas/CommentAuthor"
          },
          "body": {
            "type": "string"
          },
          "canDelete": {
            "type": "boolean"
          },
          "canEdit": {
            "type": "boolean"
          },
          "canResolve": {
            "type": "boolean"
          },
          "commentId": {
            "type": "string"
          },
          "createdAt": {
            "type": "string"
          },
          "deleted": {
            "type": "boolean"
          },
          "edited": {
            "type": "boolean"
          },
          "parentId": {
            "type": "string"
          },
          "replies": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/CommentView"
            }
          },
          "resolved": {
            "type": "boolean"
          },
          "resolvedAt": {
            "type": "string"
          },
          "resolvedBy": {
            "$ref": "#/components/schemas/CommentAuthor"
          },
          "updatedAt": {
            "type": "string"
          },
          "version": {
            "type": "integer",
            "format": "int32"
          }
        }
      },
      "CommentView": {
        "type": "object",
        "properties": {
          "anchor": {
            "type": "object"
          },
          "author": {
            "$ref": "#/components/schemas/CommentAuthor"
          },
          "body": {
            "type": "string"
          },
          "canDelete": {
            "type": "boolean"
          },
          "canEdit": {
            "type": "boolean"
          },
          "commentId": {
            "type": "string"
          },
          "createdAt": {
            "type": "string"
          },
          "deleted": {
            "type": "boolean"
          },
          "edited": {
            "type": "boolean"
          },
          "parentId": {
            "type": "string"
          },
          "updatedAt": {
            "type": "string"
          },
          "version": {
            "type": "integer",
            "format": "int32"
          }
        }
      },
      "CommentsListRequest": {
        "type": "object",
        "properties": {
          "cursor": {
            "type": "string"
          },
          "includeResolved": {
            "type": "boolean"
          },
          "limit": {
            "type": "integer",
            "format": "int32"
          },
          "nodeId": {
            "type": "integer",
            "format": "int64"
          },
          "path": {
            "type": "string"
          },
          "tableId": {
            "type": "string",
            "description": "ID id."
          }
        }
      },
      "CommentsListResponse": {
        "type": "object",
        "properties": {
          "canComment": {
            "type": "boolean"
          },
          "deprecationWarnings": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "errors": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "exception": {
            "$ref": "#/components/schemas/AutessaResponse",
            "writeOnly": true
          },
          "hasMore": {
            "type": "boolean"
          },
          "nextCursor": {
            "type": "string"
          },
          "nodeVersion": {
            "type": "integer",
            "format": "int32"
          },
          "openCount": {
            "type": "integer",
            "format": "int64"
          },
          "resolvedCount": {
            "type": "integer",
            "format": "int64"
          },
          "sessionToken": {
            "type": "string"
          },
          "threads": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/CommentThreadView"
            }
          }
        }
      },
      "CommitResponse": {
        "type": "object",
        "properties": {
          "deprecationWarnings": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "errors": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "exception": {
            "$ref": "#/components/schemas/AutessaResponse",
            "writeOnly": true
          },
          "results": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/CommitResult"
            }
          },
          "sessionToken": {
            "type": "string"
          }
        }
      },
      "CommitResult": {
        "type": "object",
        "properties": {
          "error": {
            "$ref": "#/components/schemas/ErrorBody"
          },
          "node": {
            "$ref": "#/components/schemas/DriveNodeView"
          },
          "uploadId": {
            "type": "string"
          }
        }
      },
      "CompleteMultipartRequest": {
        "type": "object",
        "properties": {
          "parts": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/UploadedPart"
            }
          },
          "tableId": {
            "type": "string",
            "description": "ID id."
          },
          "uploadId": {
            "type": "string"
          }
        }
      },
      "CompleteMultipartResponse": {
        "type": "object",
        "properties": {
          "checksumSha256": {
            "type": "string"
          },
          "count": {
            "type": "integer",
            "format": "int32"
          },
          "deprecationWarnings": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "errors": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "exception": {
            "$ref": "#/components/schemas/AutessaResponse",
            "writeOnly": true
          },
          "ok": {
            "type": "boolean"
          },
          "sessionToken": {
            "type": "string"
          },
          "state": {
            "type": "string"
          },
          "uploadId": {
            "type": "string"
          }
        }
      },
      "CompletedPartView": {
        "type": "object",
        "properties": {
          "checksumSha256": {
            "type": "string"
          },
          "etag": {
            "type": "string"
          },
          "partNumber": {
            "type": "integer",
            "format": "int32"
          },
          "size": {
            "type": "integer",
            "format": "int64"
          }
        }
      },
      "CreateAgentConversationResponse": {
        "type": "object",
        "properties": {
          "conversationId": {
            "type": "string"
          },
          "deprecationWarnings": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "errors": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "exception": {
            "$ref": "#/components/schemas/AutessaResponse",
            "writeOnly": true
          },
          "sessionToken": {
            "type": "string"
          }
        }
      },
      "CreateGradingJobRequest": {
        "type": "object",
        "properties": {
          "transcripts": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/EvaluateTranscriptRequest"
            }
          },
          "webhookUrl": {
            "type": "string",
            "description": "Receives one signed POST when the job finishes."
          }
        },
        "required": [
          "transcripts"
        ]
      },
      "CreateGradingJobResponse": {
        "type": "object",
        "properties": {
          "deprecationWarnings": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "errors": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "exception": {
            "$ref": "#/components/schemas/AutessaResponse",
            "writeOnly": true
          },
          "items": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/GradingItemDto"
            }
          },
          "job": {
            "$ref": "#/components/schemas/GradingJobDto"
          },
          "sessionToken": {
            "type": "string"
          },
          "webhookSecret": {
            "type": "string",
            "description": "Verifies the completion webhook. Returned only here."
          }
        }
      },
      "CreateKnowledgeBaseRequest": {
        "type": "object",
        "properties": {
          "files": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/KnowledgeBaseFile"
            }
          },
          "tableName": {
            "type": "string"
          }
        }
      },
      "CreateKnowledgeBaseResponse": {
        "type": "object",
        "properties": {
          "deprecationWarnings": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "errors": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "exception": {
            "$ref": "#/components/schemas/AutessaResponse",
            "writeOnly": true
          },
          "filesInserted": {
            "type": "integer",
            "format": "int32"
          },
          "sessionToken": {
            "type": "string"
          },
          "tableId": {
            "type": "string",
            "description": "ID id."
          },
          "tableName": {
            "type": "string"
          }
        }
      },
      "CreateSyntheticDataJobRequest": {
        "type": "object",
        "properties": {
          "columnDefinitions": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/AutessaDbColumnDefinition"
            }
          },
          "createTable": {
            "$ref": "#/components/schemas/CreateTableRequest"
          },
          "description": {
            "type": "string"
          },
          "fileFormat": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "rowCount": {
            "type": "integer",
            "format": "int32"
          },
          "sampleRowsJson": {
            "type": "string"
          },
          "tableId": {
            "type": "string",
            "description": "ID id."
          },
          "targetType": {
            "type": "string"
          },
          "writeMode": {
            "type": "string"
          }
        }
      },
      "CreateSyntheticDataJobResponse": {
        "type": "object",
        "properties": {
          "deprecationWarnings": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "errors": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "exception": {
            "$ref": "#/components/schemas/AutessaResponse",
            "writeOnly": true
          },
          "jobId": {
            "type": "string"
          },
          "sessionToken": {
            "type": "string"
          }
        }
      },
      "CreateTableRequest": {
        "type": "object",
        "properties": {
          "schema": {
            "$ref": "#/components/schemas/AutessaDbSchema"
          },
          "tableName": {
            "type": "string"
          }
        }
      },
      "CustomVersion": {
        "type": "null",
        "properties": {
          "versionNumber": {
            "type": "integer",
            "format": "int32"
          },
          "versionState": {
            "type": "string",
            "enum": [
              "DRAFT",
              "PUBLISHED",
              "ARCHIVED"
            ]
          }
        }
      },
      "DashboardResponse": {
        "type": "object",
        "properties": {
          "byAgent": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/AgentRow"
            }
          },
          "byPolicy": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/PolicyRow"
            }
          },
          "byReason": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ReasonCount"
            }
          },
          "byRule": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/RuleRow"
            }
          },
          "deprecationWarnings": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "errors": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "exception": {
            "$ref": "#/components/schemas/AutessaResponse",
            "writeOnly": true
          },
          "pendingApprovals": {
            "type": "integer",
            "format": "int32"
          },
          "previousTotals": {
            "$ref": "#/components/schemas/Totals"
          },
          "range": {
            "$ref": "#/components/schemas/FirewallDashboardRange"
          },
          "recent": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/RecentCatch"
            }
          },
          "series": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/SeriesPoint"
            }
          },
          "sessionToken": {
            "type": "string"
          },
          "topIdentities": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/IdentityRow"
            }
          },
          "totals": {
            "$ref": "#/components/schemas/Totals"
          }
        }
      },
      "DeleteRowRequest": {
        "type": "object",
        "properties": {
          "rowId": {
            "type": "integer",
            "format": "int64"
          },
          "tableId": {
            "type": "string",
            "description": "ID id."
          }
        }
      },
      "DeleteRowResponse": {
        "type": "object",
        "properties": {
          "deletedId": {
            "type": "integer",
            "format": "int64"
          },
          "deprecationWarnings": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "errors": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "exception": {
            "$ref": "#/components/schemas/AutessaResponse",
            "writeOnly": true
          },
          "newRow": {
            "type": "object",
            "additionalProperties": {
              "$ref": "#/components/schemas/AutessaDbColumnValue"
            }
          },
          "oldRow": {
            "type": "object",
            "additionalProperties": {
              "$ref": "#/components/schemas/AutessaDbColumnValue"
            }
          },
          "sessionToken": {
            "type": "string"
          }
        }
      },
      "DeployFilesUpload": {
        "type": "object",
        "additionalProperties": {
          "type": "string",
          "description": "One binary file part per synth file, its field name sha256:<hex> of its content; a part whose hash does not match its bytes is refused. Files already stored are skipped."
        },
        "description": "One binary file part per synth file, its field name sha256:<hex> of its content; a part whose hash does not match its bytes is refused. Files already stored are skipped.",
        "properties": {
          "empty": {
            "type": "boolean"
          }
        }
      },
      "DeploymentResponse": {
        "type": "object",
        "properties": {
          "changes": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Change"
            }
          },
          "deploymentId": {
            "type": "string"
          },
          "deprecationWarnings": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "error": {
            "type": "string"
          },
          "errors": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "exception": {
            "$ref": "#/components/schemas/AutessaResponse",
            "writeOnly": true
          },
          "finishedAt": {
            "type": "string",
            "description": "ISO-8601 time."
          },
          "kind": {
            "type": "string"
          },
          "manifestHash": {
            "type": "string"
          },
          "rollbackOfDeploymentId": {
            "type": "string"
          },
          "sessionToken": {
            "type": "string"
          },
          "stage": {
            "type": "string"
          },
          "startedAt": {
            "type": "string",
            "description": "ISO-8601 time."
          },
          "status": {
            "type": "string",
            "enum": [
              "RUNNING",
              "SUCCEEDED",
              "FAILED",
              "ROLLED_BACK"
            ]
          }
        }
      },
      "DeploymentsResponse": {
        "type": "object",
        "properties": {
          "deprecationWarnings": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "errors": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "exception": {
            "$ref": "#/components/schemas/AutessaResponse",
            "writeOnly": true
          },
          "items": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/DeploymentResponse"
            }
          },
          "nextCursor": {
            "type": "string",
            "description": "Pass as cursor for the next page; absent or null on the last page."
          },
          "sessionToken": {
            "type": "string"
          }
        }
      },
      "DisclosureDto": {
        "type": "object",
        "properties": {
          "action": {
            "type": "string"
          },
          "enabled": {
            "type": "boolean"
          },
          "perConversation": {
            "type": "integer",
            "format": "int32"
          },
          "perDay": {
            "type": "integer",
            "format": "int32"
          }
        }
      },
      "DisclosuresResponse": {
        "type": "object",
        "properties": {
          "deprecationWarnings": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "errors": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "exception": {
            "$ref": "#/components/schemas/AutessaResponse",
            "writeOnly": true
          },
          "perConversationLimit": {
            "type": "integer",
            "format": "int32"
          },
          "perDayLimit": {
            "type": "integer",
            "format": "int32"
          },
          "sessionToken": {
            "type": "string"
          },
          "subjectId": {
            "type": "string"
          },
          "today": {
            "type": "integer",
            "format": "int64",
            "description": "Sensitive records shown to this subject in the last 24 hours."
          }
        }
      },
      "DownloadUrlRequest": {
        "type": "object",
        "properties": {
          "nodeId": {
            "type": "integer",
            "format": "int64",
            "description": "Node id."
          },
          "path": {
            "type": "string"
          },
          "tableId": {
            "type": "string",
            "description": "ID id."
          },
          "version": {
            "type": "integer",
            "format": "int32"
          }
        },
        "required": [
          "tableId"
        ]
      },
      "DownloadUrlResponse": {
        "type": "object",
        "properties": {
          "deprecationWarnings": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "errors": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "exception": {
            "$ref": "#/components/schemas/AutessaResponse",
            "writeOnly": true
          },
          "expiresAt": {
            "type": "string"
          },
          "sessionToken": {
            "type": "string"
          },
          "url": {
            "type": "string"
          }
        }
      },
      "DriftedPermission": {
        "type": "object",
        "properties": {
          "level": {
            "type": "string"
          },
          "logicalId": {
            "type": "string"
          },
          "resolution": {
            "type": "string"
          },
          "subject": {
            "type": "string"
          }
        }
      },
      "DriveNodeView": {
        "type": "object",
        "properties": {
          "childCount": {
            "type": "integer",
            "format": "int64"
          },
          "contentUpdatedAt": {
            "type": "string"
          },
          "createdAt": {
            "type": "string"
          },
          "customColumns": {
            "type": "object"
          },
          "depth": {
            "type": "integer",
            "format": "int32"
          },
          "extractionStatus": {
            "type": "string"
          },
          "mimeType": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "nodeId": {
            "type": "string"
          },
          "nodeType": {
            "type": "string"
          },
          "openCommentCount": {
            "type": "integer",
            "format": "int64"
          },
          "ownerName": {
            "type": "string"
          },
          "ownerUserId": {
            "type": "string",
            "description": "ID id."
          },
          "parentId": {
            "type": "string"
          },
          "path": {
            "type": "string"
          },
          "sha256": {
            "type": "string"
          },
          "shared": {
            "type": "boolean"
          },
          "sizeBytes": {
            "type": "integer",
            "format": "int64"
          },
          "trashedAt": {
            "type": "string"
          },
          "updatedAt": {
            "type": "string"
          },
          "version": {
            "type": "integer",
            "format": "int32"
          }
        }
      },
      "DriveSettings": {
        "type": "object",
        "properties": {
          "driveAdmins": {
            "type": "array",
            "items": {
              "type": "integer",
              "format": "int64"
            }
          },
          "editorsCanShare": {
            "type": "boolean"
          },
          "linksEnabled": {
            "type": "boolean"
          },
          "ocrLanguage": {
            "type": "string"
          },
          "publicLinksEnabled": {
            "type": "boolean"
          },
          "semanticSearch": {
            "type": "boolean"
          }
        }
      },
      "EditRequest": {
        "type": "object",
        "properties": {
          "expectedVersion": {
            "type": "integer",
            "format": "int32"
          },
          "newText": {
            "type": "string"
          },
          "nodeId": {
            "type": "integer",
            "format": "int64"
          },
          "oldText": {
            "type": "string"
          },
          "path": {
            "type": "string"
          },
          "replaceAll": {
            "type": "boolean"
          },
          "tableId": {
            "type": "string",
            "description": "ID id."
          }
        }
      },
      "EditResponse": {
        "type": "object",
        "properties": {
          "bytes": {
            "type": "integer",
            "format": "int64"
          },
          "deprecationWarnings": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "errors": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "exception": {
            "$ref": "#/components/schemas/AutessaResponse",
            "writeOnly": true
          },
          "node": {
            "$ref": "#/components/schemas/DriveNodeView"
          },
          "replacements": {
            "type": "integer",
            "format": "int32"
          },
          "sessionToken": {
            "type": "string"
          },
          "version": {
            "type": "integer",
            "format": "int32"
          }
        }
      },
      "EfficiencyScore": {
        "type": "object",
        "properties": {
          "justification": {
            "type": "string"
          },
          "rating": {
            "type": "string",
            "enum": [
              "EFFICIENT",
              "NOT_EFFICIENT"
            ]
          }
        }
      },
      "EmbeddingMatch": {
        "type": "object",
        "properties": {
          "embedIndex": {
            "type": "integer",
            "format": "int32"
          },
          "embedType": {
            "type": "string"
          },
          "score": {
            "type": "number",
            "format": "float"
          }
        }
      },
      "ErrorBody": {
        "type": "object",
        "properties": {
          "code": {
            "type": "string"
          },
          "message": {
            "type": "string"
          }
        }
      },
      "EvaluateTranscriptRequest": {
        "type": "object",
        "properties": {
          "agentInstructions": {
            "type": "string",
            "description": "What the agent was told to do."
          },
          "evaluationNotes": {
            "type": "string",
            "description": "Optional grading guidance."
          },
          "expectedOutcome": {
            "type": "string",
            "description": "Plain-English success criteria; when set, it decides pass/fail."
          },
          "externalId": {
            "type": "string",
            "description": "Batch jobs only: your id, unique per company (re-submits return the existing result)."
          },
          "turns": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/TranscriptTurn"
            },
            "description": "The conversation, in order."
          }
        },
        "required": [
          "agentInstructions",
          "turns"
        ]
      },
      "EvaluateTranscriptResponse": {
        "type": "object",
        "properties": {
          "deprecationWarnings": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "errors": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "evaluation": {
            "$ref": "#/components/schemas/AutomatedEvaluation"
          },
          "exception": {
            "$ref": "#/components/schemas/AutessaResponse",
            "writeOnly": true
          },
          "expectedOutcomeVerdict": {
            "$ref": "#/components/schemas/ExpectedOutcomeScore"
          },
          "passed": {
            "type": "boolean",
            "description": "With an expected outcome: MET. Otherwise: status SUCCESSFUL or SUCCESSFUL_NOT_EFFICIENT."
          },
          "sessionToken": {
            "type": "string"
          }
        }
      },
      "EvaluationContext": {
        "type": "null",
        "properties": {
          "automatedEvaluation": {
            "$ref": "#/components/schemas/AutomatedEvaluation"
          },
          "humanEvaluation": {
            "$ref": "#/components/schemas/HumanEvaluation"
          },
          "managerAutomatedEvaluation": {
            "$ref": "#/components/schemas/ManagerAutomatedEvaluation"
          }
        }
      },
      "EventDto": {
        "type": "object",
        "properties": {
          "action": {
            "type": "string"
          },
          "agentId": {
            "type": "string",
            "description": "ID id."
          },
          "agentName": {
            "type": "string"
          },
          "approvalStatus": {
            "type": "string"
          },
          "argsDigest": {
            "type": "string"
          },
          "conversationId": {
            "type": "string"
          },
          "egressHosts": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "enforced": {
            "type": "boolean"
          },
          "eventId": {
            "type": "string"
          },
          "mode": {
            "type": "string"
          },
          "phase": {
            "type": "string"
          },
          "policyName": {
            "type": "string"
          },
          "reasons": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ReasonDto"
            }
          },
          "rowsRead": {
            "type": "integer",
            "format": "int64"
          },
          "runId": {
            "type": "string"
          },
          "simulation": {
            "type": "boolean"
          },
          "time": {
            "type": "string"
          },
          "toolId": {
            "type": "string",
            "description": "ID id."
          },
          "toolName": {
            "type": "string"
          },
          "toolType": {
            "type": "string"
          },
          "userId": {
            "type": "string",
            "description": "ID id."
          }
        }
      },
      "EventsResponse": {
        "type": "object",
        "properties": {
          "deprecationWarnings": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "errors": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "events": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/EventDto"
            }
          },
          "exception": {
            "$ref": "#/components/schemas/AutessaResponse",
            "writeOnly": true
          },
          "sessionToken": {
            "type": "string"
          }
        }
      },
      "EvidenceSignature": {
        "type": "object",
        "description": "HMAC-SHA256 over the canonical document (keys sorted, no whitespace, UTF-8, signature removed).",
        "properties": {
          "algorithm": {
            "type": "string"
          },
          "canonicalization": {
            "type": "string"
          },
          "keyName": {
            "type": "string"
          },
          "keyVersion": {
            "type": "integer",
            "format": "int32"
          },
          "kid": {
            "type": "string",
            "description": "Which signing key version signed it; evidence signed before a key rotation still verifies."
          },
          "value": {
            "type": "string"
          }
        }
      },
      "EvidenceVerifyResponse": {
        "type": "object",
        "properties": {
          "itemId": {
            "type": "string"
          },
          "valid": {
            "type": "boolean",
            "description": "Signed with this company's key (any of its versions) over exactly this content."
          }
        }
      },
      "ExcludeRowsRequest": {
        "type": "object",
        "properties": {
          "batchId": {
            "type": "string"
          },
          "jobId": {
            "type": "string"
          },
          "rowIndexes": {
            "type": "array",
            "items": {
              "type": "integer",
              "format": "int32"
            }
          }
        }
      },
      "ExecuteToolRequest": {
        "type": "object",
        "properties": {
          "agentId": {
            "type": "integer",
            "format": "int64"
          },
          "autessaTool": {
            "$ref": "#/components/schemas/AutessaTool"
          },
          "environmentVariables": {
            "type": "object",
            "additionalProperties": {
              "type": "string"
            }
          },
          "executionSource": {
            "type": "string"
          },
          "firewallScope": {
            "$ref": "#/components/schemas/FirewallScope"
          },
          "invocationId": {
            "type": "string"
          },
          "privateVariables": {
            "type": "object",
            "additionalProperties": {
              "type": "string"
            }
          },
          "simulation": {
            "type": "boolean"
          },
          "toolId": {
            "type": "string",
            "description": "ID id."
          },
          "toolName": {
            "type": "string"
          },
          "variables": {
            "type": "object",
            "additionalProperties": {
              "type": "string"
            }
          }
        }
      },
      "ExpectedOutcomeScore": {
        "type": "object",
        "properties": {
          "justification": {
            "type": "string"
          },
          "rating": {
            "type": "string",
            "enum": [
              "MET",
              "PARTIALLY_MET",
              "NOT_MET"
            ]
          }
        }
      },
      "ExportResponse": {
        "type": "object",
        "properties": {
          "deprecationWarnings": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "downloadUrl": {
            "type": "string"
          },
          "errors": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "exception": {
            "$ref": "#/components/schemas/AutessaResponse",
            "writeOnly": true
          },
          "sessionToken": {
            "type": "string"
          }
        }
      },
      "ExternalAgentRouting": {
        "type": "object",
        "description": "Connect calls to your own agent over a websocket.",
        "properties": {
          "authSecretName": {
            "type": "string",
            "description": "Name of an Autessa Secret sent as `auth` in the first message (never the value)."
          },
          "firewall": {
            "type": "boolean",
            "description": "Run the VOICE check on caller audio."
          },
          "greeting": {
            "type": "string"
          },
          "mode": {
            "type": "string",
            "description": "AUDIO: your agent gets the caller audio. TEXT: Autessa transcribes and speaks for it.",
            "enum": [
              "AUDIO",
              "TEXT"
            ]
          },
          "redactAfterCall": {
            "type": "boolean",
            "description": "Redact the recording after the call."
          },
          "url": {
            "type": "string",
            "format": "uri",
            "description": "wss:// endpoint of your agent."
          },
          "voice": {
            "type": "string",
            "description": "TEXT mode: the voice Autessa speaks with."
          }
        },
        "required": [
          "mode",
          "url"
        ]
      },
      "ExtractionView": {
        "type": "object",
        "properties": {
          "indexStatus": {
            "type": "string"
          },
          "lastError": {
            "type": "string"
          },
          "lineCount": {
            "type": "integer",
            "format": "int32"
          },
          "ocr": {
            "$ref": "#/components/schemas/OcrSummaryView"
          },
          "ocrNeededPages": {
            "type": "array",
            "items": {
              "type": "integer",
              "format": "int32"
            }
          },
          "ocrStatus": {
            "type": "string"
          },
          "pageCount": {
            "type": "integer",
            "format": "int32"
          },
          "status": {
            "type": "string"
          },
          "textKind": {
            "type": "string"
          }
        }
      },
      "FaithfulnessScore": {
        "type": "object",
        "properties": {
          "allArgumentsFaithful": {
            "type": "boolean"
          },
          "argumentFaithfulnessList": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ArgumentFaithfulness"
            }
          }
        }
      },
      "FetchResponse": {
        "type": "object",
        "properties": {
          "deprecationWarnings": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "errors": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "exception": {
            "$ref": "#/components/schemas/AutessaResponse",
            "writeOnly": true
          },
          "expiresAt": {
            "type": "string"
          },
          "mime": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "nodeId": {
            "type": "string"
          },
          "path": {
            "type": "string"
          },
          "sessionToken": {
            "type": "string"
          },
          "sizeBytes": {
            "type": "integer",
            "format": "int64"
          },
          "url": {
            "type": "string"
          },
          "version": {
            "type": "integer",
            "format": "int32"
          }
        }
      },
      "FieldType": {
        "type": "object",
        "properties": {
          "allowedTypes": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/TypeDescriptor"
            }
          },
          "replacementStrategy": {
            "type": "string",
            "enum": [
              "STANDARD",
              "JSON_AWARE",
              "NONE"
            ]
          }
        }
      },
      "FilesResponse": {
        "type": "object",
        "properties": {
          "deprecationWarnings": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "errors": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "exception": {
            "$ref": "#/components/schemas/AutessaResponse",
            "writeOnly": true
          },
          "hashes": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "description": "Hashes stored (already present ones are skipped)."
          },
          "sessionToken": {
            "type": "string"
          }
        }
      },
      "FindRequest": {
        "type": "object",
        "properties": {
          "cursor": {
            "type": "string"
          },
          "glob": {
            "type": "string"
          },
          "limit": {
            "type": "integer",
            "format": "int32"
          },
          "mime": {
            "type": "string"
          },
          "modifiedAfter": {
            "type": "string"
          },
          "modifiedBefore": {
            "type": "string"
          },
          "nameRegex": {
            "type": "string"
          },
          "path": {
            "type": "string"
          },
          "sizeGt": {
            "type": "integer",
            "format": "int64"
          },
          "sizeLt": {
            "type": "integer",
            "format": "int64"
          },
          "tableId": {
            "type": "string",
            "description": "ID id."
          },
          "type": {
            "type": "string"
          }
        },
        "required": [
          "tableId"
        ]
      },
      "FindResponse": {
        "type": "object",
        "properties": {
          "deprecationWarnings": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "errors": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "exception": {
            "$ref": "#/components/schemas/AutessaResponse",
            "writeOnly": true
          },
          "hasMore": {
            "type": "boolean"
          },
          "items": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/DriveNodeView"
            }
          },
          "nextCursor": {
            "type": "string"
          },
          "sessionToken": {
            "type": "string"
          },
          "truncated": {
            "description": "Present when the result was cut short (boolean or a reason object)."
          }
        }
      },
      "FindingDto": {
        "type": "object",
        "properties": {
          "action": {
            "type": "string"
          },
          "code": {
            "type": "string"
          },
          "detail": {
            "type": "string"
          },
          "kind": {
            "type": "string"
          },
          "policyAction": {
            "type": "string"
          },
          "ruleId": {
            "type": "string"
          },
          "ruleName": {
            "type": "string"
          },
          "score": {
            "type": "number",
            "format": "double"
          },
          "server": {
            "type": "string"
          },
          "toolName": {
            "type": "string"
          }
        }
      },
      "FirewallAnomaly": {
        "type": "object",
        "properties": {
          "cues": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "learning": {
            "type": "boolean"
          },
          "score": {
            "type": "number",
            "format": "double"
          }
        }
      },
      "FirewallChallenge": {
        "type": "object",
        "properties": {
          "challengeId": {
            "type": "string"
          },
          "methods": {
            "type": "array",
            "items": {
              "type": "string",
              "enum": [
                "WORD_OF_DAY",
                "PASSPHRASE",
                "TOTP",
                "PUSH_APPROVE"
              ]
            }
          },
          "prompt": {
            "type": "string"
          }
        }
      },
      "FirewallDashboardRange": {
        "type": "object",
        "properties": {
          "bucket": {
            "type": "string"
          },
          "from": {
            "type": "string"
          },
          "to": {
            "type": "string"
          }
        }
      },
      "FirewallDisclosure": {
        "type": "object",
        "properties": {
          "conversation": {
            "type": "integer",
            "format": "int64"
          },
          "limit": {
            "type": "integer",
            "format": "int32"
          },
          "today": {
            "type": "integer",
            "format": "int64"
          }
        }
      },
      "FirewallScope": {
        "type": "object",
        "properties": {
          "agentId": {
            "type": "integer",
            "format": "int64"
          },
          "agentName": {
            "type": "string"
          },
          "companyId": {
            "type": "integer",
            "format": "int64"
          },
          "conversationId": {
            "type": "string"
          },
          "simulation": {
            "type": "boolean"
          },
          "userId": {
            "type": "integer",
            "format": "int64"
          }
        }
      },
      "FirewallVoice": {
        "type": "object",
        "properties": {
          "label": {
            "type": "string"
          },
          "score": {
            "type": "number",
            "format": "double"
          },
          "watermark": {
            "type": "boolean"
          }
        }
      },
      "FsReplaceRequest": {
        "type": "object",
        "properties": {
          "expectedTargetVersion": {
            "type": "integer",
            "format": "int32"
          },
          "sourceNodeId": {
            "type": "integer",
            "format": "int64"
          },
          "tableId": {
            "type": "string",
            "description": "ID id."
          },
          "targetNodeId": {
            "type": "integer",
            "format": "int64"
          }
        }
      },
      "GenerateAudioUploadLinkRequest": {},
      "GenerateAudioUploadLinkResponse": {
        "type": "object",
        "properties": {
          "deprecationWarnings": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "errors": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "exception": {
            "$ref": "#/components/schemas/AutessaResponse",
            "writeOnly": true
          },
          "expiresInSeconds": {
            "type": "integer",
            "format": "int64"
          },
          "s3Uri": {
            "type": "string"
          },
          "sessionToken": {
            "type": "string"
          },
          "uploadUrl": {
            "type": "string"
          }
        }
      },
      "GenerateFileUploadLinkRequest": {
        "type": "object",
        "properties": {
          "fileExtension": {
            "type": "string"
          }
        }
      },
      "GenerateFileUploadLinkResponse": {
        "type": "object",
        "properties": {
          "deprecationWarnings": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "errors": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "exception": {
            "$ref": "#/components/schemas/AutessaResponse",
            "writeOnly": true
          },
          "expiresInSeconds": {
            "type": "integer",
            "format": "int64"
          },
          "mimeType": {
            "type": "string"
          },
          "s3Uri": {
            "type": "string"
          },
          "sessionToken": {
            "type": "string"
          },
          "uploadUrl": {
            "type": "string"
          }
        }
      },
      "GenerateImageUploadLinkRequest": {
        "type": "object",
        "properties": {
          "fileExtension": {
            "type": "string"
          }
        }
      },
      "GenerateImageUploadLinkResponse": {
        "type": "object",
        "properties": {
          "deprecationWarnings": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "errors": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "exception": {
            "$ref": "#/components/schemas/AutessaResponse",
            "writeOnly": true
          },
          "expiresInSeconds": {
            "type": "integer",
            "format": "int64"
          },
          "mimeType": {
            "type": "string"
          },
          "s3Uri": {
            "type": "string"
          },
          "sessionToken": {
            "type": "string"
          },
          "uploadUrl": {
            "type": "string"
          }
        }
      },
      "GenerateRowsRequest": {
        "type": "object",
        "properties": {
          "columnDefinitions": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/AutessaDbColumnDefinition"
            }
          },
          "description": {
            "type": "string"
          },
          "rowCount": {
            "type": "integer",
            "format": "int32"
          },
          "sampleRowsJson": {
            "type": "string"
          }
        }
      },
      "GenerateRowsResponse": {
        "type": "object",
        "properties": {
          "deprecationWarnings": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "errors": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "exception": {
            "$ref": "#/components/schemas/AutessaResponse",
            "writeOnly": true
          },
          "rejectedRowCount": {
            "type": "integer",
            "format": "int32"
          },
          "rowCount": {
            "type": "integer",
            "format": "int32"
          },
          "rows": {
            "type": "array",
            "items": {
              "type": "object"
            }
          },
          "sessionToken": {
            "type": "string"
          }
        }
      },
      "GenerateUploadLinkRequest": {
        "type": "object",
        "properties": {
          "columnName": {
            "type": "string"
          },
          "fileType": {
            "type": "string",
            "enum": [
              "DOCX",
              "DOC",
              "PDF",
              "PPTX",
              "XLSX",
              "XLS",
              "PAGES",
              "TXT",
              "JSON",
              "YAML",
              "YML",
              "XML",
              "HTML",
              "HTM",
              "CSV",
              "EML",
              "MSG",
              "ICS",
              "MD",
              "MARKDOWN",
              "PNG",
              "JPG",
              "JPEG",
              "GIF",
              "WEBP",
              "AVIF",
              "BMP",
              "ICO",
              "TIFF",
              "TIF",
              "HEIC",
              "HEIF",
              "MP4",
              "AVI",
              "MOV",
              "WMV",
              "FLV",
              "MKV",
              "WEBM",
              "MPEG",
              "MPG",
              "MP3",
              "M4A",
              "WAV"
            ]
          },
          "tableId": {
            "type": "string",
            "description": "ID id."
          }
        }
      },
      "GenerateUploadLinkResponse": {
        "type": "object",
        "properties": {
          "deprecationWarnings": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "errors": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "exception": {
            "$ref": "#/components/schemas/AutessaResponse",
            "writeOnly": true
          },
          "expiresInSeconds": {
            "type": "integer",
            "format": "int64"
          },
          "s3Uri": {
            "type": "string"
          },
          "sessionToken": {
            "type": "string"
          },
          "uploadUrl": {
            "type": "string"
          }
        }
      },
      "GenerateUploadLinksRequest": {
        "type": "object",
        "properties": {
          "items": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/UploadLinkItem"
            }
          },
          "tableId": {
            "type": "string",
            "description": "ID id."
          }
        }
      },
      "GenerateUploadLinksResponse": {
        "type": "object",
        "properties": {
          "deprecationWarnings": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "errors": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "exception": {
            "$ref": "#/components/schemas/AutessaResponse",
            "writeOnly": true
          },
          "results": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/UploadLinkResult"
            }
          },
          "sessionToken": {
            "type": "string"
          }
        }
      },
      "GetSingleRowRequest": {
        "type": "object",
        "properties": {
          "rowId": {
            "type": "integer",
            "format": "int64"
          },
          "tableId": {
            "type": "string",
            "description": "ID id."
          }
        },
        "required": [
          "tableId",
          "rowId"
        ]
      },
      "GetSingleRowResponse": {
        "type": "object",
        "properties": {
          "deprecationWarnings": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "errors": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "exception": {
            "$ref": "#/components/schemas/AutessaResponse",
            "writeOnly": true
          },
          "row": {
            "$ref": "#/components/schemas/TableRowDto"
          },
          "schema": {
            "$ref": "#/components/schemas/AutessaDbSchema"
          },
          "sessionToken": {
            "type": "string"
          }
        }
      },
      "GetSyntheticDataJobResponse": {
        "type": "object",
        "properties": {
          "deprecationWarnings": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "errors": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "exception": {
            "$ref": "#/components/schemas/AutessaResponse",
            "writeOnly": true
          },
          "job": {
            "$ref": "#/components/schemas/SyntheticDataJobSummaryDto"
          },
          "sessionToken": {
            "type": "string"
          }
        }
      },
      "GetTableDataRequest": {
        "type": "object",
        "properties": {
          "cursor": {
            "type": "string"
          },
          "includeTotal": {
            "type": "boolean"
          },
          "page": {
            "type": "integer",
            "format": "int32"
          },
          "pageSize": {
            "type": "integer",
            "format": "int32"
          },
          "tableId": {
            "type": "string",
            "description": "ID id."
          }
        }
      },
      "GetTableDataResponse": {
        "type": "object",
        "properties": {
          "currentPage": {
            "type": "integer",
            "format": "int32"
          },
          "deprecationWarnings": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "errors": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "exception": {
            "$ref": "#/components/schemas/AutessaResponse",
            "writeOnly": true
          },
          "hasMore": {
            "type": "boolean"
          },
          "nextCursor": {
            "type": "string"
          },
          "pageSize": {
            "type": "integer",
            "format": "int32"
          },
          "rows": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/TableRowDto"
            }
          },
          "schema": {
            "$ref": "#/components/schemas/AutessaDbSchema"
          },
          "sessionToken": {
            "type": "string"
          },
          "totalPages": {
            "type": "integer",
            "format": "int32"
          },
          "totalRows": {
            "type": "integer",
            "format": "int64"
          }
        }
      },
      "GradingItemDto": {
        "type": "object",
        "properties": {
          "completedAt": {
            "type": "string",
            "format": "date-time"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "error": {
            "type": "string"
          },
          "evaluation": {
            "$ref": "#/components/schemas/AutomatedEvaluation"
          },
          "expectedOutcomeVerdict": {
            "$ref": "#/components/schemas/ExpectedOutcomeScore"
          },
          "externalId": {
            "type": "string"
          },
          "itemId": {
            "type": "string"
          },
          "jobId": {
            "type": "string"
          },
          "passed": {
            "type": "boolean"
          },
          "reused": {
            "type": "boolean"
          },
          "status": {
            "type": "string"
          }
        }
      },
      "GradingItemListResponse": {
        "type": "object",
        "properties": {
          "deprecationWarnings": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "errors": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "exception": {
            "$ref": "#/components/schemas/AutessaResponse",
            "writeOnly": true
          },
          "items": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/GradingItemDto"
            }
          },
          "page": {
            "type": "integer",
            "format": "int32"
          },
          "pageSize": {
            "type": "integer",
            "format": "int32"
          },
          "sessionToken": {
            "type": "string"
          },
          "totalCount": {
            "type": "integer",
            "format": "int64"
          }
        }
      },
      "GradingItemResponse": {
        "type": "object",
        "properties": {
          "deprecationWarnings": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "errors": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "exception": {
            "$ref": "#/components/schemas/AutessaResponse",
            "writeOnly": true
          },
          "item": {
            "$ref": "#/components/schemas/GradingItemDto"
          },
          "sessionToken": {
            "type": "string"
          }
        }
      },
      "GradingJobDto": {
        "type": "object",
        "properties": {
          "completedAt": {
            "type": "string",
            "format": "date-time"
          },
          "completedItems": {
            "type": "integer",
            "format": "int64"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "failedItems": {
            "type": "integer",
            "format": "int64"
          },
          "hasWebhook": {
            "type": "boolean"
          },
          "jobId": {
            "type": "string"
          },
          "passRate": {
            "type": "number",
            "format": "double"
          },
          "passedItems": {
            "type": "integer",
            "format": "int64"
          },
          "pendingItems": {
            "type": "integer",
            "format": "int64"
          },
          "status": {
            "type": "string"
          },
          "totalItems": {
            "type": "integer",
            "format": "int32"
          }
        }
      },
      "GradingJobListResponse": {
        "type": "object",
        "properties": {
          "deprecationWarnings": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "errors": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "exception": {
            "$ref": "#/components/schemas/AutessaResponse",
            "writeOnly": true
          },
          "jobs": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/GradingJobDto"
            }
          },
          "page": {
            "type": "integer",
            "format": "int32"
          },
          "pageSize": {
            "type": "integer",
            "format": "int32"
          },
          "sessionToken": {
            "type": "string"
          },
          "totalCount": {
            "type": "integer",
            "format": "int64"
          }
        }
      },
      "GradingJobResponse": {
        "type": "object",
        "properties": {
          "deprecationWarnings": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "errors": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "exception": {
            "$ref": "#/components/schemas/AutessaResponse",
            "writeOnly": true
          },
          "job": {
            "$ref": "#/components/schemas/GradingJobDto"
          },
          "sessionToken": {
            "type": "string"
          }
        }
      },
      "GrantScope": {
        "type": "object",
        "properties": {
          "agentIds": {
            "type": "array",
            "items": {
              "type": "integer",
              "format": "int64"
            },
            "uniqueItems": true
          },
          "allAgents": {
            "type": "boolean"
          },
          "allManagers": {
            "type": "boolean"
          },
          "allResources": {
            "type": "boolean"
          },
          "allTables": {
            "type": "boolean"
          },
          "allTools": {
            "type": "boolean"
          },
          "globalTableOps": {
            "type": "array",
            "items": {
              "type": "string",
              "enum": [
                "read",
                "write",
                "delete"
              ]
            },
            "uniqueItems": true
          },
          "managerIds": {
            "type": "array",
            "items": {
              "type": "integer",
              "format": "int64"
            },
            "uniqueItems": true
          },
          "tables": {
            "type": "object",
            "additionalProperties": {
              "type": "array",
              "items": {
                "type": "string",
                "enum": [
                  "read",
                  "write",
                  "delete"
                ]
              },
              "uniqueItems": true
            }
          },
          "toolIds": {
            "type": "array",
            "items": {
              "type": "integer",
              "format": "int64"
            },
            "uniqueItems": true
          },
          "unrestricted": {
            "type": "boolean"
          }
        }
      },
      "GrantView": {
        "type": "object",
        "properties": {
          "alsoVia": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/NodeRef"
            }
          },
          "direct": {
            "type": "boolean"
          },
          "expiresAt": {
            "type": "string"
          },
          "grantId": {
            "type": "string"
          },
          "grantedBy": {
            "$ref": "#/components/schemas/PersonRef"
          },
          "inheritedFrom": {
            "$ref": "#/components/schemas/NodeRef"
          },
          "principal": {
            "$ref": "#/components/schemas/PrincipalView"
          },
          "role": {
            "type": "string"
          }
        }
      },
      "GrepCount": {
        "type": "object",
        "properties": {
          "files": {
            "type": "integer",
            "format": "int64"
          },
          "matches": {
            "type": "integer",
            "format": "int64"
          }
        }
      },
      "GrepFile": {
        "type": "object",
        "properties": {
          "matchCount": {
            "type": "integer",
            "format": "int64"
          },
          "nodeId": {
            "type": "string"
          },
          "path": {
            "type": "string"
          }
        }
      },
      "GrepMatch": {
        "type": "object",
        "properties": {
          "after": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "before": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "charOffset": {
            "type": "integer",
            "format": "int64"
          },
          "line": {
            "type": "integer",
            "format": "int32"
          },
          "nodeId": {
            "type": "string"
          },
          "page": {
            "type": "integer",
            "format": "int32"
          },
          "pageLine": {
            "type": "integer",
            "format": "int32"
          },
          "path": {
            "type": "string"
          },
          "submatches": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Submatch"
            }
          },
          "text": {
            "type": "string"
          },
          "version": {
            "type": "integer",
            "format": "int32"
          }
        }
      },
      "GrepRequest": {
        "type": "object",
        "properties": {
          "caseInsensitive": {
            "type": "boolean"
          },
          "context": {
            "type": "integer",
            "format": "int32"
          },
          "cursor": {
            "type": "string"
          },
          "glob": {
            "type": "string"
          },
          "limit": {
            "type": "integer",
            "format": "int32"
          },
          "maxMatchesPerFile": {
            "type": "integer",
            "format": "int32"
          },
          "outputMode": {
            "type": "string"
          },
          "path": {
            "type": "string"
          },
          "pattern": {
            "type": "string"
          },
          "regex": {
            "type": "boolean"
          },
          "tableId": {
            "type": "string",
            "description": "ID id."
          },
          "timeoutMs": {
            "type": "integer",
            "format": "int64"
          }
        },
        "required": [
          "tableId",
          "pattern"
        ]
      },
      "GrepResponse": {
        "type": "object",
        "properties": {
          "count": {
            "$ref": "#/components/schemas/GrepCount"
          },
          "deprecationWarnings": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "errors": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "exception": {
            "$ref": "#/components/schemas/AutessaResponse",
            "writeOnly": true
          },
          "files": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/GrepFile"
            }
          },
          "hasMore": {
            "type": "boolean"
          },
          "matches": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/GrepMatch"
            }
          },
          "nextCursor": {
            "type": "string"
          },
          "sessionToken": {
            "type": "string"
          },
          "stats": {
            "$ref": "#/components/schemas/GrepStats"
          },
          "truncated": {
            "description": "Present when the result was cut short (boolean or a reason object)."
          }
        }
      },
      "GrepStats": {
        "type": "object",
        "properties": {
          "filesSearched": {
            "type": "integer",
            "format": "int64"
          },
          "filesUnsearchable": {
            "$ref": "#/components/schemas/Unsearchable"
          }
        }
      },
      "GroundednessScore": {
        "type": "object",
        "properties": {
          "justification": {
            "type": "string"
          },
          "rating": {
            "type": "string",
            "enum": [
              "GROUNDED",
              "NOT_GROUNDED"
            ]
          }
        }
      },
      "HavingConditionDto": {
        "type": "object",
        "properties": {
          "alias": {
            "type": "string"
          },
          "operator": {
            "type": "string"
          },
          "value": {
            "type": "number",
            "format": "double"
          }
        }
      },
      "HumanEvaluation": {
        "type": "object",
        "properties": {
          "evaluatedBy": {
            "$ref": "#/components/schemas/UserDto"
          },
          "evaluationTime": {
            "type": "string",
            "format": "date-time"
          },
          "notes": {
            "type": "string"
          },
          "status": {
            "type": "string",
            "enum": [
              "SUCCESSFUL",
              "SUCCESSFUL_NOT_EFFICIENT",
              "SUCCESSFUL_NOT_ALL_STEPS",
              "UNSUCCESSFUL"
            ]
          }
        }
      },
      "IdentityRow": {
        "type": "object",
        "properties": {
          "caught": {
            "type": "integer",
            "format": "int64"
          },
          "identityLabel": {
            "type": "string"
          },
          "lastSeen": {
            "type": "string"
          }
        }
      },
      "IndexRecordRowRequest": {
        "type": "object",
        "properties": {
          "rowId": {
            "type": "integer",
            "format": "int64"
          },
          "tableId": {
            "type": "string",
            "description": "ID id."
          }
        },
        "required": [
          "tableId",
          "rowId"
        ]
      },
      "IndexRecordRowResponse": {
        "type": "object",
        "properties": {
          "columnsIndexed": {
            "type": "integer",
            "format": "int32"
          },
          "deprecationWarnings": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "errors": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "exception": {
            "$ref": "#/components/schemas/AutessaResponse",
            "writeOnly": true
          },
          "indexedColumns": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "indexingDurationMs": {
            "type": "integer",
            "format": "int64"
          },
          "recordId": {
            "type": "integer",
            "format": "int64"
          },
          "sessionToken": {
            "type": "string"
          },
          "vectorsCreated": {
            "type": "integer",
            "format": "int32"
          }
        }
      },
      "InsertRowRequest": {
        "type": "object",
        "properties": {
          "tableId": {
            "type": "string",
            "description": "ID id."
          },
          "values": {
            "type": "object",
            "additionalProperties": {
              "$ref": "#/components/schemas/AutessaDbColumnValue"
            }
          }
        },
        "required": [
          "tableId",
          "values"
        ]
      },
      "InsertRowResponse": {
        "type": "object",
        "properties": {
          "computationStatus": {
            "type": "string"
          },
          "deprecationWarnings": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "errors": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "exception": {
            "$ref": "#/components/schemas/AutessaResponse",
            "writeOnly": true
          },
          "insertedId": {
            "type": "integer",
            "format": "int64"
          },
          "newRow": {
            "type": "object",
            "additionalProperties": {
              "$ref": "#/components/schemas/AutessaDbColumnValue"
            },
            "description": "Flat column-name -> value map."
          },
          "oldRow": {
            "type": "object",
            "additionalProperties": {
              "$ref": "#/components/schemas/AutessaDbColumnValue"
            },
            "description": "Flat column-name -> value map."
          },
          "sessionToken": {
            "type": "string"
          }
        }
      },
      "InspectRequest": {
        "type": "object",
        "properties": {
          "args": {
            "type": "object",
            "description": "The tool's arguments (TOOL_CALL)."
          },
          "audioB64": {
            "type": "string",
            "description": "Caller audio (base64), scored for a synthetic voice (VOICE)."
          },
          "audioFormat": {
            "type": "string",
            "description": "Default pcm16_16k."
          },
          "callerIdAttestation": {
            "type": "string",
            "description": "STIR/SHAKEN verstat (or the same values) for a phone caller."
          },
          "origin": {
            "$ref": "#/components/schemas/Origin"
          },
          "overrides": {
            "$ref": "#/components/schemas/PolicyDto",
            "description": "Policy sections (and rules) that replace the policy's for this call only."
          },
          "phase": {
            "type": "string"
          },
          "policyName": {
            "type": "string",
            "description": "A named API policy; omitted = the company default."
          },
          "result": {
            "type": "object",
            "description": "The tool's result (TOOL_RESULT)."
          },
          "sessionId": {
            "type": "string",
            "description": "Your session or conversation id. Checks that span calls are kept per session."
          },
          "subjectId": {
            "type": "string",
            "description": "Your stable id for the end user (for unusual-request baselines and disclosure limits)."
          },
          "text": {
            "type": "string",
            "description": "USER_INPUT and FINAL_RESPONSE."
          },
          "toolDisclosure": {
            "$ref": "#/components/schemas/ToolDisclosureDto"
          },
          "toolGated": {
            "type": "boolean",
            "description": "The tool requires a verified person."
          },
          "toolName": {
            "type": "string",
            "description": "TOOL_CALL and TOOL_RESULT."
          },
          "toolType": {
            "type": "string",
            "description": "Optional tool kind (for example API_CALL, SEND_EMAIL) for the egress checks."
          },
          "tools": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ToolDefinitionDto"
            }
          }
        },
        "required": [
          "sessionId",
          "phase"
        ]
      },
      "InspectResponse": {
        "type": "object",
        "properties": {
          "action": {
            "type": "string",
            "description": "DURESS is for you only: never show it to the end user."
          },
          "anomaly": {
            "$ref": "#/components/schemas/FirewallAnomaly"
          },
          "challenge": {
            "$ref": "#/components/schemas/FirewallChallenge"
          },
          "deprecationWarnings": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "disclosure": {
            "$ref": "#/components/schemas/FirewallDisclosure"
          },
          "enforced": {
            "type": "boolean",
            "description": "False in monitor mode: the action is what the policy would do."
          },
          "errors": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "eventId": {
            "type": "string",
            "description": "The recorded event, when one was recorded."
          },
          "exception": {
            "$ref": "#/components/schemas/AutessaResponse",
            "writeOnly": true
          },
          "findings": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/FindingDto"
            }
          },
          "profile": {
            "type": "string"
          },
          "reasons": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "redactedText": {
            "type": "string"
          },
          "safeReply": {
            "type": "string"
          },
          "sessionToken": {
            "type": "string"
          },
          "timingsMs": {
            "$ref": "#/components/schemas/TimingsDto"
          },
          "voice": {
            "$ref": "#/components/schemas/FirewallVoice"
          },
          "withheldTools": {
            "type": "array",
            "items": {
              "type": "string"
            }
          }
        }
      },
      "InvokeAgentActionConfig": {
        "type": "object",
        "properties": {
          "agentExecutionRequest": {
            "$ref": "#/components/schemas/AgentExecutionRequest"
          },
          "continueOnError": {
            "type": "boolean"
          },
          "outputColumnName": {
            "type": "string"
          },
          "storeOutputInColumn": {
            "type": "boolean"
          }
        }
      },
      "InvokeAgentToolRequest": {
        "type": "object",
        "properties": {
          "input": {
            "type": "object"
          },
          "sessionId": {
            "type": "string",
            "description": "Your conversation id."
          }
        },
        "required": [
          "input"
        ]
      },
      "InvokeAgentToolResponse": {
        "type": "object",
        "properties": {
          "deprecationWarnings": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "errors": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "exception": {
            "$ref": "#/components/schemas/AutessaResponse",
            "writeOnly": true
          },
          "isError": {
            "type": "boolean"
          },
          "output": {
            "type": "object",
            "description": "The tool's output (matches outputSchema)."
          },
          "sessionToken": {
            "type": "string"
          }
        }
      },
      "InvokeManagerActionConfig": {
        "type": "object",
        "properties": {
          "continueOnError": {
            "type": "boolean"
          },
          "managerExecutionRequest": {
            "$ref": "#/components/schemas/ManagerExecutionRequest"
          },
          "outputColumnName": {
            "type": "string"
          },
          "storeOutputInColumn": {
            "type": "boolean"
          }
        }
      },
      "InvokeToolActionConfig": {
        "type": "object",
        "properties": {
          "continueOnError": {
            "type": "boolean"
          },
          "resultColumnName": {
            "type": "string"
          },
          "storeResultInColumn": {
            "type": "boolean"
          },
          "toolExecutionRequest": {
            "$ref": "#/components/schemas/ExecuteToolRequest"
          }
        }
      },
      "JoinConditionDto": {
        "type": "object",
        "properties": {
          "joinType": {
            "type": "string"
          },
          "leftColumnName": {
            "type": "string"
          },
          "leftTableId": {
            "type": "string",
            "description": "ID id."
          },
          "rightColumnName": {
            "type": "string"
          },
          "rightTableId": {
            "type": "string",
            "description": "ID id."
          }
        }
      },
      "JoinQueryTableDataRequest": {
        "type": "object",
        "properties": {
          "cursor": {
            "type": "string"
          },
          "groupsLogicalOperator": {
            "type": "string"
          },
          "includeTotal": {
            "type": "boolean"
          },
          "joins": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/JoinConditionDto"
            }
          },
          "orderBy": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/OrderByDto"
            }
          },
          "page": {
            "type": "integer",
            "format": "int32"
          },
          "pageSize": {
            "type": "integer",
            "format": "int32"
          },
          "selectColumns": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/SelectColumnDto"
            }
          },
          "tableId": {
            "type": "string",
            "description": "ID id."
          },
          "whereGroups": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/WhereGroupDto"
            }
          }
        }
      },
      "JoinQueryTableDataResponse": {
        "type": "object",
        "properties": {
          "currentPage": {
            "type": "integer",
            "format": "int32"
          },
          "deprecationWarnings": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "errors": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "exception": {
            "$ref": "#/components/schemas/AutessaResponse",
            "writeOnly": true
          },
          "hasMore": {
            "type": "boolean"
          },
          "joinedSchemas": {
            "type": "object",
            "additionalProperties": {
              "$ref": "#/components/schemas/AutessaDbSchema"
            }
          },
          "joinedTables": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/JoinedTableSchemaDto"
            }
          },
          "mainSchema": {
            "$ref": "#/components/schemas/AutessaDbSchema"
          },
          "nextCursor": {
            "type": "string"
          },
          "pageSize": {
            "type": "integer",
            "format": "int32"
          },
          "rows": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/JoinedTableRowDto"
            }
          },
          "sessionToken": {
            "type": "string"
          },
          "totalPages": {
            "type": "integer",
            "format": "int32"
          },
          "totalRows": {
            "type": "integer",
            "format": "int64"
          }
        }
      },
      "JoinedTableRowDto": {
        "type": "object",
        "properties": {
          "columnData": {
            "type": "object",
            "additionalProperties": {
              "$ref": "#/components/schemas/AutessaDbColumnValue"
            }
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "sourceRowId": {
            "type": "integer",
            "format": "int64"
          },
          "sourceTableId": {
            "type": "string",
            "description": "ID id."
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time"
          }
        }
      },
      "JoinedTableSchemaDto": {
        "type": "object",
        "properties": {
          "schema": {
            "$ref": "#/components/schemas/AutessaDbSchema"
          },
          "tableId": {
            "type": "string",
            "description": "ID id."
          },
          "tableName": {
            "type": "string"
          }
        }
      },
      "JsonSchema": {
        "type": "object",
        "properties": {
          "defaultValue": {},
          "description": {
            "type": "string"
          },
          "enumValues": {
            "type": "array",
            "items": {}
          },
          "examples": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "items": {
            "$ref": "#/components/schemas/JsonSchema"
          },
          "maxLength": {
            "type": "integer",
            "format": "int32"
          },
          "maximum": {
            "type": "number"
          },
          "minLength": {
            "type": "integer",
            "format": "int32"
          },
          "minimum": {
            "type": "number"
          },
          "pattern": {
            "type": "string"
          },
          "properties": {
            "type": "object",
            "additionalProperties": {
              "$ref": "#/components/schemas/JsonSchema"
            }
          },
          "required": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "type": {
            "type": "string",
            "enum": [
              "STRING",
              "INTEGER",
              "NUMBER",
              "BOOLEAN",
              "ARRAY",
              "OBJECT"
            ]
          }
        }
      },
      "KnowledgeBaseFile": {
        "type": "object",
        "properties": {
          "fullPath": {
            "type": "string"
          },
          "s3Uri": {
            "type": "string"
          }
        }
      },
      "LanguageRow": {
        "type": "object",
        "properties": {
          "attempts": {
            "type": "integer",
            "format": "int32"
          },
          "blocked": {
            "type": "integer",
            "format": "int32"
          },
          "flagged": {
            "type": "integer",
            "format": "int32"
          },
          "language": {
            "type": "string"
          },
          "passed": {
            "type": "integer",
            "format": "int32"
          }
        }
      },
      "LinkIdRequest": {
        "type": "object",
        "properties": {
          "linkId": {
            "type": "string"
          },
          "tableId": {
            "type": "string",
            "description": "ID id."
          }
        }
      },
      "LinkView": {
        "type": "object",
        "properties": {
          "accessCount": {
            "type": "integer",
            "format": "int64"
          },
          "allowDownload": {
            "type": "boolean"
          },
          "allowSearch": {
            "type": "boolean"
          },
          "audience": {
            "type": "string"
          },
          "createdAt": {
            "type": "string"
          },
          "createdBy": {
            "$ref": "#/components/schemas/PersonRef"
          },
          "expiresAt": {
            "type": "string"
          },
          "lastAccessedAt": {
            "type": "string"
          },
          "linkId": {
            "type": "string"
          },
          "nodeId": {
            "type": "string"
          },
          "path": {
            "type": "string"
          },
          "role": {
            "type": "string"
          }
        }
      },
      "LinksCreateRequest": {
        "type": "object",
        "properties": {
          "allowDownload": {
            "type": "boolean"
          },
          "allowSearch": {
            "type": "boolean"
          },
          "audience": {
            "type": "string"
          },
          "expiresAt": {
            "type": "string"
          },
          "nodeId": {
            "type": "integer",
            "format": "int64"
          },
          "path": {
            "type": "string"
          },
          "role": {
            "type": "string"
          },
          "scope": {
            "type": "string"
          },
          "tableId": {
            "type": "string",
            "description": "ID id."
          }
        }
      },
      "LinksCreateResponse": {
        "type": "object",
        "properties": {
          "deprecationWarnings": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "errors": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "exception": {
            "$ref": "#/components/schemas/AutessaResponse",
            "writeOnly": true
          },
          "link": {
            "$ref": "#/components/schemas/LinkView"
          },
          "linkId": {
            "type": "string"
          },
          "sessionToken": {
            "type": "string"
          },
          "token": {
            "type": "string"
          },
          "url": {
            "type": "string"
          }
        }
      },
      "LinksListResponse": {
        "type": "object",
        "properties": {
          "deprecationWarnings": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "errors": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "exception": {
            "$ref": "#/components/schemas/AutessaResponse",
            "writeOnly": true
          },
          "links": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/LinkView"
            }
          },
          "sessionToken": {
            "type": "string"
          }
        }
      },
      "ListAgentToolsResponse": {
        "type": "object",
        "properties": {
          "deprecationWarnings": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "errors": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "exception": {
            "$ref": "#/components/schemas/AutessaResponse",
            "writeOnly": true
          },
          "sessionToken": {
            "type": "string"
          },
          "tools": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/AgentToolDto"
            }
          }
        }
      },
      "ListSyntheticDataJobsResponse": {
        "type": "object",
        "properties": {
          "deprecationWarnings": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "errors": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "exception": {
            "$ref": "#/components/schemas/AutessaResponse",
            "writeOnly": true
          },
          "jobs": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/SyntheticDataJobSummaryDto"
            }
          },
          "sessionToken": {
            "type": "string"
          }
        }
      },
      "LsRequest": {
        "type": "object",
        "properties": {
          "cursor": {
            "type": "string"
          },
          "foldersOnly": {
            "type": "boolean"
          },
          "includeTrashed": {
            "type": "boolean"
          },
          "limit": {
            "type": "integer",
            "format": "int32"
          },
          "nodeId": {
            "type": "integer",
            "format": "int64",
            "description": "Node id."
          },
          "path": {
            "type": "string"
          },
          "sort": {
            "type": "string",
            "description": "name|modified|size|type + :asc|:desc"
          },
          "tableId": {
            "type": "string",
            "description": "ID id."
          }
        },
        "required": [
          "tableId"
        ]
      },
      "LsResponse": {
        "type": "object",
        "properties": {
          "deprecationWarnings": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "driveRole": {
            "type": "string"
          },
          "errors": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "exception": {
            "$ref": "#/components/schemas/AutessaResponse",
            "writeOnly": true
          },
          "folder": {
            "$ref": "#/components/schemas/DriveNodeView"
          },
          "hasMore": {
            "type": "boolean"
          },
          "items": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/DriveNodeView"
            }
          },
          "nextCursor": {
            "type": "string"
          },
          "sessionToken": {
            "type": "string"
          },
          "truncated": {
            "description": "Present when the result was cut short (boolean or a reason object)."
          }
        }
      },
      "ManagerAgentInvocationFaithfulnessScore": {
        "type": "object",
        "properties": {
          "allInvocationsFaithful": {
            "type": "boolean"
          },
          "invocationFaithfulnessList": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/AgentInvocationFaithfulness"
            }
          }
        }
      },
      "ManagerAutomatedEvaluation": {
        "type": "object",
        "properties": {
          "efficiencyScore": {
            "$ref": "#/components/schemas/ManagerEfficiencyScore"
          },
          "groundednessScore": {
            "$ref": "#/components/schemas/ManagerGroundednessScore"
          },
          "helpHandlingScore": {
            "$ref": "#/components/schemas/ManagerHelpHandlingScore"
          },
          "invocationFaithfulnessScore": {
            "$ref": "#/components/schemas/ManagerAgentInvocationFaithfulnessScore"
          },
          "notes": {
            "type": "string"
          },
          "status": {
            "type": "string",
            "enum": [
              "SUCCESSFUL",
              "SUCCESSFUL_NOT_EFFICIENT",
              "SUCCESSFUL_NOT_ALL_STEPS",
              "UNSUCCESSFUL"
            ]
          },
          "taskCompletenessScore": {
            "$ref": "#/components/schemas/ManagerTaskCompletenessScore"
          }
        }
      },
      "ManagerEfficiencyScore": {
        "type": "object",
        "properties": {
          "justification": {
            "type": "string"
          },
          "rating": {
            "type": "string",
            "enum": [
              "EFFICIENT",
              "NOT_EFFICIENT"
            ]
          }
        }
      },
      "ManagerExecutionRequest": {
        "type": "object",
        "properties": {
          "actingIdentity": {
            "$ref": "#/components/schemas/ActingIdentity"
          },
          "apiKeyId": {
            "type": "string"
          },
          "clientMode": {
            "type": "boolean"
          },
          "combinedInputAsOne": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/MultimodalInput"
            }
          },
          "companyId": {
            "type": "integer",
            "format": "int64"
          },
          "conversationId": {
            "type": "string"
          },
          "conversationLanguage": {
            "type": "string"
          },
          "environmentVariables": {
            "type": "object",
            "additionalProperties": {
              "type": "string"
            }
          },
          "executionOutputMode": {
            "type": "string",
            "enum": [
              "TEXT",
              "AUDIO"
            ]
          },
          "input": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/MultimodalInput"
            }
          },
          "managerId": {
            "type": "string",
            "description": "ID id."
          },
          "messageType": {
            "type": "string",
            "enum": [
              "EXECUTE",
              "VOICE",
              "MULTIMODAL",
              "PLAYBACK_COMPLETE"
            ]
          },
          "promptTemplateVariables": {
            "type": "object",
            "additionalProperties": {
              "type": "string"
            }
          },
          "trustedEnvironmentVariables": {
            "type": "object",
            "additionalProperties": {
              "type": "string"
            }
          },
          "userId": {
            "type": "integer",
            "format": "int64"
          }
        }
      },
      "ManagerGroundednessScore": {
        "type": "object",
        "properties": {
          "justification": {
            "type": "string"
          },
          "rating": {
            "type": "string",
            "enum": [
              "GROUNDED",
              "NOT_GROUNDED"
            ]
          }
        }
      },
      "ManagerHelpHandlingScore": {
        "type": "object",
        "properties": {
          "justification": {
            "type": "string"
          },
          "rating": {
            "type": "string",
            "enum": [
              "EFFECTIVE",
              "INEFFECTIVE",
              "N_A"
            ]
          }
        }
      },
      "ManagerTaskCompletenessScore": {
        "type": "object",
        "properties": {
          "justification": {
            "type": "string"
          },
          "rating": {
            "type": "string",
            "enum": [
              "COMPLETE",
              "PARTIAL",
              "INCOMPLETE"
            ]
          }
        }
      },
      "MatchDetails": {
        "type": "object",
        "properties": {
          "allMatches": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/EmbeddingMatch"
            }
          },
          "charPosition": {
            "type": "object",
            "additionalProperties": {
              "type": "integer",
              "format": "int32"
            }
          },
          "embedIndex": {
            "type": "integer",
            "format": "int32"
          },
          "embedType": {
            "type": "string"
          }
        }
      },
      "MkdirRequest": {
        "type": "object",
        "properties": {
          "parents": {
            "type": "boolean"
          },
          "paths": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "tableId": {
            "type": "string",
            "description": "ID id."
          }
        }
      },
      "MkdirResponse": {
        "type": "object",
        "properties": {
          "created": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/DriveNodeView"
            }
          },
          "deprecationWarnings": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "errors": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "exception": {
            "$ref": "#/components/schemas/AutessaResponse",
            "writeOnly": true
          },
          "folders": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/DriveNodeView"
            }
          },
          "sessionToken": {
            "type": "string"
          }
        }
      },
      "MoveRequest": {
        "type": "object",
        "properties": {
          "confirm": {
            "type": "boolean"
          },
          "destinationPath": {
            "type": "string"
          },
          "newName": {
            "type": "string"
          },
          "nodeIds": {
            "type": "array",
            "items": {
              "type": "integer",
              "format": "int64"
            }
          },
          "paths": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "tableId": {
            "type": "string",
            "description": "ID id."
          }
        }
      },
      "MoveResponse": {
        "type": "object",
        "properties": {
          "accessChanges": {
            "$ref": "#/components/schemas/AccessChanges"
          },
          "deprecationWarnings": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "errors": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "exception": {
            "$ref": "#/components/schemas/AutessaResponse",
            "writeOnly": true
          },
          "moved": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/DriveNodeView"
            }
          },
          "requiresConfirmation": {
            "type": "boolean"
          },
          "sessionToken": {
            "type": "string"
          }
        }
      },
      "MultimodalInput": {
        "type": "object",
        "properties": {
          "inputType": {
            "type": "string",
            "enum": [
              "TEXT",
              "AUDIO",
              "IMAGE",
              "FILE",
              "IMAGE_URL",
              "FILE_URL"
            ]
          }
        }
      },
      "MultipartInfo": {
        "type": "object",
        "properties": {
          "checksumAlgorithm": {
            "type": "string"
          },
          "partSize": {
            "type": "integer",
            "format": "int64"
          },
          "partsTotal": {
            "type": "integer",
            "format": "int32"
          }
        }
      },
      "NodeIdsRequest": {
        "type": "object",
        "properties": {
          "nodeIds": {
            "type": "array",
            "items": {
              "type": "integer",
              "format": "int64"
            }
          },
          "tableId": {
            "type": "string",
            "description": "ID id."
          }
        }
      },
      "NodeRef": {
        "type": "object",
        "properties": {
          "label": {
            "type": "string"
          },
          "nodeId": {
            "type": "string"
          },
          "path": {
            "type": "string"
          }
        }
      },
      "NodeRequest": {
        "type": "object",
        "properties": {
          "nodeId": {
            "type": "integer",
            "format": "int64",
            "description": "Node id."
          },
          "path": {
            "type": "string"
          },
          "tableId": {
            "type": "string",
            "description": "ID id."
          }
        },
        "required": [
          "tableId"
        ]
      },
      "NodeResponse": {
        "type": "object",
        "properties": {
          "deprecationWarnings": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "errors": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "exception": {
            "$ref": "#/components/schemas/AutessaResponse",
            "writeOnly": true
          },
          "node": {
            "$ref": "#/components/schemas/DriveNodeView"
          },
          "sessionToken": {
            "type": "string"
          }
        }
      },
      "NumberConfiguration": {
        "type": "object",
        "properties": {
          "maxValue": {
            "type": "number"
          },
          "minValue": {
            "type": "number"
          }
        }
      },
      "OcrSummaryView": {
        "type": "object",
        "properties": {
          "engine": {
            "type": "string"
          },
          "lowConfidencePages": {
            "type": "array",
            "items": {
              "type": "integer",
              "format": "int32"
            }
          },
          "pagesLowConfidence": {
            "type": "integer",
            "format": "int32"
          },
          "pagesOcr": {
            "type": "integer",
            "format": "int32"
          },
          "pagesUnreadable": {
            "type": "integer",
            "format": "int32"
          },
          "unreadablePages": {
            "type": "array",
            "items": {
              "type": "integer",
              "format": "int32"
            }
          }
        }
      },
      "OkResponse": {
        "type": "object",
        "properties": {
          "count": {
            "type": "integer",
            "format": "int32"
          },
          "deprecationWarnings": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "errors": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "exception": {
            "$ref": "#/components/schemas/AutessaResponse",
            "writeOnly": true
          },
          "ok": {
            "type": "boolean"
          },
          "sessionToken": {
            "type": "string"
          }
        }
      },
      "OrderByDto": {
        "type": "object",
        "properties": {
          "columnName": {
            "type": "string"
          },
          "direction": {
            "type": "string"
          },
          "tableId": {
            "type": "string",
            "description": "ID id."
          }
        }
      },
      "Origin": {
        "type": "object",
        "properties": {
          "country": {
            "type": "string"
          },
          "ip": {
            "type": "string"
          },
          "userAgent": {
            "type": "string"
          }
        }
      },
      "PartChecksum": {
        "type": "object",
        "properties": {
          "checksumSha256": {
            "type": "string"
          },
          "partNumber": {
            "type": "integer",
            "format": "int32"
          }
        }
      },
      "PartUrl": {
        "type": "object",
        "properties": {
          "headers": {
            "type": "object",
            "additionalProperties": {
              "type": "string"
            }
          },
          "partNumber": {
            "type": "integer",
            "format": "int32"
          },
          "url": {
            "type": "string"
          }
        }
      },
      "PartUrlsRequest": {
        "type": "object",
        "properties": {
          "partNumbers": {
            "type": "array",
            "items": {
              "type": "integer",
              "format": "int32"
            }
          },
          "parts": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/PartChecksum"
            }
          },
          "tableId": {
            "type": "string",
            "description": "ID id."
          },
          "uploadId": {
            "type": "string"
          }
        }
      },
      "PartUrlsResponse": {
        "type": "object",
        "properties": {
          "deprecationWarnings": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "errors": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "exception": {
            "$ref": "#/components/schemas/AutessaResponse",
            "writeOnly": true
          },
          "expiresAt": {
            "type": "string"
          },
          "parts": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/PartUrl"
            }
          },
          "sessionToken": {
            "type": "string"
          }
        }
      },
      "PartitionField": {
        "type": "object",
        "properties": {
          "column": {
            "type": "string"
          },
          "transform": {
            "type": "string",
            "enum": [
              "IDENTITY",
              "YEAR",
              "MONTH",
              "DAY",
              "HOUR",
              "BUCKET",
              "TRUNCATE"
            ]
          },
          "width": {
            "type": "integer",
            "format": "int32"
          }
        }
      },
      "PermissionDelta": {
        "type": "object",
        "description": "Access before and after; widens = someone gains access they did not have",
        "properties": {
          "after": {
            "type": "string"
          },
          "before": {
            "type": "string"
          },
          "subject": {
            "type": "string"
          },
          "widens": {
            "type": "boolean"
          }
        }
      },
      "PersonRef": {
        "type": "object",
        "properties": {
          "email": {
            "type": "string"
          },
          "id": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "userId": {
            "type": "string"
          }
        }
      },
      "PhoneAvailableNumber": {
        "type": "object",
        "properties": {
          "areaCode": {
            "type": "string"
          },
          "capabilities": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "country": {
            "type": "string"
          },
          "locality": {
            "type": "string"
          },
          "phoneNumber": {
            "type": "string"
          },
          "region": {
            "type": "string"
          }
        }
      },
      "PhoneError": {
        "type": "object",
        "description": "Phone API error body.",
        "properties": {
          "errors": {
            "type": "array",
            "description": "Plain-language messages.",
            "items": {
              "type": "string"
            }
          }
        }
      },
      "PhoneNumber": {
        "type": "object",
        "properties": {
          "areaCode": {
            "type": "string"
          },
          "capabilities": {
            "type": "array",
            "items": {
              "type": "string",
              "enum": [
                "VOICE",
                "SMS"
              ]
            }
          },
          "country": {
            "type": "string"
          },
          "locality": {
            "type": "string"
          },
          "numberId": {
            "type": "string"
          },
          "phoneNumber": {
            "type": "string",
            "description": "E.164."
          },
          "region": {
            "type": "string"
          },
          "routing": {
            "$ref": "#/components/schemas/PhoneRouting"
          }
        },
        "required": [
          "numberId",
          "phoneNumber"
        ]
      },
      "PhoneNumberList": {
        "type": "object",
        "properties": {
          "items": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/PhoneNumber"
            }
          },
          "nextCursor": {
            "type": "string",
            "description": "Pass as `cursor` for the next page; absent on the last page."
          }
        }
      },
      "PhonePurchaseRequest": {
        "type": "object",
        "description": "phoneNumber (from search), or areaCode to buy the first available one.",
        "properties": {
          "areaCode": {
            "type": "string"
          },
          "phoneNumber": {
            "type": "string",
            "description": "E.164 from search."
          },
          "routing": {
            "$ref": "#/components/schemas/PhoneRouting"
          }
        }
      },
      "PhoneRouting": {
        "type": "object",
        "properties": {
          "agentId": {
            "type": "string",
            "description": "AGENT: the agent id."
          },
          "externalAgent": {
            "$ref": "#/components/schemas/ExternalAgentRouting",
            "description": "EXTERNAL_AGENT only."
          },
          "greeting": {
            "type": "string"
          },
          "routingType": {
            "type": "string",
            "enum": [
              "AGENT",
              "EXTERNAL_AGENT"
            ]
          },
          "voice": {
            "type": "string"
          }
        },
        "required": [
          "routingType"
        ]
      },
      "PhoneSearchRequest": {
        "type": "object",
        "properties": {
          "areaCode": {
            "type": "string"
          },
          "capabilities": {
            "type": "array",
            "items": {
              "type": "string",
              "enum": [
                "VOICE",
                "SMS"
              ]
            }
          },
          "contains": {
            "type": "string",
            "description": "Digits the number should contain."
          },
          "country": {
            "type": "string",
            "default": "US"
          },
          "limit": {
            "type": "integer",
            "format": "int32"
          }
        }
      },
      "PhoneSearchResponse": {
        "type": "object",
        "properties": {
          "available": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/PhoneAvailableNumber"
            }
          }
        }
      },
      "PolicyDto": {
        "type": "object",
        "properties": {
          "agentId": {
            "type": "string",
            "description": "ID id."
          },
          "agentSetting": {
            "type": "string"
          },
          "anomaly": {
            "$ref": "#/components/schemas/AnomalyDto"
          },
          "callerId": {
            "$ref": "#/components/schemas/CallerIdDto"
          },
          "challenge": {
            "$ref": "#/components/schemas/ChallengeDto"
          },
          "disclosure": {
            "$ref": "#/components/schemas/DisclosureDto"
          },
          "egressAllowlist": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "eventsTableId": {
            "type": "string",
            "description": "ID id."
          },
          "failMode": {
            "type": "string"
          },
          "injectionThreshold": {
            "type": "number",
            "format": "double"
          },
          "judgeEnabled": {
            "type": "boolean"
          },
          "maxRowsReadPerRun": {
            "type": "integer",
            "format": "int32"
          },
          "mode": {
            "type": "string"
          },
          "policyId": {
            "type": "string"
          },
          "policyName": {
            "type": "string"
          },
          "profile": {
            "type": "string"
          },
          "ruleMatchCounts": {
            "type": "object",
            "additionalProperties": {
              "type": "integer",
              "format": "int64"
            }
          },
          "rules": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/RuleDto"
            }
          },
          "safeReply": {
            "type": "string"
          },
          "socialEngineering": {
            "$ref": "#/components/schemas/SocialEngineeringDto"
          },
          "toolAllowlist": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "toolDefinitions": {
            "$ref": "#/components/schemas/ToolDefinitionsDto"
          },
          "updatedAt": {
            "type": "string"
          },
          "voiceAuthenticity": {
            "$ref": "#/components/schemas/VoiceAuthenticityDto"
          },
          "watermark": {
            "$ref": "#/components/schemas/WatermarkDto"
          },
          "wordOfDay": {
            "$ref": "#/components/schemas/WordOfDayDto"
          }
        }
      },
      "PolicyRow": {
        "type": "object",
        "properties": {
          "blocked": {
            "type": "integer",
            "format": "int64"
          },
          "caught": {
            "type": "integer",
            "format": "int64"
          },
          "inspections": {
            "type": "integer",
            "format": "int64"
          },
          "points": {
            "type": "integer",
            "format": "int64"
          },
          "policyName": {
            "type": "string"
          }
        }
      },
      "PreviewRequest": {
        "type": "object",
        "properties": {
          "allowPhonePurchase": {
            "type": "boolean",
            "description": "The stage's allowPhonePurchase: let the deploy buy a phone number when no company number meets a PhoneNumber's requirement (the preview marks it WILL PURCHASE). Default false."
          },
          "drift": {
            "type": "string",
            "deprecated": true,
            "description": "Alias of permissionDrift"
          },
          "manifest": {
            "type": "object",
            "description": "Manifest v2 (see GET /clients/deploy/schema)"
          },
          "manifestHash": {
            "type": "string",
            "description": "Instead of manifest: the content hash of an uploaded manifest.json"
          },
          "permissionDrift": {
            "type": "string",
            "description": "The stage's permissions.drift: REPORT (default) lists sharing changed outside the project; RESET puts it back to what the project declares",
            "enum": [
              "REPORT",
              "RESET"
            ]
          },
          "prune": {
            "type": "boolean"
          },
          "stage": {
            "type": "string"
          },
          "variables": {
            "type": "object",
            "additionalProperties": {
              "type": "string"
            },
            "description": "Stage variables, resolved into {{name}} placeholders"
          }
        },
        "required": [
          "manifest",
          "stage"
        ]
      },
      "PreviewResponse": {
        "type": "object",
        "properties": {
          "changes": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Change"
            }
          },
          "costBearing": {
            "type": "boolean"
          },
          "deprecationWarnings": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "driftedPermissions": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/DriftedPermission"
            }
          },
          "errors": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "exception": {
            "$ref": "#/components/schemas/AutessaResponse",
            "writeOnly": true
          },
          "sessionToken": {
            "type": "string"
          },
          "warnings": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "widens": {
            "type": "boolean"
          }
        }
      },
      "PreviewRowsResponse": {
        "type": "object",
        "properties": {
          "batchId": {
            "type": "string"
          },
          "batchIndex": {
            "type": "integer",
            "format": "int32"
          },
          "columns": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/AutessaDbColumnDefinition"
            }
          },
          "deprecationWarnings": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "errors": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "exception": {
            "$ref": "#/components/schemas/AutessaResponse",
            "writeOnly": true
          },
          "nextBatchIndex": {
            "type": "integer",
            "format": "int32"
          },
          "rowCount": {
            "type": "integer",
            "format": "int32"
          },
          "rows": {
            "type": "array",
            "items": {
              "type": "object",
              "additionalProperties": {
                "$ref": "#/components/schemas/AutessaDbColumnValue"
              }
            }
          },
          "sessionToken": {
            "type": "string"
          }
        }
      },
      "PrincipalInput": {
        "type": "object",
        "properties": {
          "email": {
            "type": "string"
          },
          "teamId": {
            "type": "string"
          },
          "teamName": {
            "type": "string"
          },
          "type": {
            "type": "string"
          },
          "userId": {
            "type": "string",
            "description": "ID id."
          }
        }
      },
      "PrincipalView": {
        "type": "object",
        "properties": {
          "email": {
            "type": "string"
          },
          "id": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "type": {
            "type": "string"
          }
        }
      },
      "PrivateArgument": {
        "type": "object",
        "properties": {
          "allowedValues": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "description": {
            "type": "string"
          },
          "isRequired": {
            "type": "boolean"
          },
          "jsonSchema": {
            "$ref": "#/components/schemas/JsonSchema"
          },
          "messageToUser": {
            "type": "string"
          },
          "regexValidation": {
            "type": "string"
          },
          "vaultField": {
            "type": "string",
            "enum": [
              "CARD_NUMBER",
              "CARD_EXPIRY",
              "CARD_CVV",
              "POSTAL_CODE",
              "CARDHOLDER_NAME",
              "BANK_ROUTING",
              "BANK_ACCOUNT",
              "BANK_ACCOUNT_TYPE",
              "ACCOUNT_HOLDER_NAME",
              "SSN",
              "ACCOUNT_NUMBER"
            ]
          },
          "vaultGroup": {
            "type": "string",
            "enum": [
              "PAYMENT_CARD",
              "BANK_ACCOUNT",
              "SSN",
              "ACCOUNT"
            ]
          }
        }
      },
      "ProposeSchemaRequest": {
        "type": "object",
        "properties": {
          "description": {
            "type": "string"
          },
          "sampleRowsJson": {
            "type": "string"
          }
        }
      },
      "ProposeSchemaResponse": {
        "type": "object",
        "properties": {
          "deprecationWarnings": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "errors": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "exception": {
            "$ref": "#/components/schemas/AutessaResponse",
            "writeOnly": true
          },
          "schema": {
            "$ref": "#/components/schemas/AutessaDbSchema"
          },
          "sessionToken": {
            "type": "string"
          },
          "suggestedTableName": {
            "type": "string"
          }
        }
      },
      "PullItem": {
        "type": "object",
        "properties": {
          "nodeId": {
            "type": "string"
          },
          "path": {
            "type": "string"
          },
          "sha256": {
            "type": "string"
          },
          "sizeBytes": {
            "type": "integer",
            "format": "int64"
          },
          "url": {
            "type": "string"
          }
        }
      },
      "PullRequest": {
        "type": "object",
        "properties": {
          "cursor": {
            "type": "string"
          },
          "limit": {
            "type": "integer",
            "format": "int32"
          },
          "path": {
            "type": "string"
          },
          "tableId": {
            "type": "string",
            "description": "ID id."
          }
        }
      },
      "PullResponse": {
        "type": "object",
        "properties": {
          "deprecationWarnings": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "errors": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "exception": {
            "$ref": "#/components/schemas/AutessaResponse",
            "writeOnly": true
          },
          "hasMore": {
            "type": "boolean"
          },
          "items": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/PullItem"
            }
          },
          "nextCursor": {
            "type": "string"
          },
          "sessionToken": {
            "type": "string"
          }
        }
      },
      "PurgeResponse": {
        "type": "object",
        "properties": {
          "deprecationWarnings": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "errors": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "exception": {
            "$ref": "#/components/schemas/AutessaResponse",
            "writeOnly": true
          },
          "purged": {
            "type": "integer",
            "format": "int32"
          },
          "sessionToken": {
            "type": "string"
          }
        }
      },
      "PushFile": {
        "type": "object",
        "properties": {
          "path": {
            "type": "string"
          },
          "relativePath": {
            "type": "string"
          },
          "uploadId": {
            "type": "string"
          }
        }
      },
      "PushRequest": {
        "type": "object",
        "properties": {
          "basePath": {
            "type": "string"
          },
          "conflict": {
            "type": "string"
          },
          "files": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/PushFile"
            }
          },
          "tableId": {
            "type": "string",
            "description": "ID id."
          }
        }
      },
      "QueryTableDataRequest": {
        "type": "object",
        "properties": {
          "cursor": {
            "type": "string",
            "description": "Keyset pagination: nextCursor from the previous page (page is then ignored)."
          },
          "groupsLogicalOperator": {
            "type": "string",
            "description": "How to combine the groups (default OR)."
          },
          "includeTotal": {
            "type": "boolean"
          },
          "orderBy": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/OrderByDto"
            }
          },
          "page": {
            "type": "integer",
            "format": "int32"
          },
          "pageSize": {
            "type": "integer",
            "format": "int32"
          },
          "tableId": {
            "type": "string",
            "description": "ID id."
          },
          "whereGroups": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/WhereGroupDto"
            }
          }
        },
        "required": [
          "tableId"
        ]
      },
      "QueryTableDataResponse": {
        "type": "object",
        "properties": {
          "currentPage": {
            "type": "integer",
            "format": "int32"
          },
          "deprecationWarnings": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "errors": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "exception": {
            "$ref": "#/components/schemas/AutessaResponse",
            "writeOnly": true
          },
          "hasMore": {
            "type": "boolean"
          },
          "nextCursor": {
            "type": "string"
          },
          "pageSize": {
            "type": "integer",
            "format": "int32"
          },
          "rows": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/TableRowDto"
            }
          },
          "schema": {
            "$ref": "#/components/schemas/AutessaDbSchema"
          },
          "sessionToken": {
            "type": "string"
          },
          "totalPages": {
            "type": "integer",
            "format": "int32"
          },
          "totalRows": {
            "type": "integer",
            "format": "int64"
          }
        }
      },
      "ReadRequest": {
        "type": "object",
        "properties": {
          "lines": {
            "type": "string",
            "description": "For example \"100-250\"."
          },
          "maxChars": {
            "type": "integer",
            "format": "int32"
          },
          "nodeId": {
            "type": "integer",
            "format": "int64",
            "description": "Node id."
          },
          "pages": {
            "type": "string",
            "description": "For example \"3-5\"."
          },
          "path": {
            "type": "string"
          },
          "tableId": {
            "type": "string",
            "description": "ID id."
          }
        },
        "required": [
          "tableId"
        ]
      },
      "ReadResponse": {
        "type": "object",
        "properties": {
          "deprecationWarnings": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "errors": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "exception": {
            "$ref": "#/components/schemas/AutessaResponse",
            "writeOnly": true
          },
          "next": {
            "type": "string"
          },
          "nodeId": {
            "type": "string"
          },
          "pageRange": {
            "type": "string"
          },
          "path": {
            "type": "string"
          },
          "sessionToken": {
            "type": "string"
          },
          "text": {
            "type": "string"
          },
          "totalLines": {
            "type": "integer",
            "format": "int32"
          },
          "totalPages": {
            "type": "integer",
            "format": "int32"
          },
          "truncated": {
            "description": "Present when the result was cut short (boolean or a reason object)."
          }
        }
      },
      "ReasonCount": {
        "type": "object",
        "properties": {
          "count": {
            "type": "integer",
            "format": "int64"
          },
          "enforced": {
            "type": "integer",
            "format": "int64"
          },
          "label": {
            "type": "string"
          },
          "reason": {
            "type": "string"
          }
        }
      },
      "ReasonDto": {
        "type": "object",
        "properties": {
          "action": {
            "type": "string"
          },
          "code": {
            "type": "string"
          },
          "detail": {
            "type": "string"
          },
          "ruleId": {
            "type": "string"
          },
          "score": {
            "type": "number",
            "format": "double"
          }
        }
      },
      "RecentCatch": {
        "type": "object",
        "properties": {
          "action": {
            "type": "string"
          },
          "agentName": {
            "type": "string"
          },
          "at": {
            "type": "string"
          },
          "detail": {
            "type": "string"
          },
          "enforced": {
            "type": "boolean"
          },
          "eventId": {
            "type": "string"
          },
          "policyName": {
            "type": "string"
          },
          "reason": {
            "type": "string"
          },
          "source": {
            "type": "string"
          }
        }
      },
      "RecordColumnMetadata": {
        "type": "object",
        "properties": {
          "columns": {
            "type": "object",
            "additionalProperties": {
              "$ref": "#/components/schemas/ColumnMetadataRecord"
            }
          }
        }
      },
      "RedactAppendChunkResponse": {
        "type": "object",
        "properties": {
          "bytes": {
            "type": "integer",
            "format": "int32"
          },
          "channel": {
            "type": "integer",
            "format": "int32"
          },
          "itemId": {
            "type": "string"
          },
          "seq": {
            "type": "integer",
            "format": "int32"
          },
          "status": {
            "type": "string"
          }
        }
      },
      "RedactBucketAccess": {
        "type": "object",
        "properties": {
          "externalId": {
            "type": "string"
          },
          "permissionsPolicy": {
            "type": "object",
            "additionalProperties": {}
          },
          "trustPolicy": {
            "type": "object",
            "additionalProperties": {}
          }
        }
      },
      "RedactChunksByChannel": {
        "type": "object",
        "additionalProperties": {
          "type": "integer",
          "format": "int32",
          "description": "Chunks sent per channel, e.g. {\"0\": 42, \"1\": 40}."
        },
        "description": "Chunks sent per channel, e.g. {\"0\": 42, \"1\": 40}.",
        "properties": {
          "empty": {
            "type": "boolean"
          }
        }
      },
      "RedactCreateItemRequest": {
        "type": "object",
        "description": "Full-audio redaction with a chunked upload: create, append chunks, finalize. Nothing is redacted until finalize; the whole recording is then processed.",
        "properties": {
          "audioRedaction": {
            "type": "string",
            "description": "Default SILENCE.",
            "enum": [
              "SILENCE",
              "TONE"
            ]
          },
          "channels": {
            "type": "integer",
            "format": "int32",
            "description": "1 (default) or 2; 2 only for mulaw and pcm16 (one chunk stream per channel).",
            "enum": [
              "1",
              "2"
            ]
          },
          "externalId": {
            "type": "string"
          },
          "format": {
            "type": "string",
            "enum": [
              "mulaw",
              "pcm16",
              "wav",
              "opus"
            ]
          },
          "keep": {
            "type": "array",
            "description": "Values never to redact, such as your own phone numbers, address, website or email: each text, or {value, type}.",
            "items": {
              "oneOf": [
                {
                  "type": "string"
                },
                {
                  "$ref": "#/components/schemas/RedactKeepEntry"
                }
              ]
            },
            "maxItems": 200
          },
          "language": {
            "type": "string",
            "enum": [
              "en",
              "es",
              "auto"
            ]
          },
          "paymentSegment": {
            "type": "boolean",
            "description": "With card types, silence the whole payment stretch (default true)."
          },
          "redact": {
            "type": "array",
            "description": "Default: every type that is on for the company.",
            "items": {
              "type": "string",
              "description": "What to redact. On by default: CARD_NUMBER, CARD_EXPIRY, CARD_CVV, SSN, BANK_ACCOUNT, ACCOUNT_NUMBER, DATE_OF_BIRTH, PHONE, EMAIL, ADDRESS, NAME. Off by default per company (turned on in settings): MRN, HEALTH_PLAN_ID, HEALTH_PLAN_GROUP, MEDICARE_MBI, MEDICAID_ID, RX_NUMBER, CLAIM_NUMBER, MEDICATION, MEDICAL_CONDITION, PROVIDER_NAME, DATE_OF_SERVICE, NATIONAL_ID_MX, NATIONAL_ID_ES, NATIONAL_ID_OTHER.",
              "enum": [
                "CARD_NUMBER",
                "CARD_EXPIRY",
                "CARD_CVV",
                "SSN",
                "BANK_ACCOUNT",
                "ACCOUNT_NUMBER",
                "DATE_OF_BIRTH",
                "PHONE",
                "EMAIL",
                "ADDRESS",
                "NAME",
                "MRN",
                "HEALTH_PLAN_ID",
                "HEALTH_PLAN_GROUP",
                "MEDICARE_MBI",
                "MEDICAID_ID",
                "RX_NUMBER",
                "CLAIM_NUMBER",
                "MEDICATION",
                "MEDICAL_CONDITION",
                "PROVIDER_NAME",
                "DATE_OF_SERVICE",
                "NATIONAL_ID_MX",
                "NATIONAL_ID_ES",
                "NATIONAL_ID_OTHER"
              ]
            }
          },
          "redactAllChannels": {
            "type": "boolean",
            "description": "Silence each span on both channels of a dual-channel call (default false)."
          },
          "retainOriginalDays": {
            "type": "integer",
            "format": "int32",
            "description": "Days the source audio is kept: 0 (default), 1, 7 or 30.",
            "enum": [
              "0",
              "1",
              "7",
              "30"
            ]
          },
          "retention": {
            "$ref": "#/components/schemas/RedactRetention"
          },
          "sampleRateHz": {
            "type": "integer",
            "format": "int32"
          },
          "tuning": {
            "type": "object",
            "additionalProperties": {},
            "description": "Processing settings: precision, neuralVad, enhance, secondAsr, maxClipSeconds, redactCardTail, mode (fast or thorough; default fast)."
          },
          "types": {
            "type": "array",
            "description": "Same as redact. Send either one; if both are sent they must list the same types.",
            "items": {
              "type": "string",
              "description": "What to redact. On by default: CARD_NUMBER, CARD_EXPIRY, CARD_CVV, SSN, BANK_ACCOUNT, ACCOUNT_NUMBER, DATE_OF_BIRTH, PHONE, EMAIL, ADDRESS, NAME. Off by default per company (turned on in settings): MRN, HEALTH_PLAN_ID, HEALTH_PLAN_GROUP, MEDICARE_MBI, MEDICAID_ID, RX_NUMBER, CLAIM_NUMBER, MEDICATION, MEDICAL_CONDITION, PROVIDER_NAME, DATE_OF_SERVICE, NATIONAL_ID_MX, NATIONAL_ID_ES, NATIONAL_ID_OTHER.",
              "enum": [
                "CARD_NUMBER",
                "CARD_EXPIRY",
                "CARD_CVV",
                "SSN",
                "BANK_ACCOUNT",
                "ACCOUNT_NUMBER",
                "DATE_OF_BIRTH",
                "PHONE",
                "EMAIL",
                "ADDRESS",
                "NAME",
                "MRN",
                "HEALTH_PLAN_ID",
                "HEALTH_PLAN_GROUP",
                "MEDICARE_MBI",
                "MEDICAID_ID",
                "RX_NUMBER",
                "CLAIM_NUMBER",
                "MEDICATION",
                "MEDICAL_CONDITION",
                "PROVIDER_NAME",
                "DATE_OF_SERVICE",
                "NATIONAL_ID_MX",
                "NATIONAL_ID_ES",
                "NATIONAL_ID_OTHER"
              ]
            }
          },
          "vocabulary": {
            "$ref": "#/components/schemas/RedactVocabulary"
          },
          "webhookUrl": {
            "type": "string",
            "format": "uri",
            "description": "https endpoint POSTed the result (signed like the evaluations webhooks)."
          }
        },
        "required": [
          "format",
          "sampleRateHz"
        ]
      },
      "RedactCreateItemResponse": {
        "type": "object",
        "properties": {
          "itemId": {
            "type": "string"
          },
          "status": {
            "type": "string",
            "enum": [
              "RECEIVING"
            ]
          }
        }
      },
      "RedactDeleteItemResponse": {
        "type": "object",
        "properties": {
          "alreadyPurged": {
            "type": "boolean"
          },
          "deletedObjects": {
            "type": "integer",
            "format": "int32"
          },
          "itemId": {
            "type": "string"
          },
          "purgedAt": {
            "type": [
              "string",
              "null"
            ]
          },
          "status": {
            "type": "string",
            "enum": [
              "PURGED"
            ]
          }
        }
      },
      "RedactError": {
        "type": "object",
        "description": "Call redaction error body, with the same stable codes as the AUDIO_* tools.",
        "properties": {
          "errorCode": {
            "type": "string",
            "description": "INVALID_REQUEST, NOT_FOUND, ALREADY_REVIEWED, ITEM_IN_PROGRESS, PURGE_INCOMPLETE, CHUNK_TOO_LARGE, MISSING_CHUNKS, OVER_BUDGET, EXECUTION_ERROR, ..."
          },
          "errorMessage": {
            "type": "string",
            "description": "Plain-language message."
          }
        }
      },
      "RedactFetchAuth": {
        "type": "object",
        "description": "Authorization sent when fetching an https source. Stored encrypted.",
        "properties": {
          "password": {
            "type": "string"
          },
          "token": {
            "type": "string"
          },
          "type": {
            "type": "string",
            "enum": [
              "BEARER",
              "BASIC"
            ]
          },
          "username": {
            "type": "string"
          }
        }
      },
      "RedactFinalizeRequest": {
        "type": "object",
        "properties": {
          "totalChunks": {
            "description": "How many chunks were sent: a whole number (channel 0, or a one-channel item), or per channel as {\"0\": n, \"1\": m}. Optional; when sent, missing seqs below it are reported.",
            "oneOf": [
              {
                "type": "integer",
                "format": "int32"
              },
              {
                "$ref": "#/components/schemas/RedactChunksByChannel"
              }
            ]
          }
        }
      },
      "RedactFinalizeResponse": {
        "type": "object",
        "properties": {
          "itemId": {
            "type": "string"
          },
          "status": {
            "type": "string",
            "enum": [
              "QUEUED"
            ]
          }
        }
      },
      "RedactItem": {
        "type": "object",
        "description": "One recording. A PURGED item carries only itemId, jobId, externalId, status, purgedAt, createdAt, completedAt. A chunked item still receiving chunks reads {itemId, status: RECEIVING, receivedChunks, ...}.",
        "properties": {
          "channels": {
            "type": [
              "integer",
              "null"
            ],
            "format": "int32"
          },
          "completedAt": {
            "type": [
              "string",
              "null"
            ]
          },
          "createdAt": {
            "type": [
              "string",
              "null"
            ]
          },
          "deliveredAudioUri": {
            "type": [
              "string",
              "null"
            ]
          },
          "deliveredTranscriptUri": {
            "type": [
              "string",
              "null"
            ]
          },
          "durationSeconds": {
            "type": [
              "number",
              "null"
            ],
            "format": "double"
          },
          "errorCode": {
            "type": [
              "string",
              "null"
            ],
            "description": "LINK_EXPIRED, ACCESS_DENIED, NOT_AUDIO, TOO_LARGE, UNREACHABLE, INVALID_URL, TRANSCRIPTION_UNAVAILABLE, NO_RESULT, FETCH_TIMED_OUT, INTERNAL_ERROR, ..."
          },
          "errorMessage": {
            "type": [
              "string",
              "null"
            ]
          },
          "externalId": {
            "type": [
              "string",
              "null"
            ]
          },
          "itemId": {
            "type": "string"
          },
          "jobId": {
            "type": "string"
          },
          "purgedAt": {
            "type": [
              "string",
              "null"
            ],
            "description": "PURGED items only."
          },
          "receivedChunks": {
            "type": "integer",
            "format": "int32",
            "description": "Chunked items while RECEIVING: chunks received so far (all channels)."
          },
          "redactedAudioUrl": {
            "type": [
              "string",
              "null"
            ],
            "description": "Presigned link to the redacted audio."
          },
          "redactions": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/RedactSpan"
            }
          },
          "review": {
            "$ref": "#/components/schemas/RedactReview"
          },
          "speakerSeparation": {
            "type": [
              "string",
              "boolean",
              "null"
            ]
          },
          "status": {
            "type": "string",
            "description": "RECEIVING: a chunked item still being uploaded.",
            "enum": [
              "RECEIVING",
              "QUEUED",
              "FETCHING",
              "TRANSCRIBING",
              "COMPLETED",
              "FAILED",
              "PURGED"
            ]
          },
          "transcriptUrl": {
            "type": [
              "string",
              "null"
            ],
            "description": "Presigned link to the redacted transcript JSON."
          }
        }
      },
      "RedactItemList": {
        "type": "object",
        "properties": {
          "items": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/RedactItem"
            }
          },
          "next": {
            "type": [
              "string",
              "null"
            ],
            "description": "Pass as `after` for the next page."
          },
          "waiting": {
            "type": "integer",
            "format": "int32",
            "description": "Review queue only: the total waiting (first page)."
          }
        }
      },
      "RedactJob": {
        "type": "object",
        "properties": {
          "audioRedaction": {
            "type": "string"
          },
          "completedAt": {
            "type": [
              "string",
              "null"
            ]
          },
          "counts": {
            "type": "object",
            "additionalProperties": {
              "type": "integer",
              "format": "int32"
            },
            "description": "Items per status, plus needsReview and reviewed."
          },
          "createdAt": {
            "type": "string"
          },
          "createdBy": {
            "type": "string"
          },
          "errorMessage": {
            "type": "string"
          },
          "itemCount": {
            "type": "integer",
            "format": "int32"
          },
          "jobId": {
            "type": "string"
          },
          "listing": {
            "type": "string",
            "enum": [
              "IN_PROGRESS",
              "DONE"
            ]
          },
          "manifest": {
            "$ref": "#/components/schemas/RedactJobManifest"
          },
          "operation": {
            "type": "string"
          },
          "output": {
            "$ref": "#/components/schemas/RedactOutput"
          },
          "paymentSegment": {
            "type": "boolean"
          },
          "realtime": {
            "type": "boolean"
          },
          "redact": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "redactAllChannels": {
            "type": "boolean"
          },
          "resultsStatus": {
            "type": "string",
            "enum": [
              "BUILDING",
              "FAILED"
            ]
          },
          "resultsUrl": {
            "type": "string",
            "description": "Presigned link to results.jsonl once written."
          },
          "retainOriginalDays": {
            "type": "integer",
            "format": "int32"
          },
          "retention": {
            "$ref": "#/components/schemas/RedactRetention"
          },
          "source": {
            "$ref": "#/components/schemas/RedactJobSource"
          },
          "status": {
            "type": "string",
            "enum": [
              "RUNNING",
              "COMPLETED"
            ]
          },
          "webhookPerItem": {
            "type": "boolean"
          }
        }
      },
      "RedactJobItemSource": {
        "type": "object",
        "properties": {
          "audioUrl": {
            "type": "string"
          },
          "externalId": {
            "type": "string"
          },
          "s3Uri": {
            "type": "string"
          },
          "uploadId": {
            "type": "string"
          }
        }
      },
      "RedactJobList": {
        "type": "object",
        "properties": {
          "jobs": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/RedactJob"
            }
          },
          "next": {
            "type": [
              "string",
              "null"
            ],
            "description": "Pass as `after` for the next page."
          }
        }
      },
      "RedactJobManifest": {
        "type": "object",
        "properties": {
          "alreadySubmittedSkipped": {
            "type": "integer",
            "format": "int32"
          },
          "entriesRead": {
            "type": "integer",
            "format": "int32"
          },
          "error": {
            "type": [
              "string",
              "null"
            ]
          },
          "itemsCreated": {
            "type": "integer",
            "format": "int32"
          },
          "state": {
            "type": "string"
          }
        }
      },
      "RedactJobSource": {
        "type": "object",
        "properties": {
          "s3Prefix": {
            "type": "string"
          },
          "type": {
            "type": "string",
            "enum": [
              "S3_PREFIX",
              "ZIP",
              "MANIFEST",
              "FILES"
            ]
          }
        }
      },
      "RedactMissingChunk": {
        "type": "object",
        "properties": {
          "channel": {
            "type": "integer",
            "format": "int32"
          },
          "seq": {
            "type": "integer",
            "format": "int32"
          }
        }
      },
      "RedactMissingChunksError": {
        "type": "object",
        "description": "422 MISSING_CHUNKS: chunks are missing on at least one channel.",
        "properties": {
          "errorCode": {
            "type": "string",
            "description": "INVALID_REQUEST, NOT_FOUND, ALREADY_REVIEWED, ITEM_IN_PROGRESS, PURGE_INCOMPLETE, CHUNK_TOO_LARGE, MISSING_CHUNKS, OVER_BUDGET, EXECUTION_ERROR, ..."
          },
          "errorMessage": {
            "type": "string",
            "description": "Plain-language message."
          },
          "missing": {
            "type": "array",
            "description": "Every missing chunk, as {channel, seq}.",
            "items": {
              "$ref": "#/components/schemas/RedactMissingChunk"
            }
          },
          "missingByChannel": {
            "type": "object",
            "additionalProperties": {
              "type": "array",
              "items": {
                "type": "integer",
                "format": "int32"
              }
            },
            "description": "The missing seqs per channel (\"0\", \"1\")."
          },
          "missingSeqs": {
            "type": "array",
            "description": "The missing seqs of all channels together.",
            "items": {
              "type": "integer",
              "format": "int32"
            }
          }
        }
      },
      "RedactMultipartRequest": {
        "type": "object",
        "properties": {
          "file": {
            "type": "string",
            "format": "binary",
            "description": "The recording (at most 200 MB)."
          },
          "options": {
            "type": "string",
            "description": "RedactRequest options as JSON text, without a source."
          }
        }
      },
      "RedactKeepEntry": {
        "type": "object",
        "description": "A value never to redact, kept only when found as the given type.",
        "properties": {
          "type": {
            "type": "string",
            "description": "Optional: keep the value only when it is found as this type (such as ZIP)."
          },
          "value": {
            "type": "string",
            "description": "The value as it is said or written, 1 to 200 characters.",
            "maxLength": 200
          }
        }
      },
      "RedactOutput": {
        "type": "object",
        "description": "Also deliver the redacted audio into your bucket (needs sourceRoleArn).",
        "properties": {
          "s3Prefix": {
            "type": "string"
          }
        }
      },
      "RedactRange": {
        "type": "object",
        "properties": {
          "channel": {
            "type": "integer",
            "format": "int32"
          },
          "endMs": {
            "type": "integer",
            "format": "int32"
          },
          "startMs": {
            "type": "integer",
            "format": "int32"
          }
        },
        "required": [
          "endMs",
          "startMs"
        ]
      },
      "RedactRequest": {
        "type": "object",
        "description": "One of audioUrl, uploadId or s3Uri. As multipart/form-data, send the recording as the field `file` and these options as the JSON field `options` (without a source).",
        "properties": {
          "audioRedaction": {
            "type": "string",
            "description": "Default SILENCE.",
            "enum": [
              "SILENCE",
              "TONE"
            ]
          },
          "audioUrl": {
            "type": "string",
            "format": "uri",
            "description": "https link to the recording. One of audioUrl, uploadId or s3Uri."
          },
          "externalId": {
            "type": "string",
            "description": "Your id for the recording."
          },
          "fetchAuth": {
            "$ref": "#/components/schemas/RedactFetchAuth"
          },
          "keep": {
            "type": "array",
            "description": "Values never to redact, such as your own phone numbers, address, website or email: each text, or {value, type}.",
            "items": {
              "oneOf": [
                {
                  "type": "string"
                },
                {
                  "$ref": "#/components/schemas/RedactKeepEntry"
                }
              ]
            },
            "maxItems": 200
          },
          "output": {
            "$ref": "#/components/schemas/RedactOutput",
            "description": "Also deliver the redacted audio into your bucket (needs sourceRoleArn)."
          },
          "paymentSegment": {
            "type": "boolean",
            "description": "With card types, silence the whole payment stretch (default true)."
          },
          "redact": {
            "type": "array",
            "description": "Default: every type that is on for the company.",
            "items": {
              "type": "string",
              "description": "What to redact. On by default: CARD_NUMBER, CARD_EXPIRY, CARD_CVV, SSN, BANK_ACCOUNT, ACCOUNT_NUMBER, DATE_OF_BIRTH, PHONE, EMAIL, ADDRESS, NAME. Off by default per company (turned on in settings): MRN, HEALTH_PLAN_ID, HEALTH_PLAN_GROUP, MEDICARE_MBI, MEDICAID_ID, RX_NUMBER, CLAIM_NUMBER, MEDICATION, MEDICAL_CONDITION, PROVIDER_NAME, DATE_OF_SERVICE, NATIONAL_ID_MX, NATIONAL_ID_ES, NATIONAL_ID_OTHER.",
              "enum": [
                "CARD_NUMBER",
                "CARD_EXPIRY",
                "CARD_CVV",
                "SSN",
                "BANK_ACCOUNT",
                "ACCOUNT_NUMBER",
                "DATE_OF_BIRTH",
                "PHONE",
                "EMAIL",
                "ADDRESS",
                "NAME",
                "MRN",
                "HEALTH_PLAN_ID",
                "HEALTH_PLAN_GROUP",
                "MEDICARE_MBI",
                "MEDICAID_ID",
                "RX_NUMBER",
                "CLAIM_NUMBER",
                "MEDICATION",
                "MEDICAL_CONDITION",
                "PROVIDER_NAME",
                "DATE_OF_SERVICE",
                "NATIONAL_ID_MX",
                "NATIONAL_ID_ES",
                "NATIONAL_ID_OTHER"
              ]
            }
          },
          "redactAllChannels": {
            "type": "boolean",
            "description": "Silence each span on both channels of a dual-channel call (default false)."
          },
          "retainOriginalDays": {
            "type": "integer",
            "format": "int32",
            "description": "Days the source audio is kept: 0 (default), 1, 7 or 30.",
            "enum": [
              "0",
              "1",
              "7",
              "30"
            ]
          },
          "retention": {
            "$ref": "#/components/schemas/RedactRetention"
          },
          "s3Uri": {
            "type": "string",
            "description": "s3://bucket/key in your bucket, read in place through sourceRoleArn."
          },
          "sourceRoleArn": {
            "type": "string",
            "description": "Your role Autessa assumes (see bucket-access)."
          },
          "tone": {
            "type": "boolean",
            "description": "Shorthand for audioRedaction TONE."
          },
          "tuning": {
            "type": "object",
            "additionalProperties": {},
            "description": "Processing settings: precision, neuralVad, enhance, secondAsr, maxClipSeconds, redactCardTail, mode (fast or thorough; default fast)."
          },
          "types": {
            "type": "array",
            "description": "Same as redact. Send either one; if both are sent they must list the same types.",
            "items": {
              "type": "string",
              "description": "What to redact. On by default: CARD_NUMBER, CARD_EXPIRY, CARD_CVV, SSN, BANK_ACCOUNT, ACCOUNT_NUMBER, DATE_OF_BIRTH, PHONE, EMAIL, ADDRESS, NAME. Off by default per company (turned on in settings): MRN, HEALTH_PLAN_ID, HEALTH_PLAN_GROUP, MEDICARE_MBI, MEDICAID_ID, RX_NUMBER, CLAIM_NUMBER, MEDICATION, MEDICAL_CONDITION, PROVIDER_NAME, DATE_OF_SERVICE, NATIONAL_ID_MX, NATIONAL_ID_ES, NATIONAL_ID_OTHER.",
              "enum": [
                "CARD_NUMBER",
                "CARD_EXPIRY",
                "CARD_CVV",
                "SSN",
                "BANK_ACCOUNT",
                "ACCOUNT_NUMBER",
                "DATE_OF_BIRTH",
                "PHONE",
                "EMAIL",
                "ADDRESS",
                "NAME",
                "MRN",
                "HEALTH_PLAN_ID",
                "HEALTH_PLAN_GROUP",
                "MEDICARE_MBI",
                "MEDICAID_ID",
                "RX_NUMBER",
                "CLAIM_NUMBER",
                "MEDICATION",
                "MEDICAL_CONDITION",
                "PROVIDER_NAME",
                "DATE_OF_SERVICE",
                "NATIONAL_ID_MX",
                "NATIONAL_ID_ES",
                "NATIONAL_ID_OTHER"
              ]
            }
          },
          "uploadId": {
            "type": "string",
            "description": "From POST /clients/call-redaction/uploads, once uploaded."
          },
          "vocabulary": {
            "$ref": "#/components/schemas/RedactVocabulary",
            "description": "Words the transcript should spell your way."
          },
          "waitSeconds": {
            "type": "integer",
            "format": "int32",
            "description": "How long to wait for the result (default 120).",
            "maximum": 120,
            "minimum": 1
          },
          "webhookUrl": {
            "type": "string",
            "format": "uri",
            "description": "https endpoint POSTed the result (signed like the evaluations webhooks)."
          }
        }
      },
      "RedactRetention": {
        "type": "object",
        "description": "Delete everything stored for the result this long after it finishes.",
        "properties": {
          "deleteAfterMinutes": {
            "type": "integer",
            "format": "int32",
            "maximum": 43200,
            "minimum": 5
          }
        }
      },
      "RedactRetryFailedResponse": {
        "type": "object",
        "properties": {
          "jobId": {
            "type": "string"
          },
          "retried": {
            "type": "integer",
            "format": "int32",
            "description": "FAILED items re-opened (in the background)."
          }
        }
      },
      "RedactReview": {
        "type": "object",
        "properties": {
          "addedRanges": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/RedactRange"
            }
          },
          "confidence": {
            "type": [
              "number",
              "string",
              "null"
            ]
          },
          "decision": {
            "type": [
              "string",
              "null"
            ],
            "description": "APPROVED or REDACTED_MORE."
          },
          "flags": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "needsReview": {
            "type": "boolean"
          },
          "note": {
            "type": [
              "string",
              "null"
            ]
          },
          "reviewError": {
            "type": "string"
          },
          "reviewStatus": {
            "type": [
              "string",
              "null"
            ]
          },
          "reviewedAt": {
            "type": [
              "string",
              "null"
            ]
          },
          "reviewedBy": {
            "type": [
              "string",
              "null"
            ]
          }
        }
      },
      "RedactReviewMedia": {
        "type": "object",
        "properties": {
          "expiresInSeconds": {
            "type": "integer",
            "format": "int32"
          },
          "item": {
            "$ref": "#/components/schemas/RedactItem"
          },
          "itemId": {
            "type": "string"
          },
          "redactedAudioUrl": {
            "type": "string"
          },
          "transcript": {
            "type": "object",
            "additionalProperties": {}
          }
        }
      },
      "RedactReviewRequest": {
        "type": "object",
        "properties": {
          "decision": {
            "type": "string",
            "enum": [
              "APPROVED",
              "REDACTED_MORE"
            ]
          },
          "note": {
            "type": "string"
          },
          "ranges": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/RedactRange"
            }
          }
        },
        "required": [
          "decision"
        ]
      },
      "RedactSpan": {
        "type": "object",
        "description": "One redacted span. Never carries the redacted value.",
        "properties": {
          "channel": {
            "type": [
              "integer",
              "null"
            ],
            "format": "int32"
          },
          "endMs": {
            "type": "integer",
            "format": "int32"
          },
          "startMs": {
            "type": "integer",
            "format": "int32"
          },
          "type": {
            "type": "string",
            "description": "A RedactionType, or MANUAL for a range a reviewer added."
          }
        }
      },
      "RedactSubmitJobRequest": {
        "type": "object",
        "description": "Exactly one source: items, manifestUrl/manifestUploadId, zipUploadId/zipS3Uri or s3Prefix.",
        "properties": {
          "audioRedaction": {
            "type": "string",
            "description": "Default SILENCE.",
            "enum": [
              "SILENCE",
              "TONE"
            ]
          },
          "fetchAuth": {
            "$ref": "#/components/schemas/RedactFetchAuth"
          },
          "items": {
            "type": "array",
            "description": "At most 1,000 recordings.",
            "items": {
              "$ref": "#/components/schemas/RedactJobItemSource"
            },
            "maxItems": 1000
          },
          "keep": {
            "type": "array",
            "description": "Values never to redact, such as your own phone numbers, address, website or email: each text, or {value, type}.",
            "items": {
              "oneOf": [
                {
                  "type": "string"
                },
                {
                  "$ref": "#/components/schemas/RedactKeepEntry"
                }
              ]
            },
            "maxItems": 200
          },
          "manifestUploadId": {
            "type": "string"
          },
          "manifestUrl": {
            "type": "string",
            "description": "https link to a JSONL manifest of {audioUrl, externalId} lines."
          },
          "output": {
            "$ref": "#/components/schemas/RedactOutput",
            "description": "Also deliver the redacted audio into your bucket (needs sourceRoleArn)."
          },
          "paymentSegment": {
            "type": "boolean",
            "description": "With card types, silence the whole payment stretch (default true)."
          },
          "redact": {
            "type": "array",
            "description": "Default: every type that is on for the company.",
            "items": {
              "type": "string",
              "description": "What to redact. On by default: CARD_NUMBER, CARD_EXPIRY, CARD_CVV, SSN, BANK_ACCOUNT, ACCOUNT_NUMBER, DATE_OF_BIRTH, PHONE, EMAIL, ADDRESS, NAME. Off by default per company (turned on in settings): MRN, HEALTH_PLAN_ID, HEALTH_PLAN_GROUP, MEDICARE_MBI, MEDICAID_ID, RX_NUMBER, CLAIM_NUMBER, MEDICATION, MEDICAL_CONDITION, PROVIDER_NAME, DATE_OF_SERVICE, NATIONAL_ID_MX, NATIONAL_ID_ES, NATIONAL_ID_OTHER.",
              "enum": [
                "CARD_NUMBER",
                "CARD_EXPIRY",
                "CARD_CVV",
                "SSN",
                "BANK_ACCOUNT",
                "ACCOUNT_NUMBER",
                "DATE_OF_BIRTH",
                "PHONE",
                "EMAIL",
                "ADDRESS",
                "NAME",
                "MRN",
                "HEALTH_PLAN_ID",
                "HEALTH_PLAN_GROUP",
                "MEDICARE_MBI",
                "MEDICAID_ID",
                "RX_NUMBER",
                "CLAIM_NUMBER",
                "MEDICATION",
                "MEDICAL_CONDITION",
                "PROVIDER_NAME",
                "DATE_OF_SERVICE",
                "NATIONAL_ID_MX",
                "NATIONAL_ID_ES",
                "NATIONAL_ID_OTHER"
              ]
            }
          },
          "redactAllChannels": {
            "type": "boolean",
            "description": "Silence each span on both channels of a dual-channel call (default false)."
          },
          "retainOriginalDays": {
            "type": "integer",
            "format": "int32",
            "description": "Days the source audio is kept: 0 (default), 1, 7 or 30.",
            "enum": [
              "0",
              "1",
              "7",
              "30"
            ]
          },
          "retention": {
            "$ref": "#/components/schemas/RedactRetention"
          },
          "s3Prefix": {
            "type": "string"
          },
          "sourceRoleArn": {
            "type": "string"
          },
          "tuning": {
            "type": "object",
            "additionalProperties": {},
            "description": "Processing settings: precision, neuralVad, enhance, secondAsr, maxClipSeconds, redactCardTail, mode (fast or thorough; default fast)."
          },
          "types": {
            "type": "array",
            "description": "Same as redact. Send either one; if both are sent they must list the same types.",
            "items": {
              "type": "string",
              "description": "What to redact. On by default: CARD_NUMBER, CARD_EXPIRY, CARD_CVV, SSN, BANK_ACCOUNT, ACCOUNT_NUMBER, DATE_OF_BIRTH, PHONE, EMAIL, ADDRESS, NAME. Off by default per company (turned on in settings): MRN, HEALTH_PLAN_ID, HEALTH_PLAN_GROUP, MEDICARE_MBI, MEDICAID_ID, RX_NUMBER, CLAIM_NUMBER, MEDICATION, MEDICAL_CONDITION, PROVIDER_NAME, DATE_OF_SERVICE, NATIONAL_ID_MX, NATIONAL_ID_ES, NATIONAL_ID_OTHER.",
              "enum": [
                "CARD_NUMBER",
                "CARD_EXPIRY",
                "CARD_CVV",
                "SSN",
                "BANK_ACCOUNT",
                "ACCOUNT_NUMBER",
                "DATE_OF_BIRTH",
                "PHONE",
                "EMAIL",
                "ADDRESS",
                "NAME",
                "MRN",
                "HEALTH_PLAN_ID",
                "HEALTH_PLAN_GROUP",
                "MEDICARE_MBI",
                "MEDICAID_ID",
                "RX_NUMBER",
                "CLAIM_NUMBER",
                "MEDICATION",
                "MEDICAL_CONDITION",
                "PROVIDER_NAME",
                "DATE_OF_SERVICE",
                "NATIONAL_ID_MX",
                "NATIONAL_ID_ES",
                "NATIONAL_ID_OTHER"
              ]
            }
          },
          "vocabulary": {
            "$ref": "#/components/schemas/RedactVocabulary",
            "description": "Words the transcript should spell your way."
          },
          "webhookPerItem": {
            "type": "boolean",
            "description": "POST webhookUrl once per recording instead of once per job."
          },
          "webhookUrl": {
            "type": "string",
            "format": "uri",
            "description": "https endpoint POSTed the result (signed like the evaluations webhooks)."
          },
          "zipS3Uri": {
            "type": "string"
          },
          "zipUploadId": {
            "type": "string"
          }
        }
      },
      "RedactSubmitJobResponse": {
        "type": "object",
        "properties": {
          "itemCount": {
            "type": "integer",
            "format": "int32"
          },
          "items": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/RedactItem"
            }
          },
          "jobId": {
            "type": "string"
          },
          "manifest": {
            "$ref": "#/components/schemas/RedactJobManifest"
          }
        }
      },
      "RedactUploadFile": {
        "type": "object",
        "properties": {
          "externalId": {
            "type": "string"
          },
          "filename": {
            "type": "string"
          }
        }
      },
      "RedactUploadLink": {
        "type": "object",
        "properties": {
          "externalId": {
            "type": "string"
          },
          "uploadHeaders": {
            "type": "object",
            "additionalProperties": {
              "type": "string"
            }
          },
          "uploadId": {
            "type": "string"
          },
          "uploadUrl": {
            "type": "string"
          }
        }
      },
      "RedactUploadsRequest": {
        "type": "object",
        "properties": {
          "files": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/RedactUploadFile"
            }
          },
          "uploadId": {
            "type": "string",
            "description": "Renew the link of this upload instead."
          }
        }
      },
      "RedactUploadsResponse": {
        "type": "object",
        "properties": {
          "expiresInSeconds": {
            "type": "integer",
            "format": "int32"
          },
          "maxBytes": {
            "type": "integer",
            "format": "int64"
          },
          "uploadMethod": {
            "type": "string",
            "enum": [
              "PUT"
            ]
          },
          "uploads": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/RedactUploadLink"
            }
          }
        }
      },
      "RedactVocabulary": {
        "type": "object",
        "description": "Words the transcript should spell your way.",
        "properties": {
          "replacements": {
            "type": "object",
            "additionalProperties": {
              "type": "string"
            },
            "description": "A misheard word or phrase to its correct form."
          },
          "terms": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "maxItems": 200
          }
        }
      },
      "RedactionEvidence": {
        "type": "object",
        "description": "Signed redaction evidence: what was redacted by type and time span (never a value), the second-pass verification, model and rule versions and timestamps. Not an AutessaResponse envelope.",
        "properties": {
          "evidenceVersion": {
            "type": "integer",
            "format": "int32"
          },
          "externalId": {
            "type": [
              "string",
              "null"
            ]
          },
          "generatedAt": {
            "type": "string"
          },
          "itemId": {
            "type": "string"
          },
          "jobId": {
            "type": "string"
          },
          "kind": {
            "type": "string"
          },
          "reason": {
            "type": "string",
            "description": "Why the evidence is UNAVAILABLE or FAILED."
          },
          "recording": {
            "type": "object",
            "additionalProperties": {}
          },
          "redactionVersions": {
            "type": "object",
            "additionalProperties": {}
          },
          "redactions": {
            "type": "array",
            "items": {
              "type": "object",
              "additionalProperties": {}
            }
          },
          "redactionsByType": {
            "type": "object",
            "additionalProperties": {}
          },
          "review": {
            "type": "object",
            "additionalProperties": {}
          },
          "signature": {
            "$ref": "#/components/schemas/EvidenceSignature"
          },
          "status": {
            "type": "string",
            "enum": [
              "VERIFYING",
              "READY",
              "UNAVAILABLE",
              "FAILED"
            ]
          },
          "typesRequested": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "verification": {
            "type": "object",
            "additionalProperties": {},
            "description": "The second pass: the redacted audio transcribed again, digits still heard per span."
          },
          "verificationVersions": {
            "type": "object",
            "additionalProperties": {}
          }
        }
      },
      "RegenerateBatchRequest": {
        "type": "object",
        "properties": {
          "batchId": {
            "type": "string"
          },
          "jobId": {
            "type": "string"
          }
        }
      },
      "RenameRequest": {
        "type": "object",
        "properties": {
          "newName": {
            "type": "string"
          },
          "nodeId": {
            "type": "integer",
            "format": "int64"
          },
          "tableId": {
            "type": "string",
            "description": "ID id."
          }
        }
      },
      "RestoreResponse": {
        "type": "object",
        "properties": {
          "deprecationWarnings": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "errors": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "exception": {
            "$ref": "#/components/schemas/AutessaResponse",
            "writeOnly": true
          },
          "restored": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/DriveNodeView"
            }
          },
          "sessionToken": {
            "type": "string"
          }
        }
      },
      "RollbackRequest": {
        "type": "object",
        "properties": {
          "stage": {
            "type": "string"
          },
          "toDeploymentId": {
            "type": "string",
            "description": "Deployment to go back to; default = the last successful one before the current"
          }
        },
        "required": [
          "stage"
        ]
      },
      "RowUpdate": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int64"
          },
          "values": {
            "type": "object",
            "additionalProperties": {
              "$ref": "#/components/schemas/AutessaDbColumnValue"
            }
          }
        }
      },
      "RuleConditionDto": {
        "type": "object",
        "properties": {
          "field": {
            "type": "string"
          },
          "op": {
            "type": "string"
          },
          "value": {}
        }
      },
      "RuleDto": {
        "type": "object",
        "properties": {
          "action": {
            "type": "string"
          },
          "conditions": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/RuleConditionDto"
            }
          },
          "enabled": {
            "type": "boolean"
          },
          "id": {
            "type": "string"
          },
          "match": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "note": {
            "type": "string"
          },
          "phases": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "stop": {
            "type": "boolean"
          },
          "suppress": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "type": {
            "type": "string"
          }
        }
      },
      "RuleRow": {
        "type": "object",
        "properties": {
          "hits": {
            "type": "integer",
            "format": "int64"
          },
          "ruleId": {
            "type": "string"
          },
          "ruleName": {
            "type": "string"
          }
        }
      },
      "RunDto": {
        "type": "object",
        "properties": {
          "commitSha": {
            "type": "string"
          },
          "error": {
            "type": "string"
          },
          "evalScore": {
            "type": "string"
          },
          "finishedAt": {
            "type": "string"
          },
          "id": {
            "type": "string"
          },
          "manifestHash": {
            "type": "string"
          },
          "pipelineId": {
            "type": "string"
          },
          "ref": {
            "type": "string"
          },
          "source": {
            "type": "string",
            "enum": [
              "UPLOAD",
              "REF",
              "GITHUB_PUSH"
            ]
          },
          "stages": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/RunStageDto"
            }
          },
          "startedAt": {
            "type": "string"
          },
          "status": {
            "type": "string",
            "description": "QUEUED, RUNNING, WAITING, SUCCEEDED, FAILED, ROLLED_BACK"
          },
          "triggeredBy": {
            "type": "string"
          }
        }
      },
      "RunListResponse": {
        "type": "object",
        "properties": {
          "deprecationWarnings": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "errors": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "exception": {
            "$ref": "#/components/schemas/AutessaResponse",
            "writeOnly": true
          },
          "items": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/RunDto"
            }
          },
          "nextCursor": {
            "type": "string",
            "description": "Pass as cursor for the next page; absent or null on the last page."
          },
          "sessionToken": {
            "type": "string"
          }
        }
      },
      "RunRefRequest": {
        "type": "object",
        "properties": {
          "ref": {
            "type": "string",
            "description": "Git ref (branch, tag or commit) to fetch from the pipeline's repo"
          }
        },
        "required": [
          "ref"
        ]
      },
      "RunResponse": {
        "type": "object",
        "properties": {
          "deprecationWarnings": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "errors": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "exception": {
            "$ref": "#/components/schemas/AutessaResponse",
            "writeOnly": true
          },
          "run": {
            "$ref": "#/components/schemas/RunDto"
          },
          "sessionToken": {
            "type": "string"
          }
        }
      },
      "RunStageDto": {
        "type": "object",
        "properties": {
          "approvedBy": {
            "type": "string"
          },
          "canApprove": {
            "type": "boolean"
          },
          "canRollback": {
            "type": "boolean"
          },
          "deploymentId": {
            "type": "string"
          },
          "diff": {
            "type": "object",
            "description": "The stage's deploy preview, same shape as POST /clients/deploy/preview"
          },
          "error": {
            "type": "string"
          },
          "finishedAt": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "position": {
            "type": "integer",
            "format": "int32"
          },
          "startedAt": {
            "type": "string"
          },
          "status": {
            "type": "string",
            "description": "PENDING, DIFFING, WAITING_APPROVAL, APPROVED, DEPLOYING, SUCCEEDED, FAILED, ROLLING_BACK, ROLLED_BACK"
          },
          "steps": {
            "type": "object",
            "description": "synth, diff, deploy (and rollback): {status, at, ...}"
          }
        }
      },
      "SchemaResponse": {
        "type": "object",
        "properties": {
          "deprecationWarnings": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "errors": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "exception": {
            "$ref": "#/components/schemas/AutessaResponse",
            "writeOnly": true
          },
          "schema": {
            "type": "object"
          },
          "sessionToken": {
            "type": "string"
          }
        }
      },
      "ScorecardRow": {
        "type": "object",
        "properties": {
          "attempts": {
            "type": "integer",
            "format": "int32"
          },
          "available": {
            "type": "boolean"
          },
          "blocked": {
            "type": "integer",
            "format": "int32"
          },
          "category": {
            "type": "string"
          },
          "flagged": {
            "type": "integer",
            "format": "int32"
          },
          "languages": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/LanguageRow"
            }
          },
          "note": {
            "type": "string"
          },
          "passed": {
            "type": "integer",
            "format": "int32"
          }
        }
      },
      "SearchHit": {
        "type": "object",
        "properties": {
          "lineEnd": {
            "type": "integer",
            "format": "int32"
          },
          "lineStart": {
            "type": "integer",
            "format": "int32"
          },
          "nodeId": {
            "type": "string"
          },
          "page": {
            "type": "integer",
            "format": "int32"
          },
          "path": {
            "type": "string"
          },
          "score": {
            "type": "number",
            "format": "double"
          },
          "snippet": {
            "type": "string"
          },
          "source": {
            "type": "string"
          }
        }
      },
      "SearchMetadata": {
        "type": "object",
        "properties": {
          "columnName": {
            "type": "string"
          },
          "columnType": {
            "type": "string"
          },
          "executionTimeMs": {
            "type": "integer",
            "format": "int64"
          },
          "query": {
            "type": "string"
          },
          "searchStrategy": {
            "type": "string"
          },
          "targetEmbeddingTypes": {
            "type": "array",
            "items": {
              "type": "string"
            }
          }
        }
      },
      "SearchRequest": {
        "type": "object",
        "properties": {
          "glob": {
            "type": "string"
          },
          "mode": {
            "type": "string"
          },
          "path": {
            "type": "string"
          },
          "query": {
            "type": "string"
          },
          "tableId": {
            "type": "string",
            "description": "ID id."
          },
          "topK": {
            "type": "integer",
            "format": "int32"
          }
        },
        "required": [
          "tableId",
          "query"
        ]
      },
      "SearchResponse": {
        "type": "object",
        "properties": {
          "deprecationWarnings": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "errors": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "exception": {
            "$ref": "#/components/schemas/AutessaResponse",
            "writeOnly": true
          },
          "results": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/SearchHit"
            }
          },
          "sessionToken": {
            "type": "string"
          },
          "stats": {
            "type": "object",
            "additionalProperties": {}
          }
        }
      },
      "SearchResult": {
        "type": "object",
        "properties": {
          "columnMetadata": {
            "$ref": "#/components/schemas/RecordColumnMetadata"
          },
          "contentHash": {
            "type": "string"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "details": {
            "$ref": "#/components/schemas/MatchDetails"
          },
          "rank": {
            "type": "integer",
            "format": "int32"
          },
          "recordId": {
            "type": "integer",
            "format": "int64"
          },
          "rowData": {
            "type": "object",
            "additionalProperties": {
              "$ref": "#/components/schemas/AutessaDbColumnValue"
            }
          },
          "score": {
            "type": "number",
            "format": "float"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time"
          }
        }
      },
      "SearchTableRequest": {
        "type": "object",
        "properties": {
          "columnName": {
            "type": "string",
            "description": "The column to search."
          },
          "conversationId": {
            "type": "string"
          },
          "effectiveLimit": {
            "type": "integer",
            "format": "int32"
          },
          "effectivePage": {
            "type": "integer",
            "format": "int32"
          },
          "effectiveScoreThreshold": {
            "type": "number",
            "format": "float"
          },
          "includeDetails": {
            "type": "boolean"
          },
          "limit": {
            "type": "integer",
            "format": "int32"
          },
          "page": {
            "type": "integer",
            "format": "int32"
          },
          "query": {
            "type": "string"
          },
          "scoreThreshold": {
            "type": "number",
            "format": "float"
          },
          "tableId": {
            "type": "string",
            "description": "ID id."
          }
        },
        "required": [
          "tableId",
          "query",
          "columnName"
        ]
      },
      "SearchTableResponse": {
        "type": "object",
        "properties": {
          "currentPage": {
            "type": "integer",
            "format": "int32"
          },
          "deprecationWarnings": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "errors": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "exception": {
            "$ref": "#/components/schemas/AutessaResponse",
            "writeOnly": true
          },
          "metadata": {
            "$ref": "#/components/schemas/SearchMetadata"
          },
          "results": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/SearchResult"
            }
          },
          "schema": {
            "$ref": "#/components/schemas/AutessaDbSchema"
          },
          "sessionToken": {
            "type": "string"
          },
          "totalPages": {
            "type": "integer",
            "format": "int32"
          },
          "totalResults": {
            "type": "integer",
            "format": "int32"
          }
        }
      },
      "SelectColumnDto": {
        "type": "object",
        "properties": {
          "columnName": {
            "type": "string"
          },
          "tableId": {
            "type": "string",
            "description": "ID id."
          }
        }
      },
      "SeriesPoint": {
        "type": "object",
        "properties": {
          "allowed": {
            "type": "integer",
            "format": "int64"
          },
          "approvalRequired": {
            "type": "integer",
            "format": "int64"
          },
          "blocked": {
            "type": "integer",
            "format": "int64"
          },
          "challenged": {
            "type": "integer",
            "format": "int64"
          },
          "flagged": {
            "type": "integer",
            "format": "int64"
          },
          "t": {
            "type": "string"
          }
        }
      },
      "SettingsResponse": {
        "type": "object",
        "properties": {
          "deprecationWarnings": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "driveAdmins": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/PersonRef"
            }
          },
          "editorsCanShare": {
            "type": "boolean"
          },
          "errors": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "exception": {
            "$ref": "#/components/schemas/AutessaResponse",
            "writeOnly": true
          },
          "linksEnabled": {
            "type": "boolean"
          },
          "maxVersionsRetained": {
            "type": "integer",
            "format": "int32"
          },
          "ocrLanguage": {
            "type": "string"
          },
          "publicLinksEnabled": {
            "type": "boolean"
          },
          "semanticSearch": {
            "type": "boolean"
          },
          "sessionToken": {
            "type": "string"
          },
          "trashRetentionDays": {
            "type": "integer",
            "format": "int32"
          }
        }
      },
      "SettingsUpdateRequest": {
        "type": "object",
        "properties": {
          "driveAdminUserIds": {
            "type": "array",
            "items": {
              "type": "string",
              "description": "ID id."
            }
          },
          "editorsCanShare": {
            "type": "boolean"
          },
          "linksEnabled": {
            "type": "boolean"
          },
          "ocrLanguage": {
            "type": "string"
          },
          "publicLinksEnabled": {
            "type": "boolean"
          },
          "semanticSearch": {
            "type": "boolean"
          },
          "tableId": {
            "type": "string",
            "description": "ID id."
          }
        }
      },
      "SharedItem": {
        "type": "object",
        "properties": {
          "createdAt": {
            "type": "string"
          },
          "grantedBy": {
            "$ref": "#/components/schemas/PersonRef"
          },
          "node": {
            "$ref": "#/components/schemas/DriveNodeView"
          },
          "role": {
            "type": "string"
          }
        }
      },
      "SharedWithMeResponse": {
        "type": "object",
        "properties": {
          "deprecationWarnings": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "errors": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "exception": {
            "$ref": "#/components/schemas/AutessaResponse",
            "writeOnly": true
          },
          "hasMore": {
            "type": "boolean"
          },
          "items": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/SharedItem"
            }
          },
          "nextCursor": {
            "type": "string"
          },
          "sessionToken": {
            "type": "string"
          }
        }
      },
      "SharesListResponse": {
        "type": "object",
        "properties": {
          "deprecationWarnings": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "errors": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "exception": {
            "$ref": "#/components/schemas/AutessaResponse",
            "writeOnly": true
          },
          "grants": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/GrantView"
            }
          },
          "links": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/LinkView"
            }
          },
          "managers": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/PersonRef"
            }
          },
          "members": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/GrantView"
            }
          },
          "owner": {
            "$ref": "#/components/schemas/PersonRef"
          },
          "sessionToken": {
            "type": "string"
          }
        }
      },
      "SharesRemoveRequest": {
        "type": "object",
        "properties": {
          "grantId": {
            "type": "string"
          },
          "tableId": {
            "type": "string",
            "description": "ID id."
          }
        }
      },
      "SharesUpsertRequest": {
        "type": "object",
        "properties": {
          "expiresAt": {
            "type": "string"
          },
          "nodeId": {
            "type": "integer",
            "format": "int64"
          },
          "path": {
            "type": "string"
          },
          "principals": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/PrincipalInput"
            }
          },
          "role": {
            "type": "string"
          },
          "scope": {
            "type": "string"
          },
          "tableId": {
            "type": "string",
            "description": "ID id."
          }
        }
      },
      "SharesUpsertResponse": {
        "type": "object",
        "properties": {
          "deprecationWarnings": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "errors": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "exception": {
            "$ref": "#/components/schemas/AutessaResponse",
            "writeOnly": true
          },
          "grants": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/GrantView"
            }
          },
          "sessionToken": {
            "type": "string"
          }
        }
      },
      "SimulationRequest": {
        "type": "object",
        "properties": {
          "agentId": {
            "type": "string",
            "description": "ID id."
          },
          "categories": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "description": "Omitted = all."
          },
          "languages": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "multiTurn": {
            "type": "boolean"
          },
          "policyName": {
            "type": "string",
            "description": "Or against a named API policy. Neither = the company default policy."
          },
          "target": {
            "$ref": "#/components/schemas/SimulationTargetRequest",
            "description": "Planned: attack your own agent's endpoint instead of an Autessa agent or policy."
          }
        }
      },
      "SimulationResponse": {
        "type": "object",
        "properties": {
          "agentId": {
            "type": "string",
            "description": "ID id."
          },
          "attempts": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/AttemptDto"
            }
          },
          "categories": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "completedAt": {
            "type": "string"
          },
          "createdAt": {
            "type": "string"
          },
          "deprecationWarnings": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "errorMessage": {
            "type": "string",
            "description": "Why the run failed (FAILED only)."
          },
          "errors": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "exception": {
            "$ref": "#/components/schemas/AutessaResponse",
            "writeOnly": true
          },
          "languages": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "multiTurn": {
            "type": "boolean"
          },
          "policyName": {
            "type": "string"
          },
          "scorecard": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ScorecardRow"
            }
          },
          "sessionToken": {
            "type": "string"
          },
          "simulationId": {
            "type": "string"
          },
          "status": {
            "type": "string"
          },
          "target": {
            "$ref": "#/components/schemas/SimulationTargetDto"
          }
        }
      },
      "SimulationStartResponse": {
        "type": "object",
        "properties": {
          "deprecationWarnings": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "errors": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "exception": {
            "$ref": "#/components/schemas/AutessaResponse",
            "writeOnly": true
          },
          "sessionToken": {
            "type": "string"
          },
          "simulationId": {
            "type": "string"
          }
        }
      },
      "SimulationTargetDto": {
        "type": "object",
        "properties": {
          "kind": {
            "type": "string"
          },
          "url": {
            "type": "string"
          }
        }
      },
      "SimulationTargetRequest": {
        "type": "object",
        "properties": {
          "headers": {
            "type": "object",
            "additionalProperties": {
              "type": "string"
            }
          },
          "method": {
            "type": "string"
          },
          "multiTurn": {
            "type": "boolean"
          },
          "requestTemplate": {
            "type": "object"
          },
          "responsePath": {
            "type": "string"
          },
          "url": {
            "type": "string"
          }
        }
      },
      "SocialEngineeringDto": {
        "type": "object",
        "properties": {
          "action": {
            "type": "string"
          },
          "enabled": {
            "type": "boolean"
          },
          "failMode": {
            "type": "string"
          }
        }
      },
      "SortField": {
        "type": "object",
        "properties": {
          "column": {
            "type": "string"
          },
          "direction": {
            "type": "string",
            "enum": [
              "ASC",
              "DESC"
            ]
          },
          "nullOrder": {
            "type": "string",
            "enum": [
              "NULLS_FIRST",
              "NULLS_LAST"
            ]
          }
        }
      },
      "StageActionRequest": {
        "type": "object",
        "properties": {
          "stageName": {
            "type": "string"
          }
        }
      },
      "StatResponse": {
        "type": "object",
        "properties": {
          "childCount": {
            "type": "integer",
            "format": "int64"
          },
          "commentCount": {
            "type": "integer",
            "format": "int64"
          },
          "contentUpdatedAt": {
            "type": "string"
          },
          "createdAt": {
            "type": "string"
          },
          "customColumns": {
            "type": "object"
          },
          "deprecationWarnings": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "depth": {
            "type": "integer",
            "format": "int32"
          },
          "effectiveRole": {
            "type": "string"
          },
          "errors": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "exception": {
            "$ref": "#/components/schemas/AutessaResponse",
            "writeOnly": true
          },
          "extraction": {
            "$ref": "#/components/schemas/ExtractionView"
          },
          "extractionStatus": {
            "type": "string"
          },
          "mimeType": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "nodeId": {
            "type": "string"
          },
          "nodeType": {
            "type": "string"
          },
          "openCommentCount": {
            "type": "integer",
            "format": "int64"
          },
          "ownerName": {
            "type": "string"
          },
          "ownerUserId": {
            "type": "string",
            "description": "ID id."
          },
          "parentId": {
            "type": "string"
          },
          "path": {
            "type": "string"
          },
          "sessionToken": {
            "type": "string"
          },
          "sha256": {
            "type": "string"
          },
          "shared": {
            "type": "boolean"
          },
          "sizeBytes": {
            "type": "integer",
            "format": "int64"
          },
          "trashedAt": {
            "type": "string"
          },
          "updatedAt": {
            "type": "string"
          },
          "version": {
            "type": "integer",
            "format": "int32"
          },
          "versionsCount": {
            "type": "integer",
            "format": "int64"
          }
        }
      },
      "StatusResponse": {
        "type": "object",
        "properties": {
          "deprecationWarnings": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "errors": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "exception": {
            "$ref": "#/components/schemas/AutessaResponse",
            "writeOnly": true
          },
          "extraction": {
            "type": "object",
            "additionalProperties": {
              "type": "integer",
              "format": "int64"
            }
          },
          "files": {
            "type": "integer",
            "format": "int64"
          },
          "folders": {
            "type": "integer",
            "format": "int64"
          },
          "index": {
            "type": "object",
            "additionalProperties": {
              "type": "integer",
              "format": "int64"
            }
          },
          "sessionToken": {
            "type": "string"
          }
        }
      },
      "Submatch": {
        "type": "object",
        "properties": {
          "end": {
            "type": "integer",
            "format": "int32"
          },
          "start": {
            "type": "integer",
            "format": "int32"
          }
        }
      },
      "SyntheticDataBatchSnapshotDto": {
        "type": "object",
        "properties": {
          "batchId": {
            "type": "string"
          },
          "batchIndex": {
            "type": "integer",
            "format": "int32"
          },
          "completedAt": {
            "type": "string",
            "format": "date-time"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "error": {
            "type": "string"
          },
          "hasStagedRows": {
            "type": "boolean"
          },
          "rejectedRowCount": {
            "type": "integer",
            "format": "int32"
          },
          "rowCount": {
            "type": "integer",
            "format": "int32"
          },
          "status": {
            "type": "string"
          }
        }
      },
      "SyntheticDataJobStatusResponse": {
        "type": "object",
        "properties": {
          "deprecationWarnings": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "errors": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "exception": {
            "$ref": "#/components/schemas/AutessaResponse",
            "writeOnly": true
          },
          "job": {
            "$ref": "#/components/schemas/SyntheticDataJobSummaryDto"
          },
          "sessionToken": {
            "type": "string"
          }
        }
      },
      "SyntheticDataJobSummaryDto": {
        "type": "object",
        "properties": {
          "activeWorkers": {
            "type": "integer",
            "format": "int32"
          },
          "batches": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/SyntheticDataBatchSnapshotDto"
            }
          },
          "cancelRequested": {
            "type": "boolean"
          },
          "completedAt": {
            "type": "string",
            "format": "date-time"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "description": {
            "type": "string"
          },
          "error": {
            "type": "string"
          },
          "fileFormat": {
            "type": "string"
          },
          "generatedRowCount": {
            "type": "integer",
            "format": "int32"
          },
          "generationStopped": {
            "type": "boolean"
          },
          "insertedRowCount": {
            "type": "integer",
            "format": "int32"
          },
          "jobId": {
            "type": "string"
          },
          "lastProgressAt": {
            "type": "string",
            "format": "date-time"
          },
          "name": {
            "type": "string"
          },
          "progressPct": {
            "type": "integer",
            "format": "int32"
          },
          "requestedRowCount": {
            "type": "integer",
            "format": "int32"
          },
          "resumeCount": {
            "type": "integer",
            "format": "int32"
          },
          "stalled": {
            "type": "boolean"
          },
          "status": {
            "type": "string"
          },
          "targetTableId": {
            "type": "string",
            "description": "ID id."
          },
          "targetType": {
            "type": "string"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time"
          },
          "writeMode": {
            "type": "string"
          }
        }
      },
      "TableOnlyRequest": {
        "type": "object",
        "properties": {
          "cursor": {
            "type": "string"
          },
          "limit": {
            "type": "integer",
            "format": "int32"
          },
          "tableId": {
            "type": "string",
            "description": "ID id."
          }
        }
      },
      "TableRowDto": {
        "type": "object",
        "properties": {
          "columnData": {
            "type": "object",
            "additionalProperties": {
              "$ref": "#/components/schemas/AutessaDbColumnValue"
            }
          },
          "columnMetadata": {
            "$ref": "#/components/schemas/RecordColumnMetadata"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "id": {
            "type": "integer",
            "format": "int64"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time"
          }
        }
      },
      "TaskCompletenessScore": {
        "type": "object",
        "properties": {
          "justification": {
            "type": "string"
          },
          "rating": {
            "type": "string",
            "enum": [
              "COMPLETE",
              "PARTIAL",
              "INCOMPLETE"
            ]
          }
        }
      },
      "TextConfiguration": {
        "type": "object",
        "properties": {
          "maxLength": {
            "type": "integer",
            "format": "int32"
          },
          "minLength": {
            "type": "integer",
            "format": "int32"
          }
        }
      },
      "TimingsDto": {
        "type": "object",
        "properties": {
          "layers": {
            "type": "object",
            "additionalProperties": {
              "type": "number",
              "format": "double"
            }
          },
          "total": {
            "type": "number",
            "format": "double"
          }
        }
      },
      "ToolConfig": {
        "type": "object",
        "properties": {
          "toolType": {
            "type": "string",
            "enum": [
              "AUTESSA_SCRIPT",
              "API_CALL",
              "LLM_CALL",
              "SEND_EMAIL",
              "SEND_EMAIL_FANOUT",
              "MAKE_PHONE_CALL",
              "SEND_SMS",
              "SMS_RECORD_CONSENT",
              "SCHEDULE_EVENT",
              "SLACK_SEND_MESSAGE",
              "SLACK_READ_CHANNEL",
              "AUTESSADB_INSERT",
              "AUTESSADB_UPDATE",
              "AUTESSADB_DELETE",
              "AUTESSADB_BULK_INSERT",
              "AUTESSADB_BULK_UPDATE",
              "AUTESSADB_BULK_DELETE",
              "AUTESSADB_AGGREGATE",
              "AUTESSADB_DRIVE",
              "EXTRACT_AUDIO",
              "ANALYTICS_DESCRIBE",
              "ANALYTICS_QUERY",
              "ANALYTICS_GET_RESULT",
              "TRANSCRIBE",
              "AUTESSADB_SEMANTIC_QUERY",
              "AUTESSADB_QUERY_TABLE",
              "MCP",
              "GOOGLE_CALENDAR_CREATE_EVENT",
              "GOOGLE_CALENDAR_LIST_EVENTS",
              "GOOGLE_CALENDAR_UPDATE_EVENT",
              "GOOGLE_CALENDAR_DELETE_EVENT",
              "GMAIL_LIST_UNREAD",
              "GMAIL_MARK_AS_READ",
              "GMAIL_MOVE_TO_LABEL",
              "GMAIL_CREATE_DRAFT_REPLY",
              "GMAIL_CREATE_DRAFT",
              "GMAIL_SEND_DRAFT",
              "GMAIL_SEND_EMAIL",
              "GMAIL_GET_MESSAGE_BY_ID",
              "GMAIL_GET_ATTACHMENT_CONTENT",
              "GMAIL_GET_ATTACHMENT_DOWNLOAD_LINK",
              "GMAIL_SEARCH_MESSAGES",
              "OUTLOOK_LIST_UNREAD",
              "OUTLOOK_MARK_AS_READ",
              "OUTLOOK_MOVE_TO_FOLDER",
              "OUTLOOK_CREATE_DRAFT_REPLY",
              "OUTLOOK_CREATE_DRAFT",
              "OUTLOOK_SEND_DRAFT",
              "OUTLOOK_SEND_EMAIL",
              "OUTLOOK_GET_MESSAGE_BY_ID",
              "OUTLOOK_GET_ATTACHMENT_CONTENT",
              "OUTLOOK_GET_ATTACHMENT_DOWNLOAD_LINK",
              "OUTLOOK_SEARCH_MESSAGES",
              "OUTLOOK_CALENDAR_CREATE_EVENT",
              "OUTLOOK_CALENDAR_LIST_EVENTS",
              "OUTLOOK_CALENDAR_UPDATE_EVENT",
              "OUTLOOK_CALENDAR_DELETE_EVENT",
              "BOX_LIST_FILES",
              "BOX_SEARCH_FILES",
              "BOX_DOWNLOAD_FILE",
              "MANAGER_SIGNAL",
              "GET_FILE_CONTENT",
              "GET_FILE_CONTENT_FROM_TABLE",
              "AUTESSADB_GENERAL_SEARCH",
              "MCP_RESOURCE",
              "MCP_PROMPT",
              "PERPLEXITY_SEARCH",
              "LINKEDIN_PUBLISH_POST",
              "LINKEDIN_CREATE_DRAFT",
              "LINKEDIN_UPDATE_POST",
              "LINKEDIN_LIST_DRAFTS",
              "LINKEDIN_LIST_PUBLISHED",
              "GHOST_GET_POSTS",
              "GHOST_GET_POST",
              "GHOST_CREATE_POST",
              "GHOST_UPDATE_POST",
              "GHOST_PUBLISH_POST",
              "GHOST_SCHEDULE_POST",
              "GHOST_GET_POST_ANALYTICS",
              "GHOST_GET_TOP_POSTS",
              "STOCK_IMAGE_GENERATOR",
              "STOCK_VIDEO_GENERATOR",
              "LIVE_SEARCH_ENGINE",
              "SCRAPE_URL",
              "SERVER_BROWSER",
              "CONNECTED_SERVICE",
              "AUTESSA_CLI",
              "TWITTER_CREATE_DRAFT",
              "TWITTER_UPDATE_DRAFT",
              "TWITTER_PUBLISH_TWEET",
              "TWITTER_GET_TWEET_STATS",
              "TWITTER_GET_ALL_TWEETS",
              "TWITTER_GET_TWEET_BY_ID",
              "BLUESKY_CREATE_DRAFT",
              "BLUESKY_UPDATE_DRAFT",
              "BLUESKY_PUBLISH_POST",
              "BLUESKY_GET_POST_STATS",
              "BLUESKY_GET_ALL_POSTS",
              "BLUESKY_GET_POST_BY_ID",
              "FACEBOOK_CREATE_DRAFT_POST",
              "FACEBOOK_UPDATE_DRAFT_POST",
              "FACEBOOK_PUBLISH_POST",
              "FACEBOOK_GET_POST_STATS",
              "FACEBOOK_GET_ALL_POSTS",
              "FACEBOOK_GET_POST_BY_ID",
              "FACEBOOK_GET_PAGE_INSIGHTS",
              "FACEBOOK_LIST_AD_ACCOUNTS",
              "FACEBOOK_LIST_CAMPAIGNS",
              "FACEBOOK_GET_ADS_INSIGHTS",
              "INSTAGRAM_CREATE_DRAFT",
              "INSTAGRAM_UPDATE_DRAFT",
              "INSTAGRAM_PUBLISH_POST",
              "INSTAGRAM_GET_POST_STATS",
              "INSTAGRAM_GET_ALL_POSTS",
              "INSTAGRAM_GET_POST_BY_ID",
              "MAILCHIMP_CREATE_CAMPAIGN",
              "MAILCHIMP_SET_CAMPAIGN_CONTENT",
              "MAILCHIMP_SEND_CAMPAIGN",
              "MAILCHIMP_SCHEDULE_CAMPAIGN",
              "MAILCHIMP_GET_CAMPAIGNS",
              "MAILCHIMP_GET_CAMPAIGN_REPORT",
              "MAILCHIMP_GET_CAMPAIGN_CONTENT",
              "MAILCHIMP_GET_LISTS",
              "MAILCHIMP_ADD_CONTACT",
              "MAILCHIMP_UPDATE_CONTACT",
              "MAILCHIMP_GET_CONTACTS",
              "MAILCHIMP_LIST_EMAIL_CLICKERS",
              "MAILCHIMP_LIST_CONTACTS_WITH_CLICKED_CAMPAIGNS",
              "MAILCHIMP_GET_MEMBER_CLICK_ACTIVITY",
              "MAILCHIMP_LIST_EMAIL_OPENERS",
              "THREADS_CREATE_DRAFT",
              "THREADS_UPDATE_DRAFT",
              "THREADS_PUBLISH_POST",
              "THREADS_GET_POST_STATS",
              "THREADS_GET_ALL_POSTS",
              "THREADS_GET_POST_BY_ID",
              "INSTAGRAM_SYNC_POSTS",
              "FACEBOOK_SYNC_POSTS",
              "TWITTER_SYNC_TWEETS",
              "THREADS_SYNC_POSTS",
              "GOOGLE_ANALYTICS_RUN_REPORT",
              "GOOGLE_ANALYTICS_REALTIME_REPORT",
              "GOOGLE_ANALYTICS_GET_CONVERSIONS",
              "GOOGLE_ANALYTICS_GET_EVENTS",
              "GOOGLE_ANALYTICS_LIST_PROPERTIES",
              "GOOGLE_ANALYTICS_GET_METADATA",
              "BIGQUERY_LIST_DATASETS",
              "BIGQUERY_LIST_TABLES",
              "BIGQUERY_GET_TABLE_SCHEMA",
              "BIGQUERY_RUN_QUERY",
              "YOUTUBE_GET_VIDEOS",
              "YOUTUBE_GET_VIDEO_BY_ID",
              "YOUTUBE_GET_VIDEO_ANALYTICS",
              "BEEHIIV_GET_POSTS",
              "BEEHIIV_GET_POST_BY_ID",
              "BEEHIIV_GET_POST_STATS",
              "BEEHIIV_GET_AGGREGATE_STATS",
              "BEEHIIV_LIST_SUBSCRIPTIONS",
              "BEEHIIV_GET_SUBSCRIBER_BY_EMAIL",
              "BEEHIIV_GET_SUBSCRIBER_STATS",
              "TIKTOK_CREATE_DRAFT",
              "TIKTOK_GET_ALL_VIDEOS",
              "TIKTOK_GET_VIDEO_STATS",
              "TIKTOK_GET_CHANNEL_STATS",
              "TIKTOK_GET_VIDEO_BY_ID",
              "FETCH_AND_VIEW",
              "QUICKBOOKS_GET_CUSTOMERS",
              "QUICKBOOKS_GET_CUSTOMER_BY_ID",
              "QUICKBOOKS_CREATE_CUSTOMER",
              "QUICKBOOKS_UPDATE_CUSTOMER",
              "QUICKBOOKS_GET_INVOICES",
              "QUICKBOOKS_GET_INVOICE_BY_ID",
              "QUICKBOOKS_CREATE_INVOICE",
              "QUICKBOOKS_UPDATE_INVOICE",
              "QUICKBOOKS_SEND_INVOICE",
              "QUICKBOOKS_VOID_INVOICE",
              "QUICKBOOKS_DELETE_INVOICE",
              "QUICKBOOKS_GET_PAYMENTS",
              "QUICKBOOKS_GET_PAYMENT_BY_ID",
              "QUICKBOOKS_CREATE_PAYMENT",
              "QUICKBOOKS_VOID_PAYMENT",
              "QUICKBOOKS_GET_ESTIMATES",
              "QUICKBOOKS_GET_ESTIMATE_BY_ID",
              "QUICKBOOKS_CREATE_ESTIMATE",
              "QUICKBOOKS_SEND_ESTIMATE",
              "QUICKBOOKS_GET_VENDORS",
              "QUICKBOOKS_GET_VENDOR_BY_ID",
              "QUICKBOOKS_CREATE_VENDOR",
              "QUICKBOOKS_UPDATE_VENDOR",
              "QUICKBOOKS_GET_BILLS",
              "QUICKBOOKS_GET_BILL_BY_ID",
              "QUICKBOOKS_CREATE_BILL",
              "QUICKBOOKS_UPDATE_BILL",
              "QUICKBOOKS_DELETE_BILL",
              "QUICKBOOKS_GET_BILL_PAYMENTS",
              "QUICKBOOKS_GET_BILL_PAYMENT_BY_ID",
              "QUICKBOOKS_CREATE_BILL_PAYMENT",
              "QUICKBOOKS_GET_PURCHASE_ORDERS",
              "QUICKBOOKS_CREATE_PURCHASE_ORDER",
              "QUICKBOOKS_UPDATE_PURCHASE_ORDER",
              "QUICKBOOKS_GET_ITEMS",
              "QUICKBOOKS_GET_ITEM_BY_ID",
              "QUICKBOOKS_CREATE_ITEM",
              "QUICKBOOKS_UPDATE_ITEM",
              "QUICKBOOKS_GET_ACCOUNTS",
              "QUICKBOOKS_GET_ACCOUNT_BY_ID",
              "QUICKBOOKS_CREATE_ACCOUNT",
              "QUICKBOOKS_GET_PROFIT_AND_LOSS",
              "QUICKBOOKS_GET_BALANCE_SHEET",
              "QUICKBOOKS_GET_CASH_FLOW",
              "QUICKBOOKS_GET_AGED_RECEIVABLES",
              "QUICKBOOKS_GET_AGED_PAYABLES",
              "QUICKBOOKS_GET_CUSTOMER_BALANCE",
              "QUICKBOOKS_GET_VENDOR_BALANCE",
              "QUICKBOOKS_GET_TRANSACTION_LIST",
              "QUICKBOOKS_GET_COMPANY_INFO",
              "QUICKBOOKS_GET_PREFERENCES",
              "QUICKBOOKS_TOKENIZE_CARD",
              "QUICKBOOKS_CREATE_CARD",
              "QUICKBOOKS_CHARGE_CARD",
              "QUICKBOOKS_REFUND_CHARGE",
              "QUICKBOOKS_TOKENIZE_BANK_ACCOUNT",
              "QUICKBOOKS_PROCESS_ECHECK",
              "QUICKBOOKS_REFUND_ECHECK",
              "QUICKBOOKS_CREATE_AND_SEND_INVOICE",
              "QUICKBOOKS_GET_INVOICE_WITH_CUSTOMER",
              "QUICKBOOKS_RECORD_PAYMENT_FOR_INVOICE",
              "QUICKBOOKS_CREATE_AND_PAY_BILL",
              "QUICKBOOKS_GET_BILL_WITH_VENDOR",
              "QUICKBOOKS_SEARCH_CUSTOMER_BY_EMAIL",
              "QUICKBOOKS_SEARCH_CUSTOMER_BY_NAME",
              "QUICKBOOKS_SEARCH_VENDOR_BY_NAME",
              "QUICKBOOKS_GET_OR_CREATE_CUSTOMER",
              "QUICKBOOKS_GET_OR_CREATE_VENDOR",
              "QUICKBOOKS_GET_AR_SUMMARY",
              "QUICKBOOKS_GET_AP_SUMMARY",
              "QUICKBOOKS_GET_FINANCIAL_SNAPSHOT",
              "QUICKBOOKS_GET_RECENT_ACTIVITY",
              "QUICKBOOKS_GET_ITEMS_FOR_INVOICE",
              "QUICKBOOKS_GET_ACCOUNTS_FOR_EXPENSE",
              "QUICKBOOKS_CHARGE_AND_RECORD_PAYMENT",
              "QUICKBOOKS_PROCESS_ECHECK_AND_RECORD_PAYMENT",
              "QUICKBOOKS_CONVERT_ESTIMATE_TO_INVOICE",
              "QUICKBOOKS_QUERY_MULTIPLE_ENTITIES",
              "QUICKBOOKS_CHECK_INVOICE_PAYMENT_STATUS",
              "QUICKBOOKS_CHECK_BILL_PAYMENT_STATUS",
              "QUICKBOOKS_GET_ACCOUNT_BALANCE_OVERVIEW",
              "QUICKBOOKS_TOKENIZE_AND_STORE_CARD",
              "QUICKBOOKS_TOKENIZE_AND_CHARGE",
              "QUICKBOOKS_CHARGE_STORED_CARD",
              "QUICKBOOKS_TOKENIZE_AND_STORE_BANK_ACCOUNT",
              "QUICKBOOKS_TOKENIZE_AND_PROCESS_ECHECK",
              "QUICKBOOKS_CHARGE_STORED_BANK_ACCOUNT",
              "QUICKBOOKS_REFUND_CHARGE_AND_RECORD_CREDIT",
              "QUICKBOOKS_REFUND_ECHECK_AND_RECORD_CREDIT",
              "QUICKBOOKS_SETUP_CUSTOMER_PAYMENT_METHOD",
              "QUICKBOOKS_GET_ENTITY_PDF",
              "QUICKBOOKS_UPLOAD_ATTACHMENT",
              "QUICKBOOKS_CREATE_PURCHASE_ORDER_AND_GET_PDF",
              "QUICKBOOKS_CREATE_BILL_AND_GET_PDF",
              "QUICKBOOKS_SCHEDULE_BILL_PAYMENT",
              "QUICKBOOKS_CREATE_INVOICE_AND_ATTACH_PDF",
              "ACUMATICA_GET_ENTITIES",
              "ACUMATICA_GET_ENTITY_SCHEMA",
              "ACUMATICA_GET_RECORD",
              "ACUMATICA_UPSERT_RECORD",
              "ACUMATICA_GET_ATTACHMENTS",
              "ACUMATICA_DOWNLOAD_ATTACHMENT",
              "ACUMATICA_UPLOAD_ATTACHMENT",
              "ACUMATICA_GET_ACTIONS",
              "ACUMATICA_INVOKE_ACTION",
              "ACUMATICA_GET_ACTION_STATUS",
              "ACUMATICA_RAW_API_CALL",
              "PHONE_ADD_CONFERENCE_PARTICIPANT",
              "PHONE_HANG_UP",
              "PHONE_TRANSFER_CALL",
              "PHONE_TAKE_VOICEMAIL",
              "PHONE_PRESS_KEYS",
              "PHONE_PAUSE_RECORDING",
              "PHONE_GET_CALLER_INFO",
              "PHONE_SECURE_COLLECT",
              "PHONE_KEYPAD_INPUT",
              "ZOHO_CRM_SEARCH_CONTACTS",
              "ZOHO_CRM_GET_CONTACT",
              "ZOHO_CRM_UPSERT_CONTACT",
              "ZOHO_CRM_SEARCH_ACCOUNTS",
              "ZOHO_CRM_GET_ACCOUNT",
              "ZOHO_CRM_UPSERT_ACCOUNT",
              "ZOHO_CRM_ADD_CONTACT_TO_ACCOUNT",
              "ZOHO_CRM_ADD_NOTE",
              "ZOHO_CRM_LOG_TASK",
              "ZOHO_CRM_GET_RECORD",
              "ZOHO_CRM_SEARCH_RECORDS",
              "MEETING_RECORDER_NOTIFY",
              "MEETING_BOT_DISPATCH",
              "NOTION_SEARCH",
              "NOTION_RECENT_UPDATES",
              "NOTION_FETCH_PAGE",
              "NOTION_QUERY_DATABASE",
              "NOTION_QUERY_DATA_SOURCES",
              "NOTION_DISCOVER_PAGES",
              "NOTION_DISCOVER_DATABASES",
              "NOTION_CREATE_PAGE",
              "NOTION_UPDATE_PAGE",
              "NOTION_APPEND_BLOCKS",
              "NOTION_SUBMIT_FORM",
              "AUTESSA_PAYMENTS_CREATE_INVOICE",
              "AUTESSA_PAYMENTS_CHARGE_CUSTOMER",
              "AUTESSA_PAYMENTS_REFUND",
              "AUTESSA_PAYMENTS_GET_PAYOUT_STATUS",
              "AUTESSA_PAYMENTS_LIST_CUSTOMERS",
              "AUTESSA_PAYMENTS_GET_INVOICE",
              "DOCUMENT_EXTRACT",
              "DOCUMENT_RASTERIZE",
              "DOCUMENT_DETECT",
              "DOCUMENT_LOCATE_SPANS",
              "REDACTION_BURN",
              "AUDIO_REDACTION_BURN",
              "SPREADSHEET_SCRUB",
              "DOCUMENT_CACHE_LOOKUP",
              "DOCUMENT_CACHE_STORE",
              "FIRSTPASS_REVIEW_SESSION",
              "FIRSTPASS_BULK_DOC_OP",
              "FIRSTPASS_AUDIT_QUERY",
              "FIRSTPASS_VIDEO_TRACK",
              "FIRSTPASS_PURGE_DERIVED",
              "PLATE_REVIEW",
              "DOCUMENT_STITCH",
              "DOCUMENT_CONCAT",
              "TOOL_PIPELINE",
              "DOCUMENT_BULK_INTAKE",
              "PACKAGE_EXPORT",
              "NANO_BANANA_IMAGE_GEN",
              "AUDIO_TRANSCRIBE",
              "AUDIO_DETECT_SENSITIVE",
              "AUDIO_REDACT",
              "AUDIO_REDACTION_REDACT",
              "AUDIO_REDACTION_SUBMIT_BATCH",
              "AUDIO_REDACTION_GET_JOB",
              "AUDIO_REDACTION_GET_ITEM",
              "AUDIO_REDACTION_UPLOAD_LINKS",
              "AUDIO_REDACTION_BUCKET_ACCESS",
              "AUDIO_REDACTION_RETRY_FAILED",
              "AUDIO_REDACTION_DELETE_ITEM",
              "RECORDS_CLASSIFIER_GET_SETTINGS",
              "RECORDS_CLASSIFIER_SAVE_DISPOSITION",
              "RECORDS_CLASSIFIER_DELETE_DISPOSITION",
              "RECORDS_CLASSIFIER_SAVE_RECORD_CATEGORY",
              "RECORDS_CLASSIFIER_DELETE_RECORD_CATEGORY",
              "RECORDS_CLASSIFIER_SET_RULE",
              "RECORDS_CLASSIFIER_SET_OPTIONS",
              "MODEL_INFERENCE"
            ]
          }
        }
      },
      "ToolDefinitionDto": {
        "type": "object",
        "properties": {
          "description": {
            "type": "string"
          },
          "inputSchema": {
            "type": "object"
          },
          "name": {
            "type": "string"
          },
          "server": {
            "type": "string"
          }
        }
      },
      "ToolDefinitionsDto": {
        "type": "object",
        "properties": {
          "changedAction": {
            "type": "string"
          },
          "enabled": {
            "type": "boolean"
          },
          "excessiveAction": {
            "type": "string"
          },
          "hiddenAction": {
            "type": "string"
          },
          "pinning": {
            "type": "boolean"
          },
          "poisoningAction": {
            "type": "string"
          }
        }
      },
      "ToolDisclosure": {
        "type": "object",
        "properties": {
          "countBy": {
            "type": "string"
          },
          "label": {
            "type": "string"
          },
          "path": {
            "type": "string"
          },
          "sensitive": {
            "type": "boolean"
          }
        }
      },
      "ToolDisclosureDto": {
        "type": "object",
        "properties": {
          "countBy": {
            "type": "string"
          },
          "path": {
            "type": "string"
          },
          "sensitive": {
            "type": "boolean"
          }
        }
      },
      "ToolPinDto": {
        "type": "object",
        "properties": {
          "approvedAt": {
            "type": "string"
          },
          "approvedBy": {
            "type": "string",
            "description": "ID id."
          },
          "approvedHash": {
            "type": "string"
          },
          "change": {
            "type": "string"
          },
          "firstSeenAt": {
            "type": "string"
          },
          "lastSeenAt": {
            "type": "string"
          },
          "pendingHash": {
            "type": "string"
          },
          "pendingSince": {
            "type": "string"
          },
          "pinId": {
            "type": "string"
          },
          "server": {
            "type": "string"
          },
          "status": {
            "type": "string"
          },
          "toolName": {
            "type": "string"
          }
        }
      },
      "ToolPinListResponse": {
        "type": "object",
        "properties": {
          "deprecationWarnings": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "errors": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "exception": {
            "$ref": "#/components/schemas/AutessaResponse",
            "writeOnly": true
          },
          "pins": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ToolPinDto"
            }
          },
          "sessionToken": {
            "type": "string"
          }
        }
      },
      "Totals": {
        "type": "object",
        "properties": {
          "allowed": {
            "type": "integer",
            "format": "int64"
          },
          "anomalies": {
            "type": "integer",
            "format": "int64"
          },
          "approvalRequired": {
            "type": "integer",
            "format": "int64"
          },
          "blocked": {
            "type": "integer",
            "format": "int64"
          },
          "callerIdUnverified": {
            "type": "integer",
            "format": "int64"
          },
          "challenged": {
            "type": "integer",
            "format": "int64"
          },
          "customRuleHits": {
            "type": "integer",
            "format": "int64"
          },
          "definitionChanges": {
            "type": "integer",
            "format": "int64"
          },
          "disclosureLimits": {
            "type": "integer",
            "format": "int64"
          },
          "duress": {
            "type": "integer",
            "format": "int64"
          },
          "excessivePermissions": {
            "type": "integer",
            "format": "int64"
          },
          "flagged": {
            "type": "integer",
            "format": "int64"
          },
          "hiddenInstructions": {
            "type": "integer",
            "format": "int64"
          },
          "inspections": {
            "type": "integer",
            "format": "int64"
          },
          "lockouts": {
            "type": "integer",
            "format": "int64"
          },
          "points": {
            "type": "integer",
            "format": "int64"
          },
          "socialEngineering": {
            "type": "integer",
            "format": "int64"
          },
          "toolPoisoning": {
            "type": "integer",
            "format": "int64"
          },
          "verificationsFailed": {
            "type": "integer",
            "format": "int64"
          },
          "verificationsPassed": {
            "type": "integer",
            "format": "int64"
          },
          "voiceSynthetic": {
            "type": "integer",
            "format": "int64"
          },
          "voiceWatermark": {
            "type": "integer",
            "format": "int64"
          }
        }
      },
      "TotpConfirmRequest": {
        "type": "object",
        "properties": {
          "code": {
            "type": "string"
          },
          "subjectId": {
            "type": "string"
          }
        },
        "required": [
          "subjectId",
          "code"
        ]
      },
      "TotpConfirmResponse": {
        "type": "object",
        "properties": {
          "confirmed": {
            "type": "boolean"
          },
          "deprecationWarnings": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "errors": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "exception": {
            "$ref": "#/components/schemas/AutessaResponse",
            "writeOnly": true
          },
          "message": {
            "type": "string"
          },
          "sessionToken": {
            "type": "string"
          }
        }
      },
      "TotpEnrollRequest": {
        "type": "object",
        "properties": {
          "label": {
            "type": "string"
          },
          "phone": {
            "type": "string"
          },
          "subjectId": {
            "type": "string"
          }
        },
        "required": [
          "subjectId"
        ]
      },
      "TotpEnrollResponse": {
        "type": "object",
        "properties": {
          "deprecationWarnings": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "enrollmentId": {
            "type": "string"
          },
          "errors": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "exception": {
            "$ref": "#/components/schemas/AutessaResponse",
            "writeOnly": true
          },
          "otpauthUri": {
            "type": "string",
            "description": "otpauth:// URI for the QR code. Shown once."
          },
          "secretBase32": {
            "type": "string",
            "description": "The same secret for manual entry. Shown once."
          },
          "sessionToken": {
            "type": "string"
          }
        }
      },
      "TotpRemoveResponse": {
        "type": "object",
        "properties": {
          "deprecationWarnings": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "errors": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "exception": {
            "$ref": "#/components/schemas/AutessaResponse",
            "writeOnly": true
          },
          "removed": {
            "type": "boolean"
          },
          "sessionToken": {
            "type": "string"
          }
        }
      },
      "TotpStatusResponse": {
        "type": "object",
        "properties": {
          "confirmed": {
            "type": "boolean"
          },
          "confirmedAt": {
            "type": "string"
          },
          "createdAt": {
            "type": "string"
          },
          "deprecationWarnings": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "enrolled": {
            "type": "boolean"
          },
          "errors": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "exception": {
            "$ref": "#/components/schemas/AutessaResponse",
            "writeOnly": true
          },
          "label": {
            "type": "string"
          },
          "phoneLast4": {
            "type": "string"
          },
          "sessionToken": {
            "type": "string"
          }
        }
      },
      "TranscriptTurn": {
        "type": "object",
        "properties": {
          "arguments": {
            "type": "object",
            "additionalProperties": {
              "type": "string"
            }
          },
          "content": {
            "type": "string"
          },
          "result": {
            "type": "string"
          },
          "role": {
            "type": "string"
          },
          "toolName": {
            "type": "string"
          }
        }
      },
      "TransferOwnerRequest": {
        "type": "object",
        "properties": {
          "newOwnerUserId": {
            "type": "string",
            "description": "ID id."
          },
          "nodeId": {
            "type": "integer",
            "format": "int64"
          },
          "tableId": {
            "type": "string",
            "description": "ID id."
          }
        }
      },
      "TrashItem": {
        "type": "object",
        "properties": {
          "itemCount": {
            "type": "integer",
            "format": "int32"
          },
          "node": {
            "$ref": "#/components/schemas/DriveNodeView"
          },
          "originalPath": {
            "type": "string"
          },
          "purgeAt": {
            "type": "string"
          },
          "sizeBytes": {
            "type": "integer",
            "format": "int64"
          },
          "trashedAt": {
            "type": "string"
          },
          "trashedBy": {
            "$ref": "#/components/schemas/PersonRef"
          }
        }
      },
      "TrashListResponse": {
        "type": "object",
        "properties": {
          "deprecationWarnings": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "errors": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "exception": {
            "$ref": "#/components/schemas/AutessaResponse",
            "writeOnly": true
          },
          "hasMore": {
            "type": "boolean"
          },
          "items": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/TrashItem"
            }
          },
          "nextCursor": {
            "type": "string"
          },
          "sessionToken": {
            "type": "string"
          }
        }
      },
      "TrashRequest": {
        "type": "object",
        "properties": {
          "nodeIds": {
            "type": "array",
            "items": {
              "type": "integer",
              "format": "int64"
            }
          },
          "paths": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "permanent": {
            "type": "boolean"
          },
          "tableId": {
            "type": "string",
            "description": "ID id."
          }
        }
      },
      "TrashResponse": {
        "type": "object",
        "properties": {
          "deprecationWarnings": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "errors": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "exception": {
            "$ref": "#/components/schemas/AutessaResponse",
            "writeOnly": true
          },
          "items": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/DriveNodeView"
            }
          },
          "purged": {
            "type": "integer",
            "format": "int32"
          },
          "sessionToken": {
            "type": "string"
          },
          "trashed": {
            "type": "integer",
            "format": "int32"
          }
        }
      },
      "TreeRequest": {
        "type": "object",
        "properties": {
          "maxDepth": {
            "type": "integer",
            "format": "int32"
          },
          "maxEntries": {
            "type": "integer",
            "format": "int32"
          },
          "path": {
            "type": "string"
          },
          "tableId": {
            "type": "string",
            "description": "ID id."
          }
        }
      },
      "TreeResponse": {
        "type": "object",
        "properties": {
          "deprecationWarnings": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "entries": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/DriveNodeView"
            }
          },
          "errors": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "exception": {
            "$ref": "#/components/schemas/AutessaResponse",
            "writeOnly": true
          },
          "items": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/DriveNodeView"
            }
          },
          "root": {
            "$ref": "#/components/schemas/DriveNodeView"
          },
          "sessionToken": {
            "type": "string"
          },
          "truncated": {}
        }
      },
      "TriggerCondition": {
        "type": "object",
        "properties": {
          "columnFilters": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ColumnFilter"
            }
          },
          "event": {
            "type": "string",
            "enum": [
              "INSERT",
              "UPDATE",
              "DELETE",
              "ANY",
              "BULK_INSERT",
              "BULK_UPDATE",
              "BULK_DELETE"
            ]
          },
          "filterMode": {
            "type": "string",
            "enum": [
              "ANY_COLUMN",
              "SPECIFIED_COLUMNS",
              "ALL_EXCEPT_SPECIFIED"
            ]
          },
          "logicalOperator": {
            "type": "string",
            "enum": [
              "AND",
              "OR",
              "XOR"
            ]
          }
        }
      },
      "TriggerSettings": {
        "type": "object",
        "properties": {
          "enabled": {
            "type": "boolean"
          },
          "maxTriggersPerOperation": {
            "type": "integer",
            "format": "int32"
          }
        }
      },
      "TypeDescriptor": {},
      "Unsearchable": {
        "type": "object",
        "properties": {
          "failed": {
            "type": "integer",
            "format": "int64"
          },
          "pending": {
            "type": "integer",
            "format": "int64"
          },
          "samplePaths": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "tooLarge": {
            "type": "integer",
            "format": "int64"
          },
          "unsupported": {
            "type": "integer",
            "format": "int64"
          }
        }
      },
      "UpdateAutessaDbActionConfig": {
        "type": "object",
        "properties": {
          "conflictResolution": {
            "type": "string",
            "enum": [
              "REPLACE",
              "MERGE",
              "SKIP",
              "ERROR"
            ]
          },
          "groupsLogicalOperator": {
            "type": "string"
          },
          "operation": {
            "type": "string",
            "enum": [
              "INSERT",
              "BULK_INSERT",
              "UPDATE",
              "UPSERT",
              "DELETE"
            ]
          },
          "recordId": {
            "type": "integer",
            "format": "int64"
          },
          "rows": {
            "type": "array",
            "items": {
              "type": "object",
              "additionalProperties": {
                "$ref": "#/components/schemas/AutessaDbColumnValue"
              }
            }
          },
          "skipIfTargetTableMissing": {
            "type": "boolean"
          },
          "targetTableId": {
            "type": "string",
            "description": "ID id."
          },
          "values": {
            "type": "object",
            "additionalProperties": {
              "$ref": "#/components/schemas/AutessaDbColumnValue"
            }
          },
          "whereGroups": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/WhereGroupDto"
            }
          }
        }
      },
      "UpdateRowRequest": {
        "type": "object",
        "properties": {
          "deleteOrphanedFiles": {
            "type": "boolean"
          },
          "rowId": {
            "type": "integer",
            "format": "int64"
          },
          "suppressTriggers": {
            "type": "boolean"
          },
          "tableId": {
            "type": "string",
            "description": "ID id."
          },
          "values": {
            "type": "object",
            "additionalProperties": {
              "$ref": "#/components/schemas/AutessaDbColumnValue"
            }
          }
        },
        "required": [
          "tableId",
          "rowId",
          "values"
        ]
      },
      "UpdateRowResponse": {
        "type": "object",
        "properties": {
          "computationStatus": {
            "type": "string"
          },
          "deprecationWarnings": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "errors": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "exception": {
            "$ref": "#/components/schemas/AutessaResponse",
            "writeOnly": true
          },
          "newRow": {
            "type": "object",
            "additionalProperties": {
              "$ref": "#/components/schemas/AutessaDbColumnValue"
            },
            "description": "Flat column-name -> value map."
          },
          "oldRow": {
            "type": "object",
            "additionalProperties": {
              "$ref": "#/components/schemas/AutessaDbColumnValue"
            },
            "description": "Flat column-name -> value map."
          },
          "sessionToken": {
            "type": "string"
          },
          "updatedId": {
            "type": "integer",
            "format": "int64"
          }
        }
      },
      "UploadFile": {
        "type": "object",
        "properties": {
          "expectedVersion": {
            "type": "integer",
            "format": "int32"
          },
          "mime": {
            "type": "string"
          },
          "overwriteNodeId": {
            "type": "integer",
            "format": "int64"
          },
          "partChecksums": {
            "type": "boolean"
          },
          "path": {
            "type": "string"
          },
          "relativePath": {
            "type": "string"
          },
          "sha256": {
            "type": "string"
          },
          "size": {
            "type": "integer",
            "format": "int64"
          }
        }
      },
      "UploadIdsRequest": {
        "type": "object",
        "properties": {
          "tableId": {
            "type": "string",
            "description": "ID id."
          },
          "uploadIds": {
            "type": "array",
            "items": {
              "type": "string"
            }
          }
        }
      },
      "UploadLinkItem": {
        "type": "object",
        "properties": {
          "columnName": {
            "type": "string"
          },
          "fileName": {
            "type": "string"
          }
        }
      },
      "UploadLinkResult": {
        "type": "object",
        "properties": {
          "columnName": {
            "type": "string"
          },
          "errors": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "expiresInSeconds": {
            "type": "integer",
            "format": "int64"
          },
          "inputIndex": {
            "type": "integer",
            "format": "int32"
          },
          "s3Uri": {
            "type": "string"
          },
          "uploadUrl": {
            "type": "string"
          }
        }
      },
      "UploadProgressResponse": {
        "type": "object",
        "properties": {
          "deprecationWarnings": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "errors": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "exception": {
            "$ref": "#/components/schemas/AutessaResponse",
            "writeOnly": true
          },
          "sessionToken": {
            "type": "string"
          },
          "uploads": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/UploadProgressView"
            }
          }
        }
      },
      "UploadProgressView": {
        "type": "object",
        "properties": {
          "bytesCompleted": {
            "type": "integer",
            "format": "int64"
          },
          "expiresAt": {
            "type": "string"
          },
          "lastPartAt": {
            "type": "string"
          },
          "partsCompleted": {
            "type": "integer",
            "format": "int32"
          },
          "partsTotal": {
            "type": "integer",
            "format": "int32"
          },
          "relativePath": {
            "type": "string"
          },
          "size": {
            "type": "integer",
            "format": "int64"
          },
          "state": {
            "type": "string"
          },
          "uploadId": {
            "type": "string"
          }
        }
      },
      "UploadRequest": {
        "type": "object",
        "properties": {
          "conflict": {
            "type": "string"
          },
          "path": {
            "type": "string"
          },
          "tableId": {
            "type": "string",
            "description": "ID id."
          },
          "uploadId": {
            "type": "string"
          }
        }
      },
      "UploadResponse": {
        "type": "object",
        "properties": {
          "deprecationWarnings": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "error": {
            "$ref": "#/components/schemas/ErrorBody"
          },
          "errors": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "exception": {
            "$ref": "#/components/schemas/AutessaResponse",
            "writeOnly": true
          },
          "node": {
            "$ref": "#/components/schemas/DriveNodeView"
          },
          "sessionToken": {
            "type": "string"
          },
          "uploadId": {
            "type": "string"
          }
        }
      },
      "UploadResumeRequest": {
        "type": "object",
        "properties": {
          "tableId": {
            "type": "string",
            "description": "ID id."
          },
          "uploadId": {
            "type": "string"
          }
        }
      },
      "UploadResumeResponse": {
        "type": "object",
        "properties": {
          "bytesCompleted": {
            "type": "integer",
            "format": "int64"
          },
          "checksumAlgorithm": {
            "type": "string"
          },
          "completedParts": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/CompletedPartView"
            }
          },
          "deprecationWarnings": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "errors": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "exception": {
            "$ref": "#/components/schemas/AutessaResponse",
            "writeOnly": true
          },
          "expiresAt": {
            "type": "string"
          },
          "headers": {
            "type": "object",
            "additionalProperties": {
              "type": "string"
            }
          },
          "nextPartNumber": {
            "type": "integer",
            "format": "int32"
          },
          "partSize": {
            "type": "integer",
            "format": "int64"
          },
          "partsTotal": {
            "type": "integer",
            "format": "int32"
          },
          "relativePath": {
            "type": "string"
          },
          "sessionToken": {
            "type": "string"
          },
          "size": {
            "type": "integer",
            "format": "int64"
          },
          "state": {
            "type": "string"
          },
          "uploadId": {
            "type": "string"
          },
          "url": {
            "type": "string"
          }
        }
      },
      "UploadTicket": {
        "type": "object",
        "properties": {
          "error": {
            "$ref": "#/components/schemas/ErrorBody"
          },
          "expiresAt": {
            "type": "string"
          },
          "headers": {
            "type": "object",
            "additionalProperties": {
              "type": "string"
            }
          },
          "multipart": {
            "$ref": "#/components/schemas/MultipartInfo"
          },
          "relativePath": {
            "type": "string"
          },
          "uploadId": {
            "type": "string"
          },
          "url": {
            "type": "string"
          }
        }
      },
      "UploadedPart": {
        "type": "object",
        "properties": {
          "checksumSha256": {
            "type": "string"
          },
          "etag": {
            "type": "string"
          },
          "partNumber": {
            "type": "integer",
            "format": "int32"
          }
        }
      },
      "UploadsCreateRequest": {
        "type": "object",
        "properties": {
          "basePath": {
            "type": "string"
          },
          "conflict": {
            "type": "string"
          },
          "files": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/UploadFile"
            }
          },
          "tableId": {
            "type": "string",
            "description": "ID id."
          }
        }
      },
      "UploadsCreateResponse": {
        "type": "object",
        "properties": {
          "deprecationWarnings": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "errors": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "exception": {
            "$ref": "#/components/schemas/AutessaResponse",
            "writeOnly": true
          },
          "sessionToken": {
            "type": "string"
          },
          "uploads": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/UploadTicket"
            }
          }
        }
      },
      "UsageResponse": {
        "type": "object",
        "properties": {
          "bytesQuota": {
            "type": "integer",
            "format": "int64"
          },
          "bytesReserved": {
            "type": "integer",
            "format": "int64"
          },
          "bytesUsed": {
            "type": "integer",
            "format": "int64"
          },
          "deprecationWarnings": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "errors": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "exception": {
            "$ref": "#/components/schemas/AutessaResponse",
            "writeOnly": true
          },
          "filesCount": {
            "type": "integer",
            "format": "int64"
          },
          "pagesQuota": {
            "type": "integer",
            "format": "int64"
          },
          "pagesThisMonth": {
            "type": "integer",
            "format": "int64"
          },
          "sessionToken": {
            "type": "string"
          }
        }
      },
      "UserDto": {
        "type": "object",
        "properties": {
          "confirmed": {
            "type": "boolean"
          },
          "email": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "userId": {
            "type": "string",
            "description": "ID id."
          },
          "userMetadata": {
            "$ref": "#/components/schemas/UserMetadata"
          }
        }
      },
      "UserMetadata": {
        "type": "object",
        "properties": {
          "maxOwnedCompanies": {
            "type": "integer",
            "format": "int32"
          }
        }
      },
      "VaultAccess": {
        "type": "object",
        "properties": {
          "allowedHosts": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "enabled": {
            "type": "boolean"
          },
          "on": {
            "type": "boolean"
          }
        }
      },
      "VersionRestoreRequest": {
        "type": "object",
        "properties": {
          "nodeId": {
            "type": "integer",
            "format": "int64"
          },
          "tableId": {
            "type": "string",
            "description": "ID id."
          },
          "version": {
            "type": "integer",
            "format": "int32"
          }
        }
      },
      "VersionView": {
        "type": "object",
        "properties": {
          "collab": {
            "type": "boolean"
          },
          "createdAt": {
            "type": "string"
          },
          "createdBy": {
            "$ref": "#/components/schemas/PersonRef"
          },
          "current": {
            "type": "boolean"
          },
          "mimeType": {
            "type": "string"
          },
          "sha256": {
            "type": "string"
          },
          "sizeBytes": {
            "type": "integer",
            "format": "int64"
          },
          "version": {
            "type": "integer",
            "format": "int32"
          }
        }
      },
      "VersionsListResponse": {
        "type": "object",
        "properties": {
          "deprecationWarnings": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "errors": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "exception": {
            "$ref": "#/components/schemas/AutessaResponse",
            "writeOnly": true
          },
          "sessionToken": {
            "type": "string"
          },
          "versions": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/VersionView"
            }
          }
        }
      },
      "VoiceAnnouncement": {
        "type": "object",
        "properties": {
          "explicitlyNotSilent": {
            "type": "boolean"
          },
          "phrases": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "phrasesByLanguage": {
            "type": "object",
            "additionalProperties": {
              "type": "array",
              "items": {
                "type": "string"
              }
            }
          },
          "silent": {
            "type": "boolean"
          },
          "when": {
            "type": "string",
            "enum": [
              "IF_SLOW",
              "AT_START"
            ]
          }
        }
      },
      "VoiceAuthenticityDto": {
        "type": "object",
        "properties": {
          "action": {
            "type": "string"
          },
          "challengeThreshold": {
            "type": "number",
            "format": "double"
          },
          "enabled": {
            "type": "boolean"
          },
          "failMode": {
            "type": "string"
          },
          "threshold": {
            "type": "number",
            "format": "double"
          }
        }
      },
      "VoiceScoreRequest": {
        "type": "object",
        "properties": {
          "audioB64": {
            "type": "string"
          },
          "audioFormat": {
            "type": "string",
            "description": "Default: detected from the bytes."
          },
          "fileUrl": {
            "type": "string",
            "description": "An https link to the audio."
          }
        }
      },
      "VoiceScoreResponse": {
        "type": "object",
        "properties": {
          "deprecationWarnings": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "durationSeconds": {
            "type": "number",
            "format": "double"
          },
          "errors": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "exception": {
            "$ref": "#/components/schemas/AutessaResponse",
            "writeOnly": true
          },
          "label": {
            "type": "string"
          },
          "score": {
            "type": "number",
            "format": "double"
          },
          "sessionToken": {
            "type": "string"
          },
          "watermark": {
            "type": "boolean"
          },
          "windows": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/WindowDto"
            }
          }
        }
      },
      "WatermarkDto": {
        "type": "object",
        "properties": {
          "enabled": {
            "type": "boolean"
          }
        }
      },
      "WebhookResponse": {
        "type": "object",
        "properties": {
          "deprecationWarnings": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "errors": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "exception": {
            "$ref": "#/components/schemas/AutessaResponse",
            "writeOnly": true
          },
          "message": {
            "type": "string"
          },
          "runId": {
            "type": "string"
          },
          "sessionToken": {
            "type": "string"
          }
        }
      },
      "WhereConditionDto": {
        "type": "object",
        "properties": {
          "columnName": {
            "type": "string"
          },
          "operator": {
            "type": "string"
          },
          "tableId": {
            "type": "string",
            "description": "ID id."
          },
          "value": {}
        }
      },
      "WhereGroupDto": {
        "type": "object",
        "properties": {
          "conditions": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/WhereConditionDto"
            }
          },
          "logicalOperator": {
            "type": "string"
          }
        }
      },
      "WindowDto": {
        "type": "object",
        "properties": {
          "endS": {
            "type": "number",
            "format": "double"
          },
          "score": {
            "type": "number",
            "format": "double"
          },
          "startS": {
            "type": "number",
            "format": "double"
          }
        }
      },
      "WordOfDayDto": {
        "type": "object",
        "properties": {
          "dailyPush": {
            "type": "boolean"
          },
          "duressContacts": {
            "type": "array",
            "items": {
              "type": "string",
              "description": "ID id."
            }
          },
          "duressEnabled": {
            "type": "boolean"
          },
          "enabled": {
            "type": "boolean"
          },
          "graceMinutes": {
            "type": "integer",
            "format": "int32"
          },
          "scope": {
            "type": "string"
          },
          "timeZone": {
            "type": "string"
          },
          "visibleToRoles": {
            "type": "array",
            "items": {
              "type": "string"
            }
          }
        }
      },
      "WordOfDayResponse": {
        "type": "object",
        "properties": {
          "date": {
            "type": "string",
            "description": "The local date the word belongs to (yyyy-MM-dd)."
          },
          "deprecationWarnings": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "duressWord": {
            "type": "string",
            "description": "Only when the duress word is turned on."
          },
          "errors": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "exception": {
            "$ref": "#/components/schemas/AutessaResponse",
            "writeOnly": true
          },
          "sessionToken": {
            "type": "string"
          },
          "timeZone": {
            "type": "string"
          },
          "validUntil": {
            "type": "string",
            "description": "UTC time the word changes."
          },
          "word": {
            "type": "string"
          }
        }
      },
      "WriteRequest": {
        "type": "object",
        "properties": {
          "collab": {
            "type": "boolean"
          },
          "content": {
            "type": "string"
          },
          "expectedVersion": {
            "type": "integer",
            "format": "int32"
          },
          "mime": {
            "type": "string"
          },
          "mode": {
            "type": "string"
          },
          "path": {
            "type": "string"
          },
          "tableId": {
            "type": "string",
            "description": "ID id."
          }
        }
      },
      "WriteResponse": {
        "type": "object",
        "properties": {
          "bytes": {
            "type": "integer",
            "format": "int64"
          },
          "created": {
            "type": "boolean"
          },
          "deprecationWarnings": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "errors": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "exception": {
            "$ref": "#/components/schemas/AutessaResponse",
            "writeOnly": true
          },
          "mode": {
            "type": "string"
          },
          "node": {
            "$ref": "#/components/schemas/DriveNodeView"
          },
          "sessionToken": {
            "type": "string"
          },
          "version": {
            "type": "integer",
            "format": "int32"
          }
        }
      },
      "ManifestV2": {
        "title": "Autessa Manifest v2",
        "description": "What `synth` writes to .autessa/manifest.json and the deploy API applies. A superset of the marketplace bundle manifest: the same resource definitions, each with a stable logicalId (cross-references between resources use logicalIds), plus apps pushed from source, permissions, firewall settings, per-stage variables and content-hashed files.",
        "type": "object",
        "required": [
          "schemaVersion"
        ],
        "additionalProperties": false,
        "properties": {
          "schemaVersion": {
            "const": 2
          },
          "project": {
            "type": "string",
            "description": "Project name (display only)."
          },
          "metadata": {
            "type": "object",
            "description": "Bundle metadata (name, description, author, tags...).",
            "additionalProperties": true
          },
          "resources": {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "tables": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/ManifestV2_table"
                }
              },
              "tools": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/ManifestV2_tool"
                }
              },
              "agents": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/ManifestV2_agent"
                }
              },
              "managers": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/ManifestV2_manager"
                }
              },
              "scheduledEvents": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/ManifestV2_resource"
                }
              },
              "webhooks": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/ManifestV2_resource"
                }
              },
              "mcpServers": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/ManifestV2_resource"
                }
              },
              "externalConnectors": {
                "type": "array",
                "description": "Connections can't be created from a manifest: each is linked to the tenant's matching connection.",
                "items": {
                  "$ref": "#/components/schemas/ManifestV2_resource"
                }
              },
              "types": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/ManifestV2_type"
                }
              },
              "secretRefs": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/ManifestV2_secretRef"
                }
              },
              "phoneNumbers": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/ManifestV2_phoneNumber"
                }
              }
            }
          },
          "resourceDependencies": {
            "type": "object",
            "description": "Extra ordering edges: logicalId -> logicalIds it needs first.",
            "additionalProperties": {
              "type": "array",
              "items": {
                "$ref": "#/components/schemas/ManifestV2_logicalId"
              }
            }
          },
          "apps": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ManifestV2_app"
            }
          },
          "permissions": {
            "$ref": "#/components/schemas/ManifestV2_permissions"
          },
          "firewallPolicies": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ManifestV2_firewallPolicy"
            }
          },
          "variables": {
            "type": "object",
            "description": "Placeholders resolved per stage: {{name}} anywhere in resources, apps, permissions, firewallPolicies or metadata.",
            "additionalProperties": {
              "$ref": "#/components/schemas/ManifestV2_variable"
            }
          },
          "files": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ManifestV2_fileRef"
            }
          }
        }
      },
      "ManifestV2_agent": {
        "allOf": [
          {
            "$ref": "#/components/schemas/ManifestV2_resource"
          }
        ]
      },
      "ManifestV2_apiKeyScope": {
        "type": "object",
        "required": [
          "keyName"
        ],
        "description": "Which project resources an existing client API key (matched by name) may reach. Deploy never creates keys.",
        "properties": {
          "logicalId": {
            "$ref": "#/components/schemas/ManifestV2_logicalId"
          },
          "keyName": {
            "type": "string"
          },
          "resources": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ManifestV2_logicalId"
            }
          }
        },
        "additionalProperties": false
      },
      "ManifestV2_app": {
        "type": "object",
        "required": [
          "logicalId",
          "name"
        ],
        "description": "A React app pushed from its source directory and published, like `autessa app push` + `publish`.",
        "properties": {
          "logicalId": {
            "$ref": "#/components/schemas/ManifestV2_logicalId"
          },
          "name": {
            "type": "string"
          },
          "description": {
            "type": "string"
          },
          "files": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ManifestV2_fileRef"
            },
            "description": "Paths relative to the app directory."
          },
          "publish": {
            "type": "boolean",
            "default": true
          },
          "deleteMissingFiles": {
            "type": "boolean",
            "default": true
          }
        },
        "additionalProperties": false
      },
      "ManifestV2_fileRef": {
        "type": "object",
        "required": [
          "path",
          "hash"
        ],
        "properties": {
          "path": {
            "type": "string"
          },
          "hash": {
            "$ref": "#/components/schemas/ManifestV2_sha256"
          },
          "size": {
            "type": "integer",
            "minimum": 0
          }
        },
        "additionalProperties": false
      },
      "ManifestV2_firewallPolicy": {
        "type": "object",
        "required": [
          "agent",
          "setting"
        ],
        "properties": {
          "logicalId": {
            "$ref": "#/components/schemas/ManifestV2_logicalId"
          },
          "agent": {
            "$ref": "#/components/schemas/ManifestV2_logicalId"
          },
          "setting": {
            "type": "object",
            "description": "The agent's AI Application Firewall setting: agentSetting (OFF|COMPANY|CUSTOM), mode (OFF|MONITOR|ENFORCE), failMode (OPEN|CLOSED), sections and rules.",
            "additionalProperties": true
          }
        },
        "additionalProperties": false
      },
      "ManifestV2_grant": {
        "type": "object",
        "required": [
          "resource",
          "principal",
          "level"
        ],
        "properties": {
          "resource": {
            "$ref": "#/components/schemas/ManifestV2_logicalId"
          },
          "principal": {
            "$ref": "#/components/schemas/ManifestV2_principal"
          },
          "level": {
            "$ref": "#/components/schemas/ManifestV2_level"
          }
        },
        "additionalProperties": false
      },
      "ManifestV2_level": {
        "enum": [
          "VIEW",
          "USE",
          "EDIT",
          "ADMIN",
          "READ",
          "WRITE",
          "PUBLISH"
        ]
      },
      "ManifestV2_logicalId": {
        "type": "string",
        "pattern": "^[A-Za-z][A-Za-z0-9_.-]{0,99}$",
        "description": "Stable id of a construct, unique in the project. Deploys match resources on it."
      },
      "ManifestV2_manager": {
        "allOf": [
          {
            "$ref": "#/components/schemas/ManifestV2_resource"
          }
        ]
      },
      "ManifestV2_permissions": {
        "type": "object",
        "properties": {
          "grants": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ManifestV2_grant"
            }
          },
          "roles": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ManifestV2_role"
            }
          },
          "rowLevelSecurity": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ManifestV2_rowLevelSecurity"
            }
          },
          "apiKeyScopes": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ManifestV2_apiKeyScope"
            }
          }
        },
        "additionalProperties": false
      },
      "ManifestV2_phoneNumber": {
        "type": "object",
        "required": [
          "logicalId"
        ],
        "description": "A company phone number to bind and route. Deploy binds an existing number (the explicit number, else an unrouted one that meets the requirement) and buys one only when the stage sets allowPhonePurchase: true. It never releases a number.",
        "properties": {
          "logicalId": {
            "$ref": "#/components/schemas/ManifestV2_logicalId"
          },
          "number": {
            "type": "string",
            "description": "An existing company number in E.164 (+12065550100)."
          },
          "requirement": {
            "type": "object",
            "properties": {
              "country": {
                "type": "string",
                "default": "US"
              },
              "areaCode": {
                "type": "string",
                "pattern": "^[2-9][0-9]{2}$"
              },
              "capabilities": {
                "type": "array",
                "items": {
                  "enum": [
                    "VOICE",
                    "SMS"
                  ]
                }
              }
            },
            "additionalProperties": false
          },
          "routing": {
            "type": "object",
            "properties": {
              "agentRef": {
                "$ref": "#/components/schemas/ManifestV2_logicalId"
              },
              "externalAgent": {
                "type": "object",
                "description": "ExternalAgentRouting {url, mode, authSecretName | authSecretRef, voice, greeting, firewall, redactAfterCall}.",
                "additionalProperties": true
              }
            },
            "additionalProperties": false
          },
          "voice": {
            "type": "string"
          },
          "greeting": {
            "type": "string"
          }
        },
        "additionalProperties": false
      },
      "ManifestV2_principal": {
        "type": "object",
        "required": [
          "type"
        ],
        "properties": {
          "type": {
            "enum": [
              "COMPANY",
              "ROLE",
              "TEAM",
              "USER"
            ]
          },
          "name": {
            "type": "string",
            "description": "Role or team name."
          },
          "email": {
            "type": "string",
            "description": "Member email (USER)."
          }
        },
        "additionalProperties": false
      },
      "ManifestV2_resource": {
        "type": "object",
        "required": [
          "logicalId"
        ],
        "description": "A bundle resource definition (same fields as the marketplace bundle export) with a logicalId.",
        "properties": {
          "logicalId": {
            "$ref": "#/components/schemas/ManifestV2_logicalId"
          }
        },
        "additionalProperties": true
      },
      "ManifestV2_role": {
        "type": "object",
        "required": [
          "logicalId"
        ],
        "description": "An AutessaDB role (row and column security) the project owns.",
        "properties": {
          "logicalId": {
            "$ref": "#/components/schemas/ManifestV2_logicalId"
          },
          "name": {
            "type": "string"
          },
          "description": {
            "type": "string"
          },
          "tablePolicies": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ManifestV2_tablePolicy"
            }
          },
          "assignments": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ManifestV2_principal"
            }
          }
        },
        "additionalProperties": false
      },
      "ManifestV2_rowLevelSecurity": {
        "type": "object",
        "required": [
          "table",
          "role"
        ],
        "description": "A table policy written per table; added to the named project role.",
        "properties": {
          "table": {
            "$ref": "#/components/schemas/ManifestV2_logicalId"
          },
          "role": {
            "$ref": "#/components/schemas/ManifestV2_logicalId"
          },
          "rowPredicate": {
            "type": "object"
          },
          "columnRules": {
            "type": "array"
          },
          "writeCheck": {
            "enum": [
              "NONE",
              "SAME_AS_READ",
              "CUSTOM"
            ]
          },
          "writePredicate": {
            "type": "object"
          }
        },
        "additionalProperties": false
      },
      "ManifestV2_secretRef": {
        "type": "object",
        "required": [
          "logicalId",
          "name"
        ],
        "description": "An existing Autessa Secret in the target tenant, by name. Deploy checks it exists; it never creates a secret or reads a value. Reference it with {{secret:<logicalId>}} or a field named <x>SecretRef.",
        "properties": {
          "logicalId": {
            "$ref": "#/components/schemas/ManifestV2_logicalId"
          },
          "name": {
            "type": "string"
          },
          "description": {
            "type": "string"
          }
        },
        "additionalProperties": false
      },
      "ManifestV2_sha256": {
        "type": "string",
        "pattern": "^(sha256:)?[0-9a-f]{64}$",
        "description": "Content hash, written sha256:<hex> (bare hex is accepted too)."
      },
      "ManifestV2_table": {
        "allOf": [
          {
            "$ref": "#/components/schemas/ManifestV2_resource"
          }
        ],
        "properties": {
          "schema": {
            "type": "object",
            "description": "AutessaDB table schema: tableName, columnDefinitions (columnName, columnType, required, defaultValue, indexed, masked, sensitive...), knowledgeBase, vectorize.",
            "additionalProperties": true
          },
          "seedData": {
            "type": "array",
            "items": {
              "type": "object"
            }
          },
          "triggerRefs": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ManifestV2_logicalId"
            }
          }
        }
      },
      "ManifestV2_tablePolicy": {
        "type": "object",
        "required": [
          "table"
        ],
        "properties": {
          "table": {
            "$ref": "#/components/schemas/ManifestV2_logicalId"
          },
          "rowPredicate": {
            "type": "object",
            "description": "Same shape as the AutessaDB role API's rowPredicate ({whereGroups, groupsLogicalOperator})."
          },
          "columnRules": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "columnName": {
                  "type": "string"
                },
                "visibility": {
                  "type": "string"
                },
                "maskStrategy": {
                  "type": "string"
                },
                "writable": {
                  "type": "boolean"
                }
              }
            }
          },
          "writeCheck": {
            "enum": [
              "NONE",
              "SAME_AS_READ",
              "CUSTOM"
            ]
          },
          "writePredicate": {
            "type": "object"
          }
        },
        "additionalProperties": false
      },
      "ManifestV2_tool": {
        "allOf": [
          {
            "$ref": "#/components/schemas/ManifestV2_resource"
          }
        ],
        "properties": {
          "tool": {
            "type": "object",
            "description": "The tool (name, description, toolConfig {toolType, config}, arguments). Omit toolConfig.config.script when source is given.",
            "additionalProperties": true
          },
          "source": {
            "type": "object",
            "description": "AutessaScript source by content hash (tools/x.as); inlined as the script at deploy.",
            "required": [
              "hash"
            ],
            "properties": {
              "path": {
                "type": "string"
              },
              "hash": {
                "$ref": "#/components/schemas/ManifestV2_sha256"
              }
            },
            "additionalProperties": false
          },
          "connectorRefs": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ManifestV2_logicalId"
            }
          }
        }
      },
      "ManifestV2_type": {
        "type": "object",
        "required": [
          "logicalId"
        ],
        "description": "A shared AutessaScript type (types/x.as), kept in the company's script library under its name.",
        "properties": {
          "logicalId": {
            "$ref": "#/components/schemas/ManifestV2_logicalId"
          },
          "name": {
            "type": "string",
            "description": "Library name; default the logicalId."
          },
          "description": {
            "type": "string"
          },
          "source": {
            "description": "The .as source by content hash (or its project path, which synth turns into {path, hash}).",
            "oneOf": [
              {
                "type": "string"
              },
              {
                "type": "object",
                "required": [
                  "hash"
                ],
                "properties": {
                  "path": {
                    "type": "string"
                  },
                  "hash": {
                    "$ref": "#/components/schemas/ManifestV2_sha256"
                  }
                },
                "additionalProperties": false
              }
            ]
          },
          "sourceHash": {
            "$ref": "#/components/schemas/ManifestV2_sha256"
          },
          "script": {
            "type": "string",
            "description": "Inline source, instead of source."
          }
        },
        "additionalProperties": false
      },
      "ManifestV2_variable": {
        "type": "object",
        "properties": {
          "description": {
            "type": "string"
          },
          "defaultValue": {
            "type": "string"
          },
          "required": {
            "type": "boolean"
          }
        },
        "additionalProperties": false
      }
    },
    "securitySchemes": {
      "apiKey": {
        "in": "header",
        "name": "Authorization",
        "type": "apiKey"
      }
    }
  }
}
