{
  "components": {
    "schemas": {
      "Activity": {
        "additionalProperties": false,
        "properties": {
          "first_at": {
            "title": "First At",
            "type": "string"
          },
          "last_at": {
            "title": "Last At",
            "type": "string"
          },
          "minutes": {
            "title": "Minutes",
            "type": "number"
          }
        },
        "required": [
          "first_at",
          "last_at",
          "minutes"
        ],
        "title": "Activity",
        "type": "object"
      },
      "AgentAsked": {
        "additionalProperties": false,
        "properties": {
          "buyers": {
            "title": "Buyers",
            "type": "integer"
          },
          "text": {
            "title": "Text",
            "type": "string"
          }
        },
        "required": [
          "text",
          "buyers"
        ],
        "title": "AgentAsked",
        "type": "object"
      },
      "AgentButton": {
        "additionalProperties": false,
        "properties": {
          "agenda": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Agenda"
          },
          "label": {
            "title": "Label",
            "type": "string"
          }
        },
        "required": [
          "label",
          "agenda"
        ],
        "title": "AgentButton",
        "type": "object"
      },
      "AgentChange": {
        "additionalProperties": false,
        "description": "A change some notes ask for: what it replaces, with what, and why.",
        "properties": {
          "after": {
            "title": "After",
            "type": "string"
          },
          "before": {
            "title": "Before",
            "type": "string"
          },
          "faults": {
            "description": "Why its words miss the demo-lines standard",
            "items": {
              "type": "string"
            },
            "title": "Faults",
            "type": "array"
          },
          "field": {
            "description": "opening and part: words said as written; order: the parts it shows first; instructions: its rules, whole; fact: something it knows",
            "enum": [
              "opening",
              "part",
              "order",
              "instructions",
              "fact"
            ],
            "title": "Field",
            "type": "string"
          },
          "id": {
            "title": "Id",
            "type": "string"
          },
          "lang": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Lang"
          },
          "name": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "description": "A fact's name",
            "title": "Name"
          },
          "notes": {
            "description": "The notes it answers",
            "items": {
              "type": "string"
            },
            "title": "Notes",
            "type": "array"
          },
          "part": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Part"
          },
          "why": {
            "title": "Why",
            "type": "string"
          }
        },
        "required": [
          "id",
          "notes",
          "field",
          "before",
          "after",
          "why"
        ],
        "title": "AgentChange",
        "type": "object"
      },
      "AgentChangeIn": {
        "additionalProperties": false,
        "description": "What changes; anything left out stays as it is.",
        "properties": {
          "facts": {
            "anyOf": [
              {
                "items": {
                  "$ref": "#/components/schemas/AgentFact"
                },
                "maxItems": 20,
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "description": "Replaces all its facts",
            "title": "Facts"
          },
          "instructions": {
            "anyOf": [
              {
                "maxLength": 1000,
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Instructions"
          },
          "list_price": {
            "default": false,
            "description": "Back to the list price for its renderer; Solacia only",
            "title": "List Price",
            "type": "boolean"
          },
          "name": {
            "anyOf": [
              {
                "maxLength": 200,
                "minLength": 1,
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Name"
          },
          "price": {
            "anyOf": [
              {
                "minimum": 0.0,
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "description": "US cents a demo; Solacia only",
            "title": "Price"
          },
          "renderer": {
            "anyOf": [
              {
                "enum": [
                  "voice",
                  "face"
                ],
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Renderer"
          },
          "retired": {
            "anyOf": [
              {
                "type": "boolean"
              },
              {
                "type": "null"
              }
            ],
            "description": "true pauses it everywhere: its website rules and links send buyers to the next rule or the default until false resumes it. Refused while it holds a default or is in a test",
            "title": "Retired"
          },
          "tone": {
            "anyOf": [
              {
                "enum": [
                  "brief",
                  "warm",
                  "expert",
                  "pack"
                ],
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "description": "pack: as the brief says",
            "title": "Tone"
          },
          "voices": {
            "anyOf": [
              {
                "additionalProperties": {
                  "maxLength": 100,
                  "type": "string"
                },
                "maxProperties": 10,
                "propertyNames": {
                  "maxLength": 8
                },
                "type": "object"
              },
              {
                "type": "null"
              }
            ],
            "description": "Voice id per language; Solacia only. Empty: the product's",
            "title": "Voices"
          }
        },
        "title": "AgentChangeIn",
        "type": "object"
      },
      "AgentChangeKept": {
        "additionalProperties": false,
        "properties": {
          "after": {
            "maxLength": 4000,
            "title": "After",
            "type": "string"
          },
          "field": {
            "enum": [
              "opening",
              "part",
              "order",
              "instructions",
              "fact"
            ],
            "title": "Field",
            "type": "string"
          },
          "id": {
            "default": "",
            "maxLength": 40,
            "title": "Id",
            "type": "string"
          },
          "lang": {
            "anyOf": [
              {
                "maxLength": 16,
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Lang"
          },
          "name": {
            "anyOf": [
              {
                "maxLength": 80,
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Name"
          },
          "notes": {
            "items": {
              "maxLength": 40,
              "type": "string"
            },
            "maxItems": 200,
            "title": "Notes",
            "type": "array"
          },
          "part": {
            "anyOf": [
              {
                "maxLength": 80,
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Part"
          }
        },
        "required": [
          "field",
          "after"
        ],
        "title": "AgentChangeKept",
        "type": "object"
      },
      "AgentChanges": {
        "additionalProperties": false,
        "properties": {
          "changes": {
            "items": {
              "$ref": "#/components/schemas/AgentChange"
            },
            "title": "Changes",
            "type": "array"
          },
          "schema": {
            "default": "solacia.agents.v0",
            "title": "Schema",
            "type": "string"
          }
        },
        "required": [
          "changes"
        ],
        "title": "AgentChanges",
        "type": "object"
      },
      "AgentChangesApplyIn": {
        "additionalProperties": false,
        "properties": {
          "dropped": {
            "description": "Notes closed with no change",
            "items": {
              "maxLength": 40,
              "type": "string"
            },
            "maxItems": 200,
            "title": "Dropped",
            "type": "array"
          },
          "kept": {
            "description": "Into the draft",
            "items": {
              "$ref": "#/components/schemas/AgentChangeKept"
            },
            "maxItems": 50,
            "title": "Kept",
            "type": "array"
          }
        },
        "title": "AgentChangesApplyIn",
        "type": "object"
      },
      "AgentChangesIn": {
        "additionalProperties": false,
        "properties": {
          "notes": {
            "anyOf": [
              {
                "items": {
                  "maxLength": 40,
                  "type": "string"
                },
                "maxItems": 200,
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "description": "The notes to read; all the open ones when left out",
            "title": "Notes"
          }
        },
        "title": "AgentChangesIn",
        "type": "object"
      },
      "AgentChoiceIn": {
        "additionalProperties": false,
        "properties": {
          "agenda": {
            "anyOf": [
              {
                "maxLength": 80,
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "description": "The part it picks",
            "title": "Agenda"
          },
          "label": {
            "additionalProperties": {
              "maxLength": 1000,
              "type": "string"
            },
            "description": "Its words per language",
            "maxProperties": 10,
            "propertyNames": {
              "maxLength": 8
            },
            "title": "Label",
            "type": "object"
          }
        },
        "title": "AgentChoiceIn",
        "type": "object"
      },
      "AgentChoiceOut": {
        "additionalProperties": false,
        "properties": {
          "agenda": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "description": "The part it picks; null: its words are said for the buyer",
            "title": "Agenda"
          },
          "label": {
            "additionalProperties": {
              "type": "string"
            },
            "description": "Its words per language; empty: the part's title",
            "title": "Label",
            "type": "object"
          }
        },
        "required": [
          "agenda",
          "label"
        ],
        "title": "AgentChoiceOut",
        "type": "object"
      },
      "AgentDefaultIn": {
        "additionalProperties": false,
        "description": "The agent the caller sends personal links with unless they pick another.",
        "properties": {
          "agent": {
            "anyOf": [
              {
                "maxLength": 80,
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "description": "Null: the outbound channel's",
            "title": "Agent"
          }
        },
        "title": "AgentDefaultIn",
        "type": "object"
      },
      "AgentDetail": {
        "additionalProperties": false,
        "description": "One agent: its live version, its draft, every version, and its script. In preview.",
        "properties": {
          "base": {
            "title": "Base",
            "type": "boolean"
          },
          "draft": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/AgentDraftOut"
              },
              {
                "type": "null"
              }
            ]
          },
          "id": {
            "title": "Id",
            "type": "string"
          },
          "in_test": {
            "description": "One side of a running test: nothing can be published until it stops",
            "title": "In Test",
            "type": "boolean"
          },
          "languages": {
            "items": {
              "type": "string"
            },
            "title": "Languages",
            "type": "array"
          },
          "live": {
            "$ref": "#/components/schemas/AgentVersionContent"
          },
          "name": {
            "title": "Name",
            "type": "string"
          },
          "notes": {
            "description": "Notes left on its rehearsals that no version took yet, oldest first",
            "items": {
              "$ref": "#/components/schemas/AgentNote"
            },
            "title": "Notes",
            "type": "array"
          },
          "places": {
            "description": "Where it runs, with the last 30 days",
            "items": {
              "$ref": "#/components/schemas/AgentPlace"
            },
            "title": "Places",
            "type": "array"
          },
          "rehearsals": {
            "description": "Its newest rehearsals",
            "items": {
              "$ref": "#/components/schemas/AgentRehearsalMark"
            },
            "title": "Rehearsals",
            "type": "array"
          },
          "renderer": {
            "default": "voice",
            "description": "What buyers get: the voice, or voice and face",
            "enum": [
              "voice",
              "face"
            ],
            "title": "Renderer",
            "type": "string"
          },
          "replaces": {
            "anyOf": [
              {
                "items": {
                  "$ref": "#/components/schemas/AgentFactReplaces"
                },
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "description": "What the facts it shows (the draft's, else the live version's) replace in the public docs; null while they are being checked",
            "title": "Replaces"
          },
          "retired": {
            "description": "Paused: it meets no buyer anywhere until resumed",
            "title": "Retired",
            "type": "boolean"
          },
          "runs": {
            "description": "The defaults it holds; it can't pause until they move",
            "items": {
              "enum": [
                "embed",
                "outbound",
                "link"
              ],
              "type": "string"
            },
            "title": "Runs",
            "type": "array"
          },
          "schema": {
            "default": "solacia.agents.v0",
            "title": "Schema",
            "type": "string"
          },
          "script": {
            "$ref": "#/components/schemas/AgentScriptOut"
          },
          "script_of": {
            "description": "Which version `script` shows",
            "enum": [
              "draft",
              "live"
            ],
            "title": "Script Of",
            "type": "string"
          },
          "test": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/AgentTest"
              },
              {
                "type": "null"
              }
            ],
            "description": "Its running test between its versions"
          },
          "tests_started": {
            "description": "Its tests between versions",
            "items": {
              "$ref": "#/components/schemas/AgentTestMark"
            },
            "title": "Tests Started",
            "type": "array"
          },
          "unanswered": {
            "description": "What its buyers asked in the last 30 days that the docs held no answer to",
            "items": {
              "$ref": "#/components/schemas/AgentAsked"
            },
            "title": "Unanswered",
            "type": "array"
          },
          "version": {
            "title": "Version",
            "type": "integer"
          },
          "versions": {
            "description": "Oldest first",
            "items": {
              "$ref": "#/components/schemas/AgentVersionOut"
            },
            "title": "Versions",
            "type": "array"
          },
          "weeks": {
            "description": "Its last 12 weeks, oldest first",
            "items": {
              "$ref": "#/components/schemas/AgentWeek"
            },
            "title": "Weeks",
            "type": "array"
          }
        },
        "required": [
          "id",
          "name",
          "base",
          "retired",
          "version",
          "live",
          "draft",
          "versions",
          "script_of",
          "script",
          "languages",
          "in_test",
          "test"
        ],
        "title": "AgentDetail",
        "type": "object"
      },
      "AgentDraftIn": {
        "additionalProperties": false,
        "description": "What changes in the agent's draft; anything left out stays as the draft (or, with no\ndraft, the live version) has it.",
        "properties": {
          "audience": {
            "anyOf": [
              {
                "maxLength": 200,
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "examples": [
              "Finance teams at Series B startups"
            ],
            "title": "Audience"
          },
          "counts": {
            "anyOf": [
              {
                "enum": [
                  "qualified",
                  "meeting"
                ],
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "description": "What reaching the goal is: the buyer qualifies, or asks to meet the team",
            "title": "Counts"
          },
          "facts": {
            "anyOf": [
              {
                "items": {
                  "$ref": "#/components/schemas/AgentFact"
                },
                "maxItems": 20,
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "description": "Replaces all its facts",
            "title": "Facts"
          },
          "goal": {
            "anyOf": [
              {
                "maxLength": 200,
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "examples": [
              "Book a call with sales"
            ],
            "title": "Goal"
          },
          "instructions": {
            "anyOf": [
              {
                "maxLength": 1000,
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Instructions"
          },
          "script": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/AgentScriptIn"
              },
              {
                "type": "null"
              }
            ]
          },
          "tone": {
            "anyOf": [
              {
                "enum": [
                  "brief",
                  "warm",
                  "expert",
                  "pack"
                ],
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "description": "pack: as the brief says",
            "title": "Tone"
          },
          "voices": {
            "anyOf": [
              {
                "additionalProperties": {
                  "maxLength": 100,
                  "type": "string"
                },
                "maxProperties": 10,
                "propertyNames": {
                  "maxLength": 8
                },
                "type": "object"
              },
              {
                "type": "null"
              }
            ],
            "description": "Voice id per language; Solacia only",
            "title": "Voices"
          }
        },
        "title": "AgentDraftIn",
        "type": "object"
      },
      "AgentDraftOut": {
        "additionalProperties": false,
        "properties": {
          "at": {
            "title": "At",
            "type": "string"
          },
          "behind": {
            "description": "Another version went live after it was started: publishing is refused",
            "title": "Behind",
            "type": "boolean"
          },
          "by": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "By"
          },
          "content": {
            "$ref": "#/components/schemas/AgentVersionContent"
          },
          "faults": {
            "description": "Why its own lines can't go live yet; empty: it can be published",
            "items": {
              "type": "string"
            },
            "title": "Faults",
            "type": "array"
          },
          "since": {
            "description": "The version it was started from",
            "title": "Since",
            "type": "integer"
          }
        },
        "required": [
          "since",
          "by",
          "at",
          "content",
          "faults",
          "behind"
        ],
        "title": "AgentDraftOut",
        "type": "object"
      },
      "AgentFact": {
        "additionalProperties": false,
        "properties": {
          "name": {
            "description": "What it is about; one named like the docs' replaces it",
            "maxLength": 80,
            "minLength": 1,
            "title": "Name",
            "type": "string"
          },
          "text": {
            "description": "What the agent says about it",
            "maxLength": 600,
            "minLength": 1,
            "title": "Text",
            "type": "string"
          }
        },
        "required": [
          "name",
          "text"
        ],
        "title": "AgentFact",
        "type": "object"
      },
      "AgentFactReplaces": {
        "additionalProperties": false,
        "description": "A public passage one of the agent's facts contradicts, left out of its calls' docs.",
        "properties": {
          "fact": {
            "description": "The fact's name",
            "title": "Fact",
            "type": "string"
          },
          "page": {
            "description": "The page's title",
            "title": "Page",
            "type": "string"
          },
          "says": {
            "description": "The page's sentence the fact replaces",
            "title": "Says",
            "type": "string"
          },
          "url": {
            "title": "Url",
            "type": "string"
          },
          "what": {
            "description": "What the two state differently, in a few words",
            "title": "What",
            "type": "string"
          }
        },
        "required": [
          "fact",
          "what",
          "page",
          "url",
          "says"
        ],
        "title": "AgentFactReplaces",
        "type": "object"
      },
      "AgentIn": {
        "additionalProperties": false,
        "description": "A new agent: the pack run another way. It runs nothing until a channel is given to it.",
        "properties": {
          "copy_of": {
            "anyOf": [
              {
                "maxLength": 80,
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "description": "Start from this agent's tone, instructions, facts and voices",
            "title": "Copy Of"
          },
          "name": {
            "examples": [
              "Website, with face"
            ],
            "maxLength": 200,
            "minLength": 1,
            "title": "Name",
            "type": "string"
          },
          "price": {
            "anyOf": [
              {
                "minimum": 0.0,
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "description": "US cents a demo; Solacia only. Left out: the list price",
            "title": "Price"
          },
          "renderer": {
            "default": "voice",
            "enum": [
              "voice",
              "face"
            ],
            "title": "Renderer",
            "type": "string"
          }
        },
        "required": [
          "name"
        ],
        "title": "AgentIn",
        "type": "object"
      },
      "AgentLevers": {
        "additionalProperties": false,
        "description": "What a test on the agent can learn, a lever at a time, from its last 30 days. In preview.",
        "properties": {
          "agent": {
            "title": "Agent",
            "type": "string"
          },
          "buyers": {
            "description": "Its real buyers of the last 30 days",
            "title": "Buyers",
            "type": "integer"
          },
          "levers": {
            "items": {
              "$ref": "#/components/schemas/Lever"
            },
            "title": "Levers",
            "type": "array"
          },
          "schema": {
            "default": "solacia.agents.v0",
            "title": "Schema",
            "type": "string"
          }
        },
        "required": [
          "agent",
          "buyers",
          "levers"
        ],
        "title": "AgentLevers",
        "type": "object"
      },
      "AgentLine": {
        "additionalProperties": false,
        "properties": {
          "own": {
            "description": "The agent's own words; false: the product's",
            "title": "Own",
            "type": "boolean"
          },
          "pack": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "description": "The product's words it replaces, when it is the agent's own",
            "title": "Pack"
          },
          "text": {
            "title": "Text",
            "type": "string"
          }
        },
        "required": [
          "text",
          "own"
        ],
        "title": "AgentLine",
        "type": "object"
      },
      "AgentNote": {
        "additionalProperties": false,
        "properties": {
          "at": {
            "title": "At",
            "type": "string"
          },
          "by": {
            "title": "By",
            "type": "string"
          },
          "done": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "description": "The version it went into, or dropped; null while open",
            "title": "Done"
          },
          "id": {
            "title": "Id",
            "type": "string"
          },
          "quote": {
            "description": "The turn's words when it was left",
            "title": "Quote",
            "type": "string"
          },
          "session": {
            "description": "The rehearsal it was left on",
            "title": "Session",
            "type": "string"
          },
          "tag": {
            "enum": [
              "script",
              "answer",
              "screen",
              "buyer"
            ],
            "title": "Tag",
            "type": "string"
          },
          "text": {
            "title": "Text",
            "type": "string"
          },
          "turn": {
            "description": "The turn it is about (AgentTurn.n)",
            "title": "Turn",
            "type": "integer"
          }
        },
        "required": [
          "id",
          "session",
          "turn",
          "tag",
          "quote",
          "text",
          "by",
          "at"
        ],
        "title": "AgentNote",
        "type": "object"
      },
      "AgentNoteIn": {
        "additionalProperties": false,
        "properties": {
          "session": {
            "maxLength": 80,
            "title": "Session",
            "type": "string"
          },
          "text": {
            "maxLength": 1000,
            "minLength": 1,
            "title": "Text",
            "type": "string"
          },
          "turn": {
            "minimum": 1.0,
            "title": "Turn",
            "type": "integer"
          }
        },
        "required": [
          "session",
          "turn",
          "text"
        ],
        "title": "AgentNoteIn",
        "type": "object"
      },
      "AgentNotes": {
        "additionalProperties": false,
        "properties": {
          "notes": {
            "items": {
              "$ref": "#/components/schemas/AgentNote"
            },
            "title": "Notes",
            "type": "array"
          },
          "schema": {
            "default": "solacia.agents.v0",
            "title": "Schema",
            "type": "string"
          }
        },
        "required": [
          "notes"
        ],
        "title": "AgentNotes",
        "type": "object"
      },
      "AgentNumbers": {
        "additionalProperties": false,
        "properties": {
          "demos": {
            "title": "Demos",
            "type": "number"
          },
          "engaged": {
            "title": "Engaged",
            "type": "number"
          },
          "meetings": {
            "description": "Demos where the buyer asked for a meeting",
            "title": "Meetings",
            "type": "number"
          },
          "minutes": {
            "title": "Minutes",
            "type": "number"
          },
          "spend": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "description": "US cents: each demo at the price of the agent that ran it, when it ran. Solacia's people only; null for everyone else",
            "title": "Spend"
          }
        },
        "required": [
          "demos",
          "engaged",
          "meetings",
          "minutes",
          "spend"
        ],
        "title": "AgentNumbers",
        "type": "object"
      },
      "AgentOut": {
        "additionalProperties": false,
        "properties": {
          "audience": {
            "default": "",
            "description": "Who its demos are for, in the team's words",
            "title": "Audience",
            "type": "string"
          },
          "base": {
            "description": "The first agent, the product's pack: every other one is built on it",
            "title": "Base",
            "type": "boolean"
          },
          "changed_at": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Changed At"
          },
          "changed_by": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Changed By"
          },
          "cost": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "description": "US cents a demo. Solacia's people only; null for everyone else",
            "title": "Cost"
          },
          "counts": {
            "default": "qualified",
            "description": "What reaching its goal is",
            "enum": [
              "qualified",
              "meeting"
            ],
            "title": "Counts",
            "type": "string"
          },
          "facts": {
            "description": "What only it knows, said at once like the docs",
            "items": {
              "$ref": "#/components/schemas/AgentFact"
            },
            "title": "Facts",
            "type": "array"
          },
          "goal": {
            "default": "",
            "description": "What a demo with it is for, in the team's words",
            "title": "Goal",
            "type": "string"
          },
          "id": {
            "title": "Id",
            "type": "string"
          },
          "instructions": {
            "description": "What it does differently on a call, in the team's words",
            "title": "Instructions",
            "type": "string"
          },
          "last_30_days": {
            "$ref": "#/components/schemas/AgentNumbers"
          },
          "list_price": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "description": "US cents a demo at the list price for its renderer. Solacia's people only; null otherwise",
            "title": "List Price"
          },
          "name": {
            "description": "The team's name for it; buyers meet the guide by its own name",
            "title": "Name",
            "type": "string"
          },
          "placed": {
            "$ref": "#/components/schemas/AgentPlaced",
            "description": "How many places of each kind it meets buyers in"
          },
          "renderer": {
            "description": "What buyers get: the guide's voice, or voice and face",
            "enum": [
              "voice",
              "face"
            ],
            "title": "Renderer",
            "type": "string"
          },
          "retired": {
            "description": "Paused: it meets no buyer anywhere until resumed",
            "title": "Retired",
            "type": "boolean"
          },
          "runs": {
            "description": "The channels whose demos it runs",
            "items": {
              "enum": [
                "embed",
                "outbound",
                "link"
              ],
              "type": "string"
            },
            "title": "Runs",
            "type": "array"
          },
          "state": {
            "default": "live",
            "description": "testing: in a running test; draft: a draft waits to go live; live: meets buyers; idle: meets nobody; paused: retired, its places sending buyers on until it resumes",
            "enum": [
              "testing",
              "draft",
              "live",
              "idle",
              "paused"
            ],
            "title": "State",
            "type": "string"
          },
          "tone": {
            "anyOf": [
              {
                "enum": [
                  "brief",
                  "warm",
                  "expert"
                ],
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "description": "How it talks; null: as the product's brief says",
            "title": "Tone"
          },
          "version": {
            "default": 1,
            "description": "Its live version; GET /v1/agents/{id} has every one",
            "title": "Version",
            "type": "integer"
          },
          "voices": {
            "additionalProperties": {
              "type": "string"
            },
            "description": "Its voice id per language, where not the product's",
            "title": "Voices",
            "type": "object"
          }
        },
        "required": [
          "id",
          "name",
          "base",
          "retired",
          "renderer",
          "cost",
          "list_price",
          "runs",
          "changed_by",
          "changed_at",
          "tone",
          "instructions",
          "facts",
          "voices",
          "last_30_days"
        ],
        "title": "AgentOut",
        "type": "object"
      },
      "AgentPart": {
        "additionalProperties": false,
        "properties": {
          "id": {
            "title": "Id",
            "type": "string"
          },
          "intro": {
            "additionalProperties": {
              "$ref": "#/components/schemas/AgentLine"
            },
            "description": "Language -> the agent's own introduction, said after the name; the product has none",
            "title": "Intro",
            "type": "object"
          },
          "name": {
            "additionalProperties": {
              "type": "string"
            },
            "description": "Language -> the sentence the part opens on, said by the call",
            "title": "Name",
            "type": "object"
          },
          "shows": {
            "description": "In the agent's focus; the ones it shows come first, in its order",
            "title": "Shows",
            "type": "boolean"
          },
          "title": {
            "additionalProperties": {
              "type": "string"
            },
            "title": "Title",
            "type": "object"
          }
        },
        "required": [
          "id",
          "title",
          "shows",
          "intro"
        ],
        "title": "AgentPart",
        "type": "object"
      },
      "AgentPlace": {
        "additionalProperties": false,
        "description": "One place the agent meets buyers, with its last 30 days: `rule`, a website rule on where\nbuyers came from (`when` source) or the page (`when` page); `website`, the website's buyers no\nrule picks; `campaign`, the personal links of one campaign made with it; `links`, personal\nlinks with no campaign (with the account's default, also links that name no agent);\n`address`, the product's own demo address.",
        "properties": {
          "campaign": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Campaign"
          },
          "demos": {
            "default": 0,
            "title": "Demos",
            "type": "integer"
          },
          "kind": {
            "enum": [
              "rule",
              "website",
              "campaign",
              "links",
              "address"
            ],
            "title": "Kind",
            "type": "string"
          },
          "links": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "description": "Links made, for a campaign or single links",
            "title": "Links"
          },
          "match": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Match"
          },
          "reached": {
            "default": 0,
            "description": "Demos that reached the agent's goal",
            "title": "Reached",
            "type": "integer"
          },
          "when": {
            "anyOf": [
              {
                "enum": [
                  "source",
                  "page"
                ],
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "When"
          }
        },
        "required": [
          "kind"
        ],
        "title": "AgentPlace",
        "type": "object"
      },
      "AgentPlaced": {
        "additionalProperties": false,
        "description": "How many places of each kind an agent meets buyers in; GET /v1/agents/{id} lists each.",
        "properties": {
          "address": {
            "default": false,
            "description": "It meets buyers on the product's own demo address",
            "title": "Address",
            "type": "boolean"
          },
          "campaigns": {
            "default": 0,
            "description": "Campaigns whose personal links were made with it",
            "title": "Campaigns",
            "type": "integer"
          },
          "links": {
            "default": 0,
            "description": "Personal links made with it outside any campaign",
            "title": "Links",
            "type": "integer"
          },
          "outreach": {
            "default": false,
            "description": "Personal links made with no agent named meet it",
            "title": "Outreach",
            "type": "boolean"
          },
          "pages": {
            "default": 0,
            "description": "Website rules on a page",
            "title": "Pages",
            "type": "integer"
          },
          "sources": {
            "default": 0,
            "description": "Website rules on where buyers came from",
            "title": "Sources",
            "type": "integer"
          },
          "website": {
            "default": false,
            "description": "It meets the website's buyers no rule picks",
            "title": "Website",
            "type": "boolean"
          }
        },
        "title": "AgentPlaced",
        "type": "object"
      },
      "AgentRehearsal": {
        "additionalProperties": false,
        "description": "A rehearsal read back, turn by turn, with the notes on it. In preview.",
        "properties": {
          "at": {
            "title": "At",
            "type": "string"
          },
          "by": {
            "title": "By",
            "type": "string"
          },
          "notes": {
            "items": {
              "$ref": "#/components/schemas/AgentNote"
            },
            "title": "Notes",
            "type": "array"
          },
          "of": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "const": "draft",
                "type": "string"
              }
            ],
            "title": "Of"
          },
          "parts": {
            "items": {
              "$ref": "#/components/schemas/AgentScriptPart"
            },
            "title": "Parts",
            "type": "array"
          },
          "schema": {
            "default": "solacia.agents.v0",
            "title": "Schema",
            "type": "string"
          },
          "session": {
            "title": "Session",
            "type": "string"
          },
          "turns": {
            "items": {
              "$ref": "#/components/schemas/AgentTurn"
            },
            "title": "Turns",
            "type": "array"
          },
          "url": {
            "description": "The demo, to go on with it",
            "title": "Url",
            "type": "string"
          }
        },
        "required": [
          "session",
          "by",
          "at",
          "of",
          "url",
          "parts",
          "turns",
          "notes"
        ],
        "title": "AgentRehearsal",
        "type": "object"
      },
      "AgentRehearsalMark": {
        "additionalProperties": false,
        "properties": {
          "at": {
            "title": "At",
            "type": "string"
          },
          "by": {
            "title": "By",
            "type": "string"
          },
          "notes": {
            "description": "Open notes on it",
            "title": "Notes",
            "type": "integer"
          },
          "of": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "const": "draft",
                "type": "string"
              }
            ],
            "description": "What it ran: a version, or the draft as it was then",
            "title": "Of"
          },
          "session": {
            "title": "Session",
            "type": "string"
          },
          "url": {
            "description": "The demo, to go on with it",
            "title": "Url",
            "type": "string"
          }
        },
        "required": [
          "session",
          "by",
          "at",
          "of",
          "notes",
          "url"
        ],
        "title": "AgentRehearsalMark",
        "type": "object"
      },
      "AgentRehearseIn": {
        "additionalProperties": false,
        "properties": {
          "of": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "const": "draft",
                "type": "string"
              }
            ],
            "default": "draft",
            "description": "A version's number, or the draft as it is now",
            "title": "Of"
          }
        },
        "title": "AgentRehearseIn",
        "type": "object"
      },
      "AgentRouteIn": {
        "additionalProperties": false,
        "properties": {
          "agent": {
            "description": "The id of the agent to run the channel's demos",
            "maxLength": 80,
            "minLength": 1,
            "title": "Agent",
            "type": "string"
          }
        },
        "required": [
          "agent"
        ],
        "title": "AgentRouteIn",
        "type": "object"
      },
      "AgentRule": {
        "additionalProperties": false,
        "description": "One website rule: buyers who came from `match` (when `source`: one of your own tags by its\nname such as utm_campaign=spring-launch, a tag's value in any tag such as spring-launch, a\nreferring site such as linkedin, or a channel such as paid or social), or who opened the demo\non a page under `match` (when `page`: a path such as /card), meet `agent`.",
        "properties": {
          "agent": {
            "maxLength": 80,
            "minLength": 1,
            "title": "Agent",
            "type": "string"
          },
          "match": {
            "maxLength": 120,
            "minLength": 1,
            "title": "Match",
            "type": "string"
          },
          "when": {
            "enum": [
              "source",
              "page"
            ],
            "title": "When",
            "type": "string"
          }
        },
        "required": [
          "when",
          "match",
          "agent"
        ],
        "title": "AgentRule",
        "type": "object"
      },
      "AgentRulesIn": {
        "additionalProperties": false,
        "description": "The website's rules, in order: the whole list, replacing the one before. Empty: every\nwebsite buyer meets the embed channel's agent.",
        "properties": {
          "rules": {
            "items": {
              "$ref": "#/components/schemas/AgentRule"
            },
            "maxItems": 40,
            "title": "Rules",
            "type": "array"
          }
        },
        "required": [
          "rules"
        ],
        "title": "AgentRulesIn",
        "type": "object"
      },
      "AgentScriptIn": {
        "additionalProperties": false,
        "description": "What changes of the agent's script; each field sent replaces that field whole.",
        "properties": {
          "choices": {
            "anyOf": [
              {
                "items": {
                  "$ref": "#/components/schemas/AgentChoiceIn"
                },
                "maxItems": 4,
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "description": "Its own buttons under the opening; []: the product's",
            "title": "Choices"
          },
          "intro": {
            "anyOf": [
              {
                "additionalProperties": {
                  "maxLength": 1000,
                  "type": "string"
                },
                "maxProperties": 10,
                "propertyNames": {
                  "maxLength": 8
                },
                "type": "object"
              },
              {
                "type": "null"
              }
            ],
            "description": "Its own opening per language; {}: the product's",
            "title": "Intro"
          },
          "lines": {
            "anyOf": [
              {
                "additionalProperties": {
                  "additionalProperties": {
                    "maxLength": 1000,
                    "type": "string"
                  },
                  "maxProperties": 10,
                  "propertyNames": {
                    "maxLength": 8
                  },
                  "type": "object"
                },
                "maxProperties": 40,
                "propertyNames": {
                  "maxLength": 80
                },
                "type": "object"
              },
              {
                "type": "null"
              }
            ],
            "description": "Its own introduction to a part, per language; {}: the product's",
            "title": "Lines"
          },
          "order": {
            "anyOf": [
              {
                "items": {
                  "maxLength": 80,
                  "type": "string"
                },
                "maxItems": 40,
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "description": "The parts it shows, in order; []: all of the product's",
            "title": "Order"
          }
        },
        "title": "AgentScriptIn",
        "type": "object"
      },
      "AgentScriptOut": {
        "additionalProperties": false,
        "description": "The script as a buyer meets it, each line marked when it is the agent's own.",
        "properties": {
          "buttons": {
            "additionalProperties": {
              "items": {
                "$ref": "#/components/schemas/AgentButton"
              },
              "type": "array"
            },
            "title": "Buttons",
            "type": "object"
          },
          "first_deck": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "description": "A deck that starts the demo by itself, so the opening asks nothing",
            "title": "First Deck"
          },
          "opening": {
            "additionalProperties": {
              "$ref": "#/components/schemas/AgentLine"
            },
            "title": "Opening",
            "type": "object"
          },
          "own_buttons": {
            "title": "Own Buttons",
            "type": "boolean"
          },
          "parts": {
            "items": {
              "$ref": "#/components/schemas/AgentPart"
            },
            "title": "Parts",
            "type": "array"
          }
        },
        "required": [
          "opening",
          "parts",
          "buttons",
          "own_buttons",
          "first_deck"
        ],
        "title": "AgentScriptOut",
        "type": "object"
      },
      "AgentScriptPart": {
        "additionalProperties": false,
        "properties": {
          "id": {
            "title": "Id",
            "type": "string"
          },
          "title": {
            "title": "Title",
            "type": "string"
          }
        },
        "required": [
          "id",
          "title"
        ],
        "title": "AgentScriptPart",
        "type": "object"
      },
      "AgentSuggestion": {
        "additionalProperties": false,
        "description": "A test worth running, read from what the agent's buyers did in the last 30 days.",
        "properties": {
          "buyers": {
            "description": "The buyers the pattern is about",
            "title": "Buyers",
            "type": "integer"
          },
          "id": {
            "description": "opening, or part:<part id>: what a test would change",
            "title": "Id",
            "type": "string"
          },
          "kind": {
            "description": "left_on_part: buyers who stayed past the first minute and left without the goal left while this part was on; left_early: buyers left in the first minute, in the opening",
            "enum": [
              "left_on_part",
              "left_early"
            ],
            "title": "Kind",
            "type": "string"
          },
          "of": {
            "description": "Out of: every demo for left_early, the ones that left without the goal otherwise",
            "title": "Of",
            "type": "integer"
          },
          "part": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Part"
          },
          "title": {
            "anyOf": [
              {
                "additionalProperties": {
                  "type": "string"
                },
                "type": "object"
              },
              {
                "type": "null"
              }
            ],
            "description": "The part's title per language",
            "title": "Title"
          }
        },
        "required": [
          "id",
          "kind",
          "buyers",
          "of"
        ],
        "title": "AgentSuggestion",
        "type": "object"
      },
      "AgentSuggestions": {
        "additionalProperties": false,
        "properties": {
          "schema": {
            "default": "solacia.agents.v0",
            "title": "Schema",
            "type": "string"
          },
          "suggestions": {
            "items": {
              "$ref": "#/components/schemas/AgentSuggestion"
            },
            "title": "Suggestions",
            "type": "array"
          }
        },
        "required": [
          "suggestions"
        ],
        "title": "AgentSuggestions",
        "type": "object"
      },
      "AgentTest": {
        "additionalProperties": false,
        "properties": {
          "agent": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "description": "The agent whose versions are the sides, wherever it is placed",
            "title": "Agent"
          },
          "arms": {
            "items": {
              "$ref": "#/components/schemas/TestArm"
            },
            "title": "Arms",
            "type": "array"
          },
          "by": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "By"
          },
          "chances": {
            "description": "The best challenger against A: worse, about the same, better",
            "items": {
              "type": "number"
            },
            "title": "Chances",
            "type": "array"
          },
          "channel": {
            "anyOf": [
              {
                "enum": [
                  "embed",
                  "outbound",
                  "link"
                ],
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "description": "Null: a test between one agent's versions",
            "title": "Channel"
          },
          "ended": {
            "description": "Past its end and not stopped: new buyers meet side A, one side waits to be kept",
            "title": "Ended",
            "type": "boolean"
          },
          "ends": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "description": "When it stops taking buyers; null: when the team stops it",
            "title": "Ends"
          },
          "guardrails": {
            "description": "Between an agent's versions: what the test must not make worse, side A against B",
            "items": {
              "$ref": "#/components/schemas/TestGuardrail"
            },
            "title": "Guardrails",
            "type": "array"
          },
          "high": {
            "title": "High",
            "type": "number"
          },
          "id": {
            "title": "Id",
            "type": "string"
          },
          "kept": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "description": "The agent kept for the channel when it stopped",
            "title": "Kept"
          },
          "leader": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Leader"
          },
          "lever": {
            "anyOf": [
              {
                "enum": [
                  "message",
                  "features",
                  "pricing",
                  "offer",
                  "qualification"
                ],
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "description": "What it is to learn, when it was started from a lever",
            "title": "Lever"
          },
          "lift": {
            "description": "The best challenger's meeting rate minus A's",
            "title": "Lift",
            "type": "number"
          },
          "looks": {
            "description": "Week by week, oldest first",
            "items": {
              "$ref": "#/components/schemas/TestLook"
            },
            "title": "Looks",
            "type": "array"
          },
          "low": {
            "description": "95% interval of that difference, valid however often it is read",
            "title": "Low",
            "type": "number"
          },
          "meetings_from": {
            "default": "demo",
            "description": "What counts as a meeting. demo: asking in the demo; form: that, or sending the vendor's own demo form (the website against no demo); crm: a meeting the account's CRM shows booked after the prospect's link was made (outreach against no demo); qualified: the buyer qualified, hot or warm, which asking for a meeting also is (a test between versions)",
            "enum": [
              "demo",
              "form",
              "crm",
              "qualified"
            ],
            "title": "Meetings From",
            "type": "string"
          },
          "min_buyers": {
            "description": "Buyers each side needs before any verdict",
            "title": "Min Buyers",
            "type": "integer"
          },
          "more": {
            "description": "Buyers each side still needs: before any verdict when early, to decide when ahead",
            "title": "More",
            "type": "integer"
          },
          "per_side_week": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "description": "Buyers a week on its smallest side, from its whole weeks so far",
            "title": "Per Side Week"
          },
          "question": {
            "title": "Question",
            "type": "string"
          },
          "rule": {
            "default": "proven",
            "description": "How it decides. proven: a side goes live once it beats the others past chance; unless_worse (between an agent's versions): a challenger may go live once keeping it would cost under 0.2 points on average if it were worse, read at the end of each week",
            "enum": [
              "unless_worse",
              "proven"
            ],
            "title": "Rule",
            "type": "string"
          },
          "says": {
            "description": "The readout in one sentence",
            "title": "Says",
            "type": "string"
          },
          "sides": {
            "description": "Between an agent's versions: how far each side's buyers got",
            "items": {
              "$ref": "#/components/schemas/TestSide"
            },
            "title": "Sides",
            "type": "array"
          },
          "srm": {
            "description": "p-value of the sample-ratio check",
            "title": "Srm",
            "type": "number"
          },
          "started": {
            "title": "Started",
            "type": "string"
          },
          "stopped": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Stopped"
          },
          "verdict": {
            "description": "winner: one side beats every other past chance, on an interval that holds however often the test is read; safe (unless_worse): at the end of one of its weeks a challenger risked under 0.2 points if worse, so it may go live (`leader`); even: the gap is proven under 2 points; broken: the buyers did not fall on the sides as the shares say",
            "enum": [
              "early",
              "ahead",
              "winner",
              "even",
              "safe",
              "broken"
            ],
            "title": "Verdict",
            "type": "string"
          },
          "weeks_left": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "description": "Weeks until `more` buyers a side arrive at that pace; null when not counting",
            "title": "Weeks Left"
          }
        },
        "required": [
          "id",
          "channel",
          "question",
          "started",
          "stopped",
          "ends",
          "ended",
          "min_buyers",
          "kept",
          "by",
          "arms",
          "verdict",
          "leader",
          "lift",
          "low",
          "high",
          "more",
          "srm",
          "says"
        ],
        "title": "AgentTest",
        "type": "object"
      },
      "AgentTestCrmCheck": {
        "additionalProperties": false,
        "properties": {
          "checked": {
            "description": "Prospects whose meetings this check read",
            "title": "Checked",
            "type": "integer"
          },
          "detail": {
            "description": "Why nothing could be read; empty when the CRM answered",
            "title": "Detail",
            "type": "string"
          },
          "marked": {
            "default": 0,
            "description": "Contacts newly marked with their side in the CRM's Solacia test group field",
            "title": "Marked",
            "type": "integer"
          },
          "meetings": {
            "description": "Of them, the ones with a meeting booked since their link was made",
            "title": "Meetings",
            "type": "integer"
          }
        },
        "required": [
          "checked",
          "meetings",
          "detail"
        ],
        "title": "AgentTestCrmCheck",
        "type": "object"
      },
      "AgentTestIn": {
        "additionalProperties": false,
        "description": "A test on one channel: side A is the agent that runs it now; two or three sides, each a\ndifferent agent with at least 10% of buyers, adding to 100.",
        "properties": {
          "arms": {
            "items": {
              "$ref": "#/components/schemas/TestArmIn"
            },
            "maxItems": 3,
            "minItems": 2,
            "title": "Arms",
            "type": "array"
          },
          "channel": {
            "enum": [
              "embed",
              "outbound",
              "link"
            ],
            "title": "Channel",
            "type": "string"
          },
          "min_buyers": {
            "default": 20,
            "description": "Buyers each side needs before any verdict",
            "maximum": 100000.0,
            "minimum": 20.0,
            "title": "Min Buyers",
            "type": "integer"
          },
          "question": {
            "default": "",
            "examples": [
              "Does showing the guide's face win more meetings?"
            ],
            "maxLength": 200,
            "title": "Question",
            "type": "string"
          },
          "weeks": {
            "anyOf": [
              {
                "maximum": 26.0,
                "minimum": 1.0,
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "description": "How long it takes buyers; left out: until stopped",
            "title": "Weeks"
          }
        },
        "required": [
          "channel",
          "arms"
        ],
        "title": "AgentTestIn",
        "type": "object"
      },
      "AgentTestMark": {
        "additionalProperties": false,
        "properties": {
          "id": {
            "title": "Id",
            "type": "string"
          },
          "kept": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Kept"
          },
          "started": {
            "title": "Started",
            "type": "string"
          },
          "stopped": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Stopped"
          }
        },
        "required": [
          "id",
          "started",
          "stopped",
          "kept"
        ],
        "title": "AgentTestMark",
        "type": "object"
      },
      "AgentTestPlan": {
        "additionalProperties": false,
        "description": "What a test of the agent's versions would catch at its pace, before it starts. Simulated.",
        "properties": {
          "agent": {
            "title": "Agent",
            "type": "string"
          },
          "counts": {
            "description": "What its goal counts, the test's primary metric",
            "enum": [
              "qualified",
              "meeting"
            ],
            "title": "Counts",
            "type": "string"
          },
          "gaps": {
            "items": {
              "$ref": "#/components/schemas/TestPlanGap"
            },
            "title": "Gaps",
            "type": "array"
          },
          "guardrails": {
            "description": "What the test watches beside its goal",
            "items": {
              "enum": [
                "meetings",
                "minutes",
                "left_early"
              ],
              "type": "string"
            },
            "title": "Guardrails",
            "type": "array"
          },
          "per_week": {
            "description": "Buyers a week it meets, from its last four weeks",
            "title": "Per Week",
            "type": "integer"
          },
          "rate": {
            "description": "Its rate on what its goal counts: qualified, or asked to meet",
            "title": "Rate",
            "type": "number"
          },
          "rate_known": {
            "description": "False: it has too few buyers yet, so 20% is assumed",
            "title": "Rate Known",
            "type": "boolean"
          },
          "share": {
            "description": "Percent of buyers on the challenger",
            "title": "Share",
            "type": "integer"
          },
          "weeks": {
            "description": "How long each simulated test may run",
            "title": "Weeks",
            "type": "integer"
          }
        },
        "required": [
          "agent",
          "counts",
          "guardrails",
          "per_week",
          "rate",
          "rate_known",
          "share",
          "weeks",
          "gaps"
        ],
        "title": "AgentTestPlan",
        "type": "object"
      },
      "AgentTestStopIn": {
        "additionalProperties": false,
        "properties": {
          "keep": {
            "anyOf": [
              {
                "maxLength": 80,
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "description": "The agent to run the channel from now on; in a test between an agent's versions, the side (A, B or C) whose version goes live",
            "title": "Keep"
          }
        },
        "title": "AgentTestStopIn",
        "type": "object"
      },
      "AgentTurn": {
        "additionalProperties": false,
        "properties": {
          "at": {
            "title": "At",
            "type": "string"
          },
          "check": {
            "anyOf": [
              {
                "enum": [
                  "backed",
                  "drifted",
                  "wrong",
                  "unchecked"
                ],
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "description": "An answer: what the docs made of it",
            "title": "Check"
          },
          "n": {
            "description": "Its place in the rehearsal, from 1",
            "title": "N",
            "type": "integer"
          },
          "own": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "description": "In a script turn, the words in it that were the agent's own",
            "title": "Own"
          },
          "part": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "description": "The part of the script it belongs to, when known",
            "title": "Part"
          },
          "sources": {
            "description": "An answer's pages, or the details nothing backed",
            "items": {
              "type": "string"
            },
            "title": "Sources",
            "type": "array"
          },
          "tag": {
            "description": "Where its words came from: script (said as written), answer (the agent's own), screen (what it showed), buyer",
            "enum": [
              "script",
              "answer",
              "screen",
              "buyer"
            ],
            "title": "Tag",
            "type": "string"
          },
          "text": {
            "title": "Text",
            "type": "string"
          }
        },
        "required": [
          "n",
          "tag",
          "text",
          "at"
        ],
        "title": "AgentTurn",
        "type": "object"
      },
      "AgentVersionContent": {
        "additionalProperties": false,
        "description": "A version: what a buyer gets from the agent. Script fields left empty are the pack's.",
        "properties": {
          "audience": {
            "description": "Who its demos are for, in the team's words",
            "title": "Audience",
            "type": "string"
          },
          "choices": {
            "description": "Its own buttons under the opening",
            "items": {
              "$ref": "#/components/schemas/AgentChoiceOut"
            },
            "title": "Choices",
            "type": "array"
          },
          "counts": {
            "default": "qualified",
            "description": "What reaching the goal is, as a test of its versions reads it",
            "enum": [
              "qualified",
              "meeting"
            ],
            "title": "Counts",
            "type": "string"
          },
          "facts": {
            "items": {
              "$ref": "#/components/schemas/AgentFact"
            },
            "title": "Facts",
            "type": "array"
          },
          "goal": {
            "description": "What a demo with it is for, in the team's words",
            "title": "Goal",
            "type": "string"
          },
          "instructions": {
            "title": "Instructions",
            "type": "string"
          },
          "intro": {
            "additionalProperties": {
              "type": "string"
            },
            "description": "Its own opening per language",
            "title": "Intro",
            "type": "object"
          },
          "lines": {
            "additionalProperties": {
              "additionalProperties": {
                "type": "string"
              },
              "type": "object"
            },
            "description": "Its own introduction to a part, per language",
            "title": "Lines",
            "type": "object"
          },
          "order": {
            "description": "The parts it shows, in order; empty: all of the product's",
            "items": {
              "type": "string"
            },
            "title": "Order",
            "type": "array"
          },
          "tone": {
            "anyOf": [
              {
                "enum": [
                  "brief",
                  "warm",
                  "expert"
                ],
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Tone"
          },
          "voices": {
            "additionalProperties": {
              "type": "string"
            },
            "title": "Voices",
            "type": "object"
          }
        },
        "required": [
          "tone",
          "instructions",
          "facts",
          "voices",
          "audience",
          "goal",
          "order",
          "intro",
          "lines",
          "choices"
        ],
        "title": "AgentVersionContent",
        "type": "object"
      },
      "AgentVersionOut": {
        "additionalProperties": false,
        "properties": {
          "at": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "description": "When it went live; null for the pack's own first version",
            "title": "At"
          },
          "by": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "By"
          },
          "changed": {
            "description": "What it changed from the version before, in the team's words, such as Opening or Order of parts; or that it put an older version back. Empty for the first.",
            "items": {
              "type": "string"
            },
            "title": "Changed",
            "type": "array"
          },
          "live": {
            "title": "Live",
            "type": "boolean"
          },
          "number": {
            "title": "Number",
            "type": "integer"
          }
        },
        "required": [
          "number",
          "at",
          "by",
          "live"
        ],
        "title": "AgentVersionOut",
        "type": "object"
      },
      "AgentVersionTestIn": {
        "additionalProperties": false,
        "description": "A test between one agent's versions, wherever it is placed: side A is its live version;\ntwo or three sides, each a different version or its draft, with at least 10% of buyers,\nadding to 100. Read on the share of buyers who qualified.",
        "properties": {
          "lever": {
            "anyOf": [
              {
                "enum": [
                  "message",
                  "features",
                  "pricing",
                  "offer",
                  "qualification"
                ],
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "description": "What it is to learn (GET /agents/{id}/levers): it is read on that lever's goal",
            "title": "Lever"
          },
          "min_buyers": {
            "default": 20,
            "description": "Buyers each side needs before any verdict",
            "maximum": 100000.0,
            "minimum": 20.0,
            "title": "Min Buyers",
            "type": "integer"
          },
          "question": {
            "default": "",
            "examples": [
              "Does opening on the card win more buyers?"
            ],
            "maxLength": 200,
            "title": "Question",
            "type": "string"
          },
          "rule": {
            "default": "unless_worse",
            "description": "unless_worse: a challenger may go live unless it is worse; proven: only once it is proven better",
            "enum": [
              "unless_worse",
              "proven"
            ],
            "title": "Rule",
            "type": "string"
          },
          "sides": {
            "items": {
              "$ref": "#/components/schemas/VersionSideIn"
            },
            "maxItems": 3,
            "minItems": 2,
            "title": "Sides",
            "type": "array"
          },
          "weeks": {
            "anyOf": [
              {
                "maximum": 26.0,
                "minimum": 1.0,
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "description": "How long it takes buyers; left out: until stopped",
            "title": "Weeks"
          }
        },
        "required": [
          "sides"
        ],
        "title": "AgentVersionTestIn",
        "type": "object"
      },
      "AgentWeek": {
        "additionalProperties": false,
        "properties": {
          "demos": {
            "title": "Demos",
            "type": "integer"
          },
          "meetings": {
            "title": "Meetings",
            "type": "integer"
          },
          "reached": {
            "description": "Buyers who did what its goal counts",
            "title": "Reached",
            "type": "integer"
          },
          "start": {
            "description": "Its Monday",
            "title": "Start",
            "type": "string"
          }
        },
        "required": [
          "start",
          "demos",
          "reached",
          "meetings"
        ],
        "title": "AgentWeek",
        "type": "object"
      },
      "Agents": {
        "additionalProperties": false,
        "description": "The account's agents, and the agent each channel runs: `embed` (the vendor's website),\n`outbound` (personal links from outreach) and `link` (the demo's own address). Then each\nchannel's pace, and the tests between agents, newest first.",
        "properties": {
          "agents": {
            "items": {
              "$ref": "#/components/schemas/AgentOut"
            },
            "title": "Agents",
            "type": "array"
          },
          "defaults": {
            "additionalProperties": {
              "type": "string"
            },
            "description": "The agent each teammate sends links with unless they pick another, by their email",
            "title": "Defaults",
            "type": "object"
          },
          "languages": {
            "description": "The languages the demo's calls speak",
            "items": {
              "type": "string"
            },
            "title": "Languages",
            "type": "array"
          },
          "list_prices": {
            "anyOf": [
              {
                "additionalProperties": {
                  "type": "integer"
                },
                "propertyNames": {
                  "enum": [
                    "voice",
                    "face"
                  ]
                },
                "type": "object"
              },
              {
                "type": "null"
              }
            ],
            "description": "US cents a demo for each renderer. Solacia's people only; null for everyone else",
            "title": "List Prices"
          },
          "pace": {
            "additionalProperties": {
              "$ref": "#/components/schemas/ChannelPace"
            },
            "propertyNames": {
              "enum": [
                "embed",
                "outbound",
                "link"
              ]
            },
            "title": "Pace",
            "type": "object"
          },
          "routes": {
            "additionalProperties": {
              "type": "string"
            },
            "propertyNames": {
              "enum": [
                "embed",
                "outbound",
                "link"
              ]
            },
            "title": "Routes",
            "type": "object"
          },
          "rules": {
            "description": "The website's rules, in order: which agent a buyer meets by where they came from (the first that matches), then by the page the demo opened on (the most specific)",
            "items": {
              "$ref": "#/components/schemas/AgentRule"
            },
            "title": "Rules",
            "type": "array"
          },
          "schema": {
            "default": "solacia.agents.v0",
            "title": "Schema",
            "type": "string"
          },
          "tests": {
            "items": {
              "$ref": "#/components/schemas/AgentTest"
            },
            "title": "Tests",
            "type": "array"
          },
          "tones": {
            "additionalProperties": {
              "$ref": "#/components/schemas/ToneOut"
            },
            "propertyNames": {
              "enum": [
                "brief",
                "warm",
                "expert"
              ]
            },
            "title": "Tones",
            "type": "object"
          },
          "voice_pool": {
            "additionalProperties": {
              "$ref": "#/components/schemas/VoicePool"
            },
            "description": "The voices an agent can have, per language the demo speaks; empty when the product speaks with voices outside the pool",
            "title": "Voice Pool",
            "type": "object"
          }
        },
        "required": [
          "agents",
          "routes",
          "list_prices",
          "tones",
          "languages",
          "pace",
          "tests"
        ],
        "title": "Agents",
        "type": "object"
      },
      "Analytics": {
        "additionalProperties": true,
        "description": "The team's analytics for the last `days` days against the days before: KPIs, activity by\nday, the funnel, what buyers told us, what they saw and asked, every session, companies.\nShape v0: fields beyond these may still change; the Analytics screen owns them.",
        "properties": {
          "end": {
            "title": "End",
            "type": "string"
          },
          "period_days": {
            "title": "Period Days",
            "type": "integer"
          },
          "schema": {
            "default": "solacia.analytics.v0",
            "title": "Schema",
            "type": "string"
          },
          "start": {
            "title": "Start",
            "type": "string"
          }
        },
        "required": [
          "period_days",
          "start",
          "end"
        ],
        "title": "Analytics",
        "type": "object"
      },
      "Anchor": {
        "additionalProperties": false,
        "properties": {
          "at": {
            "description": "When that second was heard, ISO 8601.",
            "title": "At",
            "type": "string"
          },
          "s": {
            "description": "Seconds into the sound.",
            "title": "S",
            "type": "number"
          }
        },
        "required": [
          "s",
          "at"
        ],
        "title": "Anchor",
        "type": "object"
      },
      "ApiBudgetUse": {
        "additionalProperties": false,
        "description": "One window of a key's budget, as it stands now.",
        "properties": {
          "limit": {
            "description": "Units the key may spend in the window.",
            "title": "Limit",
            "type": "integer"
          },
          "used": {
            "description": "Units spent in the window so far.",
            "title": "Used",
            "type": "integer"
          },
          "window": {
            "enum": [
              "minute",
              "day"
            ],
            "title": "Window",
            "type": "string"
          }
        },
        "required": [
          "window",
          "limit",
          "used"
        ],
        "title": "ApiBudgetUse",
        "type": "object"
      },
      "ApiCall": {
        "additionalProperties": false,
        "description": "One call a key made. No network address is kept.",
        "properties": {
          "at": {
            "description": "When it arrived, ISO 8601.",
            "title": "At",
            "type": "string"
          },
          "client": {
            "description": "The caller's User-Agent, cut short.",
            "title": "Client",
            "type": "string"
          },
          "country": {
            "description": "Where it came from, as the host reads it: two letters, or empty.",
            "title": "Country",
            "type": "string"
          },
          "ms": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "description": "How long it took to answer, in milliseconds.",
            "title": "Ms"
          },
          "operation": {
            "title": "Operation",
            "type": "string"
          },
          "request_id": {
            "description": "Its X-Request-Id, to match the caller's own logs.",
            "title": "Request Id",
            "type": "string"
          },
          "status": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "description": "The HTTP status it answered with; null while it runs.",
            "title": "Status"
          }
        },
        "required": [
          "at",
          "operation",
          "status",
          "ms",
          "request_id",
          "client",
          "country"
        ],
        "title": "ApiCall",
        "type": "object"
      },
      "ApiCallDay": {
        "additionalProperties": false,
        "description": "One day (UTC) of a key's calls, by how they answered.",
        "properties": {
          "day": {
            "description": "YYYY-MM-DD.",
            "title": "Day",
            "type": "string"
          },
          "failed": {
            "description": "Failed on our side (5xx), or never answered.",
            "title": "Failed",
            "type": "integer"
          },
          "limited": {
            "description": "Over the key's budget (429).",
            "title": "Limited",
            "type": "integer"
          },
          "ok": {
            "description": "Answered.",
            "title": "Ok",
            "type": "integer"
          },
          "refused": {
            "description": "Refused: the key, its scopes or the input; the caller's to fix.",
            "title": "Refused",
            "type": "integer"
          }
        },
        "required": [
          "day",
          "ok",
          "refused",
          "limited",
          "failed"
        ],
        "title": "ApiCallDay",
        "type": "object"
      },
      "ApiKey": {
        "additionalProperties": false,
        "description": "A key that can call this account's API, or one that could. Solacia keeps its hash, never the key.",
        "properties": {
          "at": {
            "default": "",
            "description": "When it was made, ISO 8601.",
            "title": "At",
            "type": "string"
          },
          "by": {
            "default": "",
            "description": "Who made it.",
            "title": "By",
            "type": "string"
          },
          "calls_30d": {
            "default": 0,
            "description": "The calls it made in the last 30 days, refused ones included.",
            "title": "Calls 30D",
            "type": "integer"
          },
          "daily_calls": {
            "description": "Its calls on each of the last 30 days (UTC), oldest first; the last is today.",
            "items": {
              "type": "integer"
            },
            "title": "Daily Calls",
            "type": "array"
          },
          "ended_at": {
            "default": "",
            "description": "When it stopped working, ISO 8601; empty while it works.",
            "title": "Ended At",
            "type": "string"
          },
          "ended_by": {
            "default": "",
            "description": "Who revoked it.",
            "title": "Ended By",
            "type": "string"
          },
          "ended_why": {
            "default": "",
            "description": "Why it stopped: `revoked` by a person, `rolled` into a new key, `leaked` (found in public and revoked by Solacia), or `expired`; empty while it works.",
            "enum": [
              "",
              "revoked",
              "rolled",
              "leaked",
              "expired"
            ],
            "title": "Ended Why",
            "type": "string"
          },
          "expires_at": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "description": "When it stops working, ISO 8601; null: never.",
            "title": "Expires At"
          },
          "hint": {
            "default": "",
            "description": "The key's prefix and last four characters, `sol_live_clara_…z1x9`; empty for older keys.",
            "title": "Hint",
            "type": "string"
          },
          "id": {
            "description": "The key's id: a prefix of its hash. Revoke, edit and roll it by this.",
            "title": "Id",
            "type": "string"
          },
          "last_used_at": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "description": "When it last made a call, ISO 8601; null: never.",
            "title": "Last Used At"
          },
          "leaks": {
            "description": "Each place it was found in public, oldest first.",
            "items": {
              "$ref": "#/components/schemas/ApiKeyLeak"
            },
            "title": "Leaks",
            "type": "array"
          },
          "made_by_solacia": {
            "default": false,
            "description": "Made by Solacia for a script or a partner.",
            "title": "Made By Solacia",
            "type": "boolean"
          },
          "name": {
            "description": "What it is for.",
            "title": "Name",
            "type": "string"
          },
          "rolled_from": {
            "default": "",
            "description": "The id of the key this one replaced in a roll.",
            "title": "Rolled From",
            "type": "string"
          },
          "scopes": {
            "items": {
              "type": "string"
            },
            "title": "Scopes",
            "type": "array"
          },
          "state": {
            "default": "active",
            "description": "Whether it works: `expired` is past its end, `revoked` was stopped.",
            "enum": [
              "active",
              "expired",
              "revoked"
            ],
            "title": "State",
            "type": "string"
          },
          "yours": {
            "default": false,
            "description": "The key making this call.",
            "title": "Yours",
            "type": "boolean"
          }
        },
        "required": [
          "id",
          "name",
          "scopes"
        ],
        "title": "ApiKey",
        "type": "object"
      },
      "ApiKeyChange": {
        "additionalProperties": false,
        "description": "What to change on a key; a field left out stays as it is.",
        "properties": {
          "expires_in_days": {
            "anyOf": [
              {
                "enum": [
                  7,
                  30,
                  90
                ],
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "description": "A new end, this many days from now: 7, 30 or 90; null for never. Leave out to keep it.",
            "title": "Expires In Days"
          },
          "name": {
            "anyOf": [
              {
                "maxLength": 40,
                "minLength": 1,
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "description": "A new name.",
            "title": "Name"
          },
          "scopes": {
            "anyOf": [
              {
                "items": {
                  "maxLength": 40,
                  "type": "string"
                },
                "maxItems": 20,
                "minItems": 1,
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "description": "Fewer scopes: a key is narrowed, never widened.",
            "title": "Scopes"
          }
        },
        "title": "ApiKeyChange",
        "type": "object"
      },
      "ApiKeyIn": {
        "additionalProperties": false,
        "properties": {
          "expires_in_days": {
            "anyOf": [
              {
                "enum": [
                  7,
                  30,
                  90
                ],
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "default": 90,
            "description": "Days until it stops working: 7, 30 or 90; null for never. 90 when left out.",
            "title": "Expires In Days"
          },
          "name": {
            "description": "What it is for: \"Zapier\", \"Data warehouse\".",
            "maxLength": 40,
            "minLength": 1,
            "title": "Name",
            "type": "string"
          },
          "scopes": {
            "description": "What it may do; see `scopes` in the list.",
            "items": {
              "maxLength": 40,
              "type": "string"
            },
            "maxItems": 20,
            "minItems": 1,
            "title": "Scopes",
            "type": "array"
          }
        },
        "required": [
          "name",
          "scopes"
        ],
        "title": "ApiKeyIn",
        "type": "object"
      },
      "ApiKeyLeak": {
        "additionalProperties": false,
        "description": "One place a key was found in public, as GitHub's secret scanning reported it.",
        "properties": {
          "at": {
            "description": "When GitHub reported it, ISO 8601.",
            "title": "At",
            "type": "string"
          },
          "place": {
            "description": "The same in words: `a commit`, `an npm package`, `public code`.",
            "title": "Place",
            "type": "string"
          },
          "revoked": {
            "description": "This report revoked the key; false when it had already stopped.",
            "title": "Revoked",
            "type": "boolean"
          },
          "source": {
            "description": "What it was found in, in GitHub's words: `commit`, `content`, `npm`, ...",
            "title": "Source",
            "type": "string"
          },
          "url": {
            "description": "Where it was found; empty when GitHub gave no public address.",
            "title": "Url",
            "type": "string"
          }
        },
        "required": [
          "at",
          "url",
          "source",
          "place",
          "revoked"
        ],
        "title": "ApiKeyLeak",
        "type": "object"
      },
      "ApiKeyMade": {
        "additionalProperties": false,
        "properties": {
          "ended": {
            "description": "Revoked keys and keys past their end, the latest 50, newest first.",
            "items": {
              "$ref": "#/components/schemas/ApiKey"
            },
            "title": "Ended",
            "type": "array"
          },
          "id": {
            "description": "The new key's id.",
            "title": "Id",
            "type": "string"
          },
          "keys": {
            "items": {
              "$ref": "#/components/schemas/ApiKey"
            },
            "title": "Keys",
            "type": "array"
          },
          "lifetimes": {
            "description": "How many days a new key can work; null is never.",
            "items": {
              "anyOf": [
                {
                  "type": "integer"
                },
                {
                  "type": "null"
                }
              ]
            },
            "title": "Lifetimes",
            "type": "array"
          },
          "scopes": {
            "items": {
              "$ref": "#/components/schemas/ApiScope"
            },
            "title": "Scopes",
            "type": "array"
          },
          "secret": {
            "description": "The key, shown this once: Solacia keeps only its hash.",
            "title": "Secret",
            "type": "string"
          }
        },
        "required": [
          "keys",
          "scopes",
          "id",
          "secret"
        ],
        "title": "ApiKeyMade",
        "type": "object"
      },
      "ApiKeyRoll": {
        "additionalProperties": false,
        "properties": {
          "overlap": {
            "description": "How long the old key keeps working beside the new one; `now` stops it at once.",
            "enum": [
              "now",
              "1h",
              "24h",
              "7d"
            ],
            "title": "Overlap",
            "type": "string"
          }
        },
        "required": [
          "overlap"
        ],
        "title": "ApiKeyRoll",
        "type": "object"
      },
      "ApiKeyUsage": {
        "additionalProperties": false,
        "description": "What one key did in the last 30 days: its calls by day and by operation, its latest calls,\nthe demo links it made and the demos they brought, and its budget now.",
        "properties": {
          "budget": {
            "description": "Its budget per minute and per day; empty when the API counts none.",
            "items": {
              "$ref": "#/components/schemas/ApiBudgetUse"
            },
            "title": "Budget",
            "type": "array"
          },
          "calls": {
            "description": "Calls in the last 30 days, refused ones included.",
            "title": "Calls",
            "type": "integer"
          },
          "days": {
            "description": "The last 30 days (UTC), oldest first; the last is today.",
            "items": {
              "$ref": "#/components/schemas/ApiCallDay"
            },
            "title": "Days",
            "type": "array"
          },
          "demos_caused": {
            "description": "Demos in the last 30 days that came in by a link it made, whenever it made it.",
            "title": "Demos Caused",
            "type": "integer"
          },
          "key": {
            "$ref": "#/components/schemas/ApiKey"
          },
          "links_made": {
            "description": "Personal demo links it made in the last 30 days.",
            "title": "Links Made",
            "type": "integer"
          },
          "operations": {
            "description": "What it called, the most called first.",
            "items": {
              "$ref": "#/components/schemas/ApiOperationUse"
            },
            "title": "Operations",
            "type": "array"
          },
          "recent": {
            "description": "Its latest 50 calls, newest first.",
            "items": {
              "$ref": "#/components/schemas/ApiCall"
            },
            "title": "Recent",
            "type": "array"
          }
        },
        "required": [
          "key",
          "calls",
          "links_made",
          "demos_caused",
          "days",
          "operations",
          "recent",
          "budget"
        ],
        "title": "ApiKeyUsage",
        "type": "object"
      },
      "ApiKeys": {
        "additionalProperties": false,
        "description": "Every key that can call this account's API, newest first, the keys that stopped working,\nand what a new one can be.",
        "properties": {
          "ended": {
            "description": "Revoked keys and keys past their end, the latest 50, newest first.",
            "items": {
              "$ref": "#/components/schemas/ApiKey"
            },
            "title": "Ended",
            "type": "array"
          },
          "keys": {
            "items": {
              "$ref": "#/components/schemas/ApiKey"
            },
            "title": "Keys",
            "type": "array"
          },
          "lifetimes": {
            "description": "How many days a new key can work; null is never.",
            "items": {
              "anyOf": [
                {
                  "type": "integer"
                },
                {
                  "type": "null"
                }
              ]
            },
            "title": "Lifetimes",
            "type": "array"
          },
          "scopes": {
            "items": {
              "$ref": "#/components/schemas/ApiScope"
            },
            "title": "Scopes",
            "type": "array"
          }
        },
        "required": [
          "keys",
          "scopes"
        ],
        "title": "ApiKeys",
        "type": "object"
      },
      "ApiOperationUse": {
        "additionalProperties": false,
        "description": "One operation a key called in the last 30 days.",
        "properties": {
          "calls": {
            "title": "Calls",
            "type": "integer"
          },
          "failed": {
            "title": "Failed",
            "type": "integer"
          },
          "limited": {
            "title": "Limited",
            "type": "integer"
          },
          "operation": {
            "description": "The operation's name, as in the contract: `leads.list`.",
            "title": "Operation",
            "type": "string"
          },
          "refused": {
            "title": "Refused",
            "type": "integer"
          }
        },
        "required": [
          "operation",
          "calls",
          "refused",
          "limited",
          "failed"
        ],
        "title": "ApiOperationUse",
        "type": "object"
      },
      "ApiScope": {
        "additionalProperties": false,
        "properties": {
          "can": {
            "description": "What a key with it can do, in words.",
            "title": "Can",
            "type": "string"
          },
          "name": {
            "description": "The scope, as a key carries it: `leads:read`.",
            "title": "Name",
            "type": "string"
          }
        },
        "required": [
          "name",
          "can"
        ],
        "title": "ApiScope",
        "type": "object"
      },
      "AppCheckResult": {
        "additionalProperties": false,
        "description": "The explorer's last check of the vendor's app, signed in as the sandbox user: when, how\nmany screens it reached, what changed since the check before, or why it could not check.",
        "properties": {
          "changes": {
            "items": {
              "type": "string"
            },
            "title": "Changes",
            "type": "array"
          },
          "checked": {
            "title": "Checked",
            "type": "string"
          },
          "compared": {
            "default": true,
            "description": "False on the first check: nothing before it to compare with.",
            "title": "Compared",
            "type": "boolean"
          },
          "error": {
            "default": "",
            "title": "Error",
            "type": "string"
          },
          "screens": {
            "title": "Screens",
            "type": "integer"
          }
        },
        "required": [
          "checked",
          "screens"
        ],
        "title": "AppCheckResult",
        "type": "object"
      },
      "AppConnection": {
        "additionalProperties": false,
        "description": "The vendor's own app, connected so the explorer can check the demo against it (in\npreview): its address and the sandbox user it signs in as. The password is never sent back.\n`connected` is false when none is.",
        "properties": {
          "at": {
            "default": "",
            "title": "At",
            "type": "string"
          },
          "by": {
            "default": "",
            "title": "By",
            "type": "string"
          },
          "check": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/AppCheckResult"
              },
              {
                "type": "null"
              }
            ]
          },
          "connected": {
            "title": "Connected",
            "type": "boolean"
          },
          "email": {
            "default": "",
            "title": "Email",
            "type": "string"
          },
          "url": {
            "default": "",
            "title": "Url",
            "type": "string"
          }
        },
        "required": [
          "connected"
        ],
        "title": "AppConnection",
        "type": "object"
      },
      "AppConnectionIn": {
        "additionalProperties": false,
        "properties": {
          "email": {
            "description": "A sandbox user made for Solacia.",
            "maxLength": 200,
            "minLength": 3,
            "title": "Email",
            "type": "string"
          },
          "password": {
            "description": "That user's password: kept sealed.",
            "maxLength": 200,
            "minLength": 1,
            "title": "Password",
            "type": "string"
          },
          "url": {
            "description": "The app's sign-in page, https://.",
            "maxLength": 500,
            "minLength": 8,
            "title": "Url",
            "type": "string"
          }
        },
        "required": [
          "url",
          "email",
          "password"
        ],
        "title": "AppConnectionIn",
        "type": "object"
      },
      "AudiencePicksIn": {
        "additionalProperties": false,
        "properties": {
          "picked": {
            "description": "The refs of the audiences picked.",
            "items": {
              "maxLength": 40,
              "type": "string"
            },
            "maxItems": 50,
            "minItems": 1,
            "title": "Picked",
            "type": "array"
          }
        },
        "required": [
          "picked"
        ],
        "title": "AudiencePicksIn",
        "type": "object"
      },
      "Billing": {
        "additionalProperties": false,
        "description": "What the account is billed for: its plan and counter, and one line per buyer per day\nwith the reason it counts or not. A demo is a conversation of two minutes or more between\none buyer and the agent, or a shorter one in which the buyer booked a meeting, once per\nbuyer per Eastern day; tests never count, and neither does a call that ended on Solacia's\nside unless a meeting was booked. In preview.",
        "properties": {
          "count": {
            "$ref": "#/components/schemas/BillingCount",
            "description": "Over every line of the days, whatever the page."
          },
          "end": {
            "format": "date",
            "title": "End",
            "type": "string"
          },
          "final_through": {
            "anyOf": [
              {
                "format": "date",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "description": "The last day closed; null: no day is final yet.",
            "title": "Final Through"
          },
          "items": {
            "description": "The lines, newest first.",
            "items": {
              "$ref": "#/components/schemas/BillingLine"
            },
            "title": "Items",
            "type": "array"
          },
          "next_cursor": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Next Cursor"
          },
          "plan": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/BillingPlan"
              },
              {
                "type": "null"
              }
            ],
            "description": "Null: the account has no plan yet."
          },
          "rules": {
            "description": "The version of the counting rules.",
            "examples": [
              "2026-11-10.1"
            ],
            "title": "Rules",
            "type": "string"
          },
          "start": {
            "format": "date",
            "title": "Start",
            "type": "string"
          },
          "total": {
            "default": 0,
            "description": "Lines of the days, over every page.",
            "title": "Total",
            "type": "integer"
          }
        },
        "required": [
          "start",
          "end",
          "rules",
          "final_through",
          "plan",
          "count",
          "items",
          "next_cursor"
        ],
        "title": "Billing",
        "type": "object"
      },
      "BillingCorrection": {
        "additionalProperties": false,
        "description": "A correction Solacia made to a final line: the line counts as it says from then on.",
        "properties": {
          "at": {
            "description": "When, ISO 8601.",
            "title": "At",
            "type": "string"
          },
          "reason": {
            "title": "Reason",
            "type": "string"
          }
        },
        "required": [
          "reason",
          "at"
        ],
        "title": "BillingCorrection",
        "type": "object"
      },
      "BillingCount": {
        "additionalProperties": false,
        "description": "The days read, in the five words every report uses, and why the other lines did not\ncount. Tests are left out of all of them and counted apart.",
        "properties": {
          "booked": {
            "default": 0,
            "description": "Of `demos`, the ones under two minutes that count by a booked meeting.",
            "title": "Booked",
            "type": "integer"
          },
          "corrected": {
            "description": "Demos a correction took out.",
            "title": "Corrected",
            "type": "integer"
          },
          "demos": {
            "description": "The billed unit: buyers on a day with two minutes of conversation or more, or with a meeting booked in a shorter one.",
            "title": "Demos",
            "type": "integer"
          },
          "meetings": {
            "description": "Buyers on a day who asked for the account's team. Reported, never billed.",
            "title": "Meetings",
            "type": "integer"
          },
          "none": {
            "description": "Lines with no conversation.",
            "title": "None",
            "type": "integer"
          },
          "opened": {
            "description": "Times the demo was opened.",
            "title": "Opened",
            "type": "integer"
          },
          "our_side": {
            "description": "Lines whose calls ended on Solacia's side.",
            "title": "Our Side",
            "type": "integer"
          },
          "qualified": {
            "description": "Demos whose buyer fits the account's rules. Reported, never billed.",
            "title": "Qualified",
            "type": "integer"
          },
          "short": {
            "description": "Lines under two minutes.",
            "title": "Short",
            "type": "integer"
          },
          "talked": {
            "description": "Buyers on a day with any conversation.",
            "title": "Talked",
            "type": "integer"
          },
          "tests": {
            "description": "Lines left out as tests.",
            "title": "Tests",
            "type": "integer"
          },
          "timed_out": {
            "description": "Lines whose calls timed out with nothing heard.",
            "title": "Timed Out",
            "type": "integer"
          }
        },
        "required": [
          "opened",
          "talked",
          "demos",
          "qualified",
          "meetings",
          "tests",
          "short",
          "our_side",
          "timed_out",
          "none",
          "corrected"
        ],
        "title": "BillingCount",
        "type": "object"
      },
      "BillingLine": {
        "additionalProperties": false,
        "description": "One buyer on one Eastern day, and whether it counts as a demo.",
        "properties": {
          "at": {
            "description": "The first word, ISO 8601; the first opening when nobody talked.",
            "title": "At",
            "type": "string"
          },
          "audience": {
            "description": "Who the demo is for. buyer: someone the vendor could sell to. vendor: a prospect's own people on a link Solacia made. made_up: a made-up buyer on dev. test: an address at the vendor's or Solacia's domain. staff: opened by Solacia's team. try: opened by a try link. rehearsal: the team rehearsing an agent. `test` is true for test, staff, try and rehearsal.",
            "enum": [
              "buyer",
              "vendor",
              "made_up",
              "test",
              "staff",
              "try",
              "rehearsal"
            ],
            "title": "Audience",
            "type": "string"
          },
          "booked": {
            "default": false,
            "description": "The buyer booked a meeting with the account's team that day, in the demo.",
            "title": "Booked",
            "type": "boolean"
          },
          "buyer": {
            "description": "Their work email; \"\" for an anonymous buyer.",
            "title": "Buyer",
            "type": "string"
          },
          "calls": {
            "title": "Calls",
            "type": "integer"
          },
          "correction": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/BillingCorrection"
              },
              {
                "type": "null"
              }
            ],
            "description": "The correction that stands, if any."
          },
          "counted": {
            "description": "It is a demo: the billed unit.",
            "title": "Counted",
            "type": "boolean"
          },
          "cut": {
            "description": "Seconds of calls that ended on Solacia's side: never counted.",
            "title": "Cut",
            "type": "integer"
          },
          "day": {
            "description": "The Eastern day.",
            "format": "date",
            "title": "Day",
            "type": "string"
          },
          "demos": {
            "description": "That day's demos of this buyer, oldest first: ids for GET /v1/demos/{id}.",
            "items": {
              "type": "string"
            },
            "title": "Demos",
            "type": "array"
          },
          "door": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "description": "How they arrived, as on a demo.",
            "title": "Door"
          },
          "final": {
            "description": "Its day is closed: the line no longer changes, except by a correction.",
            "title": "Final",
            "type": "boolean"
          },
          "link": {
            "description": "The link they used; \"\" with none.",
            "title": "Link",
            "type": "string"
          },
          "meeting": {
            "description": "The buyer asked for the account's team.",
            "title": "Meeting",
            "type": "boolean"
          },
          "qualified": {
            "title": "Qualified",
            "type": "boolean"
          },
          "reason": {
            "description": "`why` in words, in English.",
            "title": "Reason",
            "type": "string"
          },
          "seconds": {
            "description": "The conversation that counts: calls that held, and typing.",
            "title": "Seconds",
            "type": "integer"
          },
          "silent": {
            "description": "Seconds of calls that timed out with nothing heard: never counted.",
            "title": "Silent",
            "type": "integer"
          },
          "talked": {
            "title": "Talked",
            "type": "boolean"
          },
          "typed": {
            "description": "Of `seconds`, typed.",
            "title": "Typed",
            "type": "integer"
          },
          "unended": {
            "description": "Calls with no ending on record, counted by their length.",
            "title": "Unended",
            "type": "integer"
          },
          "why": {
            "description": "The one reason it counts or not. `demo`: two minutes or more. `booked`: under two minutes, and the buyer booked a meeting.",
            "enum": [
              "demo",
              "booked",
              "test",
              "our_side",
              "timed_out",
              "short",
              "none",
              "corrected"
            ],
            "title": "Why",
            "type": "string"
          }
        },
        "required": [
          "day",
          "at",
          "buyer",
          "demos",
          "door",
          "link",
          "talked",
          "calls",
          "seconds",
          "typed",
          "cut",
          "silent",
          "unended",
          "counted",
          "why",
          "audience",
          "reason",
          "qualified",
          "meeting",
          "final"
        ],
        "title": "BillingLine",
        "type": "object"
      },
      "BillingMonth": {
        "additionalProperties": false,
        "description": "One month of the plan, and how it stands.",
        "properties": {
          "carried": {
            "description": "Demos left by the month before; in month 1, brought in with the plan.",
            "title": "Carried",
            "type": "integer"
          },
          "current": {
            "description": "Today (Eastern Time) is one of its days.",
            "title": "Current",
            "type": "boolean"
          },
          "first": {
            "format": "date",
            "title": "First",
            "type": "string"
          },
          "included": {
            "description": "The plan's demos a month.",
            "title": "Included",
            "type": "integer"
          },
          "last": {
            "format": "date",
            "title": "Last",
            "type": "string"
          },
          "left": {
            "description": "included + carried - used. Below zero: demos over the plan.",
            "title": "Left",
            "type": "integer"
          },
          "n": {
            "description": "1 is the plan's first month.",
            "title": "N",
            "type": "integer"
          },
          "used": {
            "description": "Demos counted in its days so far.",
            "title": "Used",
            "type": "integer"
          }
        },
        "required": [
          "n",
          "first",
          "last",
          "included",
          "carried",
          "used",
          "left",
          "current"
        ],
        "title": "BillingMonth",
        "type": "object"
      },
      "BillingPlan": {
        "additionalProperties": false,
        "description": "The account's plan: demos a month from a first day, and its counter. A month runs from\nthe plan's day of the month to the day before it in the next, in Eastern Time. What a\nmonth leaves is added to the next; a month that ends over its plan takes nothing from it.",
        "properties": {
          "carried": {
            "description": "Demos brought in from an earlier plan, added to month 1.",
            "title": "Carried",
            "type": "integer"
          },
          "counter": {
            "description": "Every month that has begun, oldest first.",
            "items": {
              "$ref": "#/components/schemas/BillingMonth"
            },
            "title": "Counter",
            "type": "array"
          },
          "demos": {
            "description": "Demos a month.",
            "title": "Demos",
            "type": "integer"
          },
          "first": {
            "description": "The day month 1 begins.",
            "format": "date",
            "title": "First",
            "type": "string"
          },
          "last": {
            "anyOf": [
              {
                "format": "date",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "description": "Its last day; null with no end.",
            "title": "Last"
          },
          "months": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "description": "How many months it runs; null: no end.",
            "title": "Months"
          },
          "standing": {
            "enum": [
              "not_started",
              "running",
              "ended"
            ],
            "title": "Standing",
            "type": "string"
          },
          "uncounted_before": {
            "anyOf": [
              {
                "format": "date",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "description": "Days before this one that are not final are not in the counter yet. Null: none.",
            "title": "Uncounted Before"
          }
        },
        "required": [
          "demos",
          "first",
          "months",
          "carried",
          "last",
          "standing",
          "counter"
        ],
        "title": "BillingPlan",
        "type": "object"
      },
      "BriefLink": {
        "additionalProperties": false,
        "description": "The link to the buyer's brief that opens without a console account, to a work email at the\naccount proven by a code, when a hand-off sent one.",
        "properties": {
          "ended_at": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Ended At"
          },
          "ended_by": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Ended By"
          },
          "made": {
            "description": "Links made for this demo's brief.",
            "title": "Made",
            "type": "integer"
          },
          "open": {
            "description": "One still opens: none ended since.",
            "title": "Open",
            "type": "boolean"
          },
          "opens": {
            "items": {
              "$ref": "#/components/schemas/BriefOpen"
            },
            "title": "Opens",
            "type": "array"
          }
        },
        "required": [
          "made",
          "open",
          "opens"
        ],
        "title": "BriefLink",
        "type": "object"
      },
      "BriefLinkEndIn": {
        "additionalProperties": false,
        "description": "End every link a demo's brief went out with. The next hand-off makes a new one.",
        "properties": {
          "demo": {
            "maxLength": 120,
            "minLength": 1,
            "title": "Demo",
            "type": "string"
          }
        },
        "required": [
          "demo"
        ],
        "title": "BriefLinkEndIn",
        "type": "object"
      },
      "BriefLinkMade": {
        "additionalProperties": false,
        "description": "A new link to a demo's brief that opens without a console account, for the team to send a\nrep by hand. It opens to whoever proves a work email at the account (or at Solacia) with a\ncode sent there, until it ends or the team ends it on Handoff.",
        "properties": {
          "ends_at": {
            "description": "When it stops opening, ISO 8601.",
            "title": "Ends At",
            "type": "string"
          },
          "url": {
            "title": "Url",
            "type": "string"
          }
        },
        "required": [
          "url",
          "ends_at"
        ],
        "title": "BriefLinkMade",
        "type": "object"
      },
      "BriefOpen": {
        "additionalProperties": false,
        "description": "One read of a brief link: when, by whom, and roughly where, as the host saw it.",
        "properties": {
          "at": {
            "title": "At",
            "type": "string"
          },
          "city": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "City"
          },
          "country": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Country"
          },
          "played": {
            "default": false,
            "description": "The call's recording started playing, rather than the brief being read.",
            "title": "Played",
            "type": "boolean"
          },
          "reader": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "description": "The work email the reader proved with a code sent to it.",
            "title": "Reader"
          },
          "region": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Region"
          },
          "visitor": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "description": "The reader's address and browser, hashed: the same reader reads the same.",
            "title": "Visitor"
          }
        },
        "required": [
          "at"
        ],
        "title": "BriefOpen",
        "type": "object"
      },
      "Buyer": {
        "additionalProperties": false,
        "description": "One row of the console's Buyers list, one per buyer (their demos joined by work email):\nwho they are, three facts, their main question and where it stands. In preview.",
        "properties": {
          "action": {
            "anyOf": [
              {
                "enum": [
                  "book",
                  "prep",
                  "follow_up"
                ],
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "description": "What a seller does next: book the call they asked for, prep the call they booked, or send the follow-up; empty when there is no way to reach them. In preview.",
            "title": "Action"
          },
          "agent": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Agent"
          },
          "asked": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/BuyerAsked"
              },
              {
                "type": "null"
              }
            ]
          },
          "audience": {
            "default": "buyer",
            "description": "Who the demo is for. buyer: someone the vendor could sell to. vendor: a prospect's own people on a link Solacia made. made_up: a made-up buyer on dev. test: an address at the vendor's or Solacia's domain. staff: opened by Solacia's team. try: opened by a try link. rehearsal: the team rehearsing an agent. `test` is true for test, staff, try and rehearsal.",
            "enum": [
              "buyer",
              "vendor",
              "made_up",
              "test",
              "staff",
              "try",
              "rehearsal"
            ],
            "title": "Audience",
            "type": "string"
          },
          "calls": {
            "description": "Voice calls with the agent.",
            "title": "Calls",
            "type": "integer"
          },
          "company": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Company"
          },
          "crm": {
            "title": "Crm",
            "type": "boolean"
          },
          "demos": {
            "description": "Their demos in all; 2 or more means they came back.",
            "title": "Demos",
            "type": "integer"
          },
          "done": {
            "default": false,
            "description": "The action is done: a teammate marked it, or the call they booked has begun. A new demo or a new action brings it back. In preview.",
            "title": "Done",
            "type": "boolean"
          },
          "door": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "examples": [
              "site:acme.com"
            ],
            "title": "Door"
          },
          "email": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Email"
          },
          "facts": {
            "description": "Three things about their business.",
            "examples": [
              [
                "420 employees",
                "SAP"
              ]
            ],
            "items": {
              "type": "string"
            },
            "title": "Facts",
            "type": "array"
          },
          "first_at": {
            "title": "First At",
            "type": "string"
          },
          "fit": {
            "examples": [
              "ICP"
            ],
            "title": "Fit",
            "type": "string"
          },
          "follow_up": {
            "title": "Follow Up",
            "type": "boolean"
          },
          "found": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/BuyerFound"
              },
              {
                "type": "null"
              }
            ],
            "description": "With `q`: what it met in what they said; empty when their name met it."
          },
          "id": {
            "description": "Their newest demo with their email (their newest, when none has it).",
            "title": "Id",
            "type": "string"
          },
          "label": {
            "description": "The outcome in words.",
            "examples": [
              "Meeting requested"
            ],
            "title": "Label",
            "type": "string"
          },
          "last_at": {
            "title": "Last At",
            "type": "string"
          },
          "logo": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "description": "Their company's logo (Brandfetch's CDN), linked, never copied. In preview.",
            "title": "Logo"
          },
          "minutes": {
            "description": "Active minutes in the demo.",
            "title": "Minutes",
            "type": "number"
          },
          "name": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "description": "The person, when their link's brief or their email names them.",
            "title": "Name"
          },
          "number": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Number"
          },
          "outcome": {
            "enum": [
              "meeting",
              "qualified",
              "nurture",
              "anonymous"
            ],
            "title": "Outcome",
            "type": "string"
          },
          "qualified": {
            "title": "Qualified",
            "type": "boolean"
          },
          "questions": {
            "title": "Questions",
            "type": "integer"
          },
          "reach": {
            "description": "How far the demo went: opened, saw, asked, talked, asked to meet.",
            "maximum": 5.0,
            "minimum": 1.0,
            "title": "Reach",
            "type": "integer"
          },
          "role": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Role"
          },
          "score": {
            "description": "Orders buyers within an outcome: higher is more promising.",
            "title": "Score",
            "type": "integer"
          },
          "seen": {
            "description": "The parts of the product they saw.",
            "title": "Seen",
            "type": "integer"
          },
          "sessions": {
            "description": "Their demos in the period: `id` first, then the rest newest first. Demos share a work email, or ran in the same browser before they gave one.",
            "items": {
              "type": "string"
            },
            "title": "Sessions",
            "type": "array"
          },
          "size": {
            "description": "Enterprise, Mid-market, SMB, or empty when unknown.",
            "title": "Size",
            "type": "string"
          },
          "slot": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "description": "The meeting time the buyer picked.",
            "title": "Slot"
          },
          "test": {
            "title": "Test",
            "type": "boolean"
          },
          "unanswered": {
            "title": "Unanswered",
            "type": "integer"
          }
        },
        "required": [
          "id",
          "number",
          "name",
          "email",
          "company",
          "role",
          "outcome",
          "label",
          "qualified",
          "fit",
          "score",
          "facts",
          "asked",
          "questions",
          "unanswered",
          "reach",
          "size",
          "demos",
          "sessions",
          "minutes",
          "seen",
          "calls",
          "slot",
          "follow_up",
          "crm",
          "agent",
          "door",
          "test",
          "first_at",
          "last_at"
        ],
        "title": "Buyer",
        "type": "object"
      },
      "BuyerAsked": {
        "additionalProperties": false,
        "properties": {
          "answered": {
            "enum": [
              "yes",
              "partly",
              "no"
            ],
            "title": "Answered",
            "type": "string"
          },
          "text": {
            "description": "Their main question, in their own words.",
            "title": "Text",
            "type": "string"
          }
        },
        "required": [
          "text",
          "answered"
        ],
        "title": "BuyerAsked",
        "type": "object"
      },
      "BuyerDone": {
        "additionalProperties": false,
        "properties": {
          "action": {
            "enum": [
              "book",
              "prep",
              "follow_up"
            ],
            "title": "Action",
            "type": "string"
          },
          "done": {
            "title": "Done",
            "type": "boolean"
          },
          "id": {
            "title": "Id",
            "type": "string"
          }
        },
        "required": [
          "id",
          "action",
          "done"
        ],
        "title": "BuyerDone",
        "type": "object"
      },
      "BuyerDoneIn": {
        "additionalProperties": false,
        "description": "A teammate marks the one thing to do for a buyer done, or takes the mark back.",
        "properties": {
          "action": {
            "description": "The action they did, as the row gave it.",
            "enum": [
              "book",
              "prep",
              "follow_up"
            ],
            "title": "Action",
            "type": "string"
          },
          "done": {
            "default": true,
            "description": "False takes the mark back (Undo).",
            "title": "Done",
            "type": "boolean"
          }
        },
        "required": [
          "action"
        ],
        "title": "BuyerDoneIn",
        "type": "object"
      },
      "BuyerFound": {
        "additionalProperties": false,
        "description": "Where a search met the buyer: what they said (or a fact the demo learned), cut around\nthe words, with where each word sits.",
        "properties": {
          "at": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "description": "When they said it; empty for a fact.",
            "title": "At"
          },
          "demo": {
            "description": "The demo they said it in.",
            "title": "Demo",
            "type": "string"
          },
          "marks": {
            "description": "[start, end) of each matched word in `text`.",
            "items": {
              "items": {
                "type": "integer"
              },
              "type": "array"
            },
            "title": "Marks",
            "type": "array"
          },
          "text": {
            "title": "Text",
            "type": "string"
          },
          "where": {
            "description": "Said on a call, written in the chat, a suggested question they tapped, or a fact.",
            "enum": [
              "call",
              "chat",
              "tapped",
              "fact"
            ],
            "title": "Where",
            "type": "string"
          }
        },
        "required": [
          "where",
          "text",
          "marks",
          "at",
          "demo"
        ],
        "title": "BuyerFound",
        "type": "object"
      },
      "Buyers": {
        "additionalProperties": false,
        "properties": {
          "buyers": {
            "items": {
              "$ref": "#/components/schemas/Buyer"
            },
            "title": "Buyers",
            "type": "array"
          },
          "days": {
            "title": "Days",
            "type": "integer"
          },
          "hidden_tests": {
            "description": "Test demos left out; ask with tests=true to see them.",
            "title": "Hidden Tests",
            "type": "integer"
          },
          "next_cursor": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "description": "Pass it as `cursor` for the buyers after these; empty on the last page.",
            "title": "Next Cursor"
          },
          "total": {
            "default": 0,
            "description": "Buyers that matched, over every page.",
            "title": "Total",
            "type": "integer"
          }
        },
        "required": [
          "days",
          "hidden_tests",
          "buyers"
        ],
        "title": "Buyers",
        "type": "object"
      },
      "Call": {
        "additionalProperties": false,
        "properties": {
          "ended": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "description": "goodbye, left, idle, limit, timeout, error; null when unknown.",
            "title": "Ended"
          },
          "minutes": {
            "title": "Minutes",
            "type": "number"
          },
          "model": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "description": "Always null. Kept so v1 answers stay the same shape.",
            "title": "Model"
          },
          "started_at": {
            "title": "Started At",
            "type": "string"
          },
          "voice": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "description": "Always null. Kept so v1 answers stay the same shape.",
            "title": "Voice"
          }
        },
        "required": [
          "started_at",
          "minutes",
          "ended"
        ],
        "title": "Call",
        "type": "object"
      },
      "CallAsked": {
        "additionalProperties": false,
        "properties": {
          "answer": {
            "description": "The rep's answer, true for every buyer.",
            "title": "Answer",
            "type": "string"
          },
          "question": {
            "title": "Question",
            "type": "string"
          },
          "said": {
            "description": "The rep's own sentence, from the transcript.",
            "title": "Said",
            "type": "string"
          }
        },
        "required": [
          "question",
          "answer",
          "said"
        ],
        "title": "CallAsked",
        "type": "object"
      },
      "CallMove": {
        "additionalProperties": false,
        "properties": {
          "move": {
            "title": "Move",
            "type": "string"
          },
          "said": {
            "title": "Said",
            "type": "string"
          }
        },
        "required": [
          "move",
          "said"
        ],
        "title": "CallMove",
        "type": "object"
      },
      "CallObjection": {
        "additionalProperties": false,
        "properties": {
          "handling": {
            "title": "Handling",
            "type": "string"
          },
          "objection": {
            "title": "Objection",
            "type": "string"
          },
          "said": {
            "title": "Said",
            "type": "string"
          }
        },
        "required": [
          "objection",
          "handling",
          "said"
        ],
        "title": "CallObjection",
        "type": "object"
      },
      "CallPicksIn": {
        "additionalProperties": false,
        "properties": {
          "picked": {
            "description": "The refs of the folders or spaces picked.",
            "items": {
              "maxLength": 120,
              "type": "string"
            },
            "maxItems": 50,
            "minItems": 1,
            "title": "Picked",
            "type": "array"
          }
        },
        "required": [
          "picked"
        ],
        "title": "CallPicksIn",
        "type": "object"
      },
      "CallPlace": {
        "additionalProperties": false,
        "description": "A Granola folder or space, or a Fathom team or meeting type, that may hold the vendor's\nsales calls.",
        "properties": {
          "kind": {
            "description": "folder or space (Granola); team, meeting_type or every (Fathom)",
            "title": "Kind",
            "type": "string"
          },
          "name": {
            "title": "Name",
            "type": "string"
          },
          "ref": {
            "description": "kind:id, as picked.",
            "examples": [
              "folder:fol_4y6LduVdwSKC27"
            ],
            "title": "Ref",
            "type": "string"
          }
        },
        "required": [
          "ref",
          "kind",
          "name"
        ],
        "title": "CallPlace",
        "type": "object"
      },
      "CallPlaces": {
        "additionalProperties": false,
        "description": "The folders and spaces the key reaches, and those picked.",
        "properties": {
          "picked": {
            "description": "The refs picked.",
            "items": {
              "type": "string"
            },
            "title": "Picked",
            "type": "array"
          },
          "places": {
            "items": {
              "$ref": "#/components/schemas/CallPlace"
            },
            "title": "Places",
            "type": "array"
          }
        },
        "required": [
          "places"
        ],
        "title": "CallPlaces",
        "type": "object"
      },
      "CampaignResult": {
        "additionalProperties": false,
        "description": "What one campaign's links have brought so far.",
        "properties": {
          "campaign": {
            "description": "Empty for links made without one.",
            "title": "Campaign",
            "type": "string"
          },
          "links": {
            "title": "Links",
            "type": "integer"
          },
          "opened": {
            "description": "Links whose prospect ran at least one demo.",
            "title": "Opened",
            "type": "integer"
          },
          "qualified": {
            "description": "Prospects whose hottest demo is hot or warm.",
            "title": "Qualified",
            "type": "integer"
          },
          "team_requests": {
            "description": "Prospects who asked to talk to your team.",
            "title": "Team Requests",
            "type": "integer"
          }
        },
        "required": [
          "campaign",
          "links",
          "opened",
          "qualified",
          "team_requests"
        ],
        "title": "CampaignResult",
        "type": "object"
      },
      "ChannelPace": {
        "additionalProperties": false,
        "properties": {
          "crm": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/CrmPace"
              },
              {
                "type": "null"
              }
            ],
            "description": "Outreach only: the same for a test against no demo, whose meetings come from the CRM"
          },
          "demos": {
            "description": "Demos the channel labelled in the last 30 days, test demos left out",
            "title": "Demos",
            "type": "integer"
          },
          "meetings": {
            "title": "Meetings",
            "type": "integer"
          },
          "per_side": {
            "description": "Buyers each side of a test needs to see that rate rise by half",
            "title": "Per Side",
            "type": "integer"
          },
          "per_side_double": {
            "description": "Buyers each side needs to see it double",
            "title": "Per Side Double",
            "type": "integer"
          },
          "per_week": {
            "title": "Per Week",
            "type": "number"
          },
          "rate": {
            "description": "The channel's meeting rate; 10% until it has 20 demos of its own",
            "title": "Rate",
            "type": "number"
          }
        },
        "required": [
          "demos",
          "meetings",
          "per_week",
          "rate",
          "per_side",
          "per_side_double"
        ],
        "title": "ChannelPace",
        "type": "object"
      },
      "ChapterOut": {
        "additionalProperties": false,
        "properties": {
          "at": {
            "description": "When the chapter's first line was said, ISO 8601, on the transcript's clock.",
            "title": "At",
            "type": "string"
          },
          "title": {
            "description": "Its name, a few words.",
            "title": "Title",
            "type": "string"
          }
        },
        "required": [
          "at",
          "title"
        ],
        "title": "ChapterOut",
        "type": "object"
      },
      "Chapters": {
        "additionalProperties": false,
        "description": "A recorded call's parts, in order, each named; empty when the call has none to show.\nNamed once per recording and language. In preview.",
        "properties": {
          "chapters": {
            "items": {
              "$ref": "#/components/schemas/ChapterOut"
            },
            "title": "Chapters",
            "type": "array"
          }
        },
        "required": [
          "chapters"
        ],
        "title": "Chapters",
        "type": "object"
      },
      "ChatbotConnection": {
        "additionalProperties": false,
        "description": "A chatbot (Claude, ChatGPT, any MCP client) a person connected to this account by OAuth.\nIt acts as that person, with no more than they allowed and their role allows.",
        "properties": {
          "at": {
            "description": "When it was connected, ISO 8601.",
            "title": "At",
            "type": "string"
          },
          "by": {
            "description": "The email of the person who connected it.",
            "title": "By",
            "type": "string"
          },
          "calls_30d": {
            "default": 0,
            "description": "The calls it made in the last 30 days, refused ones included.",
            "title": "Calls 30D",
            "type": "integer"
          },
          "client": {
            "description": "The chatbot's name, as it gave it.",
            "title": "Client",
            "type": "string"
          },
          "daily_calls": {
            "description": "Its calls on each of the last 30 days (UTC), oldest first; the last is today.",
            "items": {
              "type": "integer"
            },
            "title": "Daily Calls",
            "type": "array"
          },
          "ended_at": {
            "default": "",
            "description": "When it stopped working, ISO 8601; empty while it works.",
            "title": "Ended At",
            "type": "string"
          },
          "ended_by": {
            "default": "",
            "description": "Who revoked it.",
            "title": "Ended By",
            "type": "string"
          },
          "ended_why": {
            "default": "",
            "description": "Why it stopped: `revoked` by a person, `leaked` (its token found in public), `reused` (a spent token came back, so it may be stolen), `signed_out` (its person signed out everywhere, changed their password or left), or `expired` (unused for 90 days).",
            "enum": [
              "",
              "revoked",
              "leaked",
              "reused",
              "signed_out",
              "expired"
            ],
            "title": "Ended Why",
            "type": "string"
          },
          "id": {
            "description": "The connection's id. Revoke it by this.",
            "title": "Id",
            "type": "string"
          },
          "last_used_at": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "description": "When it last made a call, ISO 8601; null: never.",
            "title": "Last Used At"
          },
          "scopes": {
            "description": "What the person allowed it.",
            "items": {
              "type": "string"
            },
            "title": "Scopes",
            "type": "array"
          },
          "state": {
            "default": "active",
            "description": "Whether it still works.",
            "enum": [
              "active",
              "ended"
            ],
            "title": "State",
            "type": "string"
          },
          "yours": {
            "default": false,
            "description": "Connected by the person making this call.",
            "title": "Yours",
            "type": "boolean"
          }
        },
        "required": [
          "id",
          "client",
          "by",
          "scopes",
          "at"
        ],
        "title": "ChatbotConnection",
        "type": "object"
      },
      "ChatbotConnections": {
        "additionalProperties": false,
        "description": "The chatbots connected to this account, newest first, and the latest that stopped. An\nowner sees everyone's; anyone else sees their own.",
        "properties": {
          "connections": {
            "items": {
              "$ref": "#/components/schemas/ChatbotConnection"
            },
            "title": "Connections",
            "type": "array"
          },
          "ended": {
            "description": "Connections that stopped working, the latest 50, newest first.",
            "items": {
              "$ref": "#/components/schemas/ChatbotConnection"
            },
            "title": "Ended",
            "type": "array"
          }
        },
        "required": [
          "connections"
        ],
        "title": "ChatbotConnections",
        "type": "object"
      },
      "ChiliPiperIn": {
        "additionalProperties": false,
        "description": "Chili Piper, as its admin made it for Solacia: an Edge API token with Concierge permissions.",
        "properties": {
          "token": {
            "maxLength": 2000,
            "minLength": 1,
            "title": "Token",
            "type": "string"
          }
        },
        "required": [
          "token"
        ],
        "title": "ChiliPiperIn",
        "type": "object"
      },
      "ChiliPiperRouter": {
        "additionalProperties": false,
        "description": "A Concierge router: its id, the name the API routes by (`slug`), its name, and where each\nof its fields (Chili Piper's data fields) gets its value (\"\" for nothing; one of\nChiliPiperRouters.sources). `listed_fields`: Chili Piper named its fields; false, they are\nits standard data fields (PersonEmail, ...).",
        "properties": {
          "defs": {
            "description": "Each field's type and, for a dropdown, the values it takes.",
            "items": {
              "$ref": "#/components/schemas/RouterField"
            },
            "title": "Defs",
            "type": "array"
          },
          "fields": {
            "additionalProperties": {
              "type": "string"
            },
            "title": "Fields",
            "type": "object"
          },
          "id": {
            "title": "Id",
            "type": "string"
          },
          "labels": {
            "additionalProperties": {
              "type": "string"
            },
            "description": "Each field's label in Chili Piper; a custom field's key is its UUID.",
            "title": "Labels",
            "type": "object"
          },
          "listed_fields": {
            "default": true,
            "title": "Listed Fields",
            "type": "boolean"
          },
          "name": {
            "title": "Name",
            "type": "string"
          },
          "slug": {
            "title": "Slug",
            "type": "string"
          },
          "trigger": {
            "default": "",
            "description": "How the router is told the buyer came, which its field keys fit; empty: an in-app button.",
            "enum": [
              "",
              "InAppButton",
              "ThirdPartyForm",
              "RouterLink"
            ],
            "title": "Trigger",
            "type": "string"
          }
        },
        "required": [
          "id",
          "slug",
          "name",
          "fields"
        ],
        "title": "ChiliPiperRouter",
        "type": "object"
      },
      "ChiliPiperRouterIn": {
        "additionalProperties": false,
        "description": "The router buyers go through (its slug, id or link) and where each of its fields gets its\nvalue (one of ChiliPiperRouters.sources, or \"\" for nothing); without `fields`, matched from\ntheir names and types.",
        "properties": {
          "fields": {
            "anyOf": [
              {
                "additionalProperties": {
                  "maxLength": 100,
                  "type": "string"
                },
                "maxProperties": 50,
                "propertyNames": {
                  "maxLength": 200
                },
                "type": "object"
              },
              {
                "type": "null"
              }
            ],
            "examples": [
              {
                "CompanyEmployees": "profile:company_size",
                "PersonEmail": "email",
                "PersonFirstName": "first_name"
              }
            ],
            "title": "Fields"
          },
          "router": {
            "examples": [
              "inbound-demo"
            ],
            "maxLength": 300,
            "minLength": 1,
            "title": "Router",
            "type": "string"
          }
        },
        "required": [
          "router"
        ],
        "title": "ChiliPiperRouterIn",
        "type": "object"
      },
      "ChiliPiperRouters": {
        "additionalProperties": false,
        "description": "The router buyers go through, and the token's routers to pick from. `listed` false: the\ntoken can't list routers, so the router is named by hand. `typed` false: the token can't\nread the data fields' types (Data fields: Read), so only the router's own form gives them.",
        "properties": {
          "chosen": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/ChiliPiperRouter"
              },
              {
                "type": "null"
              }
            ]
          },
          "listed": {
            "title": "Listed",
            "type": "boolean"
          },
          "routers": {
            "items": {
              "$ref": "#/components/schemas/ChiliPiperRouter"
            },
            "title": "Routers",
            "type": "array"
          },
          "sources": {
            "items": {
              "$ref": "#/components/schemas/FieldSource"
            },
            "title": "Sources",
            "type": "array"
          },
          "typed": {
            "default": true,
            "title": "Typed",
            "type": "boolean"
          }
        },
        "required": [
          "chosen",
          "routers",
          "listed"
        ],
        "title": "ChiliPiperRouters",
        "type": "object"
      },
      "ClayKeyMade": {
        "additionalProperties": false,
        "properties": {
          "key": {
            "description": "Whether a Clay key is live.",
            "title": "Key",
            "type": "boolean"
          },
          "key_at": {
            "default": "",
            "description": "When it was made, ISO 8601.",
            "title": "Key At",
            "type": "string"
          },
          "key_by": {
            "default": "",
            "description": "Who made the live key.",
            "title": "Key By",
            "type": "string"
          },
          "last_link_at": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "description": "When Clay last made one, ISO 8601; null before the first.",
            "title": "Last Link At"
          },
          "links": {
            "description": "Prospects whose link Clay made.",
            "title": "Links",
            "type": "integer"
          },
          "path": {
            "description": "Where Clay's HTTP column sends each row, on this site: the account's own API, which passes a key straight to its engine.",
            "title": "Path",
            "type": "string"
          },
          "secret": {
            "description": "The key, shown this once: Solacia keeps only its hash.",
            "title": "Secret",
            "type": "string"
          }
        },
        "required": [
          "key",
          "path",
          "links",
          "secret"
        ],
        "title": "ClayKeyMade",
        "type": "object"
      },
      "ClayStatus": {
        "additionalProperties": false,
        "description": "Whether Clay can make links for this account, and what it has made: the console's proof\nthat a Clay column is really connected.",
        "properties": {
          "key": {
            "description": "Whether a Clay key is live.",
            "title": "Key",
            "type": "boolean"
          },
          "key_at": {
            "default": "",
            "description": "When it was made, ISO 8601.",
            "title": "Key At",
            "type": "string"
          },
          "key_by": {
            "default": "",
            "description": "Who made the live key.",
            "title": "Key By",
            "type": "string"
          },
          "last_link_at": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "description": "When Clay last made one, ISO 8601; null before the first.",
            "title": "Last Link At"
          },
          "links": {
            "description": "Prospects whose link Clay made.",
            "title": "Links",
            "type": "integer"
          },
          "path": {
            "description": "Where Clay's HTTP column sends each row, on this site: the account's own API, which passes a key straight to its engine.",
            "title": "Path",
            "type": "string"
          }
        },
        "required": [
          "key",
          "path",
          "links"
        ],
        "title": "ClayStatus",
        "type": "object"
      },
      "Concern": {
        "additionalProperties": false,
        "properties": {
          "dealbreaker": {
            "title": "Dealbreaker",
            "type": "boolean"
          },
          "text": {
            "title": "Text",
            "type": "string"
          }
        },
        "required": [
          "text",
          "dealbreaker"
        ],
        "title": "Concern",
        "type": "object"
      },
      "Contact": {
        "additionalProperties": false,
        "properties": {
          "company": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "description": "From the email's domain.",
            "title": "Company"
          },
          "country": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "description": "Where their company is based (ISO 3166 code), when the buyer said it.",
            "examples": [
              "MX"
            ],
            "title": "Country"
          },
          "email": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Email"
          },
          "employees": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "description": "How many people their company has: what the buyer said, else the company lookup's.",
            "examples": [
              250
            ],
            "title": "Employees"
          },
          "role": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Role"
          }
        },
        "required": [
          "email",
          "company",
          "role"
        ],
        "title": "Contact",
        "type": "object"
      },
      "CraftLinkIn": {
        "additionalProperties": false,
        "description": "A Craft API connection the vendor made for the documents the agent may answer from.",
        "properties": {
          "key": {
            "default": "",
            "description": "The connection's API key, when it has one.",
            "maxLength": 500,
            "title": "Key",
            "type": "string"
          },
          "url": {
            "examples": [
              "https://connect.craft.do/links/AbC123/api/v1"
            ],
            "maxLength": 300,
            "minLength": 1,
            "title": "Url",
            "type": "string"
          }
        },
        "required": [
          "url"
        ],
        "title": "CraftLinkIn",
        "type": "object"
      },
      "CrmField": {
        "additionalProperties": false,
        "description": "One field of your CRM that Solacia may write (a Salesforce Lead field, a HubSpot contact\nproperty), as your CRM describes it.",
        "properties": {
          "choices": {
            "description": "A closed list's active values, as your CRM spells them.",
            "items": {
              "type": "string"
            },
            "title": "Choices",
            "type": "array"
          },
          "kind": {
            "enum": [
              "list",
              "text",
              "boolean",
              "date",
              "datetime"
            ],
            "title": "Kind",
            "type": "string"
          },
          "label": {
            "description": "What your team calls it.",
            "examples": [
              "Lead Source"
            ],
            "title": "Label",
            "type": "string"
          },
          "length": {
            "description": "The most characters it holds (text).",
            "title": "Length",
            "type": "integer"
          },
          "name": {
            "description": "Its API name (Salesforce) or internal name (HubSpot).",
            "examples": [
              "LeadSource"
            ],
            "title": "Name",
            "type": "string"
          }
        },
        "required": [
          "name",
          "label",
          "kind",
          "length",
          "choices"
        ],
        "title": "CrmField",
        "type": "object"
      },
      "CrmFields": {
        "additionalProperties": false,
        "description": "Your CRM's fields Solacia may write, by name, for a field map. In preview.",
        "properties": {
          "connected": {
            "description": "Your CRM is connected and answered; when not, the list is empty.",
            "title": "Connected",
            "type": "boolean"
          },
          "items": {
            "items": {
              "$ref": "#/components/schemas/CrmField"
            },
            "title": "Items",
            "type": "array"
          },
          "next_cursor": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Next Cursor"
          },
          "total": {
            "title": "Total",
            "type": "integer"
          }
        },
        "required": [
          "connected",
          "items",
          "total"
        ],
        "title": "CrmFields",
        "type": "object"
      },
      "CrmList": {
        "additionalProperties": false,
        "properties": {
          "id": {
            "title": "Id",
            "type": "string"
          },
          "name": {
            "title": "Name",
            "type": "string"
          },
          "size": {
            "description": "People on it (a campaign's contacts and leads), as the CRM last counted them.",
            "title": "Size",
            "type": "integer"
          },
          "updated": {
            "description": "When it last changed, ISO 8601, as the CRM says it.",
            "title": "Updated",
            "type": "string"
          }
        },
        "required": [
          "id",
          "name",
          "size",
          "updated"
        ],
        "title": "CrmList",
        "type": "object"
      },
      "CrmListLinks": {
        "additionalProperties": false,
        "properties": {
          "made": {
            "items": {
              "$ref": "#/components/schemas/DemoLink"
            },
            "title": "Made",
            "type": "array"
          },
          "next": {
            "default": "",
            "description": "Pass as `after` for the next page; empty after the last.",
            "title": "Next",
            "type": "string"
          },
          "no_email": {
            "default": 0,
            "description": "Contacts on this page without an email: no link.",
            "title": "No Email",
            "type": "integer"
          },
          "no_field": {
            "default": false,
            "description": "Salesforce: the org has no Solacia_Demo_Link__c URL field on Contact and Lead, so the links were made but not saved on the records.",
            "title": "No Field",
            "type": "boolean"
          },
          "refused": {
            "items": {
              "$ref": "#/components/schemas/LinkRefused"
            },
            "title": "Refused",
            "type": "array"
          },
          "refused_by_crm": {
            "default": "",
            "description": "Why the CRM refused the write, in its words.",
            "title": "Refused By Crm",
            "type": "string"
          },
          "written": {
            "description": "Whether each link reached its record: HubSpot's Solacia demo link property, Salesforce's Solacia Demo Link field.",
            "title": "Written",
            "type": "boolean"
          }
        },
        "required": [
          "made",
          "written"
        ],
        "title": "CrmListLinks",
        "type": "object"
      },
      "CrmListLinksIn": {
        "additionalProperties": false,
        "description": "Personal links for one page of a CRM list's contacts, written back onto each contact.",
        "properties": {
          "after": {
            "default": "",
            "description": "Where this page starts: the last answer's `next`.",
            "maxLength": 256,
            "title": "After",
            "type": "string"
          },
          "agent": {
            "anyOf": [
              {
                "maxLength": 80,
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "description": "The agent they meet; left out: the sender's default.",
            "title": "Agent"
          },
          "campaign": {
            "default": "",
            "maxLength": 80,
            "title": "Campaign",
            "type": "string"
          },
          "days": {
            "default": 30,
            "description": "How long the links open the demo.",
            "maximum": 90.0,
            "minimum": 1.0,
            "title": "Days",
            "type": "integer"
          },
          "list_id": {
            "maxLength": 64,
            "minLength": 1,
            "title": "List Id",
            "type": "string"
          }
        },
        "required": [
          "list_id"
        ],
        "title": "CrmListLinksIn",
        "type": "object"
      },
      "CrmLists": {
        "additionalProperties": false,
        "description": "The lists in the account's CRM a send can start from: HubSpot's contact lists, Salesforce's\ncampaigns.",
        "properties": {
          "connected": {
            "description": "Whether Solacia holds a connection to it.",
            "title": "Connected",
            "type": "boolean"
          },
          "crm": {
            "description": "The account's CRM (`hubspot`, `salesforce`), or empty when none is chosen.",
            "title": "Crm",
            "type": "string"
          },
          "lists": {
            "anyOf": [
              {
                "items": {
                  "$ref": "#/components/schemas/CrmList"
                },
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "description": "Its contact lists, most recently changed first; null when the CRM refused, such as a HubSpot connection made before Solacia asked to read lists.",
            "title": "Lists"
          },
          "refused": {
            "default": "",
            "description": "Why the CRM refused, in its words.",
            "title": "Refused",
            "type": "string"
          }
        },
        "required": [
          "crm",
          "connected",
          "lists"
        ],
        "title": "CrmLists",
        "type": "object"
      },
      "CrmPace": {
        "additionalProperties": false,
        "properties": {
          "per_side": {
            "title": "Per Side",
            "type": "integer"
          },
          "per_side_double": {
            "title": "Per Side Double",
            "type": "integer"
          },
          "rate": {
            "description": "The meeting rate assumed for cold outreach",
            "title": "Rate",
            "type": "number"
          }
        },
        "required": [
          "rate",
          "per_side",
          "per_side_double"
        ],
        "title": "CrmPace",
        "type": "object"
      },
      "Deal": {
        "additionalProperties": false,
        "description": "A deal the buyer is on in the account's CRM, as the team keeps it there.",
        "properties": {
          "amount": {
            "description": "As the CRM holds it; empty when none.",
            "title": "Amount",
            "type": "string"
          },
          "closed_at": {
            "description": "When it was won or lost, ISO 8601; empty while open.",
            "title": "Closed At",
            "type": "string"
          },
          "currency": {
            "title": "Currency",
            "type": "string"
          },
          "id": {
            "title": "Id",
            "type": "string"
          },
          "name": {
            "title": "Name",
            "type": "string"
          },
          "stage": {
            "description": "Its stage, as the CRM names it.",
            "title": "Stage",
            "type": "string"
          },
          "state": {
            "enum": [
              "open",
              "won",
              "lost"
            ],
            "title": "State",
            "type": "string"
          }
        },
        "required": [
          "id",
          "name",
          "stage",
          "state",
          "amount",
          "currency",
          "closed_at"
        ],
        "title": "Deal",
        "type": "object"
      },
      "Deleted": {
        "additionalProperties": false,
        "properties": {
          "deleted": {
            "title": "Deleted",
            "type": "boolean"
          }
        },
        "required": [
          "deleted"
        ],
        "title": "Deleted",
        "type": "object"
      },
      "Demo": {
        "additionalProperties": false,
        "description": "One run of the demo, by one buyer, as the record shows it: when, how long, in what\nlanguage, whether they left an email, what calls it had.",
        "properties": {
          "audience": {
            "default": "buyer",
            "description": "Who the demo is for. buyer: someone the vendor could sell to. vendor: a prospect's own people on a link Solacia made. made_up: a made-up buyer on dev. test: an address at the vendor's or Solacia's domain. staff: opened by Solacia's team. try: opened by a try link. rehearsal: the team rehearsing an agent. `test` is true for test, staff, try and rehearsal.",
            "enum": [
              "buyer",
              "vendor",
              "made_up",
              "test",
              "staff",
              "try",
              "rehearsal"
            ],
            "title": "Audience",
            "type": "string"
          },
          "calls": {
            "items": {
              "$ref": "#/components/schemas/Call"
            },
            "title": "Calls",
            "type": "array"
          },
          "contact": {
            "description": "Whether the buyer left an email; the lead has it.",
            "title": "Contact",
            "type": "boolean"
          },
          "first_at": {
            "title": "First At",
            "type": "string"
          },
          "id": {
            "title": "Id",
            "type": "string"
          },
          "language": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Language"
          },
          "last_at": {
            "title": "Last At",
            "type": "string"
          },
          "minutes": {
            "title": "Minutes",
            "type": "number"
          },
          "number": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Number"
          },
          "priority": {
            "enum": [
              "hot",
              "warm",
              "nurture",
              "cold"
            ],
            "title": "Priority",
            "type": "string"
          },
          "product": {
            "title": "Product",
            "type": "string"
          },
          "schema": {
            "default": "solacia.demo.v1",
            "title": "Schema",
            "type": "string"
          },
          "stages": {
            "items": {
              "type": "string"
            },
            "title": "Stages",
            "type": "array"
          },
          "test": {
            "title": "Test",
            "type": "boolean"
          },
          "turns": {
            "description": "What the buyer typed or said, as turns.",
            "title": "Turns",
            "type": "integer"
          }
        },
        "required": [
          "id",
          "number",
          "product",
          "first_at",
          "last_at",
          "minutes",
          "turns",
          "language",
          "contact",
          "test",
          "priority",
          "stages",
          "calls"
        ],
        "title": "Demo",
        "type": "object"
      },
      "DemoLink": {
        "additionalProperties": false,
        "description": "A personal link: it opens the demo without the password and records the demo under the\nprospect's email. With what the prospect has done since it was made.",
        "properties": {
          "agent": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "description": "The agent the link was made with; null: the outbound channel's.",
            "title": "Agent"
          },
          "anonymous": {
            "default": false,
            "title": "Anonymous",
            "type": "boolean"
          },
          "campaign": {
            "default": "",
            "title": "Campaign",
            "type": "string"
          },
          "company": {
            "title": "Company",
            "type": "string"
          },
          "demos": {
            "default": 0,
            "description": "Demos the prospect ran since the link was made.",
            "title": "Demos",
            "type": "integer"
          },
          "email": {
            "title": "Email",
            "type": "string"
          },
          "expires_at": {
            "description": "ISO 8601, UTC.",
            "title": "Expires At",
            "type": "string"
          },
          "last_demo_at": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "description": "ISO 8601; null before a demo.",
            "title": "Last Demo At"
          },
          "made_at": {
            "description": "ISO 8601.",
            "title": "Made At",
            "type": "string"
          },
          "made_by": {
            "title": "Made By",
            "type": "string"
          },
          "name": {
            "title": "Name",
            "type": "string"
          },
          "notes": {
            "title": "Notes",
            "type": "string"
          },
          "priority": {
            "anyOf": [
              {
                "enum": [
                  "hot",
                  "warm",
                  "nurture",
                  "cold"
                ],
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "description": "The hottest of those demos; null before one.",
            "title": "Priority"
          },
          "role": {
            "title": "Role",
            "type": "string"
          },
          "sent_to": {
            "default": "",
            "title": "Sent To",
            "type": "string"
          },
          "team_requested": {
            "default": false,
            "description": "They asked to talk to your team in one of them.",
            "title": "Team Requested",
            "type": "boolean"
          },
          "test": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "description": "The outreach test that sorted them when the link was made.",
            "title": "Test"
          },
          "try_out": {
            "default": false,
            "description": "A try link, kept for your team to try the demo.",
            "title": "Try Out",
            "type": "boolean"
          },
          "url": {
            "description": "The link to send; empty when the site cannot sign links.",
            "title": "Url",
            "type": "string"
          },
          "with_demo": {
            "default": true,
            "description": "False while an outreach test puts this prospect on its side with no demo: send them the same email without the demo link. `url` is then empty.",
            "title": "With Demo",
            "type": "boolean"
          }
        },
        "required": [
          "url",
          "email",
          "name",
          "company",
          "role",
          "notes",
          "expires_at",
          "made_by",
          "made_at"
        ],
        "title": "DemoLink",
        "type": "object"
      },
      "DemoLinkIn": {
        "additionalProperties": false,
        "description": "A personal demo link for one prospect, and who they are. Everything but the email is\noptional; what is given, the agent reads before the call. An anonymous link needs no email\nand names nobody.",
        "properties": {
          "agent": {
            "anyOf": [
              {
                "maxLength": 80,
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "description": "The agent the prospect meets: its id. Left out: the sender's default agent, else the outbound channel's.",
            "title": "Agent"
          },
          "anonymous": {
            "default": false,
            "description": "A link for someone unnamed: its demos are filed under an address made up for it, and a buyer who asks for your team gives their own email.",
            "title": "Anonymous",
            "type": "boolean"
          },
          "campaign": {
            "default": "",
            "description": "The list, segment or sequence the link goes out in, such as CFOs Mexico Q4. Your team's label: the agent never sees it; the lead record carries it.",
            "maxLength": 80,
            "title": "Campaign",
            "type": "string"
          },
          "company": {
            "default": "",
            "maxLength": 80,
            "title": "Company",
            "type": "string"
          },
          "days": {
            "default": 30,
            "description": "How long the link opens the demo.",
            "maximum": 90.0,
            "minimum": 1.0,
            "title": "Days",
            "type": "integer"
          },
          "email": {
            "default": "",
            "description": "The prospect's work email; none for an anonymous link.",
            "maxLength": 254,
            "title": "Email",
            "type": "string"
          },
          "name": {
            "default": "",
            "description": "Their name, to greet them by.",
            "maxLength": 80,
            "title": "Name",
            "type": "string"
          },
          "notes": {
            "default": "",
            "description": "What the rep knows that should shape the demo. The agent checks it with the buyer before relying on it and never quotes it.",
            "maxLength": 600,
            "title": "Notes",
            "type": "string"
          },
          "role": {
            "default": "",
            "description": "Their job, such as CFO.",
            "maxLength": 80,
            "title": "Role",
            "type": "string"
          },
          "sent_to": {
            "default": "",
            "description": "Who you sent the link to: a company, a person or both. Your team's label: the agent never sees it.",
            "maxLength": 80,
            "title": "Sent To",
            "type": "string"
          },
          "try_out": {
            "default": false,
            "description": "A try link, Solacia's team only: one we keep to try the demo ourselves, never sent to a buyer. Its demos never post to Slack or reach the CRM. Anyone else is refused.",
            "title": "Try Out",
            "type": "boolean"
          }
        },
        "title": "DemoLinkIn",
        "type": "object"
      },
      "DemoLinks": {
        "additionalProperties": false,
        "description": "The links made from the console or the API, newest first, one per prospect, and what\neach campaign has brought.",
        "properties": {
          "campaigns": {
            "description": "One row per campaign over every link, most links first.",
            "items": {
              "$ref": "#/components/schemas/CampaignResult"
            },
            "title": "Campaigns",
            "type": "array"
          },
          "links": {
            "items": {
              "$ref": "#/components/schemas/DemoLink"
            },
            "title": "Links",
            "type": "array"
          },
          "next_cursor": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "description": "Pass it as `cursor` for the links after these; empty on the last page.",
            "title": "Next Cursor"
          },
          "total": {
            "default": 0,
            "description": "Links that matched, over every page.",
            "title": "Total",
            "type": "integer"
          }
        },
        "required": [
          "links"
        ],
        "title": "DemoLinks",
        "type": "object"
      },
      "DemoLinksIn": {
        "additionalProperties": false,
        "description": "Personal demo links for a list of prospects, made in one request: a file a rep dropped,\nor a sequence's export. Each row is one prospect, as for a single link.",
        "properties": {
          "rows": {
            "description": "Up to 500 prospects.",
            "items": {
              "$ref": "#/components/schemas/DemoLinkIn"
            },
            "maxItems": 500,
            "minItems": 1,
            "title": "Rows",
            "type": "array"
          }
        },
        "required": [
          "rows"
        ],
        "title": "DemoLinksIn",
        "type": "object"
      },
      "DemoLinksMade": {
        "additionalProperties": false,
        "description": "What a batch made: a link per prospect, in the order given, and the rows refused.",
        "properties": {
          "made": {
            "items": {
              "$ref": "#/components/schemas/DemoLink"
            },
            "title": "Made",
            "type": "array"
          },
          "refused": {
            "items": {
              "$ref": "#/components/schemas/LinkRefused"
            },
            "title": "Refused",
            "type": "array"
          }
        },
        "required": [
          "made"
        ],
        "title": "DemoLinksMade",
        "type": "object"
      },
      "DemoPage": {
        "additionalProperties": false,
        "properties": {
          "items": {
            "items": {
              "$ref": "#/components/schemas/Demo"
            },
            "title": "Items",
            "type": "array"
          },
          "next_cursor": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Next Cursor"
          },
          "total": {
            "default": 0,
            "description": "Demos that matched, over every page.",
            "title": "Total",
            "type": "integer"
          }
        },
        "required": [
          "items",
          "next_cursor"
        ],
        "title": "DemoPage",
        "type": "object"
      },
      "DemoTheme": {
        "additionalProperties": false,
        "description": "The colours the demo wears now (`colours`), and the product's own (`default`), which a\nreset goes back to.",
        "properties": {
          "colours": {
            "$ref": "#/components/schemas/ThemeColours"
          },
          "custom": {
            "description": "Whether the team picked these, rather than the product's own",
            "title": "Custom",
            "type": "boolean"
          },
          "default": {
            "$ref": "#/components/schemas/ThemeColours"
          }
        },
        "required": [
          "colours",
          "default",
          "custom"
        ],
        "title": "DemoTheme",
        "type": "object"
      },
      "Dictation": {
        "additionalProperties": false,
        "properties": {
          "text": {
            "description": "What was said, punctuated; empty when nothing was heard",
            "title": "Text",
            "type": "string"
          }
        },
        "required": [
          "text"
        ],
        "title": "Dictation",
        "type": "object"
      },
      "DictationIn": {
        "additionalProperties": false,
        "description": "A recording of someone saying an answer, base64, as the browser recorded it.",
        "properties": {
          "audio": {
            "description": "The recording, base64, up to 3 MB",
            "maxLength": 4200000,
            "minLength": 1,
            "title": "Audio",
            "type": "string"
          },
          "type": {
            "default": "audio/webm",
            "examples": [
              "audio/webm;codecs=opus"
            ],
            "maxLength": 100,
            "pattern": "^audio/",
            "title": "Type",
            "type": "string"
          }
        },
        "required": [
          "audio"
        ],
        "title": "DictationIn",
        "type": "object"
      },
      "DisputeSide": {
        "additionalProperties": false,
        "description": "Where one side of a dispute says it: the section of an internal document, or a public\ndocs page.",
        "properties": {
          "document": {
            "default": "",
            "description": "The internal document's title; empty for a public page.",
            "title": "Document",
            "type": "string"
          },
          "says": {
            "description": "Its sentence that states it, as written there.",
            "title": "Says",
            "type": "string"
          },
          "title": {
            "description": "The internal section's heading, or the public page's title.",
            "title": "Title",
            "type": "string"
          },
          "url": {
            "default": "",
            "description": "The public page's address; empty for an internal document.",
            "title": "Url",
            "type": "string"
          }
        },
        "required": [
          "title",
          "says"
        ],
        "title": "DisputeSide",
        "type": "object"
      },
      "DocsDispute": {
        "additionalProperties": false,
        "description": "A fact an internal document and the public docs state two ways.",
        "properties": {
          "internal": {
            "$ref": "#/components/schemas/DisputeSide"
          },
          "public": {
            "$ref": "#/components/schemas/DisputeSide"
          },
          "what": {
            "title": "What",
            "type": "string"
          }
        },
        "required": [
          "what",
          "internal",
          "public"
        ],
        "title": "DocsDispute",
        "type": "object"
      },
      "DocsDisputes": {
        "additionalProperties": false,
        "description": "The side the agent follows, what is in dispute, and how many internal documents are\nstill to be checked against the public docs (POST /internal-docs/check until 0).",
        "properties": {
          "disputes": {
            "items": {
              "$ref": "#/components/schemas/DocsDispute"
            },
            "title": "Disputes",
            "type": "array"
          },
          "prefer": {
            "enum": [
              "internal",
              "public"
            ],
            "title": "Prefer",
            "type": "string"
          },
          "unchecked": {
            "default": 0,
            "title": "Unchecked",
            "type": "integer"
          }
        },
        "required": [
          "prefer"
        ],
        "title": "DocsDisputes",
        "type": "object"
      },
      "DocsLive": {
        "additionalProperties": false,
        "properties": {
          "at": {
            "description": "When it was made live, ISO 8601.",
            "title": "At",
            "type": "string"
          },
          "by": {
            "description": "Who made it live.",
            "title": "By",
            "type": "string"
          },
          "version": {
            "description": "The id of the version the agent answers from.",
            "title": "Version",
            "type": "string"
          },
          "why": {
            "default": "",
            "title": "Why",
            "type": "string"
          }
        },
        "required": [
          "version",
          "by",
          "at"
        ],
        "title": "DocsLive",
        "type": "object"
      },
      "DocsLiveIn": {
        "additionalProperties": false,
        "properties": {
          "version": {
            "description": "The id of a kept version.",
            "maxLength": 64,
            "minLength": 1,
            "title": "Version",
            "type": "string"
          },
          "why": {
            "default": "",
            "description": "Why: shown with the version.",
            "maxLength": 300,
            "title": "Why",
            "type": "string"
          }
        },
        "required": [
          "version"
        ],
        "title": "DocsLiveIn",
        "type": "object"
      },
      "DocsVersion": {
        "additionalProperties": false,
        "description": "The vendor's docs as fetched once and kept: the pages the agent can answer from.",
        "properties": {
          "at": {
            "default": "",
            "description": "When it was published, ISO 8601.",
            "title": "At",
            "type": "string"
          },
          "by": {
            "default": "",
            "description": "Who or what published it: the weekly docs check, or a person.",
            "title": "By",
            "type": "string"
          },
          "fetched": {
            "description": "The day its pages were fetched, YYYY-MM-DD.",
            "title": "Fetched",
            "type": "string"
          },
          "id": {
            "description": "The version's id: the same pages with the same text are the same version.",
            "title": "Id",
            "type": "string"
          },
          "pages": {
            "title": "Pages",
            "type": "integer"
          }
        },
        "required": [
          "id",
          "fetched",
          "pages"
        ],
        "title": "DocsVersion",
        "type": "object"
      },
      "DocsVersions": {
        "additionalProperties": false,
        "description": "Which docs version the agent answers from, and the latest ones kept, newest first.",
        "properties": {
          "live": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/DocsLive"
              },
              {
                "type": "null"
              }
            ],
            "description": "None until a version is published: the release's own copy answers."
          },
          "versions": {
            "items": {
              "$ref": "#/components/schemas/DocsVersion"
            },
            "title": "Versions",
            "type": "array"
          }
        },
        "required": [
          "live",
          "versions"
        ],
        "title": "DocsVersions",
        "type": "object"
      },
      "Embed": {
        "additionalProperties": false,
        "description": "One key that puts the demo on the vendor's own site. The key is public: it sits in the\npage.",
        "properties": {
          "calls_per_day": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "description": "Voice calls a day it allows; null: no own limit.",
            "title": "Calls Per Day"
          },
          "key": {
            "title": "Key",
            "type": "string"
          },
          "paused": {
            "description": "Paused: the site shows no demo until Solacia resumes it.",
            "title": "Paused",
            "type": "boolean"
          },
          "sites": {
            "description": "The origins it answers on, such as https://www.acme.com; empty: any.",
            "items": {
              "type": "string"
            },
            "title": "Sites",
            "type": "array"
          },
          "snippet": {
            "description": "The script tag to paste into the site's HTML, before </body>.",
            "title": "Snippet",
            "type": "string"
          }
        },
        "required": [
          "key",
          "snippet",
          "sites",
          "paused"
        ],
        "title": "Embed",
        "type": "object"
      },
      "Embeds": {
        "additionalProperties": false,
        "description": "The account's website embeds. Solacia makes the keys and their sites; none until it has.",
        "properties": {
          "embeds": {
            "items": {
              "$ref": "#/components/schemas/Embed"
            },
            "title": "Embeds",
            "type": "array"
          }
        },
        "required": [
          "embeds"
        ],
        "title": "Embeds",
        "type": "object"
      },
      "EventType": {
        "additionalProperties": false,
        "description": "One of the connected scheduler's event types (Calendly).",
        "properties": {
          "id": {
            "description": "The event type's id in the scheduler",
            "examples": [
              "https://api.calendly.com/event_types/AAAAAAAAAAAAAAAA"
            ],
            "title": "Id",
            "type": "string"
          },
          "kind": {
            "default": "",
            "description": "round robin, group, or empty for one person",
            "title": "Kind",
            "type": "string"
          },
          "minutes": {
            "default": 0,
            "title": "Minutes",
            "type": "integer"
          },
          "name": {
            "title": "Name",
            "type": "string"
          },
          "url": {
            "description": "Its booking page",
            "examples": [
              "https://calendly.com/ana-ruiz/demo"
            ],
            "title": "Url",
            "type": "string"
          }
        },
        "required": [
          "id",
          "name",
          "url"
        ],
        "title": "EventType",
        "type": "object"
      },
      "EventTypeIn": {
        "additionalProperties": false,
        "description": "The event buyers book: one the connected scheduler lists.",
        "properties": {
          "id": {
            "maxLength": 500,
            "minLength": 1,
            "title": "Id",
            "type": "string"
          }
        },
        "required": [
          "id"
        ],
        "title": "EventTypeIn",
        "type": "object"
      },
      "EventTypes": {
        "additionalProperties": false,
        "description": "The event buyers book through a connected scheduler (`chosen`, none until one is\npicked) and the event types it offers.",
        "properties": {
          "chosen": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/EventType"
              },
              {
                "type": "null"
              }
            ]
          },
          "events": {
            "items": {
              "$ref": "#/components/schemas/EventType"
            },
            "title": "Events",
            "type": "array"
          }
        },
        "required": [
          "chosen",
          "events"
        ],
        "title": "EventTypes",
        "type": "object"
      },
      "FathomKeyIn": {
        "additionalProperties": false,
        "description": "A Fathom user's API key: an admin's who can view all shared calls reaches the whole team.",
        "properties": {
          "key": {
            "description": "The key, as Fathom showed it.",
            "maxLength": 500,
            "minLength": 1,
            "title": "Key",
            "type": "string"
          }
        },
        "required": [
          "key"
        ],
        "title": "FathomKeyIn",
        "type": "object"
      },
      "FieldMap": {
        "additionalProperties": false,
        "description": "Which of your own CRM fields get where each buyer came from, in the map's order. In preview.",
        "properties": {
          "at": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "At"
          },
          "by": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "By"
          },
          "checked": {
            "description": "The rows were checked against your CRM (it is connected and answered).",
            "title": "Checked",
            "type": "boolean"
          },
          "crm": {
            "enum": [
              "salesforce",
              "hubspot"
            ],
            "title": "Crm",
            "type": "string"
          },
          "items": {
            "items": {
              "$ref": "#/components/schemas/FieldMapItem"
            },
            "title": "Items",
            "type": "array"
          },
          "last": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/FieldMapLast"
              },
              {
                "type": "null"
              }
            ],
            "description": "What the map wrote on the last lead, when one was sent: a real buyer's values, so only for a caller who may read leads (leads:read)."
          },
          "next_cursor": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Next Cursor"
          },
          "total": {
            "title": "Total",
            "type": "integer"
          }
        },
        "required": [
          "crm",
          "checked",
          "items",
          "total"
        ],
        "title": "FieldMap",
        "type": "object"
      },
      "FieldMapAnswer": {
        "additionalProperties": false,
        "properties": {
          "answer": {
            "maxLength": 2000,
            "minLength": 1,
            "title": "Answer",
            "type": "string"
          },
          "question": {
            "maxLength": 1000,
            "minLength": 1,
            "title": "Question",
            "type": "string"
          }
        },
        "required": [
          "question",
          "answer"
        ],
        "title": "FieldMapAnswer",
        "type": "object"
      },
      "FieldMapDraft": {
        "additionalProperties": false,
        "description": "A field map drafted from your document, not saved: each row checked against your CRM\nwhen it is connected, the rows left out and why, and what the document leaves open. Save it\nwith PUT /integrations/{crm}/field-map once a person has read it. In preview.",
        "properties": {
          "checked": {
            "description": "The rows were checked against your CRM (it is connected and answered).",
            "title": "Checked",
            "type": "boolean"
          },
          "crm": {
            "enum": [
              "salesforce",
              "hubspot"
            ],
            "title": "Crm",
            "type": "string"
          },
          "items": {
            "items": {
              "$ref": "#/components/schemas/FieldMapDraftItem"
            },
            "title": "Items",
            "type": "array"
          },
          "left_out": {
            "description": "Rows the draft had that a map can't hold, each with why.",
            "items": {
              "type": "string"
            },
            "title": "Left Out",
            "type": "array"
          },
          "next_cursor": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Next Cursor"
          },
          "questions": {
            "description": "What the document leaves open, for the person who saves the map.",
            "items": {
              "type": "string"
            },
            "title": "Questions",
            "type": "array"
          },
          "total": {
            "title": "Total",
            "type": "integer"
          }
        },
        "required": [
          "crm",
          "checked",
          "items",
          "left_out",
          "questions",
          "total"
        ],
        "title": "FieldMapDraft",
        "type": "object"
      },
      "FieldMapDraftIn": {
        "additionalProperties": false,
        "description": "Your account of your CRM process, to draft your field map from: the file itself\n(`content`, base64) or its `text`.",
        "properties": {
          "answers": {
            "description": "Your answers to the draft's questions.",
            "items": {
              "$ref": "#/components/schemas/FieldMapAnswer"
            },
            "maxItems": 20,
            "title": "Answers",
            "type": "array"
          },
          "content": {
            "default": "",
            "description": "The file, base64: .pdf, .docx, .html, .md or .txt, up to 3 MB",
            "maxLength": 4200000,
            "title": "Content",
            "type": "string"
          },
          "language": {
            "default": "en",
            "description": "The language the questions are written in.",
            "enum": [
              "en",
              "es",
              "pt"
            ],
            "title": "Language",
            "type": "string"
          },
          "name": {
            "examples": [
              "Lead process.pdf"
            ],
            "maxLength": 200,
            "minLength": 1,
            "title": "Name",
            "type": "string"
          },
          "rows": {
            "description": "The draft as you edited it, to change only where your answers do.",
            "items": {
              "$ref": "#/components/schemas/FieldMapRow"
            },
            "maxItems": 60,
            "title": "Rows",
            "type": "array"
          },
          "text": {
            "default": "",
            "description": "Or its text, instead of the file",
            "maxLength": 200000,
            "title": "Text",
            "type": "string"
          }
        },
        "required": [
          "name"
        ],
        "title": "FieldMapDraftIn",
        "type": "object"
      },
      "FieldMapDraftItem": {
        "additionalProperties": false,
        "description": "One drafted row, with the document's words it rests on.",
        "properties": {
          "basis": {
            "default": "",
            "description": "The document's words the row rests on.",
            "title": "Basis",
            "type": "string"
          },
          "booked": {
            "anyOf": [
              {
                "maxLength": 255,
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "examples": [
              "Discovery"
            ],
            "title": "Booked"
          },
          "field": {
            "description": "The field's API name.",
            "examples": [
              "Medium__c"
            ],
            "maxLength": 80,
            "minLength": 1,
            "title": "Field",
            "type": "string"
          },
          "fixed": {
            "anyOf": [
              {
                "maxLength": 255,
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "examples": [
              "MQL Approved"
            ],
            "title": "Fixed"
          },
          "follows": {
            "anyOf": [
              {
                "maxLength": 80,
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "description": "Another row's field: this one is written only together with that row, on a new lead or when that row moves the lead on.",
            "examples": [
              "Status"
            ],
            "title": "Follows"
          },
          "found": {
            "anyOf": [
              {
                "type": "boolean"
              },
              {
                "type": "null"
              }
            ],
            "description": "Your CRM has the field and lets Solacia write it; null when it was not checked.",
            "title": "Found"
          },
          "missing": {
            "description": "Labels the row sends that your closed list lacks.",
            "items": {
              "maxLength": 255,
              "type": "string"
            },
            "title": "Missing",
            "type": "array"
          },
          "moves_from": {
            "description": "On a lead your team already has: the values this row may replace. Any other value is never touched. Left out, a row with `fixed` and another value moves on from `fixed` only.",
            "examples": [
              [
                "MQL Approved"
              ]
            ],
            "items": {
              "maxLength": 255,
              "minLength": 1,
              "type": "string"
            },
            "maxItems": 10,
            "title": "Moves From",
            "type": "array"
          },
          "object": {
            "const": "Lead",
            "default": "Lead",
            "title": "Object",
            "type": "string"
          },
          "swap": {
            "additionalProperties": {
              "maxLength": 20,
              "type": "string"
            },
            "description": "Text in the value and what replaces it, such as underscores for spaces.",
            "examples": [
              {
                "_": " "
              }
            ],
            "maxProperties": 10,
            "propertyNames": {
              "maxLength": 20,
              "minLength": 1
            },
            "title": "Swap",
            "type": "object"
          },
          "take": {
            "anyOf": [
              {
                "maxLength": 40,
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "description": "utm_source, utm_medium, utm_campaign, utm_term, utm_content, utm_id, an ad click id (gclid, msclkid, fbclid, oppref, ...), fbc (Meta's click id as fb.1.<ms>.<fbclid>), arrival_url (the page that brought the buyer, with its tags), demo_page, referrer_url or meeting_at (when the meeting they booked starts); or how the demo went: priority (Hot, Warm, Nurture, Cold), fit, brief (its link), last_demo (the day), asked_meeting (true or false). Ad click ids are sent whole or not at all.",
            "examples": [
              "utm_medium"
            ],
            "title": "Take"
          },
          "values": {
            "additionalProperties": {
              "maxLength": 255,
              "type": "string"
            },
            "description": "For a closed list: each tag value (any case) and the label it reads as. A value not here leaves the field empty.",
            "examples": [
              {
                "social_media_ads": "Social media Ads"
              }
            ],
            "maxProperties": 200,
            "propertyNames": {
              "maxLength": 120
            },
            "title": "Values",
            "type": "object"
          },
          "when": {
            "additionalProperties": {
              "maxLength": 255,
              "type": "string"
            },
            "description": "A value for each outcome of the demo; of those that apply, the strongest wins (booked, asked_meeting, hot, warm, nurture, cold), else `any`. `fixed` is `any`'s value and `booked` is booked's.",
            "examples": [
              {
                "any": "MQL Approved",
                "booked": "Discovery",
                "cold": "Nurture"
              }
            ],
            "maxProperties": 7,
            "propertyNames": {
              "enum": [
                "any",
                "booked",
                "asked_meeting",
                "hot",
                "warm",
                "nurture",
                "cold"
              ]
            },
            "title": "When",
            "type": "object"
          }
        },
        "required": [
          "field"
        ],
        "title": "FieldMapDraftItem",
        "type": "object"
      },
      "FieldMapIn": {
        "additionalProperties": false,
        "description": "The whole map, replacing the one before. Empty: Solacia fills none of your own fields.",
        "properties": {
          "rows": {
            "items": {
              "$ref": "#/components/schemas/FieldMapRow"
            },
            "maxItems": 60,
            "title": "Rows",
            "type": "array"
          }
        },
        "required": [
          "rows"
        ],
        "title": "FieldMapIn",
        "type": "object"
      },
      "FieldMapItem": {
        "additionalProperties": false,
        "description": "One row of the map, with how it stands against your CRM now.",
        "properties": {
          "booked": {
            "anyOf": [
              {
                "maxLength": 255,
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "examples": [
              "Discovery"
            ],
            "title": "Booked"
          },
          "field": {
            "description": "The field's API name.",
            "examples": [
              "Medium__c"
            ],
            "maxLength": 80,
            "minLength": 1,
            "title": "Field",
            "type": "string"
          },
          "fixed": {
            "anyOf": [
              {
                "maxLength": 255,
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "examples": [
              "MQL Approved"
            ],
            "title": "Fixed"
          },
          "follows": {
            "anyOf": [
              {
                "maxLength": 80,
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "description": "Another row's field: this one is written only together with that row, on a new lead or when that row moves the lead on.",
            "examples": [
              "Status"
            ],
            "title": "Follows"
          },
          "found": {
            "anyOf": [
              {
                "type": "boolean"
              },
              {
                "type": "null"
              }
            ],
            "description": "Your CRM has the field and lets Solacia write it; null when it was not checked.",
            "title": "Found"
          },
          "missing": {
            "description": "Labels the row sends that your closed list lacks.",
            "items": {
              "maxLength": 255,
              "type": "string"
            },
            "title": "Missing",
            "type": "array"
          },
          "moves_from": {
            "description": "On a lead your team already has: the values this row may replace. Any other value is never touched. Left out, a row with `fixed` and another value moves on from `fixed` only.",
            "examples": [
              [
                "MQL Approved"
              ]
            ],
            "items": {
              "maxLength": 255,
              "minLength": 1,
              "type": "string"
            },
            "maxItems": 10,
            "title": "Moves From",
            "type": "array"
          },
          "object": {
            "const": "Lead",
            "default": "Lead",
            "title": "Object",
            "type": "string"
          },
          "swap": {
            "additionalProperties": {
              "maxLength": 20,
              "type": "string"
            },
            "description": "Text in the value and what replaces it, such as underscores for spaces.",
            "examples": [
              {
                "_": " "
              }
            ],
            "maxProperties": 10,
            "propertyNames": {
              "maxLength": 20,
              "minLength": 1
            },
            "title": "Swap",
            "type": "object"
          },
          "take": {
            "anyOf": [
              {
                "maxLength": 40,
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "description": "utm_source, utm_medium, utm_campaign, utm_term, utm_content, utm_id, an ad click id (gclid, msclkid, fbclid, oppref, ...), fbc (Meta's click id as fb.1.<ms>.<fbclid>), arrival_url (the page that brought the buyer, with its tags), demo_page, referrer_url or meeting_at (when the meeting they booked starts); or how the demo went: priority (Hot, Warm, Nurture, Cold), fit, brief (its link), last_demo (the day), asked_meeting (true or false). Ad click ids are sent whole or not at all.",
            "examples": [
              "utm_medium"
            ],
            "title": "Take"
          },
          "values": {
            "additionalProperties": {
              "maxLength": 255,
              "type": "string"
            },
            "description": "For a closed list: each tag value (any case) and the label it reads as. A value not here leaves the field empty.",
            "examples": [
              {
                "social_media_ads": "Social media Ads"
              }
            ],
            "maxProperties": 200,
            "propertyNames": {
              "maxLength": 120
            },
            "title": "Values",
            "type": "object"
          },
          "when": {
            "additionalProperties": {
              "maxLength": 255,
              "type": "string"
            },
            "description": "A value for each outcome of the demo; of those that apply, the strongest wins (booked, asked_meeting, hot, warm, nurture, cold), else `any`. `fixed` is `any`'s value and `booked` is booked's.",
            "examples": [
              {
                "any": "MQL Approved",
                "booked": "Discovery",
                "cold": "Nurture"
              }
            ],
            "maxProperties": 7,
            "propertyNames": {
              "enum": [
                "any",
                "booked",
                "asked_meeting",
                "hot",
                "warm",
                "nurture",
                "cold"
              ]
            },
            "title": "When",
            "type": "object"
          }
        },
        "required": [
          "field"
        ],
        "title": "FieldMapItem",
        "type": "object"
      },
      "FieldMapLast": {
        "additionalProperties": false,
        "description": "What the map wrote on the last lead Solacia sent your CRM: the map's proof.",
        "properties": {
          "at": {
            "title": "At",
            "type": "string"
          },
          "dropped": {
            "description": "The map's fields your CRM refused; the lead was written without them.",
            "items": {
              "type": "string"
            },
            "title": "Dropped",
            "type": "array"
          },
          "fields": {
            "additionalProperties": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "boolean"
                }
              ]
            },
            "description": "Each field the map wrote, by API name, with its value.",
            "title": "Fields",
            "type": "object"
          },
          "new": {
            "description": "A lead Solacia made; false: one your team already had, which gets only its empty fields.",
            "title": "New",
            "type": "boolean"
          },
          "refused": {
            "default": "",
            "description": "Your CRM refused some of the map's fields, in its words.",
            "title": "Refused",
            "type": "string"
          }
        },
        "required": [
          "at",
          "new",
          "fields"
        ],
        "title": "FieldMapLast",
        "type": "object"
      },
      "FieldMapPreview": {
        "additionalProperties": false,
        "description": "What a new lead from that buyer would get in each of your own fields. Nothing is written.",
        "properties": {
          "checked": {
            "description": "Checked against your CRM's own fields (it is connected and answered).",
            "title": "Checked",
            "type": "boolean"
          },
          "items": {
            "items": {
              "$ref": "#/components/schemas/FieldMapPreviewLine"
            },
            "title": "Items",
            "type": "array"
          },
          "next_cursor": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Next Cursor"
          },
          "total": {
            "title": "Total",
            "type": "integer"
          }
        },
        "required": [
          "checked",
          "items",
          "total"
        ],
        "title": "FieldMapPreview",
        "type": "object"
      },
      "FieldMapPreviewIn": {
        "additionalProperties": false,
        "description": "A link a buyer opens, to see what your saved map would send for them.",
        "properties": {
          "meeting": {
            "default": "none",
            "description": "Whether the buyer asked for a meeting in the demo, or booked one.",
            "enum": [
              "none",
              "asked",
              "booked"
            ],
            "title": "Meeting",
            "type": "string"
          },
          "page": {
            "description": "The page the buyer opens, with its tags.",
            "examples": [
              "https://example.com/pricing?utm_source=google_ads&utm_campaign=q4_launch"
            ],
            "maxLength": 2000,
            "minLength": 1,
            "title": "Page",
            "type": "string"
          },
          "priority": {
            "anyOf": [
              {
                "enum": [
                  "hot",
                  "warm",
                  "nurture",
                  "cold"
                ],
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "description": "How Solacia rated the buyer after the demo.",
            "title": "Priority"
          },
          "referrer": {
            "anyOf": [
              {
                "maxLength": 2000,
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "description": "The site that sent them.",
            "examples": [
              "https://www.google.com/"
            ],
            "title": "Referrer"
          },
          "rows": {
            "anyOf": [
              {
                "items": {
                  "$ref": "#/components/schemas/FieldMapRow"
                },
                "maxItems": 60,
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "description": "A map to preview instead of the saved one, such as a draft before it is saved.",
            "title": "Rows"
          }
        },
        "required": [
          "page"
        ],
        "title": "FieldMapPreviewIn",
        "type": "object"
      },
      "FieldMapPreviewLine": {
        "additionalProperties": false,
        "description": "One row of the map for that buyer: what it would send, or why the field stays empty.",
        "properties": {
          "field": {
            "title": "Field",
            "type": "string"
          },
          "given": {
            "description": "The value before your CRM's field had its say; empty when there was none.",
            "title": "Given",
            "type": "string"
          },
          "status": {
            "description": "sent; or why it stays empty: no_value (the visit had no such tag), not_in_table (the row's labels lack the value), not_in_list (your CRM's list lacks the label), no_field (your CRM has no such field we may write), too_long (an ad click id longer than the field, never cut), unfit (not a yes/no or a date), on_booking (only once the buyer books), other_outcome (a value only for other outcomes of the demo), follows (written only with the row it follows, which stays empty).",
            "enum": [
              "sent",
              "no_value",
              "not_in_table",
              "not_in_list",
              "no_field",
              "too_long",
              "unfit",
              "on_booking",
              "other_outcome",
              "follows"
            ],
            "title": "Status",
            "type": "string"
          },
          "value": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "boolean"
              },
              {
                "type": "null"
              }
            ],
            "description": "What a new lead gets in the field; null when it stays empty.",
            "title": "Value"
          }
        },
        "required": [
          "field",
          "given",
          "value",
          "status"
        ],
        "title": "FieldMapPreviewLine",
        "type": "object"
      },
      "FieldMapRow": {
        "additionalProperties": false,
        "description": "One of your CRM's fields and what Solacia puts in it: one of its values (`take`), or a\nfixed value (`fixed`, with `booked` in its place once the buyer books a meeting). A lead your\nteam already has gets only its empty fields, except a step up from `fixed` to `booked`; a row\nthat `follows` that row is written with the step up and only with it.",
        "properties": {
          "booked": {
            "anyOf": [
              {
                "maxLength": 255,
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "examples": [
              "Discovery"
            ],
            "title": "Booked"
          },
          "field": {
            "description": "The field's API name.",
            "examples": [
              "Medium__c"
            ],
            "maxLength": 80,
            "minLength": 1,
            "title": "Field",
            "type": "string"
          },
          "fixed": {
            "anyOf": [
              {
                "maxLength": 255,
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "examples": [
              "MQL Approved"
            ],
            "title": "Fixed"
          },
          "follows": {
            "anyOf": [
              {
                "maxLength": 80,
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "description": "Another row's field: this one is written only together with that row, on a new lead or when that row moves the lead on.",
            "examples": [
              "Status"
            ],
            "title": "Follows"
          },
          "moves_from": {
            "description": "On a lead your team already has: the values this row may replace. Any other value is never touched. Left out, a row with `fixed` and another value moves on from `fixed` only.",
            "examples": [
              [
                "MQL Approved"
              ]
            ],
            "items": {
              "maxLength": 255,
              "minLength": 1,
              "type": "string"
            },
            "maxItems": 10,
            "title": "Moves From",
            "type": "array"
          },
          "object": {
            "const": "Lead",
            "default": "Lead",
            "title": "Object",
            "type": "string"
          },
          "swap": {
            "additionalProperties": {
              "maxLength": 20,
              "type": "string"
            },
            "description": "Text in the value and what replaces it, such as underscores for spaces.",
            "examples": [
              {
                "_": " "
              }
            ],
            "maxProperties": 10,
            "propertyNames": {
              "maxLength": 20,
              "minLength": 1
            },
            "title": "Swap",
            "type": "object"
          },
          "take": {
            "anyOf": [
              {
                "maxLength": 40,
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "description": "utm_source, utm_medium, utm_campaign, utm_term, utm_content, utm_id, an ad click id (gclid, msclkid, fbclid, oppref, ...), fbc (Meta's click id as fb.1.<ms>.<fbclid>), arrival_url (the page that brought the buyer, with its tags), demo_page, referrer_url or meeting_at (when the meeting they booked starts); or how the demo went: priority (Hot, Warm, Nurture, Cold), fit, brief (its link), last_demo (the day), asked_meeting (true or false). Ad click ids are sent whole or not at all.",
            "examples": [
              "utm_medium"
            ],
            "title": "Take"
          },
          "values": {
            "additionalProperties": {
              "maxLength": 255,
              "type": "string"
            },
            "description": "For a closed list: each tag value (any case) and the label it reads as. A value not here leaves the field empty.",
            "examples": [
              {
                "social_media_ads": "Social media Ads"
              }
            ],
            "maxProperties": 200,
            "propertyNames": {
              "maxLength": 120
            },
            "title": "Values",
            "type": "object"
          },
          "when": {
            "additionalProperties": {
              "maxLength": 255,
              "type": "string"
            },
            "description": "A value for each outcome of the demo; of those that apply, the strongest wins (booked, asked_meeting, hot, warm, nurture, cold), else `any`. `fixed` is `any`'s value and `booked` is booked's.",
            "examples": [
              {
                "any": "MQL Approved",
                "booked": "Discovery",
                "cold": "Nurture"
              }
            ],
            "maxProperties": 7,
            "propertyNames": {
              "enum": [
                "any",
                "booked",
                "asked_meeting",
                "hot",
                "warm",
                "nurture",
                "cold"
              ]
            },
            "title": "When",
            "type": "object"
          }
        },
        "required": [
          "field"
        ],
        "title": "FieldMapRow",
        "type": "object"
      },
      "FieldSource": {
        "additionalProperties": false,
        "description": "Where a router's field can get its value: the buyer's contact, a fact the call gathers,\nor the call read for that field (\"call\").",
        "properties": {
          "label": {
            "title": "Label",
            "type": "string"
          },
          "value": {
            "examples": [
              "email",
              "profile:company_size",
              "call"
            ],
            "title": "Value",
            "type": "string"
          }
        },
        "required": [
          "value",
          "label"
        ],
        "title": "FieldSource",
        "type": "object"
      },
      "Flow": {
        "additionalProperties": false,
        "description": "Where every buyer of the last `days` days went: each way a demo can go (every way is\nlisted, with 0 when nobody went it), each demo with its way, newest first, the agents and\ndoors of the period with their counts (before those filters narrow it), and the test demos.\nIn preview.",
        "properties": {
          "agents": {
            "items": {
              "$ref": "#/components/schemas/FlowAgent"
            },
            "title": "Agents",
            "type": "array"
          },
          "days": {
            "title": "Days",
            "type": "integer"
          },
          "demos": {
            "items": {
              "$ref": "#/components/schemas/FlowDemo"
            },
            "title": "Demos",
            "type": "array"
          },
          "doors": {
            "items": {
              "$ref": "#/components/schemas/FlowDoor"
            },
            "title": "Doors",
            "type": "array"
          },
          "end": {
            "format": "date",
            "title": "End",
            "type": "string"
          },
          "paths": {
            "items": {
              "$ref": "#/components/schemas/FlowWay"
            },
            "title": "Paths",
            "type": "array"
          },
          "start": {
            "format": "date",
            "title": "Start",
            "type": "string"
          },
          "tests": {
            "$ref": "#/components/schemas/FlowTests"
          },
          "unopened": {
            "description": "Clicks on the website's demo button whose demo never appeared, counted in the way opened → left before seeing it; none when an agent filter is set, since no agent ran.",
            "items": {
              "$ref": "#/components/schemas/FlowClick"
            },
            "title": "Unopened",
            "type": "array"
          }
        },
        "required": [
          "days",
          "start",
          "end",
          "paths",
          "demos",
          "agents",
          "doors",
          "tests"
        ],
        "title": "Flow",
        "type": "object"
      },
      "FlowAgent": {
        "additionalProperties": false,
        "properties": {
          "demos": {
            "title": "Demos",
            "type": "integer"
          },
          "name": {
            "title": "Name",
            "type": "string"
          }
        },
        "required": [
          "name",
          "demos"
        ],
        "title": "FlowAgent",
        "type": "object"
      },
      "FlowClick": {
        "additionalProperties": false,
        "description": "A click on the website's demo button whose demo never appeared: the buyer left before\nseeing the product, most likely while it loaded (domain/metrics.py unopened).",
        "properties": {
          "at": {
            "description": "When they clicked, ISO 8601.",
            "title": "At",
            "type": "string"
          },
          "door": {
            "examples": [
              "site:clara.com"
            ],
            "title": "Door",
            "type": "string"
          }
        },
        "required": [
          "door",
          "at"
        ],
        "title": "FlowClick",
        "type": "object"
      },
      "FlowDemo": {
        "additionalProperties": false,
        "description": "One demo in the flow: the way it went and who it was.",
        "properties": {
          "agent": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Agent"
          },
          "calls": {
            "title": "Calls",
            "type": "integer"
          },
          "company": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Company"
          },
          "door": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Door"
          },
          "email": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Email"
          },
          "id": {
            "title": "Id",
            "type": "string"
          },
          "last": {
            "title": "Last",
            "type": "string"
          },
          "minutes": {
            "title": "Minutes",
            "type": "number"
          },
          "outcome": {
            "title": "Outcome",
            "type": "string"
          },
          "priority": {
            "title": "Priority",
            "type": "string"
          },
          "questions": {
            "title": "Questions",
            "type": "integer"
          },
          "role": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Role"
          },
          "started": {
            "title": "Started",
            "type": "string"
          },
          "steps": {
            "items": {
              "type": "string"
            },
            "title": "Steps",
            "type": "array"
          },
          "test": {
            "default": false,
            "description": "One of our own test demos (counted only with `tests`).",
            "title": "Test",
            "type": "boolean"
          }
        },
        "required": [
          "id",
          "steps",
          "email",
          "company",
          "role",
          "agent",
          "door",
          "outcome",
          "priority",
          "minutes",
          "calls",
          "questions",
          "started",
          "last"
        ],
        "title": "FlowDemo",
        "type": "object"
      },
      "FlowDoor": {
        "additionalProperties": false,
        "description": "A door demos were opened through in the period, and how many.",
        "properties": {
          "demos": {
            "title": "Demos",
            "type": "integer"
          },
          "id": {
            "examples": [
              "site:acme.com"
            ],
            "title": "Id",
            "type": "string"
          }
        },
        "required": [
          "id",
          "demos"
        ],
        "title": "FlowDoor",
        "type": "object"
      },
      "FlowTests": {
        "additionalProperties": false,
        "properties": {
          "count": {
            "description": "Test demos in the period, counted or not.",
            "title": "Count",
            "type": "integer"
          },
          "included": {
            "title": "Included",
            "type": "boolean"
          }
        },
        "required": [
          "included",
          "count"
        ],
        "title": "FlowTests",
        "type": "object"
      },
      "FlowWay": {
        "additionalProperties": false,
        "description": "One way a demo can go, from opening it to where the buyer is now, and how many went it.",
        "properties": {
          "n": {
            "title": "N",
            "type": "integer"
          },
          "steps": {
            "examples": [
              [
                "opened",
                "saw",
                "talked",
                "qualified",
                "meeting"
              ]
            ],
            "items": {
              "type": "string"
            },
            "title": "Steps",
            "type": "array"
          }
        },
        "required": [
          "steps",
          "n"
        ],
        "title": "FlowWay",
        "type": "object"
      },
      "FollowUp": {
        "additionalProperties": false,
        "properties": {
          "body": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Body"
          },
          "subject": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Subject"
          }
        },
        "required": [
          "subject",
          "body"
        ],
        "title": "FollowUp",
        "type": "object"
      },
      "FollowUpDraft": {
        "additionalProperties": false,
        "description": "The demo's follow-up email as it now stands. In preview.",
        "properties": {
          "at": {
            "title": "At",
            "type": "string"
          },
          "body": {
            "title": "Body",
            "type": "string"
          },
          "edited_by": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "description": "Who edited it last; none when it is as drafted.",
            "title": "Edited By"
          },
          "language": {
            "title": "Language",
            "type": "string"
          },
          "subject": {
            "title": "Subject",
            "type": "string"
          }
        },
        "required": [
          "subject",
          "body",
          "language",
          "at"
        ],
        "title": "FollowUpDraft",
        "type": "object"
      },
      "FollowUpIn": {
        "additionalProperties": false,
        "description": "The follow-up email as a teammate edited it.",
        "properties": {
          "body": {
            "maxLength": 10000,
            "minLength": 1,
            "title": "Body",
            "type": "string"
          },
          "subject": {
            "maxLength": 300,
            "minLength": 1,
            "title": "Subject",
            "type": "string"
          }
        },
        "required": [
          "subject",
          "body"
        ],
        "title": "FollowUpIn",
        "type": "object"
      },
      "Foundation": {
        "additionalProperties": false,
        "description": "What the account's customers say, quote by quote, graded by who said it, and what\nnobody has said yet. The ground every demo script is written from.",
        "properties": {
          "claims": {
            "description": "Strongest and widest first",
            "items": {
              "$ref": "#/components/schemas/FoundationClaim"
            },
            "title": "Claims",
            "type": "array"
          },
          "codes": {
            "items": {
              "$ref": "#/components/schemas/FoundationCodeOut"
            },
            "title": "Codes",
            "type": "array"
          },
          "gaps": {
            "description": "What no customer has told us yet",
            "items": {
              "type": "string"
            },
            "title": "Gaps",
            "type": "array"
          },
          "kinds": {
            "items": {
              "$ref": "#/components/schemas/FoundationKindOut"
            },
            "title": "Kinds",
            "type": "array"
          },
          "people": {
            "description": "Customers and buyers heard, each once",
            "title": "People",
            "type": "integer"
          },
          "sources": {
            "items": {
              "$ref": "#/components/schemas/FoundationSourceOut"
            },
            "title": "Sources",
            "type": "array"
          },
          "vendor": {
            "title": "Vendor",
            "type": "string"
          },
          "voices": {
            "$ref": "#/components/schemas/FoundationVoices",
            "description": "Sources by whose words they carry"
          }
        },
        "required": [
          "vendor",
          "kinds",
          "codes",
          "sources",
          "voices",
          "people",
          "claims",
          "gaps"
        ],
        "title": "Foundation",
        "type": "object"
      },
      "FoundationAdded": {
        "additionalProperties": false,
        "properties": {
          "foundation": {
            "$ref": "#/components/schemas/Foundation"
          },
          "read": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/FoundationRead"
              },
              {
                "type": "null"
              }
            ],
            "description": "The first part's read; none when it was read before"
          }
        },
        "required": [
          "read",
          "foundation"
        ],
        "title": "FoundationAdded",
        "type": "object"
      },
      "FoundationClaim": {
        "additionalProperties": false,
        "properties": {
          "by": {
            "title": "By",
            "type": "string"
          },
          "code": {
            "enum": [
              "alternative",
              "pain",
              "outcome",
              "capability",
              "proof",
              "anxiety",
              "habit",
              "loss"
            ],
            "title": "Code",
            "type": "string"
          },
          "id": {
            "title": "Id",
            "type": "string"
          },
          "measured": {
            "description": "A quote behind it carries a number",
            "title": "Measured",
            "type": "boolean"
          },
          "quotes": {
            "items": {
              "$ref": "#/components/schemas/FoundationQuote"
            },
            "title": "Quotes",
            "type": "array"
          },
          "reach": {
            "description": "Customers and buyers behind it, each once",
            "title": "Reach",
            "type": "integer"
          },
          "roles": {
            "items": {
              "type": "string"
            },
            "title": "Roles",
            "type": "array"
          },
          "sayable": {
            "description": "A public source backs it, so buyers may hear it",
            "title": "Sayable",
            "type": "boolean"
          },
          "strength": {
            "description": "Several customers or buyers; one; only the vendor's published material; only our reading",
            "enum": [
              "many",
              "one",
              "vendor",
              "ours"
            ],
            "title": "Strength",
            "type": "string"
          },
          "text": {
            "title": "Text",
            "type": "string"
          }
        },
        "required": [
          "id",
          "code",
          "text",
          "strength",
          "reach",
          "roles",
          "sayable",
          "measured",
          "by",
          "quotes"
        ],
        "title": "FoundationClaim",
        "type": "object"
      },
      "FoundationClaimIn": {
        "additionalProperties": false,
        "properties": {
          "gone": {
            "default": false,
            "description": "Drop it",
            "title": "Gone",
            "type": "boolean"
          },
          "into": {
            "anyOf": [
              {
                "maxLength": 40,
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "description": "Fold it into this claim: its quotes count there",
            "title": "Into"
          },
          "text": {
            "anyOf": [
              {
                "maxLength": 240,
                "minLength": 1,
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "description": "Its new wording",
            "title": "Text"
          }
        },
        "title": "FoundationClaimIn",
        "type": "object"
      },
      "FoundationCodeOut": {
        "additionalProperties": false,
        "properties": {
          "id": {
            "enum": [
              "alternative",
              "pain",
              "outcome",
              "capability",
              "proof",
              "anxiety",
              "habit",
              "loss"
            ],
            "title": "Id",
            "type": "string"
          },
          "means": {
            "title": "Means",
            "type": "string"
          },
          "missing": {
            "description": "What the gap is called while no customer has said it",
            "title": "Missing",
            "type": "string"
          },
          "title": {
            "title": "Title",
            "type": "string"
          }
        },
        "required": [
          "id",
          "title",
          "means",
          "missing"
        ],
        "title": "FoundationCodeOut",
        "type": "object"
      },
      "FoundationKindOut": {
        "additionalProperties": false,
        "properties": {
          "id": {
            "enum": [
              "won_call",
              "lost_call",
              "interview",
              "crm_note",
              "ticket",
              "review",
              "usage",
              "case_study",
              "vendor_page",
              "our_note"
            ],
            "title": "Id",
            "type": "string"
          },
          "label": {
            "title": "Label",
            "type": "string"
          },
          "public": {
            "description": "Quotable to buyers unless the team says otherwise",
            "title": "Public",
            "type": "boolean"
          },
          "voice": {
            "description": "Whose words it carries",
            "enum": [
              "customer",
              "buyer",
              "vendor",
              "ours"
            ],
            "title": "Voice",
            "type": "string"
          }
        },
        "required": [
          "id",
          "label",
          "voice",
          "public"
        ],
        "title": "FoundationKindOut",
        "type": "object"
      },
      "FoundationQuote": {
        "additionalProperties": false,
        "properties": {
          "customer": {
            "title": "Customer",
            "type": "string"
          },
          "date": {
            "title": "Date",
            "type": "string"
          },
          "id": {
            "title": "Id",
            "type": "string"
          },
          "kind": {
            "enum": [
              "won_call",
              "lost_call",
              "interview",
              "crm_note",
              "ticket",
              "review",
              "usage",
              "case_study",
              "vendor_page",
              "our_note"
            ],
            "title": "Kind",
            "type": "string"
          },
          "role": {
            "title": "Role",
            "type": "string"
          },
          "source": {
            "title": "Source",
            "type": "string"
          },
          "title": {
            "title": "Title",
            "type": "string"
          },
          "words": {
            "description": "The source's own words, cut from it exactly",
            "title": "Words",
            "type": "string"
          }
        },
        "required": [
          "id",
          "words",
          "source",
          "title",
          "kind",
          "customer",
          "role",
          "date"
        ],
        "title": "FoundationQuote",
        "type": "object"
      },
      "FoundationRead": {
        "additionalProperties": false,
        "properties": {
          "dropped": {
            "description": "What the model cut that was not the source's own words, and why",
            "items": {
              "type": "string"
            },
            "title": "Dropped",
            "type": "array"
          },
          "kept": {
            "description": "Quotes kept from this part",
            "title": "Kept",
            "type": "integer"
          },
          "left": {
            "items": {
              "type": "integer"
            },
            "title": "Left",
            "type": "array"
          },
          "new_claims": {
            "title": "New Claims",
            "type": "integer"
          },
          "part": {
            "title": "Part",
            "type": "integer"
          },
          "parts": {
            "title": "Parts",
            "type": "integer"
          },
          "source": {
            "title": "Source",
            "type": "string"
          }
        },
        "required": [
          "source",
          "part",
          "parts",
          "left",
          "kept",
          "new_claims",
          "dropped"
        ],
        "title": "FoundationRead",
        "type": "object"
      },
      "FoundationReadIn": {
        "additionalProperties": false,
        "properties": {
          "part": {
            "maximum": 100.0,
            "minimum": 0.0,
            "title": "Part",
            "type": "integer"
          }
        },
        "required": [
          "part"
        ],
        "title": "FoundationReadIn",
        "type": "object"
      },
      "FoundationSourceIn": {
        "additionalProperties": false,
        "description": "Raw evidence: a call's transcript, an interview, a CRM note, a ticket, a review, usage\ndata, or the vendor's own page. Kept whole; the first part is read at once.",
        "properties": {
          "customer": {
            "default": "",
            "description": "Whose words: the company",
            "maxLength": 80,
            "title": "Customer",
            "type": "string"
          },
          "date": {
            "default": "",
            "description": "YYYY-MM-DD",
            "maxLength": 10,
            "title": "Date",
            "type": "string"
          },
          "kind": {
            "enum": [
              "won_call",
              "lost_call",
              "interview",
              "crm_note",
              "ticket",
              "review",
              "usage",
              "case_study",
              "vendor_page",
              "our_note"
            ],
            "title": "Kind",
            "type": "string"
          },
          "public": {
            "anyOf": [
              {
                "type": "boolean"
              },
              {
                "type": "null"
              }
            ],
            "description": "May be quoted to buyers; left out: by its kind",
            "title": "Public"
          },
          "role": {
            "default": "",
            "description": "Who spoke",
            "examples": [
              "controller"
            ],
            "maxLength": 80,
            "title": "Role",
            "type": "string"
          },
          "text": {
            "maxLength": 200000,
            "minLength": 1,
            "title": "Text",
            "type": "string"
          },
          "title": {
            "default": "",
            "examples": [
              "Discovery call, Acme, won"
            ],
            "maxLength": 120,
            "title": "Title",
            "type": "string"
          }
        },
        "required": [
          "kind",
          "text"
        ],
        "title": "FoundationSourceIn",
        "type": "object"
      },
      "FoundationSourceOut": {
        "additionalProperties": false,
        "properties": {
          "at": {
            "title": "At",
            "type": "string"
          },
          "by": {
            "title": "By",
            "type": "string"
          },
          "chars": {
            "title": "Chars",
            "type": "integer"
          },
          "customer": {
            "description": "Whose words: a company; two sources from one count once",
            "title": "Customer",
            "type": "string"
          },
          "date": {
            "description": "When it happened, YYYY-MM-DD, or empty",
            "title": "Date",
            "type": "string"
          },
          "id": {
            "title": "Id",
            "type": "string"
          },
          "kind": {
            "enum": [
              "won_call",
              "lost_call",
              "interview",
              "crm_note",
              "ticket",
              "review",
              "usage",
              "case_study",
              "vendor_page",
              "our_note"
            ],
            "title": "Kind",
            "type": "string"
          },
          "kind_label": {
            "title": "Kind Label",
            "type": "string"
          },
          "left": {
            "description": "Parts not read yet: read each with POST .../read",
            "items": {
              "type": "integer"
            },
            "title": "Left",
            "type": "array"
          },
          "parts": {
            "description": "The parts it is read in",
            "title": "Parts",
            "type": "integer"
          },
          "public": {
            "title": "Public",
            "type": "boolean"
          },
          "quotes": {
            "description": "Quotes kept from it",
            "title": "Quotes",
            "type": "integer"
          },
          "role": {
            "description": "Who spoke: finance lead, controller, the person who spends",
            "title": "Role",
            "type": "string"
          },
          "title": {
            "title": "Title",
            "type": "string"
          },
          "voice": {
            "enum": [
              "customer",
              "buyer",
              "vendor",
              "ours"
            ],
            "title": "Voice",
            "type": "string"
          }
        },
        "required": [
          "id",
          "kind",
          "kind_label",
          "voice",
          "title",
          "customer",
          "role",
          "date",
          "public",
          "by",
          "at",
          "chars",
          "parts",
          "left",
          "quotes"
        ],
        "title": "FoundationSourceOut",
        "type": "object"
      },
      "FoundationVoices": {
        "additionalProperties": false,
        "properties": {
          "buyer": {
            "title": "Buyer",
            "type": "integer"
          },
          "customer": {
            "title": "Customer",
            "type": "integer"
          },
          "ours": {
            "title": "Ours",
            "type": "integer"
          },
          "vendor": {
            "title": "Vendor",
            "type": "integer"
          }
        },
        "required": [
          "customer",
          "buyer",
          "vendor",
          "ours"
        ],
        "title": "FoundationVoices",
        "type": "object"
      },
      "Gap": {
        "description": "A question the agent could not settle from the vendor's sources, counted across buyers;\nthe team closes it once with an answer the agent then uses for everyone, or dismisses it.",
        "properties": {
          "answer": {
            "title": "Answer",
            "type": "string"
          },
          "answered_at": {
            "title": "Answered At",
            "type": "string"
          },
          "area": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "description": "The product area buyers' askings were routed to.",
            "title": "Area"
          },
          "asked": {
            "title": "Asked",
            "type": "integer"
          },
          "buyers": {
            "description": "Who asked, newest first.",
            "items": {
              "$ref": "#/components/schemas/GapBuyer"
            },
            "title": "Buyers",
            "type": "array"
          },
          "dismissed_at": {
            "default": "",
            "description": "When the team dismissed it; empty unless status is dismissed.",
            "title": "Dismissed At",
            "type": "string"
          },
          "dismissed_by": {
            "default": "",
            "description": "Who dismissed it.",
            "title": "Dismissed By",
            "type": "string"
          },
          "key": {
            "title": "Key",
            "type": "string"
          },
          "kind": {
            "enum": [
              "question",
              "coverage"
            ],
            "title": "Kind",
            "type": "string"
          },
          "listed_by": {
            "items": {
              "type": "string"
            },
            "title": "Listed By",
            "type": "array"
          },
          "name": {
            "title": "Name",
            "type": "string"
          },
          "not_listed_by": {
            "items": {
              "type": "string"
            },
            "title": "Not Listed By",
            "type": "array"
          },
          "question": {
            "title": "Question",
            "type": "string"
          },
          "reason": {
            "title": "Reason",
            "type": "string"
          },
          "said": {
            "title": "Said",
            "type": "string"
          },
          "schema": {
            "default": "solacia.gap.v1",
            "title": "Schema",
            "type": "string"
          },
          "sessions": {
            "items": {
              "type": "string"
            },
            "title": "Sessions",
            "type": "array"
          },
          "status": {
            "enum": [
              "open",
              "closed",
              "dismissed"
            ],
            "title": "Status",
            "type": "string"
          },
          "variants": {
            "items": {
              "type": "string"
            },
            "title": "Variants",
            "type": "array"
          },
          "where": {
            "title": "Where",
            "type": "string"
          }
        },
        "required": [
          "key",
          "kind",
          "status",
          "question",
          "asked",
          "sessions",
          "said",
          "reason",
          "name",
          "where",
          "listed_by",
          "not_listed_by",
          "variants",
          "answer",
          "answered_at"
        ],
        "title": "Gap",
        "type": "object"
      },
      "GapAnswerIn": {
        "additionalProperties": false,
        "description": "The team's answer to a question the agent couldn't answer. From then on the agent gives\nit, in its own words, to every buyer who asks it in any wording.",
        "properties": {
          "answer": {
            "description": "What buyers should be told, as the team would say it: facts only, no quotes.",
            "maxLength": 2000,
            "minLength": 1,
            "title": "Answer",
            "type": "string"
          },
          "key": {
            "description": "The gap's key",
            "maxLength": 2000,
            "minLength": 1,
            "title": "Key",
            "type": "string"
          }
        },
        "required": [
          "key",
          "answer"
        ],
        "title": "GapAnswerIn",
        "type": "object"
      },
      "GapBuyer": {
        "additionalProperties": false,
        "description": "A buyer who asked a gap's question: who, how their demo ended, and whether they left\nright after asking.",
        "properties": {
          "asked_at": {
            "title": "Asked At",
            "type": "string"
          },
          "company": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Company"
          },
          "demo": {
            "title": "Demo",
            "type": "string"
          },
          "email": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Email"
          },
          "left_after_s": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "description": "Seconds from asking to their last activity.",
            "title": "Left After S"
          },
          "left_soon": {
            "default": false,
            "description": "They stopped within 90 seconds of asking.",
            "title": "Left Soon",
            "type": "boolean"
          },
          "outcome": {
            "enum": [
              "meeting",
              "qualified",
              "nurture",
              "anonymous"
            ],
            "title": "Outcome",
            "type": "string"
          },
          "role": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Role"
          },
          "test": {
            "title": "Test",
            "type": "boolean"
          }
        },
        "required": [
          "demo",
          "company",
          "role",
          "email",
          "outcome",
          "asked_at",
          "test"
        ],
        "title": "GapBuyer",
        "type": "object"
      },
      "GapCallsIn": {
        "additionalProperties": false,
        "properties": {
          "key": {
            "description": "The gap's key",
            "maxLength": 2000,
            "minLength": 1,
            "title": "Key",
            "type": "string"
          },
          "question": {
            "default": "",
            "description": "The question as asked; left out: the gap's",
            "maxLength": 2000,
            "title": "Question",
            "type": "string"
          }
        },
        "required": [
          "key"
        ],
        "title": "GapCallsIn",
        "type": "object"
      },
      "GapDismissIn": {
        "additionalProperties": false,
        "description": "Set a gap aside (a wrong flag, a test, something buyers are never told), or restore it.\nIt leaves the open list and count; the guide's answers don't change.",
        "properties": {
          "dismissed": {
            "default": true,
            "description": "false restores it to the open list",
            "title": "Dismissed",
            "type": "boolean"
          },
          "key": {
            "description": "The gap's key",
            "maxLength": 2000,
            "minLength": 1,
            "title": "Key",
            "type": "string"
          },
          "reason": {
            "anyOf": [
              {
                "const": "unpublished",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "description": "unpublished: the vendor deliberately doesn't publish this (a margin, a custom price), so the agent keeps handing it to the team (ADR 0009)",
            "title": "Reason"
          }
        },
        "required": [
          "key"
        ],
        "title": "GapDismissIn",
        "type": "object"
      },
      "GapDocument": {
        "additionalProperties": false,
        "description": "What the document says about the gap's question: whether it answers it (the judge), the\npassages nearest it, and the answer drafted from them alone when it does. Nothing is said to\nbuyers until the team saves an answer.",
        "properties": {
          "answers": {
            "title": "Answers",
            "type": "boolean"
          },
          "draft": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "description": "The answer drafted from the passages, checked against them",
            "title": "Draft"
          },
          "passages": {
            "items": {
              "$ref": "#/components/schemas/GapDocumentPassage"
            },
            "title": "Passages",
            "type": "array"
          },
          "title": {
            "title": "Title",
            "type": "string"
          }
        },
        "required": [
          "title",
          "answers",
          "passages",
          "draft"
        ],
        "title": "GapDocument",
        "type": "object"
      },
      "GapDocumentIn": {
        "additionalProperties": false,
        "description": "A document the team attaches to a gap: the file itself (`content`, base64) or, for a\nprogram or an agent that has it as text, its `text`. Kept in the product's docs store.",
        "properties": {
          "content": {
            "default": "",
            "description": "The file, base64: .pdf, .docx, .html, .md or .txt, up to 3 MB",
            "maxLength": 4200000,
            "title": "Content",
            "type": "string"
          },
          "key": {
            "description": "The gap's key",
            "maxLength": 2000,
            "minLength": 1,
            "title": "Key",
            "type": "string"
          },
          "name": {
            "examples": [
              "Clara ERP integrations.pdf"
            ],
            "maxLength": 200,
            "minLength": 1,
            "title": "Name",
            "type": "string"
          },
          "question": {
            "default": "",
            "description": "The question as asked; left out: the gap's",
            "maxLength": 2000,
            "title": "Question",
            "type": "string"
          },
          "text": {
            "default": "",
            "description": "Or its text, instead of the file",
            "maxLength": 1000000,
            "title": "Text",
            "type": "string"
          }
        },
        "required": [
          "key",
          "name"
        ],
        "title": "GapDocumentIn",
        "type": "object"
      },
      "GapDocumentPassage": {
        "additionalProperties": false,
        "properties": {
          "text": {
            "title": "Text",
            "type": "string"
          },
          "title": {
            "description": "The document's name and the heading the passage sits under",
            "title": "Title",
            "type": "string"
          }
        },
        "required": [
          "title",
          "text"
        ],
        "title": "GapDocumentPassage",
        "type": "object"
      },
      "GapList": {
        "additionalProperties": false,
        "properties": {
          "built_at": {
            "title": "Built At",
            "type": "number"
          },
          "items": {
            "items": {
              "$ref": "#/components/schemas/Gap"
            },
            "title": "Items",
            "type": "array"
          },
          "next_cursor": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "description": "Pass it as `cursor` for the questions after these; empty on the last page.",
            "title": "Next Cursor"
          },
          "open": {
            "title": "Open",
            "type": "integer"
          },
          "topics": {
            "additionalProperties": {
              "type": "string"
            },
            "description": "The product's areas (a gap's or a question's `area`) named as topics, in `language`.",
            "title": "Topics",
            "type": "object"
          },
          "total": {
            "default": 0,
            "description": "Questions that matched, over every page.",
            "title": "Total",
            "type": "integer"
          }
        },
        "required": [
          "items",
          "open",
          "built_at"
        ],
        "title": "GapList",
        "type": "object"
      },
      "GranolaKeyIn": {
        "additionalProperties": false,
        "description": "A Granola API key the vendor made: a workspace key, or a member's.",
        "properties": {
          "key": {
            "description": "The key, as Granola showed it.",
            "maxLength": 500,
            "minLength": 1,
            "title": "Key",
            "type": "string"
          }
        },
        "required": [
          "key"
        ],
        "title": "GranolaKeyIn",
        "type": "object"
      },
      "Handoff": {
        "additionalProperties": false,
        "properties": {
          "crm": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/HandoffCrm"
              },
              {
                "type": "null"
              }
            ]
          },
          "days": {
            "title": "Days",
            "type": "integer"
          },
          "funnel": {
            "$ref": "#/components/schemas/HandoffFunnel"
          },
          "hidden_tests": {
            "default": 0,
            "description": "Test demos' requests left out; ask with tests=true to see them.",
            "title": "Hidden Tests",
            "type": "integer"
          },
          "next_cursor": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "description": "Pass it as `cursor` for the requests after these; empty on the last page.",
            "title": "Next Cursor"
          },
          "requests": {
            "items": {
              "$ref": "#/components/schemas/HandoffRequest"
            },
            "title": "Requests",
            "type": "array"
          },
          "total": {
            "default": 0,
            "description": "Requests in the window, over every page; the funnel counts them all.",
            "title": "Total",
            "type": "integer"
          }
        },
        "required": [
          "days",
          "requests",
          "funnel"
        ],
        "title": "Handoff",
        "type": "object"
      },
      "HandoffCrm": {
        "additionalProperties": false,
        "description": "Whether the leads could be read in the CRM; when not, why (`why`, in words).",
        "properties": {
          "crm": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Crm"
          },
          "median": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "description": "Seconds from asking to the first dated sign, median.",
            "title": "Median"
          },
          "moved": {
            "default": 0,
            "title": "Moved",
            "type": "integer"
          },
          "read": {
            "title": "Read",
            "type": "boolean"
          },
          "stalled": {
            "default": 0,
            "title": "Stalled",
            "type": "integer"
          },
          "waiting": {
            "default": 0,
            "title": "Waiting",
            "type": "integer"
          },
          "why": {
            "default": "",
            "title": "Why",
            "type": "string"
          }
        },
        "required": [
          "crm",
          "read"
        ],
        "title": "HandoffCrm",
        "type": "object"
      },
      "HandoffFunnel": {
        "additionalProperties": false,
        "description": "The requests by state, and the seconds from asking to the first person told.",
        "properties": {
          "asked": {
            "title": "Asked",
            "type": "integer"
          },
          "crm_only": {
            "title": "Crm Only",
            "type": "integer"
          },
          "failed": {
            "title": "Failed",
            "type": "integer"
          },
          "median": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "title": "Median"
          },
          "not_recorded": {
            "title": "Not Recorded",
            "type": "integer"
          },
          "open_median": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "title": "Open Median"
          },
          "open_p90": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "title": "Open P90"
          },
          "opened": {
            "default": 0,
            "title": "Opened",
            "type": "integer"
          },
          "p90": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "title": "P90"
          },
          "reached": {
            "title": "Reached",
            "type": "integer"
          }
        },
        "required": [
          "asked",
          "reached",
          "crm_only",
          "failed",
          "not_recorded",
          "median",
          "p90"
        ],
        "title": "HandoffFunnel",
        "type": "object"
      },
      "HandoffMoved": {
        "additionalProperties": false,
        "description": "Whether the lead moved in the CRM after asking. `state`: moved (any sign), waiting (none\nyet, asked less than 7 days ago), stalled (none in 7 days). `found`: the CRM has the contact.\n`first`: seconds from asking to the first dated sign.",
        "properties": {
          "first": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "title": "First"
          },
          "found": {
            "title": "Found",
            "type": "boolean"
          },
          "signs": {
            "items": {
              "$ref": "#/components/schemas/HandoffSign"
            },
            "title": "Signs",
            "type": "array"
          },
          "state": {
            "enum": [
              "moved",
              "waiting",
              "stalled"
            ],
            "title": "State",
            "type": "string"
          }
        },
        "required": [
          "state",
          "signs",
          "found"
        ],
        "title": "HandoffMoved",
        "type": "object"
      },
      "HandoffRequest": {
        "additionalProperties": false,
        "description": "A buyer who asked for the team. `state`: reached (a person was told: the routed email,\nthe channel, or a booking), crm_only (the CRM took it, nobody was told), failed (every step\nstopped; each says why), not_recorded (asked before steps were kept, 2026-10-20).\n`seconds`: from asking to the first person told. `went`: the rule that took them then;\n`now`: where today's rules send them.",
        "properties": {
          "asked_at": {
            "title": "Asked At",
            "type": "string"
          },
          "brief_link": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/BriefLink"
              },
              {
                "type": "null"
              }
            ]
          },
          "company": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Company"
          },
          "email": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Email"
          },
          "moved": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/HandoffMoved"
              },
              {
                "type": "null"
              }
            ]
          },
          "now": {
            "$ref": "#/components/schemas/HandoffRoute"
          },
          "opened": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "title": "Opened"
          },
          "priority": {
            "title": "Priority",
            "type": "string"
          },
          "seconds": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "title": "Seconds"
          },
          "session": {
            "title": "Session",
            "type": "string"
          },
          "slot": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Slot"
          },
          "state": {
            "enum": [
              "reached",
              "crm_only",
              "failed",
              "not_recorded"
            ],
            "title": "State",
            "type": "string"
          },
          "steps": {
            "items": {
              "$ref": "#/components/schemas/HandoffStep"
            },
            "title": "Steps",
            "type": "array"
          },
          "went": {
            "$ref": "#/components/schemas/HandoffRoute"
          }
        },
        "required": [
          "session",
          "email",
          "company",
          "priority",
          "asked_at",
          "slot",
          "state",
          "seconds",
          "steps",
          "went",
          "now"
        ],
        "title": "HandoffRequest",
        "type": "object"
      },
      "HandoffRoute": {
        "additionalProperties": false,
        "description": "A routing rule's verdict: the rule (`number` from 1; 0: none), who it named, the CRM\nowner when a rule asked, and, for today's rules, why (`because`, condition by condition).",
        "properties": {
          "because": {
            "items": {
              "type": "string"
            },
            "title": "Because",
            "type": "array"
          },
          "host": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Host"
          },
          "number": {
            "title": "Number",
            "type": "integer"
          },
          "owner": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Owner"
          },
          "route": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Route"
          },
          "to": {
            "items": {
              "type": "string"
            },
            "title": "To",
            "type": "array"
          }
        },
        "required": [
          "route",
          "number",
          "to"
        ],
        "title": "HandoffRoute",
        "type": "object"
      },
      "HandoffSign": {
        "additionalProperties": false,
        "description": "One sign the team took the lead on after they asked: a meeting or a logged call or\nemail (`at`), a lifecycle stage past a lead (`value`, in words), or deals (`value`, how many).",
        "properties": {
          "at": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "At"
          },
          "kind": {
            "enum": [
              "meeting",
              "contacted",
              "stage",
              "deals"
            ],
            "title": "Kind",
            "type": "string"
          },
          "value": {
            "default": "",
            "title": "Value",
            "type": "string"
          }
        },
        "required": [
          "kind"
        ],
        "title": "HandoffSign",
        "type": "object"
      },
      "HandoffStep": {
        "additionalProperties": false,
        "description": "One way a request went out. `kind`: slack, webhook, channel (none set), email (the\nrouted one), crm, booking; or SES's word on that email: delivered, opened, clicked, bounced,\ncomplained, rejected, delayed. `why`: in words, when it didn't go. `to`: who the email\nnamed, or who it bounced from.",
        "properties": {
          "at": {
            "title": "At",
            "type": "string"
          },
          "kind": {
            "title": "Kind",
            "type": "string"
          },
          "ok": {
            "title": "Ok",
            "type": "boolean"
          },
          "to": {
            "items": {
              "type": "string"
            },
            "title": "To",
            "type": "array"
          },
          "why": {
            "title": "Why",
            "type": "string"
          }
        },
        "required": [
          "kind",
          "at",
          "ok",
          "why",
          "to"
        ],
        "title": "HandoffStep",
        "type": "object"
      },
      "IntegrationChoice": {
        "additionalProperties": false,
        "description": "Which provider the account uses for a kind of integration, and where that came from:\npicked here or in the console (\"console\"), or the account's setup (\"setup\").",
        "properties": {
          "kind": {
            "enum": [
              "crm",
              "scheduling"
            ],
            "title": "Kind",
            "type": "string"
          },
          "provider": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Provider"
          },
          "providers": {
            "items": {
              "type": "string"
            },
            "title": "Providers",
            "type": "array"
          },
          "source": {
            "enum": [
              "console",
              "setup",
              "none"
            ],
            "title": "Source",
            "type": "string"
          }
        },
        "required": [
          "kind",
          "provider",
          "source",
          "providers"
        ],
        "title": "IntegrationChoice",
        "type": "object"
      },
      "IntegrationChoiceIn": {
        "additionalProperties": false,
        "description": "The provider to use: an id the kind offers, or \"off\".",
        "properties": {
          "provider": {
            "examples": [
              "salesforce"
            ],
            "maxLength": 40,
            "minLength": 1,
            "title": "Provider",
            "type": "string"
          }
        },
        "required": [
          "provider"
        ],
        "title": "IntegrationChoiceIn",
        "type": "object"
      },
      "IntegrationConnect": {
        "additionalProperties": false,
        "description": "Where to send the account's owner to approve the connection in the provider's own app.\nThey come back to the console, which finishes it (PUT /integrations/{id}/connection).",
        "properties": {
          "provider": {
            "title": "Provider",
            "type": "string"
          },
          "url": {
            "title": "Url",
            "type": "string"
          }
        },
        "required": [
          "provider",
          "url"
        ],
        "title": "IntegrationConnect",
        "type": "object"
      },
      "IntegrationConnection": {
        "additionalProperties": false,
        "description": "A connection the account's owner made by signing in to the provider: which of the\nvendor's accounts it reaches (`label`), who made it and when. `connected` is false once\nit is removed.",
        "properties": {
          "at": {
            "default": "",
            "title": "At",
            "type": "string"
          },
          "by": {
            "default": "",
            "title": "By",
            "type": "string"
          },
          "connected": {
            "title": "Connected",
            "type": "boolean"
          },
          "label": {
            "default": "",
            "title": "Label",
            "type": "string"
          },
          "provider": {
            "title": "Provider",
            "type": "string"
          }
        },
        "required": [
          "provider",
          "connected"
        ],
        "title": "IntegrationConnection",
        "type": "object"
      },
      "IntegrationConnectionIn": {
        "additionalProperties": false,
        "description": "What the provider sent the owner back with.",
        "properties": {
          "code": {
            "maxLength": 2000,
            "minLength": 1,
            "title": "Code",
            "type": "string"
          },
          "picked": {
            "default": "",
            "description": "Google Drive: the ids of the files picked in Google's picker, comma-separated (picked_file_ids), as Google sent them back.",
            "maxLength": 20000,
            "title": "Picked",
            "type": "string"
          },
          "state": {
            "maxLength": 500,
            "minLength": 1,
            "title": "State",
            "type": "string"
          }
        },
        "required": [
          "code",
          "state"
        ],
        "title": "IntegrationConnectionIn",
        "type": "object"
      },
      "IntegrationEvent": {
        "additionalProperties": false,
        "properties": {
          "id": {
            "description": "The event type's id in the scheduler",
            "title": "Id",
            "type": "string"
          },
          "name": {
            "title": "Name",
            "type": "string"
          },
          "url": {
            "description": "Its booking page",
            "title": "Url",
            "type": "string"
          }
        },
        "required": [
          "id",
          "name",
          "url"
        ],
        "title": "IntegrationEvent",
        "type": "object"
      },
      "IntegrationFile": {
        "additionalProperties": false,
        "properties": {
          "modified": {
            "title": "Modified",
            "type": "string"
          },
          "title": {
            "title": "Title",
            "type": "string"
          }
        },
        "required": [
          "title",
          "modified"
        ],
        "title": "IntegrationFile",
        "type": "object"
      },
      "IntegrationGroup": {
        "additionalProperties": false,
        "properties": {
          "id": {
            "title": "Id",
            "type": "string"
          },
          "items": {
            "items": {
              "$ref": "#/components/schemas/IntegrationOut"
            },
            "title": "Items",
            "type": "array"
          },
          "title": {
            "title": "Title",
            "type": "string"
          }
        },
        "required": [
          "id",
          "title",
          "items"
        ],
        "title": "IntegrationGroup",
        "type": "object"
      },
      "IntegrationMadeBy": {
        "additionalProperties": false,
        "properties": {
          "at": {
            "description": "When, ISO 8601.",
            "title": "At",
            "type": "string"
          },
          "by": {
            "description": "Who connected it.",
            "title": "By",
            "type": "string"
          },
          "label": {
            "description": "What it is connected to, such as the HubSpot portal.",
            "title": "Label",
            "type": "string"
          }
        },
        "required": [
          "label",
          "by",
          "at"
        ],
        "title": "IntegrationMadeBy",
        "type": "object"
      },
      "IntegrationOut": {
        "additionalProperties": false,
        "description": "One integration as the console's Integrations page shows it.",
        "properties": {
          "calls": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "description": "Sales calls: how many were read, once something is picked.",
            "title": "Calls"
          },
          "connect": {
            "description": "An owner connects it by signing in there.",
            "title": "Connect",
            "type": "boolean"
          },
          "connection": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/IntegrationMadeBy"
              },
              {
                "type": "null"
              }
            ]
          },
          "crm": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "description": "The CRM it is, when it is one.",
            "title": "Crm"
          },
          "detail": {
            "description": "One line on what it holds once connected, or why it was lost.",
            "title": "Detail",
            "type": "string"
          },
          "docs": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Docs"
          },
          "event": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/IntegrationEvent"
              },
              {
                "type": "null"
              }
            ],
            "description": "Calendly or Cal.com: the event buyers book."
          },
          "events": {
            "description": "Calendly or Cal.com: its event types can be picked.",
            "title": "Events",
            "type": "boolean"
          },
          "files": {
            "anyOf": [
              {
                "items": {
                  "$ref": "#/components/schemas/IntegrationFile"
                },
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "description": "Internal docs: the files last read.",
            "title": "Files"
          },
          "how": {
            "description": "How it is set up.",
            "title": "How",
            "type": "string"
          },
          "id": {
            "title": "Id",
            "type": "string"
          },
          "line": {
            "description": "What it does, in one line.",
            "title": "Line",
            "type": "string"
          },
          "link": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "description": "HubSpot Meetings: the meeting link buyers book.",
            "title": "Link"
          },
          "links": {
            "description": "HubSpot Meetings: its meeting links can be picked.",
            "title": "Links",
            "type": "boolean"
          },
          "name": {
            "title": "Name",
            "type": "string"
          },
          "paste": {
            "description": "Connected by pasting a link (internal docs).",
            "title": "Paste",
            "type": "boolean"
          },
          "router": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "description": "Chili Piper: the router buyers go through.",
            "title": "Router"
          },
          "routers": {
            "default": false,
            "description": "Chili Piper, its token pasted: its routers can be picked.",
            "title": "Routers",
            "type": "boolean"
          },
          "routing": {
            "description": "Email alerts: set up on the Routing page.",
            "title": "Routing",
            "type": "boolean"
          },
          "scheduler": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "description": "The scheduler it is, when it is one.",
            "title": "Scheduler"
          },
          "sign_in_again": {
            "default": false,
            "description": "Zendesk, connected by an API token where it now connects by signing in: an owner signs in (POST /integrations/zendesk/sign-in) to keep it, and the audiences picked carry over.",
            "title": "Sign In Again",
            "type": "boolean"
          },
          "skipped": {
            "items": {
              "type": "string"
            },
            "title": "Skipped",
            "type": "array"
          },
          "snippet": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "description": "The website embed's script tag, once it has a key.",
            "title": "Snippet"
          },
          "status": {
            "enum": [
              "connected",
              "not_connected",
              "planned"
            ],
            "title": "Status",
            "type": "string"
          },
          "what": {
            "title": "What",
            "type": "string"
          }
        },
        "required": [
          "id",
          "name",
          "line",
          "what",
          "how",
          "status",
          "detail",
          "scheduler",
          "crm",
          "snippet",
          "docs",
          "connect",
          "paste",
          "files",
          "skipped",
          "connection",
          "links",
          "link",
          "events",
          "event",
          "routing"
        ],
        "title": "IntegrationOut",
        "type": "object"
      },
      "IntegrationPicked": {
        "additionalProperties": false,
        "properties": {
          "chosen": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "description": "The provider picked, or off; null before a pick.",
            "title": "Chosen"
          },
          "source": {
            "description": "Picked in the console, or the setup's.",
            "title": "Source",
            "type": "string"
          }
        },
        "required": [
          "chosen",
          "source"
        ],
        "title": "IntegrationPicked",
        "type": "object"
      },
      "Integrations": {
        "additionalProperties": false,
        "description": "Every integration with its state, grouped as the console's Integrations page shows them,\nand the scheduler and CRM the account picked.",
        "properties": {
          "calendar": {
            "$ref": "#/components/schemas/IntegrationPicked"
          },
          "crm": {
            "$ref": "#/components/schemas/IntegrationPicked"
          },
          "groups": {
            "items": {
              "$ref": "#/components/schemas/IntegrationGroup"
            },
            "title": "Groups",
            "type": "array"
          }
        },
        "required": [
          "groups",
          "calendar",
          "crm"
        ],
        "title": "Integrations",
        "type": "object"
      },
      "InternalDoc": {
        "additionalProperties": false,
        "description": "A document the agent answers from: its title and when its source last changed it.",
        "properties": {
          "modified": {
            "default": "",
            "title": "Modified",
            "type": "string"
          },
          "title": {
            "title": "Title",
            "type": "string"
          }
        },
        "required": [
          "title"
        ],
        "title": "InternalDoc",
        "type": "object"
      },
      "InternalDocs": {
        "additionalProperties": false,
        "description": "What a source of internal docs holds at its last read, and what that read left out.",
        "properties": {
          "at": {
            "default": "",
            "title": "At",
            "type": "string"
          },
          "connected": {
            "title": "Connected",
            "type": "boolean"
          },
          "docs": {
            "items": {
              "$ref": "#/components/schemas/InternalDoc"
            },
            "title": "Docs",
            "type": "array"
          },
          "label": {
            "default": "",
            "title": "Label",
            "type": "string"
          },
          "provider": {
            "title": "Provider",
            "type": "string"
          },
          "skipped": {
            "description": "Each \"Title: why\" it was not read.",
            "items": {
              "type": "string"
            },
            "title": "Skipped",
            "type": "array"
          }
        },
        "required": [
          "provider",
          "connected"
        ],
        "title": "InternalDocs",
        "type": "object"
      },
      "InternalDocsChoice": {
        "additionalProperties": false,
        "description": "Which side the agent follows where the vendor's internal docs and its public docs state\none thing two ways: the other side's passage is left out of what it answers from.",
        "properties": {
          "prefer": {
            "enum": [
              "internal",
              "public"
            ],
            "title": "Prefer",
            "type": "string"
          }
        },
        "required": [
          "prefer"
        ],
        "title": "InternalDocsChoice",
        "type": "object"
      },
      "Lead": {
        "additionalProperties": false,
        "description": "One buyer, as of `at`: who they are, why the lead matters, what they saw and asked, whether\nthey want the team, and the follow-up drafted for them. The same record a CRM receives.",
        "properties": {
          "activity": {
            "$ref": "#/components/schemas/Activity"
          },
          "at": {
            "title": "At",
            "type": "string"
          },
          "calls": {
            "anyOf": [
              {
                "items": {
                  "$ref": "#/components/schemas/Call"
                },
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "description": "With include=calls.",
            "title": "Calls"
          },
          "campaign": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "description": "The campaign of the personal demo link the buyer came in by, if it named one.",
            "title": "Campaign"
          },
          "concerns": {
            "items": {
              "$ref": "#/components/schemas/Concern"
            },
            "title": "Concerns",
            "type": "array"
          },
          "contact": {
            "$ref": "#/components/schemas/Contact"
          },
          "deals": {
            "anyOf": [
              {
                "items": {
                  "$ref": "#/components/schemas/Deal"
                },
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "description": "With include=deals: the buyer's deals in the account's CRM, read now.",
            "title": "Deals"
          },
          "event": {
            "description": "lead.snapshot when read here; lead.contact, lead.team_request or lead.call_ended when pushed.",
            "title": "Event",
            "type": "string"
          },
          "facts": {
            "items": {
              "$ref": "#/components/schemas/LeadFact"
            },
            "title": "Facts",
            "type": "array"
          },
          "fit": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Fit"
          },
          "follow_up": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/FollowUp"
              },
              {
                "type": "null"
              }
            ]
          },
          "link": {
            "description": "The team's page for this buyer.",
            "title": "Link",
            "type": "string"
          },
          "network": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Network"
              },
              {
                "type": "null"
              }
            ],
            "description": "The company the buyer's network address was looked up as when they gave their email, if it was. An office network can name the company; home, mobile and VPN addresses mostly name none."
          },
          "next_meeting": {
            "items": {
              "type": "string"
            },
            "title": "Next Meeting",
            "type": "array"
          },
          "number": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "description": "Which try of the demo this is; #1 is the first.",
            "title": "Number"
          },
          "priority": {
            "enum": [
              "hot",
              "warm",
              "nurture",
              "cold"
            ],
            "title": "Priority",
            "type": "string"
          },
          "product": {
            "title": "Product",
            "type": "string"
          },
          "questions": {
            "items": {
              "$ref": "#/components/schemas/LeadQuestion"
            },
            "title": "Questions",
            "type": "array"
          },
          "reasons": {
            "items": {
              "$ref": "#/components/schemas/Reason"
            },
            "title": "Reasons",
            "type": "array"
          },
          "schema": {
            "default": "solacia.lead.v1",
            "title": "Schema",
            "type": "string"
          },
          "seen": {
            "items": {
              "type": "string"
            },
            "title": "Seen",
            "type": "array"
          },
          "session": {
            "description": "The demo's id; the same as a demo's `id`.",
            "title": "Session",
            "type": "string"
          },
          "source": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/LeadSource"
              },
              {
                "type": "null"
              }
            ],
            "description": "Where the buyer came from; null when nobody knows."
          },
          "stages": {
            "description": "How far the demo went: email, call, saw, asked, team.",
            "items": {
              "type": "string"
            },
            "title": "Stages",
            "type": "array"
          },
          "team_request": {
            "$ref": "#/components/schemas/TeamRequest"
          },
          "test": {
            "description": "One of the vendor's or our own test demos.",
            "title": "Test",
            "type": "boolean"
          },
          "transcript": {
            "anyOf": [
              {
                "items": {
                  "$ref": "#/components/schemas/Line"
                },
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "description": "With include=transcript.",
            "title": "Transcript"
          },
          "vendor": {
            "title": "Vendor",
            "type": "string"
          }
        },
        "required": [
          "event",
          "at",
          "product",
          "vendor",
          "session",
          "link",
          "test",
          "contact",
          "priority",
          "fit",
          "reasons",
          "stages",
          "facts",
          "seen",
          "questions",
          "concerns",
          "team_request",
          "next_meeting",
          "follow_up",
          "activity"
        ],
        "title": "Lead",
        "type": "object"
      },
      "LeadFact": {
        "additionalProperties": false,
        "properties": {
          "group": {
            "title": "Group",
            "type": "string"
          },
          "label": {
            "title": "Label",
            "type": "string"
          },
          "source": {
            "description": "said, confirmed or inferred",
            "title": "Source",
            "type": "string"
          },
          "value": {
            "title": "Value",
            "type": "string"
          }
        },
        "required": [
          "group",
          "label",
          "value",
          "source"
        ],
        "title": "LeadFact",
        "type": "object"
      },
      "LeadPage": {
        "additionalProperties": false,
        "properties": {
          "counts": {
            "additionalProperties": {
              "type": "integer"
            },
            "description": "Leads per priority, over the whole filter.",
            "title": "Counts",
            "type": "object"
          },
          "items": {
            "items": {
              "$ref": "#/components/schemas/Lead"
            },
            "title": "Items",
            "type": "array"
          },
          "next_cursor": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Next Cursor"
          },
          "total": {
            "default": 0,
            "description": "Leads that matched, over every page.",
            "title": "Total",
            "type": "integer"
          }
        },
        "required": [
          "items",
          "next_cursor",
          "counts"
        ],
        "title": "LeadPage",
        "type": "object"
      },
      "LeadQuestion": {
        "additionalProperties": false,
        "properties": {
          "answer": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "description": "Only an answer that held; null when the team owes it.",
            "title": "Answer"
          },
          "answered": {
            "title": "Answered",
            "type": "boolean"
          },
          "at": {
            "title": "At",
            "type": "string"
          },
          "channel": {
            "title": "Channel",
            "type": "string"
          },
          "question": {
            "title": "Question",
            "type": "string"
          }
        },
        "required": [
          "question",
          "answer",
          "answered",
          "channel",
          "at"
        ],
        "title": "LeadQuestion",
        "type": "object"
      },
      "LeadSource": {
        "additionalProperties": false,
        "description": "Where the buyer came from: your own campaign tags as you wrote them, the campaign, the\npage that brought them to the demo, and Solacia's reading of a channel.",
        "properties": {
          "arrival_url": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "description": "The page that brought the buyer, with the tags Solacia kept from its address.",
            "title": "Arrival Url"
          },
          "arrived_at": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "description": "When that visit was, ISO 8601, when the site kept it.",
            "title": "Arrived At"
          },
          "campaign": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "description": "The demo link's campaign, else the page's utm_campaign.",
            "title": "Campaign"
          },
          "channel": {
            "description": "Solacia's reading of where the buyer came from, beside your own tags, never in their place: outbound (a personal demo link), paid, email, social, ai_assistant, organic, referral, campaign or direct; by the visit that first brought the buyer to the site when known, else the page the demo opened on.",
            "title": "Channel",
            "type": "string"
          },
          "click_id": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "description": "Which ad click id the visit carried (gclid, msclkid, fbclid, li_fat_id, ...), if any.",
            "title": "Click Id"
          },
          "click_ids": {
            "additionalProperties": {
              "type": "string"
            },
            "description": "The ad click ids of that visit, by name (gclid, msclkid, fbclid, oppref, ...).",
            "title": "Click Ids",
            "type": "object"
          },
          "embedded": {
            "default": false,
            "description": "The demo was opened from the embed on the vendor's own site.",
            "title": "Embedded",
            "type": "boolean"
          },
          "first_touch": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/SourceTouch"
              },
              {
                "type": "null"
              }
            ]
          },
          "landing_page": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "description": "The page the demo was opened on.",
            "title": "Landing Page"
          },
          "last_touch": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/SourceTouch"
              },
              {
                "type": "null"
              }
            ]
          },
          "referrer": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Referrer"
          },
          "utm": {
            "additionalProperties": {
              "type": "string"
            },
            "description": "Your utm_source, utm_medium, utm_campaign, utm_term and utm_content, exactly as you wrote them, of the visit that first brought the buyer to the site when known, else of the page the demo opened on. Each touch below has its own.",
            "title": "Utm",
            "type": "object"
          }
        },
        "required": [
          "channel"
        ],
        "title": "LeadSource",
        "type": "object"
      },
      "Lever": {
        "additionalProperties": false,
        "properties": {
          "changes": {
            "description": "The parts of a version it changes",
            "items": {
              "type": "string"
            },
            "title": "Changes",
            "type": "array"
          },
          "counts": {
            "description": "The goal its test is read on",
            "enum": [
              "qualified",
              "meeting"
            ],
            "title": "Counts",
            "type": "string"
          },
          "id": {
            "description": "message: what it says and how; features: what it shows first; pricing: what it charges (its facts); offer: what it asks the buyer to do (its goal); qualification: who it is for and what it asks them (audience, rules)",
            "enum": [
              "message",
              "features",
              "pricing",
              "offer",
              "qualification"
            ],
            "title": "Id",
            "type": "string"
          },
          "readings": {
            "items": {
              "$ref": "#/components/schemas/LeverReading"
            },
            "title": "Readings",
            "type": "array"
          }
        },
        "required": [
          "id",
          "counts",
          "changes",
          "readings"
        ],
        "title": "Lever",
        "type": "object"
      },
      "LeverReading": {
        "additionalProperties": false,
        "description": "What the agent's buyers did that a lever's test starts from: `n` of `of` buyers.",
        "properties": {
          "key": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "description": "The part or the product area it is about",
            "title": "Key"
          },
          "kind": {
            "description": "left_early: left in the first minute without the goal, of every buyer; left_on_part: left during part `key` without asking to meet, of those who stayed a minute; asked_about: asked about area `key`, of every buyer; met_after_prices / met_without_prices: asked to meet, of those shown the prices or not; qualified_not_met: did not ask to meet, of those who qualified; qualified: of every buyer; met_unqualified: did not qualify, of those who asked to meet",
            "enum": [
              "left_early",
              "left_on_part",
              "asked_about",
              "met_after_prices",
              "met_without_prices",
              "qualified_not_met",
              "qualified",
              "met_unqualified"
            ],
            "title": "Kind",
            "type": "string"
          },
          "n": {
            "title": "N",
            "type": "integer"
          },
          "of": {
            "title": "Of",
            "type": "integer"
          },
          "title": {
            "anyOf": [
              {
                "additionalProperties": {
                  "type": "string"
                },
                "type": "object"
              },
              {
                "type": "null"
              }
            ],
            "description": "The part's title per language",
            "title": "Title"
          }
        },
        "required": [
          "kind",
          "n",
          "of"
        ],
        "title": "LeverReading",
        "type": "object"
      },
      "Line": {
        "additionalProperties": false,
        "properties": {
          "at": {
            "title": "At",
            "type": "string"
          },
          "kind": {
            "default": "",
            "description": "An event's kind: opened, played, source, showed, presented, team, call_started or call_ended.",
            "title": "Kind",
            "type": "string"
          },
          "note": {
            "default": "",
            "title": "Note",
            "type": "string"
          },
          "text": {
            "title": "Text",
            "type": "string"
          },
          "what": {
            "default": "",
            "description": "The screen, place or deck the event names, or how the call ended.",
            "title": "What",
            "type": "string"
          },
          "who": {
            "enum": [
              "buyer",
              "guide",
              "event"
            ],
            "title": "Who",
            "type": "string"
          }
        },
        "required": [
          "at",
          "who",
          "text"
        ],
        "title": "Line",
        "type": "object"
      },
      "LinkRefused": {
        "additionalProperties": false,
        "description": "A row no link was made for, and why: the same answer a single link would get.",
        "properties": {
          "code": {
            "description": "`invalid_email`, `personal_email` or `invalid_days`.",
            "title": "Code",
            "type": "string"
          },
          "detail": {
            "title": "Detail",
            "type": "string"
          },
          "email": {
            "title": "Email",
            "type": "string"
          },
          "row": {
            "description": "The row's place in `rows`, from 0.",
            "title": "Row",
            "type": "integer"
          }
        },
        "required": [
          "row",
          "email",
          "code",
          "detail"
        ],
        "title": "LinkRefused",
        "type": "object"
      },
      "MailEventTaken": {
        "additionalProperties": false,
        "description": "What came of it: confirmed (the subscription), kept (with its buyer), ignored (not an\nevent we keep), unmatched (no product or buyer in its tags).",
        "properties": {
          "result": {
            "enum": [
              "confirmed",
              "kept",
              "ignored",
              "unmatched"
            ],
            "title": "Result",
            "type": "string"
          }
        },
        "required": [
          "result"
        ],
        "title": "MailEventTaken",
        "type": "object"
      },
      "MailEventsHeard": {
        "additionalProperties": false,
        "properties": {
          "at": {
            "description": "When, ISO 8601.",
            "title": "At",
            "type": "string"
          },
          "event": {
            "default": "",
            "description": "The SES event it carried, as Handoff's steps name it.",
            "title": "Event",
            "type": "string"
          },
          "product": {
            "default": "",
            "description": "The account whose buyer it named.",
            "title": "Product",
            "type": "string"
          },
          "result": {
            "description": "What came of SNS's last post: confirmed, kept, ignored or unmatched.",
            "title": "Result",
            "type": "string"
          }
        },
        "required": [
          "result",
          "at"
        ],
        "title": "MailEventsHeard",
        "type": "object"
      },
      "MailEventsKeyMade": {
        "additionalProperties": false,
        "properties": {
          "events_set": {
            "description": "The SES configuration set every routed email names (MAIL_EVENTS_SET); empty: no events.",
            "title": "Events Set",
            "type": "string"
          },
          "key": {
            "description": "Whether the key SNS posts with is live.",
            "title": "Key",
            "type": "boolean"
          },
          "key_at": {
            "default": "",
            "description": "When, ISO 8601.",
            "title": "Key At",
            "type": "string"
          },
          "key_by": {
            "default": "",
            "description": "Who made it.",
            "title": "Key By",
            "type": "string"
          },
          "last": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/MailEventsHeard"
              },
              {
                "type": "null"
              }
            ],
            "description": "SNS's last post; null before the first."
          },
          "path": {
            "description": "Where SNS posts, on this site.",
            "title": "Path",
            "type": "string"
          },
          "secret": {
            "description": "The key, shown this once: Solacia keeps only its hash.",
            "title": "Secret",
            "type": "string"
          }
        },
        "required": [
          "key",
          "events_set",
          "path",
          "secret"
        ],
        "title": "MailEventsKeyMade",
        "type": "object"
      },
      "MailEventsStatus": {
        "additionalProperties": false,
        "description": "Whether SES's events on the routed emails reach Solacia: the console's proof.",
        "properties": {
          "events_set": {
            "description": "The SES configuration set every routed email names (MAIL_EVENTS_SET); empty: no events.",
            "title": "Events Set",
            "type": "string"
          },
          "key": {
            "description": "Whether the key SNS posts with is live.",
            "title": "Key",
            "type": "boolean"
          },
          "key_at": {
            "default": "",
            "description": "When, ISO 8601.",
            "title": "Key At",
            "type": "string"
          },
          "key_by": {
            "default": "",
            "description": "Who made it.",
            "title": "Key By",
            "type": "string"
          },
          "last": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/MailEventsHeard"
              },
              {
                "type": "null"
              }
            ],
            "description": "SNS's last post; null before the first."
          },
          "path": {
            "description": "Where SNS posts, on this site.",
            "title": "Path",
            "type": "string"
          }
        },
        "required": [
          "key",
          "events_set",
          "path"
        ],
        "title": "MailEventsStatus",
        "type": "object"
      },
      "Me": {
        "additionalProperties": false,
        "description": "Who the key or session is, and what it may do: the first call to make with a new key.",
        "properties": {
          "account": {
            "title": "Account",
            "type": "string"
          },
          "account_name": {
            "title": "Account Name",
            "type": "string"
          },
          "actor": {
            "enum": [
              "operator",
              "api_key",
              "user",
              "connection"
            ],
            "title": "Actor",
            "type": "string"
          },
          "name": {
            "title": "Name",
            "type": "string"
          },
          "products": {
            "items": {
              "type": "string"
            },
            "title": "Products",
            "type": "array"
          },
          "role": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Role"
          },
          "scopes": {
            "items": {
              "type": "string"
            },
            "title": "Scopes",
            "type": "array"
          }
        },
        "required": [
          "account",
          "account_name",
          "products",
          "actor",
          "name",
          "role",
          "scopes"
        ],
        "title": "Me",
        "type": "object"
      },
      "MeLanguageIn": {
        "additionalProperties": false,
        "properties": {
          "language": {
            "description": "English, Spanish or Portuguese.",
            "enum": [
              "en",
              "es",
              "pt"
            ],
            "title": "Language",
            "type": "string"
          }
        },
        "required": [
          "language"
        ],
        "title": "MeLanguageIn",
        "type": "object"
      },
      "MeNameIn": {
        "additionalProperties": false,
        "properties": {
          "name": {
            "description": "How the team sees them on Team and in Handoff.",
            "maxLength": 80,
            "minLength": 1,
            "title": "Name",
            "type": "string"
          }
        },
        "required": [
          "name"
        ],
        "title": "MeNameIn",
        "type": "object"
      },
      "MePasswordIn": {
        "additionalProperties": false,
        "properties": {
          "current": {
            "maxLength": 200,
            "minLength": 1,
            "title": "Current",
            "type": "string"
          },
          "new": {
            "description": "At least 10 characters.",
            "maxLength": 200,
            "minLength": 10,
            "title": "New",
            "type": "string"
          }
        },
        "required": [
          "current",
          "new"
        ],
        "title": "MePasswordIn",
        "type": "object"
      },
      "MePictureIn": {
        "additionalProperties": false,
        "properties": {
          "image": {
            "description": "A JPEG, PNG or WebP as a base64 data: URL, at most 48 KB decoded (a square of about 160 px); empty takes the picture away.",
            "maxLength": 65536,
            "title": "Image",
            "type": "string"
          }
        },
        "required": [
          "image"
        ],
        "title": "MePictureIn",
        "type": "object"
      },
      "MeetingLink": {
        "additionalProperties": false,
        "description": "One of the connected HubSpot's meeting links.",
        "properties": {
          "kind": {
            "default": "",
            "description": "one rep, group or round robin",
            "title": "Kind",
            "type": "string"
          },
          "name": {
            "title": "Name",
            "type": "string"
          },
          "url": {
            "examples": [
              "https://meetings.hubspot.com/ana-ruiz/demo"
            ],
            "title": "Url",
            "type": "string"
          }
        },
        "required": [
          "name",
          "url"
        ],
        "title": "MeetingLink",
        "type": "object"
      },
      "MeetingLinkIn": {
        "additionalProperties": false,
        "description": "The link buyers book: one the connected HubSpot lists.",
        "properties": {
          "url": {
            "maxLength": 500,
            "minLength": 1,
            "title": "Url",
            "type": "string"
          }
        },
        "required": [
          "url"
        ],
        "title": "MeetingLinkIn",
        "type": "object"
      },
      "MeetingLinks": {
        "additionalProperties": false,
        "description": "The meeting link buyers book through HubSpot Meetings (`url`, empty until one is\npicked) and the links the connected HubSpot offers.",
        "properties": {
          "links": {
            "items": {
              "$ref": "#/components/schemas/MeetingLink"
            },
            "title": "Links",
            "type": "array"
          },
          "url": {
            "title": "Url",
            "type": "string"
          }
        },
        "required": [
          "url",
          "links"
        ],
        "title": "MeetingLinks",
        "type": "object"
      },
      "Network": {
        "additionalProperties": false,
        "properties": {
          "company": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "description": "Null when the lookup named no company.",
            "title": "Company"
          },
          "confidence": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "description": "The provider's grade: very high, high, moderate, low or very low.",
            "title": "Confidence"
          },
          "domain": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Domain"
          },
          "industry": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Industry"
          },
          "matches_email": {
            "anyOf": [
              {
                "type": "boolean"
              },
              {
                "type": "null"
              }
            ],
            "description": "The company's domain is the email's; null when either is missing.",
            "title": "Matches Email"
          },
          "provider": {
            "title": "Provider",
            "type": "string"
          },
          "size": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "description": "Employees, as a range such as 51-200.",
            "title": "Size"
          }
        },
        "required": [
          "company",
          "domain",
          "size",
          "industry",
          "confidence",
          "matches_email",
          "provider"
        ],
        "title": "Network",
        "type": "object"
      },
      "Nothing": {
        "additionalProperties": false,
        "description": "The input of an operation that takes only its path.",
        "properties": {},
        "title": "Nothing",
        "type": "object"
      },
      "Person": {
        "additionalProperties": false,
        "description": "The caller, a person who signs in to the console. In preview.",
        "properties": {
          "added_at": {
            "default": "",
            "description": "When they joined, ISO 8601.",
            "title": "Added At",
            "type": "string"
          },
          "email": {
            "title": "Email",
            "type": "string"
          },
          "language": {
            "default": "en",
            "description": "What their console speaks: their own pick, else the account's language. In preview.",
            "enum": [
              "en",
              "es",
              "pt"
            ],
            "title": "Language",
            "type": "string"
          },
          "name": {
            "title": "Name",
            "type": "string"
          },
          "picture": {
            "default": "",
            "description": "Their picture as a data: URL (a small square JPEG, PNG or WebP), or empty.",
            "title": "Picture",
            "type": "string"
          },
          "role": {
            "enum": [
              "owner",
              "member",
              "solacia"
            ],
            "title": "Role",
            "type": "string"
          }
        },
        "required": [
          "email",
          "name",
          "role"
        ],
        "title": "Person",
        "type": "object"
      },
      "PoolVoice": {
        "additionalProperties": false,
        "properties": {
          "accent": {
            "description": "The locale it is native to, e.g. es-CO",
            "title": "Accent",
            "type": "string"
          },
          "gender": {
            "description": "f or m; empty for a product voice outside the pool",
            "enum": [
              "f",
              "m",
              ""
            ],
            "title": "Gender",
            "type": "string"
          },
          "id": {
            "description": "The voice's id at the speech provider",
            "title": "Id",
            "type": "string"
          },
          "name": {
            "description": "Its name; empty for a product voice outside the pool",
            "title": "Name",
            "type": "string"
          }
        },
        "required": [
          "id",
          "name",
          "gender",
          "accent"
        ],
        "title": "PoolVoice",
        "type": "object"
      },
      "Problem": {
        "additionalProperties": false,
        "description": "Every error, as application/problem+json.",
        "properties": {
          "code": {
            "title": "Code",
            "type": "string"
          },
          "detail": {
            "title": "Detail",
            "type": "string"
          },
          "request_id": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "description": "The X-Request-Id of this request; quote it when asking about the error.",
            "title": "Request Id"
          },
          "status": {
            "title": "Status",
            "type": "integer"
          },
          "title": {
            "title": "Title",
            "type": "string"
          },
          "type": {
            "default": "about:blank",
            "title": "Type",
            "type": "string"
          }
        },
        "required": [
          "title",
          "status",
          "detail",
          "code"
        ],
        "title": "Problem",
        "type": "object"
      },
      "Question": {
        "additionalProperties": false,
        "properties": {
          "answer": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Answer"
          },
          "area": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Area"
          },
          "at": {
            "title": "At",
            "type": "string"
          },
          "channel": {
            "title": "Channel",
            "type": "string"
          },
          "demo": {
            "title": "Demo",
            "type": "string"
          },
          "schema": {
            "default": "solacia.question.v1",
            "title": "Schema",
            "type": "string"
          },
          "status": {
            "enum": [
              "sourced",
              "partial",
              "unsourced",
              "spoken",
              "wrong",
              "none"
            ],
            "title": "Status",
            "type": "string"
          },
          "text": {
            "title": "Text",
            "type": "string"
          }
        },
        "required": [
          "demo",
          "at",
          "text",
          "channel",
          "answer",
          "status",
          "area"
        ],
        "title": "Question",
        "type": "object"
      },
      "QuestionPage": {
        "additionalProperties": false,
        "properties": {
          "items": {
            "items": {
              "$ref": "#/components/schemas/Question"
            },
            "title": "Items",
            "type": "array"
          },
          "next_cursor": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Next Cursor"
          },
          "total": {
            "default": 0,
            "description": "Questions that matched, over every page.",
            "title": "Total",
            "type": "integer"
          }
        },
        "required": [
          "items",
          "next_cursor"
        ],
        "title": "QuestionPage",
        "type": "object"
      },
      "Reason": {
        "additionalProperties": false,
        "properties": {
          "text": {
            "title": "Text",
            "type": "string"
          },
          "tone": {
            "enum": [
              "intent",
              "fit",
              "caution"
            ],
            "title": "Tone",
            "type": "string"
          }
        },
        "required": [
          "text",
          "tone"
        ],
        "title": "Reason",
        "type": "object"
      },
      "RecordingOut": {
        "additionalProperties": false,
        "description": "One call of the demo as recorded: the buyer's voice and the agent's. In preview.",
        "properties": {
          "anchors": {
            "description": "Where the sound was against the clock, every half minute: a moment's place in the sound is read between the two around it (after `began` alone when there are none).",
            "items": {
              "$ref": "#/components/schemas/Anchor"
            },
            "title": "Anchors",
            "type": "array"
          },
          "audio": {
            "description": "A link that plays it (Opus in WebM) for the next hour.",
            "title": "Audio",
            "type": "string"
          },
          "began": {
            "description": "When the sound starts, ISO 8601: the transcript's times fall on it.",
            "title": "Began",
            "type": "string"
          },
          "n": {
            "description": "Its number among the demo's recordings, oldest first; it never changes.",
            "title": "N",
            "type": "integer"
          },
          "screen": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "description": "A link to the buyer's screen through the call for the next hour: rrweb's events, JSON compressed with gzip, their times on the same clock as `began`. None when none was kept.",
            "title": "Screen"
          },
          "seconds": {
            "title": "Seconds",
            "type": "integer"
          }
        },
        "required": [
          "n",
          "began",
          "seconds",
          "audio"
        ],
        "title": "RecordingOut",
        "type": "object"
      },
      "Recordings": {
        "additionalProperties": false,
        "description": "The demo's calls as recorded and still kept: 90 days, when the call ran 2 minutes or\nmore, the buyer qualified or asked to meet. In preview.",
        "properties": {
          "recordings": {
            "items": {
              "$ref": "#/components/schemas/RecordingOut"
            },
            "title": "Recordings",
            "type": "array"
          }
        },
        "required": [
          "recordings"
        ],
        "title": "Recordings",
        "type": "object"
      },
      "RoutedBuyer": {
        "additionalProperties": false,
        "description": "One of the latest buyers, and the rule that takes them (`number` from 1; 0: none).",
        "properties": {
          "asked": {
            "title": "Asked",
            "type": "boolean"
          },
          "booked": {
            "title": "Booked",
            "type": "boolean"
          },
          "company": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Company"
          },
          "email": {
            "title": "Email",
            "type": "string"
          },
          "host": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Host"
          },
          "number": {
            "title": "Number",
            "type": "integer"
          },
          "owner": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Owner"
          },
          "priority": {
            "title": "Priority",
            "type": "string"
          },
          "route": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Route"
          },
          "session": {
            "title": "Session",
            "type": "string"
          },
          "to": {
            "items": {
              "type": "string"
            },
            "title": "To",
            "type": "array"
          }
        },
        "required": [
          "session",
          "email",
          "company",
          "priority",
          "asked",
          "booked",
          "route",
          "number",
          "to"
        ],
        "title": "RoutedBuyer",
        "type": "object"
      },
      "RouterField": {
        "additionalProperties": false,
        "description": "One field of a router's form, as Chili Piper defines it: the key the form sends it under,\nthe data field it fills, its label, its type and the values a dropdown takes.",
        "properties": {
          "data_field": {
            "default": "",
            "title": "Data Field",
            "type": "string"
          },
          "key": {
            "title": "Key",
            "type": "string"
          },
          "kind": {
            "default": "text",
            "enum": [
              "text",
              "number",
              "email",
              "phone",
              "choice",
              "many",
              "yes_no",
              "date"
            ],
            "title": "Kind",
            "type": "string"
          },
          "label": {
            "default": "",
            "title": "Label",
            "type": "string"
          },
          "options": {
            "items": {
              "type": "string"
            },
            "title": "Options",
            "type": "array"
          }
        },
        "required": [
          "key"
        ],
        "title": "RouterField",
        "type": "object"
      },
      "Routing": {
        "additionalProperties": false,
        "description": "The account's rules, the people to pick from, the product's rules a condition can name,\nwhether this environment sends email, and where the latest buyers go.",
        "properties": {
          "editable": {
            "title": "Editable",
            "type": "boolean"
          },
          "owners": {
            "$ref": "#/components/schemas/RoutingOwners"
          },
          "people": {
            "items": {
              "$ref": "#/components/schemas/RoutingPerson"
            },
            "title": "People",
            "type": "array"
          },
          "preview": {
            "items": {
              "$ref": "#/components/schemas/RoutedBuyer"
            },
            "title": "Preview",
            "type": "array"
          },
          "routes": {
            "items": {
              "$ref": "#/components/schemas/RoutingRule"
            },
            "title": "Routes",
            "type": "array"
          },
          "rules": {
            "items": {
              "$ref": "#/components/schemas/RoutingRuleOption"
            },
            "title": "Rules",
            "type": "array"
          },
          "sending": {
            "title": "Sending",
            "type": "boolean"
          },
          "unreadable": {
            "default": [],
            "items": {
              "type": "string"
            },
            "title": "Unreadable",
            "type": "array"
          }
        },
        "required": [
          "routes",
          "people",
          "rules",
          "sending",
          "owners",
          "preview",
          "editable"
        ],
        "title": "Routing",
        "type": "object"
      },
      "RoutingCondition": {
        "additionalProperties": false,
        "description": "One condition of a rule; any of its values holds. `kind`: priority (hot, warm,\nnurture), rule (the product's own fit and intent rules, by id), booked (booked, asked, or\nleft: never asked for the team, flag lead_owner), crm_owner (no values).",
        "properties": {
          "kind": {
            "maxLength": 20,
            "title": "Kind",
            "type": "string"
          },
          "values": {
            "items": {
              "maxLength": 64,
              "type": "string"
            },
            "maxItems": 20,
            "title": "Values",
            "type": "array"
          }
        },
        "required": [
          "kind"
        ],
        "title": "RoutingCondition",
        "type": "object"
      },
      "RoutingIn": {
        "additionalProperties": false,
        "description": "The account's rules, in order: the first that fits a buyer decides.",
        "properties": {
          "routes": {
            "items": {
              "$ref": "#/components/schemas/RoutingRule"
            },
            "maxItems": 20,
            "title": "Routes",
            "type": "array"
          }
        },
        "required": [
          "routes"
        ],
        "title": "RoutingIn",
        "type": "object"
      },
      "RoutingOwners": {
        "additionalProperties": false,
        "description": "Whether a rule can name the buyer's owner in the CRM here (`crm`: HubSpot or\nSalesforce), and if not, what to do (`why`).",
        "properties": {
          "crm": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Crm"
          },
          "ready": {
            "title": "Ready",
            "type": "boolean"
          },
          "why": {
            "title": "Why",
            "type": "string"
          }
        },
        "required": [
          "crm",
          "ready",
          "why"
        ],
        "title": "RoutingOwners",
        "type": "object"
      },
      "RoutingPerson": {
        "additionalProperties": false,
        "properties": {
          "email": {
            "title": "Email",
            "type": "string"
          },
          "name": {
            "title": "Name",
            "type": "string"
          },
          "role": {
            "title": "Role",
            "type": "string"
          }
        },
        "required": [
          "email",
          "name",
          "role"
        ],
        "title": "RoutingPerson",
        "type": "object"
      },
      "RoutingPreview": {
        "additionalProperties": false,
        "properties": {
          "preview": {
            "items": {
              "$ref": "#/components/schemas/RoutedBuyer"
            },
            "title": "Preview",
            "type": "array"
          }
        },
        "required": [
          "preview"
        ],
        "title": "RoutingPreview",
        "type": "object"
      },
      "RoutingRecipient": {
        "additionalProperties": false,
        "description": "Who hears: an email address, `owner` for the buyer's owner in the CRM, or `booked_with`\nfor the rep the scheduler booked the meeting with (a rule naming them needs the condition\nbooked: [booked]). `weight`: their percentage share when the rule takes turns.",
        "properties": {
          "email": {
            "maxLength": 320,
            "title": "Email",
            "type": "string"
          },
          "weight": {
            "default": 1,
            "title": "Weight",
            "type": "number"
          }
        },
        "required": [
          "email"
        ],
        "title": "RoutingRecipient",
        "type": "object"
      },
      "RoutingRule": {
        "additionalProperties": false,
        "description": "A rule: when all its conditions hold (none: every buyer), who hears and how. `share`:\n`all` (everyone on it) or `turns` (one, by weight, the same one for the same buyer).",
        "properties": {
          "channels": {
            "items": {
              "maxLength": 16,
              "type": "string"
            },
            "maxItems": 2,
            "title": "Channels",
            "type": "array"
          },
          "id": {
            "maxLength": 64,
            "title": "Id",
            "type": "string"
          },
          "owns": {
            "default": false,
            "description": "The one person it picks for a buyer owns their new lead in the CRM: the rep they booked with, else its turn's pick (Salesforce; flag lead_owner).",
            "title": "Owns",
            "type": "boolean"
          },
          "share": {
            "default": "all",
            "maxLength": 8,
            "title": "Share",
            "type": "string"
          },
          "to": {
            "items": {
              "$ref": "#/components/schemas/RoutingRecipient"
            },
            "maxItems": 20,
            "title": "To",
            "type": "array"
          },
          "when": {
            "items": {
              "$ref": "#/components/schemas/RoutingCondition"
            },
            "maxItems": 4,
            "title": "When",
            "type": "array"
          }
        },
        "required": [
          "id"
        ],
        "title": "RoutingRule",
        "type": "object"
      },
      "RoutingRuleOption": {
        "additionalProperties": false,
        "description": "One of the product's own fit or intent rules a condition can name.",
        "properties": {
          "check": {
            "title": "Check",
            "type": "string"
          },
          "id": {
            "title": "Id",
            "type": "string"
          },
          "kind": {
            "enum": [
              "fit",
              "intent"
            ],
            "title": "Kind",
            "type": "string"
          },
          "label": {
            "title": "Label",
            "type": "string"
          }
        },
        "required": [
          "id",
          "label",
          "check",
          "kind"
        ],
        "title": "RoutingRuleOption",
        "type": "object"
      },
      "RoutingTest": {
        "additionalProperties": false,
        "description": "Whether the test went, to whom, and why not.",
        "properties": {
          "detail": {
            "title": "Detail",
            "type": "string"
          },
          "sent": {
            "title": "Sent",
            "type": "boolean"
          },
          "to": {
            "items": {
              "type": "string"
            },
            "title": "To",
            "type": "array"
          }
        },
        "required": [
          "sent",
          "to",
          "detail"
        ],
        "title": "RoutingTest",
        "type": "object"
      },
      "RoutingTestIn": {
        "additionalProperties": false,
        "properties": {
          "route": {
            "maxLength": 64,
            "minLength": 1,
            "title": "Route",
            "type": "string"
          }
        },
        "required": [
          "route"
        ],
        "title": "RoutingTestIn",
        "type": "object"
      },
      "SalesCall": {
        "additionalProperties": false,
        "description": "What one call holds for the agent. No names: the reading strips them.",
        "properties": {
          "asked": {
            "items": {
              "$ref": "#/components/schemas/CallAsked"
            },
            "title": "Asked",
            "type": "array"
          },
          "date": {
            "title": "Date",
            "type": "string"
          },
          "objections": {
            "items": {
              "$ref": "#/components/schemas/CallObjection"
            },
            "title": "Objections",
            "type": "array"
          },
          "pitch": {
            "items": {
              "$ref": "#/components/schemas/CallMove"
            },
            "title": "Pitch",
            "type": "array"
          },
          "sales": {
            "description": "A call with a buyer; false for an internal meeting.",
            "title": "Sales",
            "type": "boolean"
          },
          "title": {
            "title": "Title",
            "type": "string"
          },
          "url": {
            "default": "",
            "description": "The call in Granola or Fathom, for the vendor's team.",
            "title": "Url",
            "type": "string"
          }
        },
        "required": [
          "title",
          "date",
          "sales",
          "asked",
          "objections",
          "pitch"
        ],
        "title": "SalesCall",
        "type": "object"
      },
      "SalesCalls": {
        "additionalProperties": false,
        "description": "What a sales-call connection (Granola or Fathom) covers: the folders picked, the calls read, newest first,\nand how many are still to read (POST again while unread is above 0).",
        "properties": {
          "at": {
            "default": "",
            "title": "At",
            "type": "string"
          },
          "calls": {
            "items": {
              "$ref": "#/components/schemas/SalesCall"
            },
            "title": "Calls",
            "type": "array"
          },
          "connected": {
            "title": "Connected",
            "type": "boolean"
          },
          "label": {
            "default": "",
            "title": "Label",
            "type": "string"
          },
          "listed": {
            "default": 0,
            "description": "Calls found in the picked folders.",
            "title": "Listed",
            "type": "integer"
          },
          "picked": {
            "items": {
              "$ref": "#/components/schemas/CallPlace"
            },
            "title": "Picked",
            "type": "array"
          },
          "skipped": {
            "items": {
              "type": "string"
            },
            "title": "Skipped",
            "type": "array"
          },
          "unread": {
            "default": 0,
            "title": "Unread",
            "type": "integer"
          }
        },
        "required": [
          "connected"
        ],
        "title": "SalesCalls",
        "type": "object"
      },
      "SalesCallsReadIn": {
        "additionalProperties": false,
        "properties": {
          "listed_within": {
            "default": 0,
            "description": "Once every call is read, list the picked folders again only when the last listing is older than this many seconds (0: always). Above 0, a connection with no folders picked is no error.",
            "maximum": 86400.0,
            "minimum": 0.0,
            "title": "Listed Within",
            "type": "integer"
          }
        },
        "title": "SalesCallsReadIn",
        "type": "object"
      },
      "SnsPost": {
        "additionalProperties": false,
        "description": "What SNS posts: a subscription to confirm, or a notification carrying one SES event in\n`Message` (JSON). Field names are SNS's own.",
        "properties": {
          "Message": {
            "default": "",
            "maxLength": 200000,
            "title": "Message",
            "type": "string"
          },
          "MessageId": {
            "default": "",
            "maxLength": 100,
            "title": "Messageid",
            "type": "string"
          },
          "Signature": {
            "default": "",
            "maxLength": 1000,
            "title": "Signature",
            "type": "string"
          },
          "SignatureVersion": {
            "default": "",
            "maxLength": 4,
            "title": "Signatureversion",
            "type": "string"
          },
          "SigningCertURL": {
            "default": "",
            "maxLength": 500,
            "title": "Signingcerturl",
            "type": "string"
          },
          "Subject": {
            "anyOf": [
              {
                "maxLength": 200,
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Subject"
          },
          "SubscribeURL": {
            "default": "",
            "maxLength": 2000,
            "title": "Subscribeurl",
            "type": "string"
          },
          "Timestamp": {
            "default": "",
            "maxLength": 40,
            "title": "Timestamp",
            "type": "string"
          },
          "Token": {
            "default": "",
            "maxLength": 1000,
            "title": "Token",
            "type": "string"
          },
          "TopicArn": {
            "default": "",
            "maxLength": 300,
            "title": "Topicarn",
            "type": "string"
          },
          "Type": {
            "maxLength": 40,
            "title": "Type",
            "type": "string"
          },
          "UnsubscribeURL": {
            "default": "",
            "maxLength": 2000,
            "title": "Unsubscribeurl",
            "type": "string"
          }
        },
        "required": [
          "Type"
        ],
        "title": "SnsPost",
        "type": "object"
      },
      "SourceTouch": {
        "additionalProperties": false,
        "properties": {
          "at": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "At"
          },
          "channel": {
            "description": "Solacia's reading of this visit, as the lead's `channel`.",
            "title": "Channel",
            "type": "string"
          },
          "click_id": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "description": "Which ad click id this visit carried, if any.",
            "title": "Click Id"
          },
          "page": {
            "description": "The page's address, without its query.",
            "title": "Page",
            "type": "string"
          },
          "referrer": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "description": "The host of the site that sent the buyer there, if another site did.",
            "title": "Referrer"
          },
          "utm": {
            "additionalProperties": {
              "type": "string"
            },
            "description": "The utm_ tags this visit carried, exactly as you wrote them.",
            "title": "Utm",
            "type": "object"
          }
        },
        "required": [
          "page",
          "referrer",
          "channel"
        ],
        "title": "SourceTouch",
        "type": "object"
      },
      "Standing": {
        "additionalProperties": false,
        "description": "Where one demo stands, as the console's demo page heads it: what it came to, the meeting\ntime the buyer picked, the agent that ran it, where it was opened, and what followed. In\npreview.",
        "properties": {
          "agent": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Agent"
          },
          "crm": {
            "description": "Sent to the account's CRM.",
            "title": "Crm",
            "type": "boolean"
          },
          "door": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "description": "Where it was opened: outbound, site:<host>, site (the embed, page unknown) or link.",
            "examples": [
              "site:acme.com"
            ],
            "title": "Door"
          },
          "fit": {
            "examples": [
              "ICP"
            ],
            "title": "Fit",
            "type": "string"
          },
          "follow_up": {
            "description": "A follow-up email is drafted.",
            "title": "Follow Up",
            "type": "boolean"
          },
          "id": {
            "title": "Id",
            "type": "string"
          },
          "label": {
            "description": "The outcome in words.",
            "examples": [
              "Meeting requested"
            ],
            "title": "Label",
            "type": "string"
          },
          "outcome": {
            "enum": [
              "meeting",
              "qualified",
              "nurture",
              "anonymous"
            ],
            "title": "Outcome",
            "type": "string"
          },
          "qualified": {
            "description": "Hot or warm by the account's fit rules, whatever the outcome.",
            "title": "Qualified",
            "type": "boolean"
          },
          "seen": {
            "description": "The parts of the product they saw.",
            "title": "Seen",
            "type": "integer"
          },
          "slot": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "description": "The meeting time the buyer picked.",
            "title": "Slot"
          },
          "source": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/LeadSource"
              },
              {
                "type": "null"
              }
            ],
            "description": "Where the buyer came from, your own tags first, as on the lead; null when nobody knows."
          }
        },
        "required": [
          "id",
          "outcome",
          "label",
          "qualified",
          "fit",
          "slot",
          "agent",
          "door",
          "seen",
          "follow_up",
          "crm"
        ],
        "title": "Standing",
        "type": "object"
      },
      "Started": {
        "additionalProperties": false,
        "description": "The caller's first steps in the console, each done or not; none once every one was done,\nfor Solacia's own people, or for a key.",
        "properties": {
          "crm": {
            "default": "",
            "description": "The CRM the account picked, by name; empty until one is.",
            "title": "Crm",
            "type": "string"
          },
          "site": {
            "default": "",
            "description": "The vendor's own domain, where the demo goes.",
            "title": "Site",
            "type": "string"
          },
          "snippet": {
            "default": "",
            "description": "The script tag for the site, once the account has an embed key.",
            "title": "Snippet",
            "type": "string"
          },
          "steps": {
            "items": {
              "$ref": "#/components/schemas/StartedStep"
            },
            "title": "Steps",
            "type": "array"
          }
        },
        "required": [
          "steps"
        ],
        "title": "Started",
        "type": "object"
      },
      "StartedStep": {
        "additionalProperties": false,
        "properties": {
          "done": {
            "description": "Done, from what is true: never ticked by hand.",
            "title": "Done",
            "type": "boolean"
          },
          "id": {
            "description": "`demo` try your own demo, `crm` connect the CRM, `slack` connect Slack, `team` invite the team, `site` put the demo on the site, `two_step` turn on two-step sign-in, `question` answer the first question the agent couldn't.",
            "enum": [
              "demo",
              "crm",
              "slack",
              "team",
              "site",
              "two_step",
              "question"
            ],
            "title": "Id",
            "type": "string"
          }
        },
        "required": [
          "id",
          "done"
        ],
        "title": "StartedStep",
        "type": "object"
      },
      "Team": {
        "additionalProperties": false,
        "description": "Who can sign in to the account's console, the invitations out, and whether the caller\nmay change either. In preview: invitations and changes are off for most accounts.",
        "properties": {
          "invitations": {
            "items": {
              "$ref": "#/components/schemas/TeamInvitation"
            },
            "title": "Invitations",
            "type": "array"
          },
          "manage": {
            "description": "The caller may invite people, change roles and remove people.",
            "title": "Manage",
            "type": "boolean"
          },
          "members": {
            "items": {
              "$ref": "#/components/schemas/TeamMember"
            },
            "title": "Members",
            "type": "array"
          },
          "reach": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/TeamReach"
              },
              {
                "type": "null"
              }
            ]
          },
          "recipients": {
            "default": [],
            "description": "Addresses on Handoff rules that don't sign in.",
            "items": {
              "$ref": "#/components/schemas/TeamRecipient"
            },
            "title": "Recipients",
            "type": "array"
          },
          "sending": {
            "description": "Invitations go out by email here; otherwise share the link.",
            "title": "Sending",
            "type": "boolean"
          }
        },
        "required": [
          "members",
          "invitations",
          "manage",
          "sending"
        ],
        "title": "Team",
        "type": "object"
      },
      "TeamHandOverIn": {
        "additionalProperties": false,
        "properties": {
          "email": {
            "description": "Whose place on the Handoff rules moves.",
            "maxLength": 254,
            "minLength": 3,
            "title": "Email",
            "type": "string"
          },
          "to": {
            "description": "Who takes it: a teammate's or any work email.",
            "maxLength": 254,
            "minLength": 3,
            "title": "To",
            "type": "string"
          }
        },
        "required": [
          "email",
          "to"
        ],
        "title": "TeamHandOverIn",
        "type": "object"
      },
      "TeamHeard": {
        "additionalProperties": false,
        "description": "What the routed emails sent this address over the last `reach.days` days.",
        "properties": {
          "buyers": {
            "description": "Buyers who asked for the team that a routed email named them for.",
            "title": "Buyers",
            "type": "integer"
          },
          "last": {
            "anyOf": [
              {
                "enum": [
                  "sent",
                  "delivered",
                  "opened",
                  "bounced",
                  "failed"
                ],
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "description": "How the latest went: SES's latest word on it, else whether it was sent.",
            "title": "Last"
          },
          "last_at": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "description": "When the latest went out, ISO 8601.",
            "title": "Last At"
          },
          "why": {
            "default": "",
            "description": "In words, when the latest didn't arrive.",
            "title": "Why",
            "type": "string"
          }
        },
        "required": [
          "buyers"
        ],
        "title": "TeamHeard",
        "type": "object"
      },
      "TeamInvitation": {
        "additionalProperties": false,
        "description": "An invitation not accepted yet. Its link was shown once, when it was made.",
        "properties": {
          "by": {
            "description": "Who sent it: their email.",
            "title": "By",
            "type": "string"
          },
          "by_name": {
            "title": "By Name",
            "type": "string"
          },
          "email": {
            "title": "Email",
            "type": "string"
          },
          "expired": {
            "title": "Expired",
            "type": "boolean"
          },
          "expires_at": {
            "title": "Expires At",
            "type": "string"
          },
          "heard": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/TeamHeard"
              },
              {
                "type": "null"
              }
            ],
            "description": "What reached them lately; none: no routed email named them."
          },
          "places": {
            "default": [],
            "description": "The Handoff rules that name them, in order; none: they get no buyers.",
            "items": {
              "$ref": "#/components/schemas/TeamPlace"
            },
            "title": "Places",
            "type": "array"
          },
          "recent": {
            "default": [],
            "description": "The last few buyers sent to them, newest first.",
            "items": {
              "$ref": "#/components/schemas/TeamSent"
            },
            "title": "Recent",
            "type": "array"
          },
          "role": {
            "enum": [
              "owner",
              "member",
              "solacia"
            ],
            "title": "Role",
            "type": "string"
          },
          "sent_at": {
            "title": "Sent At",
            "type": "string"
          }
        },
        "required": [
          "email",
          "role",
          "by",
          "by_name",
          "sent_at",
          "expires_at",
          "expired"
        ],
        "title": "TeamInvitation",
        "type": "object"
      },
      "TeamInviteIn": {
        "additionalProperties": false,
        "properties": {
          "email": {
            "description": "The person's work email.",
            "maxLength": 254,
            "minLength": 3,
            "title": "Email",
            "type": "string"
          },
          "role": {
            "default": "member",
            "description": "`solacia` only for Solacia's own people.",
            "enum": [
              "owner",
              "member",
              "solacia"
            ],
            "title": "Role",
            "type": "string"
          }
        },
        "required": [
          "email"
        ],
        "title": "TeamInviteIn",
        "type": "object"
      },
      "TeamInvited": {
        "additionalProperties": false,
        "description": "The invitation made, and its link: shown this once. `sent` says whether the email went;\nwhen it didn't, `detail` says why and the link is for the caller to send.",
        "properties": {
          "detail": {
            "title": "Detail",
            "type": "string"
          },
          "email": {
            "title": "Email",
            "type": "string"
          },
          "link": {
            "title": "Link",
            "type": "string"
          },
          "sent": {
            "title": "Sent",
            "type": "boolean"
          },
          "team": {
            "$ref": "#/components/schemas/Team"
          }
        },
        "required": [
          "team",
          "email",
          "link",
          "sent",
          "detail"
        ],
        "title": "TeamInvited",
        "type": "object"
      },
      "TeamMember": {
        "additionalProperties": false,
        "properties": {
          "added_at": {
            "description": "When they first joined, ISO 8601.",
            "title": "Added At",
            "type": "string"
          },
          "email": {
            "title": "Email",
            "type": "string"
          },
          "heard": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/TeamHeard"
              },
              {
                "type": "null"
              }
            ],
            "description": "What reached them lately; none: no routed email named them."
          },
          "name": {
            "title": "Name",
            "type": "string"
          },
          "picture": {
            "default": "",
            "description": "Their picture as a data: URL, or empty.",
            "title": "Picture",
            "type": "string"
          },
          "places": {
            "default": [],
            "description": "The Handoff rules that name them, in order; none: they get no buyers.",
            "items": {
              "$ref": "#/components/schemas/TeamPlace"
            },
            "title": "Places",
            "type": "array"
          },
          "recent": {
            "default": [],
            "description": "The last few buyers sent to them, newest first.",
            "items": {
              "$ref": "#/components/schemas/TeamSent"
            },
            "title": "Recent",
            "type": "array"
          },
          "role": {
            "enum": [
              "owner",
              "member",
              "solacia"
            ],
            "title": "Role",
            "type": "string"
          },
          "two_step": {
            "default": false,
            "description": "They sign in with a code from an authenticator app too.",
            "title": "Two Step",
            "type": "boolean"
          },
          "you": {
            "description": "The caller is this person.",
            "title": "You",
            "type": "boolean"
          }
        },
        "required": [
          "email",
          "name",
          "role",
          "added_at",
          "you"
        ],
        "title": "TeamMember",
        "type": "object"
      },
      "TeamPlace": {
        "additionalProperties": false,
        "description": "One Handoff rule that names this address.",
        "properties": {
          "label": {
            "description": "The buyers the rule takes, in words: \"Hot buyers\", \"Everyone else\".",
            "title": "Label",
            "type": "string"
          },
          "number": {
            "description": "The rule's place in the list, from 1.",
            "title": "Number",
            "type": "integer"
          },
          "others": {
            "default": [],
            "description": "Everyone else the rule names, in its order; `owner` is the buyer's owner in the CRM.",
            "items": {
              "$ref": "#/components/schemas/TeamShare"
            },
            "title": "Others",
            "type": "array"
          },
          "route": {
            "description": "The rule's id, as GET /v1/routing names it.",
            "title": "Route",
            "type": "string"
          },
          "share": {
            "description": "Everyone on the rule hears, or one of them by turns.",
            "enum": [
              "all",
              "turns"
            ],
            "title": "Share",
            "type": "string"
          },
          "turns": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "description": "Their percentage of the turns, when the rule takes turns.",
            "title": "Turns"
          }
        },
        "required": [
          "number",
          "route",
          "label",
          "share"
        ],
        "title": "TeamPlace",
        "type": "object"
      },
      "TeamReach": {
        "additionalProperties": false,
        "description": "Where a buyer who asks for the team goes, in one line.",
        "properties": {
          "channel": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "description": "The team's channel for every request: Slack's label, or a webhook.",
            "title": "Channel"
          },
          "crm": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "description": "The CRM whose owner of the buyer hears too, when a rule tells them.",
            "title": "Crm"
          },
          "days": {
            "description": "The days `heard` counts over.",
            "title": "Days",
            "type": "integer"
          },
          "emails": {
            "description": "Addresses the Handoff rules name, people or not.",
            "title": "Emails",
            "type": "integer"
          }
        },
        "required": [
          "emails",
          "days"
        ],
        "title": "TeamReach",
        "type": "object"
      },
      "TeamRecipient": {
        "additionalProperties": false,
        "description": "An address a Handoff rule names that doesn't sign in to the console: an alias, or a\nteammate never invited. They get each buyer's brief by email.",
        "properties": {
          "email": {
            "title": "Email",
            "type": "string"
          },
          "heard": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/TeamHeard"
              },
              {
                "type": "null"
              }
            ],
            "description": "What reached them lately; none: no routed email named them."
          },
          "places": {
            "default": [],
            "description": "The Handoff rules that name them, in order; none: they get no buyers.",
            "items": {
              "$ref": "#/components/schemas/TeamPlace"
            },
            "title": "Places",
            "type": "array"
          },
          "recent": {
            "default": [],
            "description": "The last few buyers sent to them, newest first.",
            "items": {
              "$ref": "#/components/schemas/TeamSent"
            },
            "title": "Recent",
            "type": "array"
          }
        },
        "required": [
          "email"
        ],
        "title": "TeamRecipient",
        "type": "object"
      },
      "TeamRequest": {
        "additionalProperties": false,
        "properties": {
          "booked": {
            "anyOf": [
              {
                "additionalProperties": true,
                "type": "object"
              },
              {
                "type": "null"
              }
            ],
            "description": "The meeting made in the vendor's scheduler.",
            "title": "Booked"
          },
          "requested": {
            "title": "Requested",
            "type": "boolean"
          },
          "slot": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "description": "The time they picked, ISO 8601 with offset.",
            "title": "Slot"
          }
        },
        "required": [
          "requested",
          "slot",
          "booked"
        ],
        "title": "TeamRequest",
        "type": "object"
      },
      "TeamRoleIn": {
        "additionalProperties": false,
        "properties": {
          "role": {
            "enum": [
              "owner",
              "member",
              "solacia"
            ],
            "title": "Role",
            "type": "string"
          }
        },
        "required": [
          "role"
        ],
        "title": "TeamRoleIn",
        "type": "object"
      },
      "TeamSent": {
        "additionalProperties": false,
        "description": "One buyer a routed email named this address for.",
        "properties": {
          "asked_at": {
            "description": "When they asked for the team, ISO 8601.",
            "title": "Asked At",
            "type": "string"
          },
          "booked": {
            "description": "They picked a time, rather than asking without one.",
            "title": "Booked",
            "type": "boolean"
          },
          "company": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "description": "The buyer's company, from their email's domain.",
            "title": "Company"
          },
          "email": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "description": "The buyer's email.",
            "title": "Email"
          },
          "last": {
            "description": "How this address's email about them went.",
            "enum": [
              "sent",
              "delivered",
              "opened",
              "bounced",
              "failed"
            ],
            "title": "Last",
            "type": "string"
          },
          "session": {
            "description": "The buyer's demo, as GET /v1/demos/{id} reads it.",
            "title": "Session",
            "type": "string"
          },
          "why": {
            "default": "",
            "description": "In words, when it didn't arrive.",
            "title": "Why",
            "type": "string"
          }
        },
        "required": [
          "session",
          "asked_at",
          "booked",
          "last"
        ],
        "title": "TeamSent",
        "type": "object"
      },
      "TeamShare": {
        "additionalProperties": false,
        "properties": {
          "email": {
            "title": "Email",
            "type": "string"
          },
          "turns": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Turns"
          }
        },
        "required": [
          "email"
        ],
        "title": "TeamShare",
        "type": "object"
      },
      "TestArm": {
        "additionalProperties": false,
        "properties": {
          "agent": {
            "title": "Agent",
            "type": "string"
          },
          "best": {
            "description": "The chance this side is the best of them (0 to 1)",
            "title": "Best",
            "type": "number"
          },
          "buyers": {
            "description": "Buyers put on this side who opened a demo; each counts once",
            "title": "Buyers",
            "type": "integer"
          },
          "cost": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "description": "US cents a demo. Solacia's people only; null for everyone else",
            "title": "Cost"
          },
          "demos": {
            "title": "Demos",
            "type": "integer"
          },
          "key": {
            "description": "A (what ran before), B, C",
            "title": "Key",
            "type": "string"
          },
          "loss": {
            "description": "Meeting rate lost on average by keeping this side, if another is better (0.004 = 0.4 points)",
            "title": "Loss",
            "type": "number"
          },
          "meetings": {
            "description": "Buyers who asked for a meeting",
            "title": "Meetings",
            "type": "integer"
          },
          "name": {
            "title": "Name",
            "type": "string"
          },
          "rate": {
            "description": "meetings / buyers",
            "title": "Rate",
            "type": "number"
          },
          "renderer": {
            "enum": [
              "voice",
              "face"
            ],
            "title": "Renderer",
            "type": "string"
          },
          "share": {
            "description": "Percent of buyers sent to this side",
            "title": "Share",
            "type": "integer"
          },
          "version": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "description": "In a test between an agent's versions: this side's; null for its draft",
            "title": "Version"
          }
        },
        "required": [
          "key",
          "agent",
          "name",
          "renderer",
          "cost",
          "share",
          "buyers",
          "demos",
          "meetings",
          "rate",
          "best",
          "loss"
        ],
        "title": "TestArm",
        "type": "object"
      },
      "TestArmIn": {
        "additionalProperties": false,
        "properties": {
          "agent": {
            "description": "An agent's id, or \"none\": on the website no demo button, the vendor's usual Get a demo; in outreach the same email without the demo link",
            "maxLength": 80,
            "minLength": 1,
            "title": "Agent",
            "type": "string"
          },
          "share": {
            "description": "Percent of buyers",
            "maximum": 100.0,
            "minimum": 0.0,
            "title": "Share",
            "type": "integer"
          }
        },
        "required": [
          "agent",
          "share"
        ],
        "title": "TestArmIn",
        "type": "object"
      },
      "TestGuardrail": {
        "additionalProperties": false,
        "description": "One guardrail across a test's two sides, as a scorecard row: side A, side B, B minus A and\nits interval, read as the goal's is (valid however often it is read).",
        "properties": {
          "a": {
            "title": "A",
            "type": "number"
          },
          "a_count": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "description": "Buyers who did it on side A; null for an average",
            "title": "A Count"
          },
          "b": {
            "title": "B",
            "type": "number"
          },
          "b_count": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "B Count"
          },
          "better": {
            "description": "Which way is better",
            "enum": [
              "up",
              "down"
            ],
            "title": "Better",
            "type": "string"
          },
          "gap": {
            "description": "b minus a: points of share, or minutes",
            "title": "Gap",
            "type": "number"
          },
          "high": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "title": "High"
          },
          "id": {
            "description": "meetings: share who asked to meet the team; minutes: average minutes in the demo; left_early: share who left in the first minute",
            "enum": [
              "meetings",
              "minutes",
              "left_early"
            ],
            "title": "Id",
            "type": "string"
          },
          "low": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "description": "Null until both sides have buyers",
            "title": "Low"
          }
        },
        "required": [
          "id",
          "better",
          "a",
          "b",
          "gap",
          "low",
          "high"
        ],
        "title": "TestGuardrail",
        "type": "object"
      },
      "TestGuards": {
        "additionalProperties": false,
        "properties": {
          "buyers": {
            "title": "Buyers",
            "type": "integer"
          },
          "left_early": {
            "description": "Share who left in the first minute",
            "title": "Left Early",
            "type": "number"
          },
          "meetings": {
            "description": "Share who asked to meet the team",
            "title": "Meetings",
            "type": "number"
          },
          "minutes": {
            "description": "Average minutes in the demo",
            "title": "Minutes",
            "type": "number"
          }
        },
        "required": [
          "buyers",
          "meetings",
          "minutes",
          "left_early"
        ],
        "title": "TestGuards",
        "type": "object"
      },
      "TestLook": {
        "additionalProperties": false,
        "description": "The test as it stood at the end of one of its weeks.",
        "properties": {
          "at": {
            "description": "When that week ended",
            "title": "At",
            "type": "string"
          },
          "better": {
            "description": "The chance it is better by over a point",
            "title": "Better",
            "type": "number"
          },
          "buyers": {
            "description": "On each side, A first",
            "items": {
              "type": "integer"
            },
            "title": "Buyers",
            "type": "array"
          },
          "gap": {
            "description": "The best challenger's rate minus A's",
            "title": "Gap",
            "type": "number"
          },
          "high": {
            "title": "High",
            "type": "number"
          },
          "low": {
            "title": "Low",
            "type": "number"
          },
          "rates": {
            "items": {
              "type": "number"
            },
            "title": "Rates",
            "type": "array"
          },
          "safe": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "description": "Under unless_worse: the side that could go live at this week's end",
            "title": "Safe"
          },
          "same": {
            "description": "The chance it is within a point either way",
            "title": "Same",
            "type": "number"
          },
          "week": {
            "description": "1: its first seven days",
            "title": "Week",
            "type": "integer"
          },
          "worse": {
            "description": "The chance that challenger is worse than A, by over a point",
            "title": "Worse",
            "type": "number"
          }
        },
        "required": [
          "week",
          "at",
          "buyers",
          "rates",
          "gap",
          "low",
          "high",
          "worse",
          "same",
          "better"
        ],
        "title": "TestLook",
        "type": "object"
      },
      "TestPlanGap": {
        "additionalProperties": false,
        "properties": {
          "gap": {
            "description": "The challenger's true rate minus the live version's (0.07 = 7 points)",
            "title": "Gap",
            "type": "number"
          },
          "proven": {
            "$ref": "#/components/schemas/TestPlanRun"
          },
          "unless_worse": {
            "$ref": "#/components/schemas/TestPlanRun"
          }
        },
        "required": [
          "gap",
          "unless_worse",
          "proven"
        ],
        "title": "TestPlanGap",
        "type": "object"
      },
      "TestPlanRun": {
        "additionalProperties": false,
        "properties": {
          "by_week": {
            "description": "Share of simulated tests gone live by the end of each week, from week 1",
            "items": {
              "type": "number"
            },
            "title": "By Week",
            "type": "array"
          },
          "live": {
            "description": "Share of simulated tests where the challenger went live in time",
            "title": "Live",
            "type": "number"
          },
          "weeks": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "description": "Median week it went live; null when under half did",
            "title": "Weeks"
          }
        },
        "required": [
          "live",
          "weeks"
        ],
        "title": "TestPlanRun",
        "type": "object"
      },
      "TestSide": {
        "additionalProperties": false,
        "description": "One side of a test between an agent's versions, as its buyers went through it.",
        "properties": {
          "guards": {
            "$ref": "#/components/schemas/TestGuards"
          },
          "key": {
            "title": "Key",
            "type": "string"
          },
          "paths": {
            "description": "How many buyers went each way, as Home's flow reads demos; every way listed, zeros included",
            "items": {
              "$ref": "#/components/schemas/FlowWay"
            },
            "title": "Paths",
            "type": "array"
          }
        },
        "required": [
          "key",
          "paths",
          "guards"
        ],
        "title": "TestSide",
        "type": "object"
      },
      "ThemeColours": {
        "additionalProperties": false,
        "description": "The demo's colours, each #rrggbb: the call around the product and the popup's loading\nscreen, never the product's own screens.",
        "properties": {
          "accent": {
            "description": "Links, the active item, focus rings",
            "pattern": "^#[0-9a-fA-F]{6}$",
            "title": "Accent",
            "type": "string"
          },
          "accent_deep": {
            "description": "The accent under the pointer, and on a tint",
            "pattern": "^#[0-9a-fA-F]{6}$",
            "title": "Accent Deep",
            "type": "string"
          },
          "accent_soft": {
            "description": "Tints behind highlighted things",
            "pattern": "^#[0-9a-fA-F]{6}$",
            "title": "Accent Soft",
            "type": "string"
          },
          "background": {
            "description": "Behind everything",
            "pattern": "^#[0-9a-fA-F]{6}$",
            "title": "Background",
            "type": "string"
          },
          "button": {
            "description": "The main button, with white words on it",
            "pattern": "^#[0-9a-fA-F]{6}$",
            "title": "Button",
            "type": "string"
          },
          "line": {
            "description": "Borders and dividers",
            "pattern": "^#[0-9a-fA-F]{6}$",
            "title": "Line",
            "type": "string"
          },
          "muted": {
            "description": "Secondary words: hints, labels, times",
            "pattern": "^#[0-9a-fA-F]{6}$",
            "title": "Muted",
            "type": "string"
          },
          "surface": {
            "description": "Cards and panels",
            "pattern": "^#[0-9a-fA-F]{6}$",
            "title": "Surface",
            "type": "string"
          },
          "text": {
            "description": "The words",
            "pattern": "^#[0-9a-fA-F]{6}$",
            "title": "Text",
            "type": "string"
          }
        },
        "required": [
          "accent",
          "accent_soft",
          "accent_deep",
          "button",
          "background",
          "surface",
          "text",
          "muted",
          "line"
        ],
        "title": "ThemeColours",
        "type": "object"
      },
      "ThemeIn": {
        "additionalProperties": false,
        "description": "New colours for the demo. One left out keeps the product's own. White words on the\nbutton and the accent, and the text on the background and panels, need 4.5:1 contrast.",
        "properties": {
          "accent": {
            "anyOf": [
              {
                "pattern": "^#[0-9a-fA-F]{6}$",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "description": "Links, the active item, focus rings",
            "title": "Accent"
          },
          "accent_deep": {
            "anyOf": [
              {
                "pattern": "^#[0-9a-fA-F]{6}$",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "description": "The accent under the pointer, and on a tint",
            "title": "Accent Deep"
          },
          "accent_soft": {
            "anyOf": [
              {
                "pattern": "^#[0-9a-fA-F]{6}$",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "description": "Tints behind highlighted things",
            "title": "Accent Soft"
          },
          "background": {
            "anyOf": [
              {
                "pattern": "^#[0-9a-fA-F]{6}$",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "description": "Behind everything",
            "title": "Background"
          },
          "button": {
            "anyOf": [
              {
                "pattern": "^#[0-9a-fA-F]{6}$",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "description": "The main button, with white words on it",
            "title": "Button"
          },
          "line": {
            "anyOf": [
              {
                "pattern": "^#[0-9a-fA-F]{6}$",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "description": "Borders and dividers",
            "title": "Line"
          },
          "muted": {
            "anyOf": [
              {
                "pattern": "^#[0-9a-fA-F]{6}$",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "description": "Secondary words: hints, labels, times",
            "title": "Muted"
          },
          "surface": {
            "anyOf": [
              {
                "pattern": "^#[0-9a-fA-F]{6}$",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "description": "Cards and panels",
            "title": "Surface"
          },
          "text": {
            "anyOf": [
              {
                "pattern": "^#[0-9a-fA-F]{6}$",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "description": "The words",
            "title": "Text"
          }
        },
        "title": "ThemeIn",
        "type": "object"
      },
      "ThemeSiteIn": {
        "additionalProperties": false,
        "description": "A website to take the demo's colours from.",
        "properties": {
          "url": {
            "examples": [
              "yourcompany.com"
            ],
            "maxLength": 300,
            "minLength": 3,
            "title": "Url",
            "type": "string"
          }
        },
        "required": [
          "url"
        ],
        "title": "ThemeSiteIn",
        "type": "object"
      },
      "ThemeSuggestion": {
        "additionalProperties": false,
        "description": "Colours for the demo, read from a website: nothing is saved until they are chosen with\nPUT /demo/theme.",
        "properties": {
          "colours": {
            "$ref": "#/components/schemas/ThemeColours"
          },
          "found": {
            "description": "Whether the site showed a colour of its own",
            "title": "Found",
            "type": "boolean"
          },
          "notes": {
            "description": "What was found on the site, and what was changed to keep it readable",
            "items": {
              "type": "string"
            },
            "title": "Notes",
            "type": "array"
          },
          "rendered": {
            "description": "Read as a visitor sees the page, rather than from its code",
            "title": "Rendered",
            "type": "boolean"
          }
        },
        "required": [
          "colours",
          "notes",
          "found",
          "rendered"
        ],
        "title": "ThemeSuggestion",
        "type": "object"
      },
      "ToneOut": {
        "additionalProperties": false,
        "properties": {
          "name": {
            "title": "Name",
            "type": "string"
          },
          "says": {
            "description": "What the guide is told, word for word",
            "title": "Says",
            "type": "string"
          }
        },
        "required": [
          "name",
          "says"
        ],
        "title": "ToneOut",
        "type": "object"
      },
      "Transcript": {
        "additionalProperties": false,
        "properties": {
          "id": {
            "title": "Id",
            "type": "string"
          },
          "lines": {
            "items": {
              "$ref": "#/components/schemas/Line"
            },
            "title": "Lines",
            "type": "array"
          },
          "schema": {
            "default": "solacia.transcript.v1",
            "title": "Schema",
            "type": "string"
          }
        },
        "required": [
          "id",
          "lines"
        ],
        "title": "Transcript",
        "type": "object"
      },
      "TryLinkIn": {
        "additionalProperties": false,
        "description": "Marks a link already made as a try link, or as one sent to a buyer again (Solacia's team\nonly). The link and its demos stay as they are; only what its demos tell from now on follows\nthe mark.",
        "properties": {
          "email": {
            "description": "The email the link was made for, as the list of links gives it.",
            "maxLength": 254,
            "title": "Email",
            "type": "string"
          },
          "try_out": {
            "default": true,
            "description": "True: a try link, whose demos never post to Slack or reach your CRM. False: a link sent to a buyer.",
            "title": "Try Out",
            "type": "boolean"
          }
        },
        "required": [
          "email"
        ],
        "title": "TryLinkIn",
        "type": "object"
      },
      "TryLinkMarked": {
        "additionalProperties": false,
        "properties": {
          "email": {
            "title": "Email",
            "type": "string"
          },
          "try_out": {
            "title": "Try Out",
            "type": "boolean"
          }
        },
        "required": [
          "email",
          "try_out"
        ],
        "title": "TryLinkMarked",
        "type": "object"
      },
      "TwoStepCodeIn": {
        "additionalProperties": false,
        "properties": {
          "code": {
            "description": "A code from the app, or a backup code.",
            "maxLength": 40,
            "minLength": 1,
            "title": "Code",
            "type": "string"
          }
        },
        "required": [
          "code"
        ],
        "title": "TwoStepCodeIn",
        "type": "object"
      },
      "TwoStepCodes": {
        "additionalProperties": false,
        "description": "Backup codes, shown this once: each signs in once when the phone is lost.",
        "properties": {
          "backup_codes": {
            "items": {
              "type": "string"
            },
            "title": "Backup Codes",
            "type": "array"
          },
          "state": {
            "$ref": "#/components/schemas/TwoStepState"
          }
        },
        "required": [
          "state",
          "backup_codes"
        ],
        "title": "TwoStepCodes",
        "type": "object"
      },
      "TwoStepSetup": {
        "additionalProperties": false,
        "description": "A new secret for the authenticator app: scan `qr` (an SVG data: URI) or type `secret`. Two-step\nsign-in turns on with the app's first code (POST /me/two-step/confirm).",
        "properties": {
          "qr": {
            "description": "The QR code, as an SVG data: URI an img can show.",
            "title": "Qr",
            "type": "string"
          },
          "secret": {
            "title": "Secret",
            "type": "string"
          },
          "uri": {
            "description": "The otpauth:// link the QR code holds.",
            "title": "Uri",
            "type": "string"
          }
        },
        "required": [
          "secret",
          "uri",
          "qr"
        ],
        "title": "TwoStepSetup",
        "type": "object"
      },
      "TwoStepState": {
        "additionalProperties": false,
        "description": "The caller's two-step sign-in. In preview.",
        "properties": {
          "available": {
            "description": "The caller can turn it on here.",
            "title": "Available",
            "type": "boolean"
          },
          "backup_codes_left": {
            "title": "Backup Codes Left",
            "type": "integer"
          },
          "on": {
            "description": "Sign-in asks for a code from their authenticator app after the password.",
            "title": "On",
            "type": "boolean"
          },
          "since": {
            "description": "When it was turned on, ISO 8601; empty when off.",
            "title": "Since",
            "type": "string"
          }
        },
        "required": [
          "available",
          "on",
          "backup_codes_left",
          "since"
        ],
        "title": "TwoStepState",
        "type": "object"
      },
      "VersionSideIn": {
        "additionalProperties": false,
        "properties": {
          "share": {
            "description": "Percent of the agent's buyers",
            "maximum": 90.0,
            "minimum": 10.0,
            "title": "Share",
            "type": "integer"
          },
          "version": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "const": "draft",
                "type": "string"
              }
            ],
            "description": "A version number (side A: the live one), or draft: the draft as it is now",
            "title": "Version"
          }
        },
        "required": [
          "version",
          "share"
        ],
        "title": "VersionSideIn",
        "type": "object"
      },
      "VoicePool": {
        "additionalProperties": false,
        "properties": {
          "product": {
            "description": "The voice calls speak this language with when the agent picks none",
            "title": "Product",
            "type": "string"
          },
          "voices": {
            "description": "The voices to pick from, the product's own first",
            "items": {
              "$ref": "#/components/schemas/PoolVoice"
            },
            "title": "Voices",
            "type": "array"
          }
        },
        "required": [
          "product",
          "voices"
        ],
        "title": "VoicePool",
        "type": "object"
      },
      "VoiceSample": {
        "additionalProperties": false,
        "properties": {
          "audio": {
            "description": "The line said, base64",
            "title": "Audio",
            "type": "string"
          },
          "line": {
            "description": "What the voice says: the start of the account's opening in that language",
            "title": "Line",
            "type": "string"
          },
          "type": {
            "description": "The audio's media type",
            "examples": [
              "audio/mpeg"
            ],
            "title": "Type",
            "type": "string"
          }
        },
        "required": [
          "line",
          "audio",
          "type"
        ],
        "title": "VoiceSample",
        "type": "object"
      },
      "VoiceSampleIn": {
        "additionalProperties": false,
        "description": "A voice to hear before it is picked.",
        "properties": {
          "agent": {
            "anyOf": [
              {
                "maxLength": 80,
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "description": "Say this agent's own opening, when it has one",
            "title": "Agent"
          },
          "language": {
            "examples": [
              "es"
            ],
            "maxLength": 8,
            "minLength": 2,
            "title": "Language",
            "type": "string"
          },
          "voice": {
            "description": "An id from the agents' voice_pool",
            "maxLength": 100,
            "minLength": 1,
            "title": "Voice",
            "type": "string"
          }
        },
        "required": [
          "language",
          "voice"
        ],
        "title": "VoiceSampleIn",
        "type": "object"
      },
      "ZendeskAudience": {
        "additionalProperties": false,
        "description": "Who some of the help center's articles are for: a user segment, or everyone.",
        "properties": {
          "articles": {
            "title": "Articles",
            "type": "integer"
          },
          "name": {
            "description": "The segment's name in Zendesk; empty for everyone, or when Zendesk won't list segments.",
            "examples": [
              "Signed-in users",
              "Agents and admins"
            ],
            "title": "Name",
            "type": "string"
          },
          "ref": {
            "examples": [
              "360001234567",
              "everyone"
            ],
            "title": "Ref",
            "type": "string"
          }
        },
        "required": [
          "ref",
          "name",
          "articles"
        ],
        "title": "ZendeskAudience",
        "type": "object"
      },
      "ZendeskAudiences": {
        "additionalProperties": false,
        "properties": {
          "audiences": {
            "items": {
              "$ref": "#/components/schemas/ZendeskAudience"
            },
            "title": "Audiences",
            "type": "array"
          },
          "picked": {
            "description": "The refs picked.",
            "items": {
              "type": "string"
            },
            "title": "Picked",
            "type": "array"
          }
        },
        "required": [
          "audiences"
        ],
        "title": "ZendeskAudiences",
        "type": "object"
      },
      "ZendeskKeyIn": {
        "additionalProperties": false,
        "description": "A Zendesk account and an API token its admin made, with the email it signs in as.",
        "properties": {
          "address": {
            "examples": [
              "yourcompany.zendesk.com"
            ],
            "maxLength": 300,
            "minLength": 1,
            "title": "Address",
            "type": "string"
          },
          "email": {
            "description": "Someone who can see the articles.",
            "maxLength": 320,
            "minLength": 3,
            "title": "Email",
            "type": "string"
          },
          "token": {
            "description": "The API token, as Zendesk showed it.",
            "maxLength": 500,
            "minLength": 1,
            "title": "Token",
            "type": "string"
          }
        },
        "required": [
          "address",
          "email",
          "token"
        ],
        "title": "ZendeskKeyIn",
        "type": "object"
      },
      "ZendeskSignInIn": {
        "additionalProperties": false,
        "description": "The Zendesk account to sign in to: its address, where the owner approves Solacia.",
        "properties": {
          "address": {
            "examples": [
              "yourcompany.zendesk.com"
            ],
            "maxLength": 300,
            "minLength": 1,
            "title": "Address",
            "type": "string"
          }
        },
        "required": [
          "address"
        ],
        "title": "ZendeskSignInIn",
        "type": "object"
      }
    },
    "securitySchemes": {
      "apiKey": {
        "description": "An account's API key.",
        "scheme": "bearer",
        "type": "http"
      }
    }
  },
  "info": {
    "description": "What Solacia's demo agents produced for one account: leads, demos, transcripts, questions, gaps and analytics. Send an API key as `Authorization: Bearer <key>`; a key reads one account. Every error is application/problem+json. Fields are only ever added under /v1; a record's `schema` names its shape.",
    "title": "Solacia API",
    "version": "1"
  },
  "openapi": "3.1.0",
  "paths": {
    "/account/me": {
      "get": {
        "description": "Who the key or session is, and what it may do: the first call to make with a new key.",
        "operationId": "account.me",
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Me"
                }
              }
            },
            "description": "Successful Response"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Bad request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Not found"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Invalid"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Too many requests"
          }
        },
        "summary": "Who this key or session is, and what it may do.",
        "tags": [
          "account"
        ],
        "x-mcp": null,
        "x-role": "member",
        "x-scope": null
      }
    },
    "/agent-default": {
      "put": {
        "description": "The account's agents, and the agent each channel runs: `embed` (the vendor's website),\n`outbound` (personal links from outreach) and `link` (the demo's own address). Then each\nchannel's pace, and the tests between agents, newest first.",
        "operationId": "agents.default.set",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/AgentDefaultIn"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Agents"
                }
              }
            },
            "description": "Successful Response"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Bad request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Not found"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Invalid"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Too many requests"
          }
        },
        "summary": "Set the agent your personal links carry unless you pick another. In preview.",
        "tags": [
          "agents"
        ],
        "x-mcp": null,
        "x-role": "member",
        "x-scope": "agents:admin"
      }
    },
    "/agent-routes/{channel}": {
      "put": {
        "description": "The account's agents, and the agent each channel runs: `embed` (the vendor's website),\n`outbound` (personal links from outreach) and `link` (the demo's own address). Then each\nchannel's pace, and the tests between agents, newest first.",
        "operationId": "agents.route",
        "parameters": [
          {
            "in": "path",
            "name": "channel",
            "required": true,
            "schema": {
              "maxLength": 200,
              "title": "Channel",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/AgentRouteIn"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Agents"
                }
              }
            },
            "description": "Successful Response"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Bad request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Not found"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Invalid"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Too many requests"
          }
        },
        "summary": "Give a channel's demos to an agent, from the next demo that starts. In preview.",
        "tags": [
          "agents"
        ],
        "x-mcp": null,
        "x-role": "owner",
        "x-scope": "agents:admin"
      }
    },
    "/agent-rules": {
      "put": {
        "description": "The account's agents, and the agent each channel runs: `embed` (the vendor's website),\n`outbound` (personal links from outreach) and `link` (the demo's own address). Then each\nchannel's pace, and the tests between agents, newest first.",
        "operationId": "agents.rules.set",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/AgentRulesIn"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Agents"
                }
              }
            },
            "description": "Successful Response"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Bad request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Not found"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Invalid"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Too many requests"
          }
        },
        "summary": "Set the website's rules: which agent a buyer meets by where they came from, then by the page the demo opened on. In preview.",
        "tags": [
          "agents"
        ],
        "x-mcp": null,
        "x-role": "owner",
        "x-scope": "agents:admin"
      }
    },
    "/agent-tests": {
      "post": {
        "description": "The account's agents, and the agent each channel runs: `embed` (the vendor's website),\n`outbound` (personal links from outreach) and `link` (the demo's own address). Then each\nchannel's pace, and the tests between agents, newest first.",
        "operationId": "agents.tests.start",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/AgentTestIn"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Agents"
                }
              }
            },
            "description": "Successful Response"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Bad request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Not found"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Invalid"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Too many requests"
          }
        },
        "summary": "Split one channel's buyers between two or three agents, each buyer always on the same side. In preview.",
        "tags": [
          "agents"
        ],
        "x-mcp": null,
        "x-role": "owner",
        "x-scope": "agents:admin"
      }
    },
    "/agent-tests/{id}/check-crm": {
      "post": {
        "operationId": "agents.tests.check_crm",
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "maxLength": 200,
              "title": "Id",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Nothing"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AgentTestCrmCheck"
                }
              }
            },
            "description": "Successful Response"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Bad request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Not found"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Invalid"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Too many requests"
          }
        },
        "summary": "Read from your CRM which prospects of an outreach test against no demo have had a meeting booked since their link was made, on both sides. In preview.",
        "tags": [
          "agents"
        ],
        "x-mcp": null,
        "x-role": "member",
        "x-scope": "agents:admin"
      }
    },
    "/agent-tests/{id}/stop": {
      "post": {
        "description": "The account's agents, and the agent each channel runs: `embed` (the vendor's website),\n`outbound` (personal links from outreach) and `link` (the demo's own address). Then each\nchannel's pace, and the tests between agents, newest first.",
        "operationId": "agents.tests.stop",
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "maxLength": 200,
              "title": "Id",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/AgentTestStopIn"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Agents"
                }
              }
            },
            "description": "Successful Response"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Bad request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Not found"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Invalid"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Too many requests"
          }
        },
        "summary": "Stop a test; with `keep`, that agent runs the channel from the next demo. In preview.",
        "tags": [
          "agents"
        ],
        "x-mcp": "stop_agent_test",
        "x-role": "owner",
        "x-scope": "agents:admin"
      }
    },
    "/agents": {
      "get": {
        "description": "The account's agents, and the agent each channel runs: `embed` (the vendor's website),\n`outbound` (personal links from outreach) and `link` (the demo's own address). Then each\nchannel's pace, and the tests between agents, newest first.",
        "operationId": "agents.list",
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Agents"
                }
              }
            },
            "description": "Successful Response"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Bad request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Not found"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Invalid"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Too many requests"
          }
        },
        "summary": "The account's agents, what each runs and costs, and the agent of each channel. In preview.",
        "tags": [
          "agents"
        ],
        "x-mcp": "list_agents",
        "x-role": "member",
        "x-scope": "agents:read"
      },
      "post": {
        "description": "The account's agents, and the agent each channel runs: `embed` (the vendor's website),\n`outbound` (personal links from outreach) and `link` (the demo's own address). Then each\nchannel's pace, and the tests between agents, newest first.",
        "operationId": "agents.create",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/AgentIn"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Agents"
                }
              }
            },
            "description": "Successful Response"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Bad request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Not found"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Invalid"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Too many requests"
          }
        },
        "summary": "Make an agent: the pack run another way, with its own name and face or none. In preview.",
        "tags": [
          "agents"
        ],
        "x-mcp": null,
        "x-role": "owner",
        "x-scope": "agents:admin"
      }
    },
    "/agents/{id}": {
      "get": {
        "description": "One agent: its live version, its draft, every version, and its script. In preview.",
        "operationId": "agents.get",
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "maxLength": 200,
              "title": "Id",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AgentDetail"
                }
              }
            },
            "description": "Successful Response"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Bad request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Not found"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Invalid"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Too many requests"
          }
        },
        "summary": "One agent: its live version, its draft, every version and the script a buyer meets. In preview.",
        "tags": [
          "agents"
        ],
        "x-mcp": "get_agent",
        "x-role": "member",
        "x-scope": "agents:read"
      },
      "put": {
        "description": "The account's agents, and the agent each channel runs: `embed` (the vendor's website),\n`outbound` (personal links from outreach) and `link` (the demo's own address). Then each\nchannel's pace, and the tests between agents, newest first.",
        "operationId": "agents.change",
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "maxLength": 200,
              "title": "Id",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/AgentChangeIn"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Agents"
                }
              }
            },
            "description": "Successful Response"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Bad request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Not found"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Invalid"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Too many requests"
          }
        },
        "summary": "Rename an agent, change its face, how it talks, its voice, its price (Solacia only), or retire it. In preview.",
        "tags": [
          "agents"
        ],
        "x-mcp": null,
        "x-role": "owner",
        "x-scope": "agents:admin"
      }
    },
    "/agents/{id}/changes": {
      "post": {
        "operationId": "agents.changes.propose",
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "maxLength": 200,
              "title": "Id",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/AgentChangesIn"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AgentChanges"
                }
              }
            },
            "description": "Successful Response"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Bad request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Not found"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Invalid"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Too many requests"
          }
        },
        "summary": "Turn the agent's open notes into changes to its next version: each with what it replaces, why, and whether its words meet the demo-lines standard. Drafted by a model; nothing changes until kept. In preview.",
        "tags": [
          "agents"
        ],
        "x-mcp": null,
        "x-role": "owner",
        "x-scope": "agents:admin"
      }
    },
    "/agents/{id}/changes/apply": {
      "post": {
        "description": "One agent: its live version, its draft, every version, and its script. In preview.",
        "operationId": "agents.changes.apply",
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "maxLength": 200,
              "title": "Id",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/AgentChangesApplyIn"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AgentDetail"
                }
              }
            },
            "description": "Successful Response"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Bad request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Not found"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Invalid"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Too many requests"
          }
        },
        "summary": "Put the kept changes into the agent's draft and close their notes, and the ones dropped. In preview.",
        "tags": [
          "agents"
        ],
        "x-mcp": null,
        "x-role": "owner",
        "x-scope": "agents:admin"
      }
    },
    "/agents/{id}/draft": {
      "delete": {
        "description": "One agent: its live version, its draft, every version, and its script. In preview.",
        "operationId": "agents.draft.discard",
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "maxLength": 200,
              "title": "Id",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AgentDetail"
                }
              }
            },
            "description": "Successful Response"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Bad request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Not found"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Invalid"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Too many requests"
          }
        },
        "summary": "Throw the agent's draft away. In preview.",
        "tags": [
          "agents"
        ],
        "x-mcp": null,
        "x-role": "owner",
        "x-scope": "agents:admin"
      },
      "put": {
        "description": "One agent: its live version, its draft, every version, and its script. In preview.",
        "operationId": "agents.draft.save",
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "maxLength": 200,
              "title": "Id",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/AgentDraftIn"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AgentDetail"
                }
              }
            },
            "description": "Successful Response"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Bad request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Not found"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Invalid"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Too many requests"
          }
        },
        "summary": "Change the agent's draft: how it talks, who it's for, its goal and its script. Buyers never meet a draft. In preview.",
        "tags": [
          "agents"
        ],
        "x-mcp": "change_agent",
        "x-role": "owner",
        "x-scope": "agents:admin"
      }
    },
    "/agents/{id}/draft/publish": {
      "post": {
        "description": "One agent: its live version, its draft, every version, and its script. In preview.",
        "operationId": "agents.draft.publish",
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "maxLength": 200,
              "title": "Id",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AgentDetail"
                }
              }
            },
            "description": "Successful Response"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Bad request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Not found"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Invalid"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Too many requests"
          }
        },
        "summary": "Make the draft the agent's next version, from the next demo that starts; refused while its own lines miss the demo-lines standard. In preview.",
        "tags": [
          "agents"
        ],
        "x-mcp": "publish_agent",
        "x-role": "owner",
        "x-scope": "agents:admin"
      }
    },
    "/agents/{id}/levers": {
      "get": {
        "description": "What a test on the agent can learn, a lever at a time, from its last 30 days. In preview.",
        "operationId": "agents.levers",
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "maxLength": 200,
              "title": "Id",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AgentLevers"
                }
              }
            },
            "description": "Successful Response"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Bad request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Not found"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Invalid"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Too many requests"
          }
        },
        "summary": "What a test on the agent can learn, one lever at a time (its message, the features it shows first, its pricing, its offer, its qualification): each with the goal its test is read on, the parts of a version it changes, and what the agent's buyers of the last 30 days did that it starts from. In preview.",
        "tags": [
          "agents"
        ],
        "x-mcp": null,
        "x-role": "member",
        "x-scope": "agents:admin"
      }
    },
    "/agents/{id}/notes": {
      "post": {
        "description": "A rehearsal read back, turn by turn, with the notes on it. In preview.",
        "operationId": "agents.notes.add",
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "maxLength": 200,
              "title": "Id",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/AgentNoteIn"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AgentRehearsal"
                }
              }
            },
            "description": "Successful Response"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Bad request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Not found"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Invalid"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Too many requests"
          }
        },
        "summary": "Leave a note on one turn of a rehearsal, for the agent's next version. In preview.",
        "tags": [
          "agents"
        ],
        "x-mcp": null,
        "x-role": "member",
        "x-scope": "agents:admin"
      }
    },
    "/agents/{id}/notes/{note}": {
      "delete": {
        "operationId": "agents.notes.drop",
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "maxLength": 200,
              "title": "Id",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "note",
            "required": true,
            "schema": {
              "maxLength": 200,
              "title": "Note",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AgentNotes"
                }
              }
            },
            "description": "Successful Response"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Bad request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Not found"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Invalid"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Too many requests"
          }
        },
        "summary": "Take a note back. In preview.",
        "tags": [
          "agents"
        ],
        "x-mcp": null,
        "x-role": "member",
        "x-scope": "agents:admin"
      }
    },
    "/agents/{id}/rehearsals": {
      "post": {
        "description": "A rehearsal read back, turn by turn, with the notes on it. In preview.",
        "operationId": "agents.rehearsals.start",
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "maxLength": 200,
              "title": "Id",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/AgentRehearseIn"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AgentRehearsal"
                }
              }
            },
            "description": "Successful Response"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Bad request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Not found"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Invalid"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Too many requests"
          }
        },
        "summary": "Rehearse the agent: a demo of its draft as it is now, or of one of its versions, for the team to run as a buyer would. Never counted in results, and nothing in it reaches the team, the CRM or the calendar. Open `url` to run it. In preview.",
        "tags": [
          "agents"
        ],
        "x-mcp": "rehearse_agent",
        "x-role": "member",
        "x-scope": "agents:admin"
      }
    },
    "/agents/{id}/rehearsals/{session}": {
      "get": {
        "description": "A rehearsal read back, turn by turn, with the notes on it. In preview.",
        "operationId": "agents.rehearsals.get",
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "maxLength": 200,
              "title": "Id",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "session",
            "required": true,
            "schema": {
              "maxLength": 200,
              "title": "Session",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AgentRehearsal"
                }
              }
            },
            "description": "Successful Response"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Bad request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Not found"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Invalid"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Too many requests"
          }
        },
        "summary": "A rehearsal read back: each turn tagged script (said as written), answer (the agent's own words, with what the docs made of them), screen or buyer, with the notes on it. In preview.",
        "tags": [
          "agents"
        ],
        "x-mcp": null,
        "x-role": "member",
        "x-scope": "agents:admin"
      }
    },
    "/agents/{id}/suggestions": {
      "get": {
        "operationId": "agents.suggestions",
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "maxLength": 200,
              "title": "Id",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AgentSuggestions"
                }
              }
            },
            "description": "Successful Response"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Bad request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Not found"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Invalid"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Too many requests"
          }
        },
        "summary": "Tests worth running on the agent, read from what its buyers did in the last 30 days: the part most of the ones who left without its goal left on, or its opening when many leave in the first minute. At most 3, the strongest first. In preview.",
        "tags": [
          "agents"
        ],
        "x-mcp": null,
        "x-role": "member",
        "x-scope": "agents:admin"
      }
    },
    "/agents/{id}/suggestions/{sid}/draft": {
      "post": {
        "description": "One agent: its live version, its draft, every version, and its script. In preview.",
        "operationId": "agents.suggestions.draft",
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "maxLength": 200,
              "title": "Id",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "sid",
            "required": true,
            "schema": {
              "maxLength": 200,
              "title": "Sid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AgentDetail"
                }
              }
            },
            "description": "Successful Response"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Bad request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Not found"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Invalid"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Too many requests"
          }
        },
        "summary": "Have a model draft a suggestion's change into the agent's draft, from the buyers behind it, checked as any draft: read it, then test it against the live version. In preview.",
        "tags": [
          "agents"
        ],
        "x-mcp": null,
        "x-role": "owner",
        "x-scope": "agents:admin"
      }
    },
    "/agents/{id}/test-plan": {
      "get": {
        "description": "What a test of the agent's versions would catch at its pace, before it starts. Simulated.",
        "operationId": "agents.tests.plan",
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "maxLength": 200,
              "title": "Id",
              "type": "string"
            }
          },
          {
            "description": "Percent of buyers on the challenger",
            "in": "query",
            "name": "share",
            "required": false,
            "schema": {
              "default": 50,
              "description": "Percent of buyers on the challenger",
              "maximum": 90,
              "minimum": 10,
              "title": "Share",
              "type": "integer"
            }
          },
          {
            "description": "What it would learn: it is read on that lever's goal, else the agent's own",
            "in": "query",
            "name": "lever",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "enum": [
                    "message",
                    "features",
                    "pricing",
                    "offer",
                    "qualification"
                  ],
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "description": "What it would learn: it is read on that lever's goal, else the agent's own",
              "title": "Lever"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AgentTestPlan"
                }
              }
            },
            "description": "Successful Response"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Bad request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Not found"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Invalid"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Too many requests"
          }
        },
        "summary": "Before testing an agent's versions: its pace, and how soon a test would make a better draft live, or how often a worse one, under each rule. `share`: percent on the challenger. In preview.",
        "tags": [
          "agents"
        ],
        "x-mcp": null,
        "x-role": "member",
        "x-scope": "agents:admin"
      }
    },
    "/agents/{id}/tests": {
      "post": {
        "description": "One agent: its live version, its draft, every version, and its script. In preview.",
        "operationId": "agents.versions.test",
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "maxLength": 200,
              "title": "Id",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/AgentVersionTestIn"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AgentDetail"
                }
              }
            },
            "description": "Successful Response"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Bad request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Not found"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Invalid"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Too many requests"
          }
        },
        "summary": "Test an agent's versions against each other, or its draft against its live version, across every place it runs; each buyer always on the same side, read on who qualified. In preview.",
        "tags": [
          "agents"
        ],
        "x-mcp": "test_agent",
        "x-role": "owner",
        "x-scope": "agents:admin"
      }
    },
    "/agents/{id}/versions/{number}/publish": {
      "post": {
        "description": "One agent: its live version, its draft, every version, and its script. In preview.",
        "operationId": "agents.versions.publish",
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "maxLength": 200,
              "title": "Id",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "number",
            "required": true,
            "schema": {
              "maxLength": 200,
              "title": "Number",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AgentDetail"
                }
              }
            },
            "description": "Successful Response"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Bad request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Not found"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Invalid"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Too many requests"
          }
        },
        "summary": "Put an earlier version back as the agent's next version: the rollback. In preview.",
        "tags": [
          "agents"
        ],
        "x-mcp": null,
        "x-role": "owner",
        "x-scope": "agents:admin"
      }
    },
    "/analytics": {
      "get": {
        "description": "The team's analytics for the last `days` days against the days before: KPIs, activity by\nday, the funnel, what buyers told us, what they saw and asked, every session, companies.\nShape v0: fields beyond these may still change; the Analytics screen owns them.",
        "operationId": "analytics.get",
        "parameters": [
          {
            "in": "query",
            "name": "days",
            "required": false,
            "schema": {
              "default": 30,
              "maximum": 365,
              "minimum": 1,
              "title": "Days",
              "type": "integer"
            }
          },
          {
            "in": "query",
            "name": "tests",
            "required": false,
            "schema": {
              "default": false,
              "title": "Tests",
              "type": "boolean"
            }
          },
          {
            "in": "query",
            "name": "fresh",
            "required": false,
            "schema": {
              "default": false,
              "title": "Fresh",
              "type": "boolean"
            }
          },
          {
            "description": "false leaves out each demo's row and the demos behind each question: the numbers alone.",
            "in": "query",
            "name": "demos",
            "required": false,
            "schema": {
              "default": true,
              "description": "false leaves out each demo's row and the demos behind each question: the numbers alone.",
              "title": "Demos",
              "type": "boolean"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Analytics"
                }
              }
            },
            "description": "Successful Response"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Bad request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Not found"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Invalid"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Too many requests"
          }
        },
        "summary": "What the demos add up to over a period: KPIs, funnel, topics, sessions.",
        "tags": [
          "analytics"
        ],
        "x-mcp": "get_numbers",
        "x-role": "member",
        "x-scope": "demos:read"
      }
    },
    "/analytics/flow": {
      "get": {
        "description": "Where every buyer of the last `days` days went: each way a demo can go (every way is\nlisted, with 0 when nobody went it), each demo with its way, newest first, the agents and\ndoors of the period with their counts (before those filters narrow it), and the test demos.\nIn preview.",
        "operationId": "analytics.flow",
        "parameters": [
          {
            "description": "The last `days` days, today included; `start` overrides it.",
            "in": "query",
            "name": "days",
            "required": false,
            "schema": {
              "default": 30,
              "description": "The last `days` days, today included; `start` overrides it.",
              "maximum": 365,
              "minimum": 1,
              "title": "Days",
              "type": "integer"
            }
          },
          {
            "description": "A range of your own: its first day (UTC). Ends today unless `end` says.",
            "in": "query",
            "name": "start",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "format": "date",
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "description": "A range of your own: its first day (UTC). Ends today unless `end` says.",
              "title": "Start"
            }
          },
          {
            "description": "The range's last day, included (UTC); with `start` only.",
            "in": "query",
            "name": "end",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "format": "date",
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "description": "The range's last day, included (UTC); with `start` only.",
              "title": "End"
            }
          },
          {
            "in": "query",
            "name": "tests",
            "required": false,
            "schema": {
              "default": false,
              "title": "Tests",
              "type": "boolean"
            }
          },
          {
            "description": "Only the demos these agents ran; repeat for several. All when none.",
            "in": "query",
            "name": "agent",
            "required": false,
            "schema": {
              "description": "Only the demos these agents ran; repeat for several. All when none.",
              "items": {
                "maxLength": 120,
                "type": "string"
              },
              "maxItems": 50,
              "title": "Agent",
              "type": "array"
            }
          },
          {
            "description": "Only the demos opened through these doors; repeat for several: \"outbound\" (a personal link), \"site:<host>\" (the embed on that website), \"site\" (the embed, page not known), \"link\" (the demo's own address), or \"unknown\". All when none.",
            "in": "query",
            "name": "door",
            "required": false,
            "schema": {
              "description": "Only the demos opened through these doors; repeat for several: \"outbound\" (a personal link), \"site:<host>\" (the embed on that website), \"site\" (the embed, page not known), \"link\" (the demo's own address), or \"unknown\". All when none.",
              "items": {
                "maxLength": 120,
                "type": "string"
              },
              "maxItems": 50,
              "title": "Door",
              "type": "array"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Flow"
                }
              }
            },
            "description": "Successful Response"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Bad request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Not found"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Invalid"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Too many requests"
          }
        },
        "summary": "Where every buyer went, from opening the demo to where they are now, counted by way.",
        "tags": [
          "analytics"
        ],
        "x-mcp": null,
        "x-role": "member",
        "x-scope": "demos:read"
      }
    },
    "/api-keys": {
      "get": {
        "description": "Every key that can call this account's API, newest first, the keys that stopped working,\nand what a new one can be.",
        "operationId": "keys.list",
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiKeys"
                }
              }
            },
            "description": "Successful Response"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Bad request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Not found"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Invalid"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Too many requests"
          }
        },
        "summary": "Every key that can call this account's API, the ones that stopped working, and the scopes and lifetimes a new one can have.",
        "tags": [
          "keys"
        ],
        "x-mcp": null,
        "x-role": "owner",
        "x-scope": "keys:admin"
      },
      "post": {
        "operationId": "keys.create",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ApiKeyIn"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiKeyMade"
                }
              }
            },
            "description": "Successful Response"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Bad request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Not found"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Invalid"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Too many requests"
          }
        },
        "summary": "A new key with the scopes asked for, shown once; it works at once and stops after 7, 30 or 90 days (90 when left out) or never. A key makes keys only within its own scopes.",
        "tags": [
          "keys"
        ],
        "x-mcp": null,
        "x-role": "owner",
        "x-scope": "keys:admin"
      }
    },
    "/api-keys/self": {
      "get": {
        "description": "A key that can call this account's API, or one that could. Solacia keeps its hash, never the key.",
        "operationId": "keys.self",
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiKey"
                }
              }
            },
            "description": "Successful Response"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Bad request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Not found"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Invalid"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Too many requests"
          }
        },
        "summary": "The key making this call: its name, scopes and when it stops working.",
        "tags": [
          "keys"
        ],
        "x-mcp": null,
        "x-role": "member",
        "x-scope": null
      }
    },
    "/api-keys/{id}": {
      "delete": {
        "description": "Every key that can call this account's API, newest first, the keys that stopped working,\nand what a new one can be.",
        "operationId": "keys.revoke",
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "maxLength": 200,
              "title": "Id",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiKeys"
                }
              }
            },
            "description": "Successful Response"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Bad request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Not found"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Invalid"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Too many requests"
          }
        },
        "summary": "Stop a key working at once; it stays listed under `ended`.",
        "tags": [
          "keys"
        ],
        "x-mcp": null,
        "x-role": "owner",
        "x-scope": "keys:admin"
      },
      "patch": {
        "description": "Every key that can call this account's API, newest first, the keys that stopped working,\nand what a new one can be.",
        "operationId": "keys.change",
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "maxLength": 200,
              "title": "Id",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ApiKeyChange"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiKeys"
                }
              }
            },
            "description": "Successful Response"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Bad request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Not found"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Invalid"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Too many requests"
          }
        },
        "summary": "Rename a key, narrow its scopes, or give it a new end (7, 30 or 90 days from now, or never). A key is narrowed, never widened.",
        "tags": [
          "keys"
        ],
        "x-mcp": null,
        "x-role": "owner",
        "x-scope": "keys:admin"
      }
    },
    "/api-keys/{id}/roll": {
      "post": {
        "operationId": "keys.roll",
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "maxLength": 200,
              "title": "Id",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ApiKeyRoll"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiKeyMade"
                }
              }
            },
            "description": "Successful Response"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Bad request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Not found"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Invalid"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Too many requests"
          }
        },
        "summary": "A new key in place of this one, with its name, scopes and lifetime, shown once. The old key keeps working for the overlap asked for (now, 1h, 24h, 7d), so whatever uses it can switch without downtime.",
        "tags": [
          "keys"
        ],
        "x-mcp": null,
        "x-role": "owner",
        "x-scope": "keys:admin"
      }
    },
    "/api-keys/{id}/usage": {
      "get": {
        "description": "What one key did in the last 30 days: its calls by day and by operation, its latest calls,\nthe demo links it made and the demos they brought, and its budget now.",
        "operationId": "keys.usage",
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "maxLength": 200,
              "title": "Id",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiKeyUsage"
                }
              }
            },
            "description": "Successful Response"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Bad request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Not found"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Invalid"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Too many requests"
          }
        },
        "summary": "What a key did in the last 30 days: calls by day and by operation, its latest 50 calls, the demo links it made and the demos they brought, and its budget now. A key reads its own as `self`; another key's takes `keys:admin`.",
        "tags": [
          "keys"
        ],
        "x-mcp": null,
        "x-role": "owner",
        "x-scope": null
      }
    },
    "/app": {
      "delete": {
        "description": "The vendor's own app, connected so the explorer can check the demo against it (in\npreview): its address and the sandbox user it signs in as. The password is never sent back.\n`connected` is false when none is.",
        "operationId": "app.disconnect",
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AppConnection"
                }
              }
            },
            "description": "Successful Response"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Bad request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Not found"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Invalid"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Too many requests"
          }
        },
        "summary": "Forget the vendor's app and its login. In preview.",
        "tags": [
          "integrations"
        ],
        "x-mcp": null,
        "x-role": "owner",
        "x-scope": "integrations:admin"
      },
      "get": {
        "description": "The vendor's own app, connected so the explorer can check the demo against it (in\npreview): its address and the sandbox user it signs in as. The password is never sent back.\n`connected` is false when none is.",
        "operationId": "app.get",
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AppConnection"
                }
              }
            },
            "description": "Successful Response"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Bad request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Not found"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Invalid"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Too many requests"
          }
        },
        "summary": "The vendor's app the explorer checks the demo against, and what its last check found. In preview.",
        "tags": [
          "integrations"
        ],
        "x-mcp": null,
        "x-role": "member",
        "x-scope": "integrations:admin"
      },
      "put": {
        "description": "The vendor's own app, connected so the explorer can check the demo against it (in\npreview): its address and the sandbox user it signs in as. The password is never sent back.\n`connected` is false when none is.",
        "operationId": "app.connect",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/AppConnectionIn"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AppConnection"
                }
              }
            },
            "description": "Successful Response"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Bad request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Not found"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Invalid"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Too many requests"
          }
        },
        "summary": "Connect the vendor's app: its sign-in page and a sandbox login, the password kept sealed. In preview.",
        "tags": [
          "integrations"
        ],
        "x-mcp": null,
        "x-role": "owner",
        "x-scope": "integrations:admin"
      }
    },
    "/billing": {
      "get": {
        "description": "What the account is billed for: its plan and counter, and one line per buyer per day\nwith the reason it counts or not. A demo is a conversation of two minutes or more between\none buyer and the agent, or a shorter one in which the buyer booked a meeting, once per\nbuyer per Eastern day; tests never count, and neither does a call that ended on Solacia's\nside unless a meeting was booked. In preview.",
        "operationId": "billing.get",
        "parameters": [
          {
            "description": "The first day to read (Eastern Time). With none: the plan's current month so far, or the last 30 days for an account with no month running.",
            "in": "query",
            "name": "start",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "format": "date",
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "description": "The first day to read (Eastern Time). With none: the plan's current month so far, or the last 30 days for an account with no month running.",
              "title": "Start"
            }
          },
          {
            "description": "The last day, included (Eastern Time); with `start` only. Today when left out.",
            "in": "query",
            "name": "end",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "format": "date",
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "description": "The last day, included (Eastern Time); with `start` only. Today when left out.",
              "title": "End"
            }
          },
          {
            "description": "List the test lines too. They never count either way.",
            "in": "query",
            "name": "tests",
            "required": false,
            "schema": {
              "default": false,
              "description": "List the test lines too. They never count either way.",
              "title": "Tests",
              "type": "boolean"
            }
          },
          {
            "in": "query",
            "name": "limit",
            "required": false,
            "schema": {
              "default": 50,
              "maximum": 200,
              "minimum": 1,
              "title": "Limit",
              "type": "integer"
            }
          },
          {
            "description": "The previous page's next_cursor; empty for the first page.",
            "in": "query",
            "name": "cursor",
            "required": false,
            "schema": {
              "default": "",
              "description": "The previous page's next_cursor; empty for the first page.",
              "maxLength": 2000,
              "title": "Cursor",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Billing"
                }
              }
            },
            "description": "Successful Response"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Bad request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Not found"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Invalid"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Too many requests"
          }
        },
        "summary": "What the account is billed for: its plan and counter, and each buyer's day with the reason it counts as a demo or not. In preview.",
        "tags": [
          "billing"
        ],
        "x-mcp": null,
        "x-role": "member",
        "x-scope": "demos:read"
      }
    },
    "/buyers": {
      "get": {
        "operationId": "buyers.list",
        "parameters": [
          {
            "description": "Demos that began in the last `days` days, today included.",
            "in": "query",
            "name": "days",
            "required": false,
            "schema": {
              "default": 90,
              "description": "Demos that began in the last `days` days, today included.",
              "maximum": 365,
              "minimum": 1,
              "title": "Days",
              "type": "integer"
            }
          },
          {
            "in": "query",
            "name": "tests",
            "required": false,
            "schema": {
              "default": false,
              "title": "Tests",
              "type": "boolean"
            }
          },
          {
            "description": "Only the buyers whose name, address, company, role, or anything they said or told the demo (calls included) holds every word of it; case and accents don't matter.",
            "in": "query",
            "name": "q",
            "required": false,
            "schema": {
              "default": "",
              "description": "Only the buyers whose name, address, company, role, or anything they said or told the demo (calls included) holds every word of it; case and accents don't matter.",
              "examples": [
                "amex"
              ],
              "maxLength": 120,
              "title": "Q",
              "type": "string"
            }
          },
          {
            "description": "newest: by their latest demo. promising: meetings first, then qualified, nurture and no email, each by score.",
            "in": "query",
            "name": "order",
            "required": false,
            "schema": {
              "default": "newest",
              "description": "newest: by their latest demo. promising: meetings first, then qualified, nurture and no email, each by score.",
              "enum": [
                "newest",
                "promising"
              ],
              "title": "Order",
              "type": "string"
            }
          },
          {
            "description": "At most this many buyers; 0 for all of them.",
            "in": "query",
            "name": "limit",
            "required": false,
            "schema": {
              "default": 0,
              "description": "At most this many buyers; 0 for all of them.",
              "maximum": 500,
              "minimum": 0,
              "title": "Limit",
              "type": "integer"
            }
          },
          {
            "description": "The previous page's next_cursor; empty for the first page.",
            "in": "query",
            "name": "cursor",
            "required": false,
            "schema": {
              "default": "",
              "description": "The previous page's next_cursor; empty for the first page.",
              "maxLength": 2000,
              "title": "Cursor",
              "type": "string"
            }
          },
          {
            "description": "The language the rows' roles and facts are written in: English, Spanish or Portuguese.",
            "in": "query",
            "name": "language",
            "required": false,
            "schema": {
              "default": "en",
              "description": "The language the rows' roles and facts are written in: English, Spanish or Portuguese.",
              "enum": [
                "en",
                "es",
                "pt"
              ],
              "title": "Language",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Buyers"
                }
              }
            },
            "description": "Successful Response"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Bad request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Not found"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Invalid"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Too many requests"
          }
        },
        "summary": "The Buyers list: one row per buyer that reads as a short brief, newest first. In preview.",
        "tags": [
          "demos"
        ],
        "x-mcp": "find_buyers",
        "x-role": "member",
        "x-scope": "demos:read"
      }
    },
    "/buyers/{id}/done": {
      "put": {
        "operationId": "buyers.done",
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "maxLength": 200,
              "title": "Id",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/BuyerDoneIn"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BuyerDone"
                }
              }
            },
            "description": "Successful Response"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Bad request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Not found"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Invalid"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Too many requests"
          }
        },
        "summary": "Mark the one thing to do for a buyer done, or take the mark back. In preview.",
        "tags": [
          "demos"
        ],
        "x-mcp": null,
        "x-role": "member",
        "x-scope": "leads:write"
      }
    },
    "/chatbots": {
      "get": {
        "description": "The chatbots connected to this account, newest first, and the latest that stopped. An\nowner sees everyone's; anyone else sees their own.",
        "operationId": "chatbots.list",
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ChatbotConnections"
                }
              }
            },
            "description": "Successful Response"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Bad request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Not found"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Invalid"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Too many requests"
          }
        },
        "summary": "The chatbots people connected to this account by OAuth (Claude, ChatGPT), newest first, with what each may do and its calls; an owner sees everyone's, anyone else their own.",
        "tags": [
          "keys"
        ],
        "x-mcp": null,
        "x-role": "member",
        "x-scope": "keys:admin"
      }
    },
    "/chatbots/{id}": {
      "delete": {
        "description": "The chatbots connected to this account, newest first, and the latest that stopped. An\nowner sees everyone's; anyone else sees their own.",
        "operationId": "chatbots.revoke",
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "maxLength": 200,
              "title": "Id",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ChatbotConnections"
                }
              }
            },
            "description": "Successful Response"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Bad request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Not found"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Invalid"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Too many requests"
          }
        },
        "summary": "Stop a connected chatbot at once; it stays listed under `ended`. An owner ends anyone's, anyone else their own.",
        "tags": [
          "keys"
        ],
        "x-mcp": null,
        "x-role": "member",
        "x-scope": "keys:admin"
      }
    },
    "/clay": {
      "get": {
        "description": "Whether Clay can make links for this account, and what it has made: the console's proof\nthat a Clay column is really connected.",
        "operationId": "clay.status",
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ClayStatus"
                }
              }
            },
            "description": "Successful Response"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Bad request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Not found"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Invalid"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Too many requests"
          }
        },
        "summary": "Whether Clay can make this account's links, where its column sends them, and what it has made.",
        "tags": [
          "links"
        ],
        "x-mcp": null,
        "x-role": "owner",
        "x-scope": "integrations:admin"
      }
    },
    "/clay/key": {
      "delete": {
        "description": "Whether Clay can make links for this account, and what it has made: the console's proof\nthat a Clay column is really connected.",
        "operationId": "clay.key_revoke",
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ClayStatus"
                }
              }
            },
            "description": "Successful Response"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Bad request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Not found"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Invalid"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Too many requests"
          }
        },
        "summary": "Stop the Clay key working at once.",
        "tags": [
          "links"
        ],
        "x-mcp": null,
        "x-role": "owner",
        "x-scope": "integrations:admin"
      },
      "post": {
        "operationId": "clay.key_create",
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ClayKeyMade"
                }
              }
            },
            "description": "Successful Response"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Bad request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Not found"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Invalid"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Too many requests"
          }
        },
        "summary": "A key for a Clay HTTP column that can only make demo links, shown once; the one before it stops working.",
        "tags": [
          "links"
        ],
        "x-mcp": null,
        "x-role": "owner",
        "x-scope": "integrations:admin"
      }
    },
    "/crm/lists": {
      "get": {
        "description": "The lists in the account's CRM a send can start from: HubSpot's contact lists, Salesforce's\ncampaigns.",
        "operationId": "crm.lists",
        "parameters": [
          {
            "description": "Words in the list's name.",
            "in": "query",
            "name": "q",
            "required": false,
            "schema": {
              "default": "",
              "description": "Words in the list's name.",
              "maxLength": 80,
              "title": "Q",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CrmLists"
                }
              }
            },
            "description": "Successful Response"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Bad request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Not found"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Invalid"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Too many requests"
          }
        },
        "summary": "The lists in the account's CRM that personal demo links can be made for: HubSpot's contact lists, Salesforce's campaigns.",
        "tags": [
          "links"
        ],
        "x-mcp": "list_crm_lists",
        "x-role": "member",
        "x-scope": "links:write"
      }
    },
    "/demo-links": {
      "get": {
        "description": "The links made from the console or the API, newest first, one per prospect, and what\neach campaign has brought.",
        "operationId": "links.list",
        "parameters": [
          {
            "description": "Only this campaign's links; an empty value, those without one.",
            "in": "query",
            "name": "campaign",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "maxLength": 80,
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "description": "Only this campaign's links; an empty value, those without one.",
              "title": "Campaign"
            }
          },
          {
            "description": "At most this many links, newest first; 0 for all of them.",
            "in": "query",
            "name": "limit",
            "required": false,
            "schema": {
              "default": 0,
              "description": "At most this many links, newest first; 0 for all of them.",
              "maximum": 500,
              "minimum": 0,
              "title": "Limit",
              "type": "integer"
            }
          },
          {
            "description": "The previous page's next_cursor; empty for the first page.",
            "in": "query",
            "name": "cursor",
            "required": false,
            "schema": {
              "default": "",
              "description": "The previous page's next_cursor; empty for the first page.",
              "maxLength": 2000,
              "title": "Cursor",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DemoLinks"
                }
              }
            },
            "description": "Successful Response"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Bad request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Not found"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Invalid"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Too many requests"
          }
        },
        "summary": "The personal demo links made so far, newest first, one per prospect, with what each brought and a result per campaign.",
        "tags": [
          "links"
        ],
        "x-mcp": "list_demo_links",
        "x-role": "member",
        "x-scope": "links:write"
      },
      "post": {
        "description": "A personal link: it opens the demo without the password and records the demo under the\nprospect's email. With what the prospect has done since it was made.",
        "operationId": "links.create",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/DemoLinkIn"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DemoLink"
                }
              }
            },
            "description": "Successful Response"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Bad request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Not found"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Invalid"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Too many requests"
          }
        },
        "summary": "Make a personal demo link for one prospect, with who they are for the guide.",
        "tags": [
          "links"
        ],
        "x-mcp": null,
        "x-role": "member",
        "x-scope": "links:write"
      }
    },
    "/demo-links/batch": {
      "post": {
        "description": "What a batch made: a link per prospect, in the order given, and the rows refused.",
        "operationId": "links.create_many",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/DemoLinksIn"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DemoLinksMade"
                }
              }
            },
            "description": "Successful Response"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Bad request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Not found"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Invalid"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Too many requests"
          }
        },
        "summary": "Make personal demo links for a list of prospects in one request, up to 500 at a time; rows that are not a work email come back refused, with why.",
        "tags": [
          "links"
        ],
        "x-mcp": "make_demo_links",
        "x-role": "member",
        "x-scope": "links:write"
      }
    },
    "/demo-links/from-crm-list": {
      "post": {
        "operationId": "links.from_crm_list",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CrmListLinksIn"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CrmListLinks"
                }
              }
            },
            "description": "Successful Response"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Bad request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Not found"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Invalid"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Too many requests"
          }
        },
        "summary": "Make personal demo links for one page of a CRM list's people and write each onto their record (HubSpot's Solacia demo link property, Salesforce's Solacia Demo Link field); call again with `next` until it is empty.",
        "tags": [
          "links"
        ],
        "x-mcp": "make_crm_list_links",
        "x-role": "member",
        "x-scope": "links:write"
      }
    },
    "/demo-links/try-out": {
      "post": {
        "operationId": "links.try_out",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/TryLinkIn"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TryLinkMarked"
                }
              }
            },
            "description": "Successful Response"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Bad request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Not found"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Invalid"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Too many requests"
          }
        },
        "summary": "Solacia's team only: mark a link already made as a try link, kept to try the demo, whose demos never post to Slack or reach the CRM; or as one sent to a buyer again.",
        "tags": [
          "links"
        ],
        "x-mcp": null,
        "x-role": "member",
        "x-scope": "links:write"
      }
    },
    "/demo/theme": {
      "delete": {
        "description": "The colours the demo wears now (`colours`), and the product's own (`default`), which a\nreset goes back to.",
        "operationId": "demo.reset_theme",
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DemoTheme"
                }
              }
            },
            "description": "Successful Response"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Bad request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Not found"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Invalid"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Too many requests"
          }
        },
        "summary": "Put the demo back in the product's own colours.",
        "tags": [
          "demo"
        ],
        "x-mcp": null,
        "x-role": "owner",
        "x-scope": "agents:admin"
      },
      "get": {
        "description": "The colours the demo wears now (`colours`), and the product's own (`default`), which a\nreset goes back to.",
        "operationId": "demo.theme",
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DemoTheme"
                }
              }
            },
            "description": "Successful Response"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Bad request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Not found"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Invalid"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Too many requests"
          }
        },
        "summary": "The demo's colours, and the product's own.",
        "tags": [
          "demo"
        ],
        "x-mcp": null,
        "x-role": "owner",
        "x-scope": "agents:admin"
      },
      "put": {
        "description": "The colours the demo wears now (`colours`), and the product's own (`default`), which a\nreset goes back to.",
        "operationId": "demo.choose_theme",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ThemeIn"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DemoTheme"
                }
              }
            },
            "description": "Successful Response"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Bad request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Not found"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Invalid"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Too many requests"
          }
        },
        "summary": "Recolour the demo (the call around the product and the popup's loading screen).",
        "tags": [
          "demo"
        ],
        "x-mcp": null,
        "x-role": "owner",
        "x-scope": "agents:admin"
      }
    },
    "/demo/theme/suggestion": {
      "post": {
        "description": "Colours for the demo, read from a website: nothing is saved until they are chosen with\nPUT /demo/theme.",
        "operationId": "demo.suggest_theme",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ThemeSiteIn"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ThemeSuggestion"
                }
              }
            },
            "description": "Successful Response"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Bad request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Not found"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Invalid"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Too many requests"
          }
        },
        "summary": "Colours for the demo, read from a website; nothing is saved.",
        "tags": [
          "demo"
        ],
        "x-mcp": null,
        "x-role": "owner",
        "x-scope": "agents:admin"
      }
    },
    "/demos": {
      "get": {
        "operationId": "demos.list",
        "parameters": [
          {
            "description": "Only demos active at or after this time, ISO 8601 (e.g. 2026-10-01T00:00:00Z).",
            "in": "query",
            "name": "since",
            "required": false,
            "schema": {
              "default": "",
              "description": "Only demos active at or after this time, ISO 8601 (e.g. 2026-10-01T00:00:00Z).",
              "maxLength": 40,
              "title": "Since",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "tests",
            "required": false,
            "schema": {
              "default": false,
              "title": "Tests",
              "type": "boolean"
            }
          },
          {
            "in": "query",
            "name": "fresh",
            "required": false,
            "schema": {
              "default": false,
              "title": "Fresh",
              "type": "boolean"
            }
          },
          {
            "description": "The previous page's next_cursor; empty for the first page.",
            "in": "query",
            "name": "cursor",
            "required": false,
            "schema": {
              "default": "",
              "description": "The previous page's next_cursor; empty for the first page.",
              "maxLength": 2000,
              "title": "Cursor",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "limit",
            "required": false,
            "schema": {
              "default": 50,
              "maximum": 200,
              "minimum": 1,
              "title": "Limit",
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DemoPage"
                }
              }
            },
            "description": "Successful Response"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Bad request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Not found"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Invalid"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Too many requests"
          }
        },
        "summary": "Every run of the demo, newest first.",
        "tags": [
          "demos"
        ],
        "x-mcp": null,
        "x-role": "member",
        "x-scope": "demos:read"
      }
    },
    "/demos/{id}": {
      "get": {
        "description": "One run of the demo, by one buyer, as the record shows it: when, how long, in what\nlanguage, whether they left an email, what calls it had.",
        "operationId": "demos.get",
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "maxLength": 200,
              "title": "Id",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Demo"
                }
              }
            },
            "description": "Successful Response"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Bad request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Not found"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Invalid"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Too many requests"
          }
        },
        "summary": "One run of the demo.",
        "tags": [
          "demos"
        ],
        "x-mcp": null,
        "x-role": "member",
        "x-scope": "demos:read"
      }
    },
    "/demos/{id}/brief-link": {
      "post": {
        "description": "A new link to a demo's brief that opens without a console account, for the team to send a\nrep by hand. It opens to whoever proves a work email at the account (or at Solacia) with a\ncode sent there, until it ends or the team ends it on Handoff.",
        "operationId": "demos.brief_link",
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "maxLength": 200,
              "title": "Id",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BriefLinkMade"
                }
              }
            },
            "description": "Successful Response"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Bad request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Not found"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Invalid"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Too many requests"
          }
        },
        "summary": "A new link to the demo's brief, for 30 days, to send a rep by hand: it opens to a work email at the account proven by a code; Handoff ends it. In preview.",
        "tags": [
          "demos"
        ],
        "x-mcp": null,
        "x-role": "member",
        "x-scope": "leads:write"
      }
    },
    "/demos/{id}/follow-up": {
      "put": {
        "description": "The demo's follow-up email as it now stands. In preview.",
        "operationId": "demos.follow_up",
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "maxLength": 200,
              "title": "Id",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/FollowUpIn"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/FollowUpDraft"
                }
              }
            },
            "description": "Successful Response"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Bad request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Not found"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Invalid"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Too many requests"
          }
        },
        "summary": "Keep the demo's follow-up email as a teammate edited it. In preview.",
        "tags": [
          "demos"
        ],
        "x-mcp": "edit_follow_up",
        "x-role": "member",
        "x-scope": "leads:write"
      }
    },
    "/demos/{id}/recordings": {
      "get": {
        "description": "The demo's calls as recorded and still kept: 90 days, when the call ran 2 minutes or\nmore, the buyer qualified or asked to meet. In preview.",
        "operationId": "demos.recordings",
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "maxLength": 200,
              "title": "Id",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Recordings"
                }
              }
            },
            "description": "Successful Response"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Bad request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Not found"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Invalid"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Too many requests"
          }
        },
        "summary": "The demo's calls as recorded, each with a link that plays it for an hour. In preview.",
        "tags": [
          "demos"
        ],
        "x-mcp": null,
        "x-role": "member",
        "x-scope": "leads:read"
      }
    },
    "/demos/{id}/recordings/{n}": {
      "delete": {
        "operationId": "demos.recording_delete",
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "maxLength": 200,
              "title": "Id",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "n",
            "required": true,
            "schema": {
              "maxLength": 200,
              "title": "N",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Deleted"
                }
              }
            },
            "description": "Successful Response"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Bad request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Not found"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Invalid"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Too many requests"
          }
        },
        "summary": "Delete one of the demo's recordings now, before its 90 days are up. In preview.",
        "tags": [
          "demos"
        ],
        "x-mcp": null,
        "x-role": "member",
        "x-scope": "leads:write"
      }
    },
    "/demos/{id}/recordings/{n}/chapters": {
      "get": {
        "description": "A recorded call's parts, in order, each named; empty when the call has none to show.\nNamed once per recording and language. In preview.",
        "operationId": "demos.recording_chapters",
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "maxLength": 200,
              "title": "Id",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "n",
            "required": true,
            "schema": {
              "maxLength": 200,
              "title": "N",
              "type": "string"
            }
          },
          {
            "description": "The language events and notes are written in: English, Spanish or Portuguese.",
            "in": "query",
            "name": "language",
            "required": false,
            "schema": {
              "default": "en",
              "description": "The language events and notes are written in: English, Spanish or Portuguese.",
              "enum": [
                "en",
                "es",
                "pt"
              ],
              "title": "Language",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Chapters"
                }
              }
            },
            "description": "Successful Response"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Bad request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Not found"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Invalid"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Too many requests"
          }
        },
        "summary": "A recorded call's parts, each named in a few words, in order. In preview.",
        "tags": [
          "demos"
        ],
        "x-mcp": null,
        "x-role": "member",
        "x-scope": "leads:read"
      }
    },
    "/demos/{id}/standing": {
      "get": {
        "description": "Where one demo stands, as the console's demo page heads it: what it came to, the meeting\ntime the buyer picked, the agent that ran it, where it was opened, and what followed. In\npreview.",
        "operationId": "demos.standing",
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "maxLength": 200,
              "title": "Id",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Standing"
                }
              }
            },
            "description": "Successful Response"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Bad request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Not found"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Invalid"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Too many requests"
          }
        },
        "summary": "Where one demo stands: its outcome, the meeting time picked, its agent and door. In preview.",
        "tags": [
          "demos"
        ],
        "x-mcp": null,
        "x-role": "member",
        "x-scope": "demos:read"
      }
    },
    "/demos/{id}/transcript": {
      "get": {
        "operationId": "demos.transcript",
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "maxLength": 200,
              "title": "Id",
              "type": "string"
            }
          },
          {
            "description": "The language events and notes are written in: English, Spanish or Portuguese.",
            "in": "query",
            "name": "language",
            "required": false,
            "schema": {
              "default": "en",
              "description": "The language events and notes are written in: English, Spanish or Portuguese.",
              "enum": [
                "en",
                "es",
                "pt"
              ],
              "title": "Language",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Transcript"
                }
              }
            },
            "description": "Successful Response"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Bad request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Not found"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Invalid"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Too many requests"
          }
        },
        "summary": "The conversation of one demo: what the buyer wrote or said, what the guide answered and showed.",
        "tags": [
          "demos"
        ],
        "x-mcp": null,
        "x-role": "member",
        "x-scope": "leads:read"
      }
    },
    "/dictation": {
      "post": {
        "operationId": "dictation.write",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/DictationIn"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Dictation"
                }
              }
            },
            "description": "Successful Response"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Bad request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Not found"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Invalid"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Too many requests"
          }
        },
        "summary": "Write down a recorded answer: the recording in, the words out. In preview.",
        "tags": [
          "gaps"
        ],
        "x-mcp": null,
        "x-role": "member",
        "x-scope": "gaps:write"
      }
    },
    "/docs-versions": {
      "get": {
        "description": "Which docs version the agent answers from, and the latest ones kept, newest first.",
        "operationId": "docs.versions",
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DocsVersions"
                }
              }
            },
            "description": "Successful Response"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Bad request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Not found"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Invalid"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Too many requests"
          }
        },
        "summary": "Which version of the vendor's docs the agent answers from, and the latest ones kept.",
        "tags": [
          "foundation"
        ],
        "x-mcp": null,
        "x-role": "member",
        "x-scope": "foundation:read"
      }
    },
    "/docs-versions/live": {
      "put": {
        "description": "Which docs version the agent answers from, and the latest ones kept, newest first.",
        "operationId": "docs.make_live",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/DocsLiveIn"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DocsVersions"
                }
              }
            },
            "description": "Successful Response"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Bad request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Not found"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Invalid"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Too many requests"
          }
        },
        "summary": "Answer from a kept docs version: go back to an earlier one, or forward again. Calls pick it up within a minute.",
        "tags": [
          "foundation"
        ],
        "x-mcp": null,
        "x-role": "owner",
        "x-scope": "foundation:write"
      }
    },
    "/embed": {
      "get": {
        "description": "The account's website embeds. Solacia makes the keys and their sites; none until it has.",
        "operationId": "embed.get",
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Embeds"
                }
              }
            },
            "description": "Successful Response"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Bad request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Not found"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Invalid"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Too many requests"
          }
        },
        "summary": "The website embeds: each key's script tag for the site's HTML, the sites it answers on, and whether it is paused. In preview.",
        "tags": [
          "integrations"
        ],
        "x-mcp": "get_website_embed",
        "x-role": "member",
        "x-scope": null
      }
    },
    "/foundation": {
      "get": {
        "description": "What the account's customers say, quote by quote, graded by who said it, and what\nnobody has said yet. The ground every demo script is written from.",
        "operationId": "foundation.get",
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Foundation"
                }
              }
            },
            "description": "Successful Response"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Bad request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Not found"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Invalid"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Too many requests"
          }
        },
        "summary": "What the account's customers say, quote by quote, graded by who said it, and what nobody has said yet. In preview.",
        "tags": [
          "foundation"
        ],
        "x-mcp": null,
        "x-role": "member",
        "x-scope": "foundation:read"
      }
    },
    "/foundation/claims/{id}": {
      "put": {
        "description": "What the account's customers say, quote by quote, graded by who said it, and what\nnobody has said yet. The ground every demo script is written from.",
        "operationId": "foundation.claims.change",
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "maxLength": 200,
              "title": "Id",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/FoundationClaimIn"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Foundation"
                }
              }
            },
            "description": "Successful Response"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Bad request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Not found"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Invalid"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Too many requests"
          }
        },
        "summary": "Reword a claim, fold it into another of its kind, or drop it. In preview.",
        "tags": [
          "foundation"
        ],
        "x-mcp": null,
        "x-role": "owner",
        "x-scope": "foundation:write"
      }
    },
    "/foundation/quotes/{id}/remove": {
      "post": {
        "description": "What the account's customers say, quote by quote, graded by who said it, and what\nnobody has said yet. The ground every demo script is written from.",
        "operationId": "foundation.quotes.remove",
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "maxLength": 200,
              "title": "Id",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Foundation"
                }
              }
            },
            "description": "Successful Response"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Bad request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Not found"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Invalid"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Too many requests"
          }
        },
        "summary": "Take one quote off its claim. In preview.",
        "tags": [
          "foundation"
        ],
        "x-mcp": null,
        "x-role": "owner",
        "x-scope": "foundation:write"
      }
    },
    "/foundation/sources": {
      "post": {
        "operationId": "foundation.sources.add",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/FoundationSourceIn"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/FoundationAdded"
                }
              }
            },
            "description": "Successful Response"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Bad request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Not found"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Invalid"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Too many requests"
          }
        },
        "summary": "Add raw evidence (a call, an interview, a note, a ticket, a review, usage, a page); its first part is read at once. In preview.",
        "tags": [
          "foundation"
        ],
        "x-mcp": null,
        "x-role": "member",
        "x-scope": "foundation:write"
      }
    },
    "/foundation/sources/{id}/read": {
      "post": {
        "operationId": "foundation.sources.read",
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "maxLength": 200,
              "title": "Id",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/FoundationReadIn"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/FoundationAdded"
                }
              }
            },
            "description": "Successful Response"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Bad request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Not found"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Invalid"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Too many requests"
          }
        },
        "summary": "Read one more part of a source (its `left`), keeping only quotes that are its own words. In preview.",
        "tags": [
          "foundation"
        ],
        "x-mcp": null,
        "x-role": "member",
        "x-scope": "foundation:write"
      }
    },
    "/foundation/sources/{id}/remove": {
      "post": {
        "description": "What the account's customers say, quote by quote, graded by who said it, and what\nnobody has said yet. The ground every demo script is written from.",
        "operationId": "foundation.sources.remove",
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "maxLength": 200,
              "title": "Id",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Foundation"
                }
              }
            },
            "description": "Successful Response"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Bad request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Not found"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Invalid"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Too many requests"
          }
        },
        "summary": "Take a source out, with every quote cut from it. In preview.",
        "tags": [
          "foundation"
        ],
        "x-mcp": null,
        "x-role": "owner",
        "x-scope": "foundation:write"
      }
    },
    "/gaps": {
      "get": {
        "operationId": "gaps.list",
        "parameters": [
          {
            "in": "query",
            "name": "status",
            "required": false,
            "schema": {
              "default": "open",
              "enum": [
                "open",
                "closed",
                "dismissed",
                "all"
              ],
              "title": "Status",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "fresh",
            "required": false,
            "schema": {
              "default": false,
              "title": "Fresh",
              "type": "boolean"
            }
          },
          {
            "description": "The language who asked is described in: English, Spanish or Portuguese.",
            "in": "query",
            "name": "language",
            "required": false,
            "schema": {
              "default": "en",
              "description": "The language who asked is described in: English, Spanish or Portuguese.",
              "enum": [
                "en",
                "es",
                "pt"
              ],
              "title": "Language",
              "type": "string"
            }
          },
          {
            "description": "At most this many questions; 0 for all of them.",
            "in": "query",
            "name": "limit",
            "required": false,
            "schema": {
              "default": 0,
              "description": "At most this many questions; 0 for all of them.",
              "maximum": 500,
              "minimum": 0,
              "title": "Limit",
              "type": "integer"
            }
          },
          {
            "description": "The previous page's next_cursor; empty for the first page.",
            "in": "query",
            "name": "cursor",
            "required": false,
            "schema": {
              "default": "",
              "description": "The previous page's next_cursor; empty for the first page.",
              "maxLength": 2000,
              "title": "Cursor",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GapList"
                }
              }
            },
            "description": "Successful Response"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Bad request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Not found"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Invalid"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Too many requests"
          }
        },
        "summary": "What the agent could not answer from the vendor's sources, most asked first.",
        "tags": [
          "gaps"
        ],
        "x-mcp": "list_unanswered_questions",
        "x-role": "member",
        "x-scope": "demos:read"
      }
    },
    "/gaps/answer": {
      "post": {
        "description": "A question the agent could not settle from the vendor's sources, counted across buyers;\nthe team closes it once with an answer the agent then uses for everyone, or dismisses it.",
        "operationId": "gaps.answer",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/GapAnswerIn"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Gap"
                }
              }
            },
            "description": "Successful Response"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Bad request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Not found"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Invalid"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Too many requests"
          }
        },
        "summary": "Answer a gap, or give it a new answer: the agent gives it to every buyer who asks after, in any wording.",
        "tags": [
          "gaps"
        ],
        "x-mcp": "answer_question",
        "x-role": "member",
        "x-scope": "gaps:write"
      }
    },
    "/gaps/calls": {
      "post": {
        "description": "What the document says about the gap's question: whether it answers it (the judge), the\npassages nearest it, and the answer drafted from them alone when it does. Nothing is said to\nbuyers until the team saves an answer.",
        "operationId": "gaps.calls.check",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/GapCallsIn"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GapDocument"
                }
              }
            },
            "description": "Successful Response"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Bad request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Not found"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Invalid"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Too many requests"
          }
        },
        "summary": "Check a gap against the sales calls read from Granola: whether a rep answered it, and the answer drafted from the rep's when one did. In preview.",
        "tags": [
          "gaps"
        ],
        "x-mcp": null,
        "x-role": "member",
        "x-scope": "gaps:write"
      }
    },
    "/gaps/dismiss": {
      "post": {
        "description": "A question the agent could not settle from the vendor's sources, counted across buyers;\nthe team closes it once with an answer the agent then uses for everyone, or dismisses it.",
        "operationId": "gaps.dismiss",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/GapDismissIn"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Gap"
                }
              }
            },
            "description": "Successful Response"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Bad request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Not found"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Invalid"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Too many requests"
          }
        },
        "summary": "Dismiss a gap, or restore it with dismissed=false: it leaves the open list and count, and the guide's answers stay as they are. In preview.",
        "tags": [
          "gaps"
        ],
        "x-mcp": "dismiss_question",
        "x-role": "member",
        "x-scope": "gaps:write"
      }
    },
    "/gaps/documents": {
      "post": {
        "description": "What the document says about the gap's question: whether it answers it (the judge), the\npassages nearest it, and the answer drafted from them alone when it does. Nothing is said to\nbuyers until the team saves an answer.",
        "operationId": "gaps.documents.check",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/GapDocumentIn"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GapDocument"
                }
              }
            },
            "description": "Successful Response"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Bad request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Not found"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Invalid"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Too many requests"
          }
        },
        "summary": "Attach a document to a gap: kept with the vendor's docs, checked against the question, and the answer drafted from it when it answers. In preview.",
        "tags": [
          "gaps"
        ],
        "x-mcp": null,
        "x-role": "member",
        "x-scope": "gaps:write"
      }
    },
    "/handoff": {
      "get": {
        "operationId": "handoff.list",
        "parameters": [
          {
            "description": "How many days back: 30 by default, up to 365.",
            "in": "query",
            "name": "days",
            "required": false,
            "schema": {
              "default": 30,
              "description": "How many days back: 30 by default, up to 365.",
              "maximum": 365,
              "minimum": 1,
              "title": "Days",
              "type": "integer"
            }
          },
          {
            "description": "The language each step's why and each rule's reason are written in: English, Spanish or Portuguese.",
            "in": "query",
            "name": "language",
            "required": false,
            "schema": {
              "default": "en",
              "description": "The language each step's why and each rule's reason are written in: English, Spanish or Portuguese.",
              "enum": [
                "en",
                "es",
                "pt"
              ],
              "title": "Language",
              "type": "string"
            }
          },
          {
            "description": "Include test demos: try links, test addresses, demos Solacia opened.",
            "in": "query",
            "name": "tests",
            "required": false,
            "schema": {
              "default": false,
              "description": "Include test demos: try links, test addresses, demos Solacia opened.",
              "title": "Tests",
              "type": "boolean"
            }
          },
          {
            "description": "At most this many requests, newest first; 0 for all of them.",
            "in": "query",
            "name": "limit",
            "required": false,
            "schema": {
              "default": 0,
              "description": "At most this many requests, newest first; 0 for all of them.",
              "maximum": 500,
              "minimum": 0,
              "title": "Limit",
              "type": "integer"
            }
          },
          {
            "description": "The previous page's next_cursor; empty for the first page.",
            "in": "query",
            "name": "cursor",
            "required": false,
            "schema": {
              "default": "",
              "description": "The previous page's next_cursor; empty for the first page.",
              "maxLength": 2000,
              "title": "Cursor",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Handoff"
                }
              }
            },
            "description": "Successful Response"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Bad request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Not found"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Invalid"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Too many requests"
          }
        },
        "summary": "Every buyer who asked for the team in the last `days` days (30 by default), each step of the hand-off with why one didn't go, and where today's rules send them. In preview.",
        "tags": [
          "integrations"
        ],
        "x-mcp": null,
        "x-role": "member",
        "x-scope": "integrations:admin"
      }
    },
    "/handoff/brief-link/end": {
      "post": {
        "description": "The link to the buyer's brief that opens without a console account, to a work email at the\naccount proven by a code, when a hand-off sent one.",
        "operationId": "handoff.end_brief_link",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/BriefLinkEndIn"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BriefLink"
                }
              }
            },
            "description": "Successful Response"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Bad request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Not found"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Invalid"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Too many requests"
          }
        },
        "summary": "End every link a demo's brief went out with, so a forwarded or leaked one opens nothing; the next hand-off makes a new one. In preview.",
        "tags": [
          "integrations"
        ],
        "x-mcp": null,
        "x-role": "member",
        "x-scope": "integrations:admin"
      }
    },
    "/integrations": {
      "get": {
        "description": "Every integration with its state, grouped as the console's Integrations page shows them,\nand the scheduler and CRM the account picked.",
        "operationId": "integrations.list",
        "parameters": [
          {
            "description": "The language its words are in.",
            "in": "query",
            "name": "language",
            "required": false,
            "schema": {
              "default": "en",
              "description": "The language its words are in.",
              "enum": [
                "en",
                "es",
                "pt"
              ],
              "title": "Language",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Integrations"
                }
              }
            },
            "description": "Successful Response"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Bad request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Not found"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Invalid"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Too many requests"
          }
        },
        "summary": "Every integration with its state, grouped as the console's Integrations page shows them, and the scheduler and CRM the account picked.",
        "tags": [
          "integrations"
        ],
        "x-mcp": "list_integrations",
        "x-role": "member",
        "x-scope": "integrations:read"
      }
    },
    "/integrations/chilipiper/key": {
      "put": {
        "description": "A connection the account's owner made by signing in to the provider: which of the\nvendor's accounts it reaches (`label`), who made it and when. `connected` is false once\nit is removed.",
        "operationId": "integrations.connect_chilipiper",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ChiliPiperIn"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/IntegrationConnection"
                }
              }
            },
            "description": "Successful Response"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Bad request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Not found"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Invalid"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Too many requests"
          }
        },
        "summary": "Connect Chili Piper by an Edge API token with Concierge permissions; pick the router next. In preview.",
        "tags": [
          "integrations"
        ],
        "x-mcp": null,
        "x-role": "owner",
        "x-scope": "integrations:admin"
      }
    },
    "/integrations/chilipiper/router": {
      "get": {
        "description": "The router buyers go through, and the token's routers to pick from. `listed` false: the\ntoken can't list routers, so the router is named by hand. `typed` false: the token can't\nread the data fields' types (Data fields: Read), so only the router's own form gives them.",
        "operationId": "integrations.chilipiper_router",
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ChiliPiperRouters"
                }
              }
            },
            "description": "Successful Response"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Bad request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Not found"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Invalid"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Too many requests"
          }
        },
        "summary": "The Chili Piper router buyers go through, and the token's routers with what each field gets. In preview.",
        "tags": [
          "integrations"
        ],
        "x-mcp": null,
        "x-role": "owner",
        "x-scope": "integrations:admin"
      },
      "put": {
        "description": "The router buyers go through, and the token's routers to pick from. `listed` false: the\ntoken can't list routers, so the router is named by hand. `typed` false: the token can't\nread the data fields' types (Data fields: Read), so only the router's own form gives them.",
        "operationId": "integrations.choose_chilipiper_router",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ChiliPiperRouterIn"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ChiliPiperRouters"
                }
              }
            },
            "description": "Successful Response"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Bad request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Not found"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Invalid"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Too many requests"
          }
        },
        "summary": "Pick the Chili Piper router buyers go through and what each of its fields gets; it becomes the account's scheduler. In preview.",
        "tags": [
          "integrations"
        ],
        "x-mcp": null,
        "x-role": "owner",
        "x-scope": "integrations:admin"
      }
    },
    "/integrations/craft/link": {
      "put": {
        "description": "What a source of internal docs holds at its last read, and what that read left out.",
        "operationId": "integrations.connect_craft",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CraftLinkIn"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/InternalDocs"
                }
              }
            },
            "description": "Successful Response"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Bad request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Not found"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Invalid"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Too many requests"
          }
        },
        "summary": "Connect Craft by the link of an API connection made there for the documents the agent may answer from. In preview.",
        "tags": [
          "integrations"
        ],
        "x-mcp": null,
        "x-role": "owner",
        "x-scope": "integrations:admin"
      }
    },
    "/integrations/fathom/calls": {
      "get": {
        "description": "What a sales-call connection (Granola or Fathom) covers: the folders picked, the calls read, newest first,\nand how many are still to read (POST again while unread is above 0).",
        "operationId": "integrations.fathom_calls",
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SalesCalls"
                }
              }
            },
            "description": "Successful Response"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Bad request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Not found"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Invalid"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Too many requests"
          }
        },
        "summary": "The sales calls read from Fathom: what buyers asked and how reps answered, objections and how they were handled, how reps pitched. In preview.",
        "tags": [
          "integrations"
        ],
        "x-mcp": null,
        "x-role": "member",
        "x-scope": "integrations:admin"
      },
      "post": {
        "description": "What a sales-call connection (Granola or Fathom) covers: the folders picked, the calls read, newest first,\nand how many are still to read (POST again while unread is above 0).",
        "operationId": "integrations.read_fathom_calls",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/SalesCallsReadIn"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SalesCalls"
                }
              }
            },
            "description": "Successful Response"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Bad request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Not found"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Invalid"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Too many requests"
          }
        },
        "summary": "Read the Fathom sales calls not yet read, for up to 40 seconds; call again while unread is above 0. In preview.",
        "tags": [
          "integrations"
        ],
        "x-mcp": null,
        "x-role": "owner",
        "x-scope": "integrations:admin"
      }
    },
    "/integrations/fathom/key": {
      "put": {
        "description": "The folders and spaces the key reaches, and those picked.",
        "operationId": "integrations.connect_fathom",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/FathomKeyIn"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CallPlaces"
                }
              }
            },
            "description": "Successful Response"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Bad request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Not found"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Invalid"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Too many requests"
          }
        },
        "summary": "Connect Fathom by a user's API key made there: kept sealed, only ever read. Returns the teams and meeting types it reaches, to pick from. In preview.",
        "tags": [
          "integrations"
        ],
        "x-mcp": null,
        "x-role": "owner",
        "x-scope": "integrations:admin"
      }
    },
    "/integrations/fathom/places": {
      "get": {
        "description": "The folders and spaces the key reaches, and those picked.",
        "operationId": "integrations.fathom_places",
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CallPlaces"
                }
              }
            },
            "description": "Successful Response"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Bad request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Not found"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Invalid"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Too many requests"
          }
        },
        "summary": "The Fathom teams and meeting types the connected key reaches, and those picked as holding the sales calls. In preview.",
        "tags": [
          "integrations"
        ],
        "x-mcp": null,
        "x-role": "member",
        "x-scope": "integrations:admin"
      },
      "put": {
        "description": "What a sales-call connection (Granola or Fathom) covers: the folders picked, the calls read, newest first,\nand how many are still to read (POST again while unread is above 0).",
        "operationId": "integrations.pick_fathom_places",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CallPicksIn"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SalesCalls"
                }
              }
            },
            "description": "Successful Response"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Bad request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Not found"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Invalid"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Too many requests"
          }
        },
        "summary": "Pick the Fathom teams or meeting types holding the sales calls; their calls with someone from outside the company are listed, to be read. In preview.",
        "tags": [
          "integrations"
        ],
        "x-mcp": null,
        "x-role": "owner",
        "x-scope": "integrations:admin"
      }
    },
    "/integrations/granola/calls": {
      "get": {
        "description": "What a sales-call connection (Granola or Fathom) covers: the folders picked, the calls read, newest first,\nand how many are still to read (POST again while unread is above 0).",
        "operationId": "integrations.sales_calls",
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SalesCalls"
                }
              }
            },
            "description": "Successful Response"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Bad request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Not found"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Invalid"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Too many requests"
          }
        },
        "summary": "The sales calls read from Granola: what buyers asked and how reps answered, objections and how they were handled, how reps pitched. In preview.",
        "tags": [
          "integrations"
        ],
        "x-mcp": null,
        "x-role": "member",
        "x-scope": "integrations:admin"
      },
      "post": {
        "description": "What a sales-call connection (Granola or Fathom) covers: the folders picked, the calls read, newest first,\nand how many are still to read (POST again while unread is above 0).",
        "operationId": "integrations.read_sales_calls",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/SalesCallsReadIn"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SalesCalls"
                }
              }
            },
            "description": "Successful Response"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Bad request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Not found"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Invalid"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Too many requests"
          }
        },
        "summary": "Read the sales calls not yet read, for up to 40 seconds; call again while unread is above 0. In preview.",
        "tags": [
          "integrations"
        ],
        "x-mcp": null,
        "x-role": "owner",
        "x-scope": "integrations:admin"
      }
    },
    "/integrations/granola/key": {
      "put": {
        "description": "The folders and spaces the key reaches, and those picked.",
        "operationId": "integrations.connect_granola",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/GranolaKeyIn"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CallPlaces"
                }
              }
            },
            "description": "Successful Response"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Bad request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Not found"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Invalid"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Too many requests"
          }
        },
        "summary": "Connect Granola by an API key made there: kept sealed, only ever read. Returns the folders and spaces it reaches, to pick from. In preview.",
        "tags": [
          "integrations"
        ],
        "x-mcp": null,
        "x-role": "owner",
        "x-scope": "integrations:admin"
      }
    },
    "/integrations/granola/places": {
      "get": {
        "description": "The folders and spaces the key reaches, and those picked.",
        "operationId": "integrations.call_places",
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CallPlaces"
                }
              }
            },
            "description": "Successful Response"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Bad request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Not found"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Invalid"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Too many requests"
          }
        },
        "summary": "The Granola folders and spaces the connected key reaches, and those picked as holding the sales calls. In preview.",
        "tags": [
          "integrations"
        ],
        "x-mcp": null,
        "x-role": "member",
        "x-scope": "integrations:admin"
      },
      "put": {
        "description": "What a sales-call connection (Granola or Fathom) covers: the folders picked, the calls read, newest first,\nand how many are still to read (POST again while unread is above 0).",
        "operationId": "integrations.pick_call_places",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CallPicksIn"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SalesCalls"
                }
              }
            },
            "description": "Successful Response"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Bad request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Not found"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Invalid"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Too many requests"
          }
        },
        "summary": "Pick the Granola folders or spaces holding the sales calls; the calls there are listed, to be read. In preview.",
        "tags": [
          "integrations"
        ],
        "x-mcp": null,
        "x-role": "owner",
        "x-scope": "integrations:admin"
      }
    },
    "/integrations/hubspot_meetings/link": {
      "get": {
        "description": "The meeting link buyers book through HubSpot Meetings (`url`, empty until one is\npicked) and the links the connected HubSpot offers.",
        "operationId": "integrations.meeting_link",
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/MeetingLinks"
                }
              }
            },
            "description": "Successful Response"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Bad request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Not found"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Invalid"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Too many requests"
          }
        },
        "summary": "The HubSpot meeting link buyers book, and the connected HubSpot's links.",
        "tags": [
          "integrations"
        ],
        "x-mcp": null,
        "x-role": "owner",
        "x-scope": "integrations:admin"
      },
      "put": {
        "description": "The meeting link buyers book through HubSpot Meetings (`url`, empty until one is\npicked) and the links the connected HubSpot offers.",
        "operationId": "integrations.choose_meeting_link",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/MeetingLinkIn"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/MeetingLinks"
                }
              }
            },
            "description": "Successful Response"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Bad request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Not found"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Invalid"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Too many requests"
          }
        },
        "summary": "Pick which of the connected HubSpot's meeting links buyers book.",
        "tags": [
          "integrations"
        ],
        "x-mcp": null,
        "x-role": "owner",
        "x-scope": "integrations:admin"
      }
    },
    "/integrations/zendesk/audiences": {
      "get": {
        "operationId": "integrations.zendesk_audiences",
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ZendeskAudiences"
                }
              }
            },
            "description": "Successful Response"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Bad request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Not found"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Invalid"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Too many requests"
          }
        },
        "summary": "Who the connected Zendesk help center's articles are for (its user segments, or everyone), and those picked. In preview.",
        "tags": [
          "integrations"
        ],
        "x-mcp": null,
        "x-role": "member",
        "x-scope": "integrations:admin"
      },
      "put": {
        "description": "What a source of internal docs holds at its last read, and what that read left out.",
        "operationId": "integrations.pick_zendesk_audiences",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/AudiencePicksIn"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/InternalDocs"
                }
              }
            },
            "description": "Successful Response"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Bad request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Not found"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Invalid"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Too many requests"
          }
        },
        "summary": "Pick the audiences whose published Zendesk articles the agent may answer from; their articles are read. In preview.",
        "tags": [
          "integrations"
        ],
        "x-mcp": null,
        "x-role": "owner",
        "x-scope": "integrations:admin"
      }
    },
    "/integrations/zendesk/key": {
      "put": {
        "operationId": "integrations.connect_zendesk",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ZendeskKeyIn"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ZendeskAudiences"
                }
              }
            },
            "description": "Successful Response"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Bad request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Not found"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Invalid"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Too many requests"
          }
        },
        "summary": "Refused (404): Zendesk no longer connects by an API token. It connects by signing in (POST /integrations/zendesk/sign-in). In preview.",
        "tags": [
          "integrations"
        ],
        "x-mcp": null,
        "x-role": "owner",
        "x-scope": "integrations:admin"
      }
    },
    "/integrations/zendesk/sign-in": {
      "post": {
        "description": "Where to send the account's owner to approve the connection in the provider's own app.\nThey come back to the console, which finishes it (PUT /integrations/{id}/connection).",
        "operationId": "integrations.sign_in_zendesk",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ZendeskSignInIn"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/IntegrationConnect"
                }
              }
            },
            "description": "Successful Response"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Bad request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Not found"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Invalid"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Too many requests"
          }
        },
        "summary": "Start connecting Zendesk at its address: where to send the owner to sign in and approve Solacia's read-only access to its help center. The address is checked with Zendesk first: 422 when no Zendesk account holds it. Finished like any sign-in (PUT /integrations/zendesk/connection); then pick the audiences, which a connection by API token to the same account hands over. In preview.",
        "tags": [
          "integrations"
        ],
        "x-mcp": null,
        "x-role": "owner",
        "x-scope": "integrations:admin"
      }
    },
    "/integrations/{crm}/field-map": {
      "get": {
        "description": "Which of your own CRM fields get where each buyer came from, in the map's order. In preview.",
        "operationId": "integrations.field_map.get",
        "parameters": [
          {
            "in": "path",
            "name": "crm",
            "required": true,
            "schema": {
              "maxLength": 200,
              "title": "Crm",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "limit",
            "required": false,
            "schema": {
              "default": 50,
              "maximum": 200,
              "minimum": 1,
              "title": "Limit",
              "type": "integer"
            }
          },
          {
            "description": "The previous page's next_cursor; empty for the first page.",
            "in": "query",
            "name": "cursor",
            "required": false,
            "schema": {
              "default": "",
              "description": "The previous page's next_cursor; empty for the first page.",
              "maxLength": 2000,
              "title": "Cursor",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/FieldMap"
                }
              }
            },
            "description": "Successful Response"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Bad request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Not found"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Invalid"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Too many requests"
          }
        },
        "summary": "Which of your own CRM fields get where each buyer came from (your UTM tags, ad click ids, the page and the site), each checked against your CRM. In preview.",
        "tags": [
          "integrations"
        ],
        "x-mcp": null,
        "x-role": "member",
        "x-scope": "integrations:read"
      },
      "put": {
        "description": "Which of your own CRM fields get where each buyer came from, in the map's order. In preview.",
        "operationId": "integrations.field_map.set",
        "parameters": [
          {
            "in": "path",
            "name": "crm",
            "required": true,
            "schema": {
              "maxLength": 200,
              "title": "Crm",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/FieldMapIn"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/FieldMap"
                }
              }
            },
            "description": "Successful Response"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Bad request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Not found"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Invalid"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Too many requests"
          }
        },
        "summary": "Save which of your own CRM fields get where each buyer came from: the whole map, replacing the one before. In preview.",
        "tags": [
          "integrations"
        ],
        "x-mcp": null,
        "x-role": "owner",
        "x-scope": "integrations:admin"
      }
    },
    "/integrations/{crm}/field-map/draft": {
      "post": {
        "description": "A field map drafted from your document, not saved: each row checked against your CRM\nwhen it is connected, the rows left out and why, and what the document leaves open. Save it\nwith PUT /integrations/{crm}/field-map once a person has read it. In preview.",
        "operationId": "integrations.field_map.draft",
        "parameters": [
          {
            "in": "path",
            "name": "crm",
            "required": true,
            "schema": {
              "maxLength": 200,
              "title": "Crm",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/FieldMapDraftIn"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/FieldMapDraft"
                }
              }
            },
            "description": "Successful Response"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Bad request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Not found"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Invalid"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Too many requests"
          }
        },
        "summary": "Draft your field map from your account of your CRM process (a PDF, a Word file or text): which of your own CRM fields get where the buyer came from, how the demo went and the lead's stage, checked against your CRM, with what the document leaves open. Saves nothing. In preview.",
        "tags": [
          "integrations"
        ],
        "x-mcp": null,
        "x-role": "owner",
        "x-scope": "integrations:admin"
      }
    },
    "/integrations/{crm}/field-map/preview": {
      "post": {
        "description": "What a new lead from that buyer would get in each of your own fields. Nothing is written.",
        "operationId": "integrations.field_map.preview",
        "parameters": [
          {
            "in": "path",
            "name": "crm",
            "required": true,
            "schema": {
              "maxLength": 200,
              "title": "Crm",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/FieldMapPreviewIn"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/FieldMapPreview"
                }
              }
            },
            "description": "Successful Response"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Bad request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Not found"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Invalid"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Too many requests"
          }
        },
        "summary": "What a new lead from a buyer who opens a link would get in each of your own CRM fields, by your saved map, and why a field stays empty. Writes nothing. In preview.",
        "tags": [
          "integrations"
        ],
        "x-mcp": null,
        "x-role": "member",
        "x-scope": "integrations:read"
      }
    },
    "/integrations/{crm}/fields": {
      "get": {
        "description": "Your CRM's fields Solacia may write, by name, for a field map. In preview.",
        "operationId": "integrations.crm_fields.list",
        "parameters": [
          {
            "in": "path",
            "name": "crm",
            "required": true,
            "schema": {
              "maxLength": 200,
              "title": "Crm",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "limit",
            "required": false,
            "schema": {
              "default": 50,
              "maximum": 200,
              "minimum": 1,
              "title": "Limit",
              "type": "integer"
            }
          },
          {
            "description": "The previous page's next_cursor; empty for the first page.",
            "in": "query",
            "name": "cursor",
            "required": false,
            "schema": {
              "default": "",
              "description": "The previous page's next_cursor; empty for the first page.",
              "maxLength": 2000,
              "title": "Cursor",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CrmFields"
                }
              }
            },
            "description": "Successful Response"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Bad request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Not found"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Invalid"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Too many requests"
          }
        },
        "summary": "Your CRM's fields Solacia may write (Salesforce's Lead fields, HubSpot's contact properties), with each closed list's values: what your field map's rows are picked from. In preview.",
        "tags": [
          "integrations"
        ],
        "x-mcp": null,
        "x-role": "member",
        "x-scope": "integrations:read"
      }
    },
    "/integrations/{id}/connect": {
      "post": {
        "description": "Where to send the account's owner to approve the connection in the provider's own app.\nThey come back to the console, which finishes it (PUT /integrations/{id}/connection).",
        "operationId": "integrations.connect",
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "maxLength": 200,
              "title": "Id",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/IntegrationConnect"
                }
              }
            },
            "description": "Successful Response"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Bad request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Not found"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Invalid"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Too many requests"
          }
        },
        "summary": "Start connecting a provider by its owner signing in there: where to send them.",
        "tags": [
          "integrations"
        ],
        "x-mcp": null,
        "x-role": "owner",
        "x-scope": "integrations:admin"
      }
    },
    "/integrations/{id}/connection": {
      "delete": {
        "description": "A connection the account's owner made by signing in to the provider: which of the\nvendor's accounts it reaches (`label`), who made it and when. `connected` is false once\nit is removed.",
        "operationId": "integrations.disconnect",
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "maxLength": 200,
              "title": "Id",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/IntegrationConnection"
                }
              }
            },
            "description": "Successful Response"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Bad request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Not found"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Invalid"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Too many requests"
          }
        },
        "summary": "Remove a connection the owner made, and Solacia's app from their account.",
        "tags": [
          "integrations"
        ],
        "x-mcp": null,
        "x-role": "owner",
        "x-scope": "integrations:admin"
      },
      "put": {
        "description": "A connection the account's owner made by signing in to the provider: which of the\nvendor's accounts it reaches (`label`), who made it and when. `connected` is false once\nit is removed.",
        "operationId": "integrations.finish",
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "maxLength": 200,
              "title": "Id",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/IntegrationConnectionIn"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/IntegrationConnection"
                }
              }
            },
            "description": "Successful Response"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Bad request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Not found"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Invalid"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Too many requests"
          }
        },
        "summary": "Finish connecting a provider with what it sent the owner back with.",
        "tags": [
          "integrations"
        ],
        "x-mcp": null,
        "x-role": "owner",
        "x-scope": "integrations:admin"
      }
    },
    "/integrations/{id}/docs": {
      "get": {
        "description": "What a source of internal docs holds at its last read, and what that read left out.",
        "operationId": "integrations.docs",
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "maxLength": 200,
              "title": "Id",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/InternalDocs"
                }
              }
            },
            "description": "Successful Response"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Bad request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Not found"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Invalid"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Too many requests"
          }
        },
        "summary": "The internal documents a connected source (drive, craft or zendesk) lets the agent answer from. In preview.",
        "tags": [
          "integrations"
        ],
        "x-mcp": null,
        "x-role": "member",
        "x-scope": "integrations:admin"
      },
      "post": {
        "description": "What a source of internal docs holds at its last read, and what that read left out.",
        "operationId": "integrations.sync_docs",
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "maxLength": 200,
              "title": "Id",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/InternalDocs"
                }
              }
            },
            "description": "Successful Response"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Bad request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Not found"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Invalid"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Too many requests"
          }
        },
        "summary": "Read a source of internal docs (drive, craft or zendesk) again, so the agent answers from what it holds now. In preview.",
        "tags": [
          "integrations"
        ],
        "x-mcp": null,
        "x-role": "owner",
        "x-scope": "integrations:admin"
      }
    },
    "/integrations/{id}/event_type": {
      "get": {
        "description": "The event buyers book through a connected scheduler (`chosen`, none until one is\npicked) and the event types it offers.",
        "operationId": "integrations.event_type",
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "maxLength": 200,
              "title": "Id",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/EventTypes"
                }
              }
            },
            "description": "Successful Response"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Bad request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Not found"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Invalid"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Too many requests"
          }
        },
        "summary": "The event buyers book in a connected scheduler, and its event types.",
        "tags": [
          "integrations"
        ],
        "x-mcp": null,
        "x-role": "owner",
        "x-scope": "integrations:admin"
      },
      "put": {
        "description": "The event buyers book through a connected scheduler (`chosen`, none until one is\npicked) and the event types it offers.",
        "operationId": "integrations.choose_event_type",
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "maxLength": 200,
              "title": "Id",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/EventTypeIn"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/EventTypes"
                }
              }
            },
            "description": "Successful Response"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Bad request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Not found"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Invalid"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Too many requests"
          }
        },
        "summary": "Pick which of the connected scheduler's event types buyers book.",
        "tags": [
          "integrations"
        ],
        "x-mcp": null,
        "x-role": "owner",
        "x-scope": "integrations:admin"
      }
    },
    "/integrations/{kind}": {
      "put": {
        "description": "Which provider the account uses for a kind of integration, and where that came from:\npicked here or in the console (\"console\"), or the account's setup (\"setup\").",
        "operationId": "integrations.choose",
        "parameters": [
          {
            "in": "path",
            "name": "kind",
            "required": true,
            "schema": {
              "maxLength": 200,
              "title": "Kind",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/IntegrationChoiceIn"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/IntegrationChoice"
                }
              }
            },
            "description": "Successful Response"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Bad request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Not found"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Invalid"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Too many requests"
          }
        },
        "summary": "Pick the one provider the account uses for a kind: crm or scheduling.",
        "tags": [
          "integrations"
        ],
        "x-mcp": null,
        "x-role": "owner",
        "x-scope": "integrations:admin"
      }
    },
    "/internal-docs": {
      "get": {
        "description": "The side the agent follows, what is in dispute, and how many internal documents are\nstill to be checked against the public docs (POST /internal-docs/check until 0).",
        "operationId": "internal_docs.disputes",
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DocsDisputes"
                }
              }
            },
            "description": "Successful Response"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Bad request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Not found"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Invalid"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Too many requests"
          }
        },
        "summary": "Where the internal docs and the public docs state one thing two ways, and which side the agent follows. In preview.",
        "tags": [
          "integrations"
        ],
        "x-mcp": null,
        "x-role": "member",
        "x-scope": "integrations:admin"
      },
      "put": {
        "description": "The side the agent follows, what is in dispute, and how many internal documents are\nstill to be checked against the public docs (POST /internal-docs/check until 0).",
        "operationId": "internal_docs.choose",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/InternalDocsChoice"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DocsDisputes"
                }
              }
            },
            "description": "Successful Response"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Bad request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Not found"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Invalid"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Too many requests"
          }
        },
        "summary": "Pick the side the agent follows where the internal docs and the public docs disagree: internal or public. In preview.",
        "tags": [
          "integrations"
        ],
        "x-mcp": null,
        "x-role": "owner",
        "x-scope": "integrations:admin"
      }
    },
    "/internal-docs/check": {
      "post": {
        "description": "The side the agent follows, what is in dispute, and how many internal documents are\nstill to be checked against the public docs (POST /internal-docs/check until 0).",
        "operationId": "internal_docs.check",
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DocsDisputes"
                }
              }
            },
            "description": "Successful Response"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Bad request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Not found"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Invalid"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Too many requests"
          }
        },
        "summary": "Check the internal docs not yet checked against the public docs, for up to 35 seconds; call again while unchecked is above 0. In preview.",
        "tags": [
          "integrations"
        ],
        "x-mcp": null,
        "x-role": "owner",
        "x-scope": "integrations:admin"
      }
    },
    "/leads": {
      "get": {
        "operationId": "leads.list",
        "parameters": [
          {
            "description": "Words to find in what the buyer asked, their email, company or fit.",
            "in": "query",
            "name": "q",
            "required": false,
            "schema": {
              "default": "",
              "description": "Words to find in what the buyer asked, their email, company or fit.",
              "maxLength": 200,
              "title": "Q",
              "type": "string"
            }
          },
          {
            "description": "Only demos active at or after this time, ISO 8601 (e.g. 2026-10-01T00:00:00Z).",
            "in": "query",
            "name": "since",
            "required": false,
            "schema": {
              "default": "",
              "description": "Only demos active at or after this time, ISO 8601 (e.g. 2026-10-01T00:00:00Z).",
              "maxLength": 40,
              "title": "Since",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "priority",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "enum": [
                    "hot",
                    "warm",
                    "nurture",
                    "cold"
                  ],
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Priority"
            }
          },
          {
            "description": "Only buyers who came in by a demo link of this campaign; an empty value, buyers with none.",
            "in": "query",
            "name": "campaign",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "maxLength": 80,
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "description": "Only buyers who came in by a demo link of this campaign; an empty value, buyers with none.",
              "title": "Campaign"
            }
          },
          {
            "description": "Include test demos.",
            "in": "query",
            "name": "tests",
            "required": false,
            "schema": {
              "default": false,
              "description": "Include test demos.",
              "title": "Tests",
              "type": "boolean"
            }
          },
          {
            "description": "Read the record again instead of the last few seconds' copy. Costs one more unit.",
            "in": "query",
            "name": "fresh",
            "required": false,
            "schema": {
              "default": false,
              "description": "Read the record again instead of the last few seconds' copy. Costs one more unit.",
              "title": "Fresh",
              "type": "boolean"
            }
          },
          {
            "description": "The previous page's next_cursor; empty for the first page.",
            "in": "query",
            "name": "cursor",
            "required": false,
            "schema": {
              "default": "",
              "description": "The previous page's next_cursor; empty for the first page.",
              "maxLength": 2000,
              "title": "Cursor",
              "type": "string"
            }
          },
          {
            "description": "Records per page; 50 per unit.",
            "in": "query",
            "name": "limit",
            "required": false,
            "schema": {
              "default": 50,
              "description": "Records per page; 50 per unit.",
              "maximum": 200,
              "minimum": 1,
              "title": "Limit",
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/LeadPage"
                }
              }
            },
            "description": "Successful Response"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Bad request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Not found"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Invalid"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Too many requests"
          }
        },
        "summary": "Every buyer as a lead record, hottest first.",
        "tags": [
          "leads"
        ],
        "x-mcp": null,
        "x-role": "member",
        "x-scope": "leads:read"
      }
    },
    "/leads/{id}": {
      "get": {
        "description": "One buyer, as of `at`: who they are, why the lead matters, what they saw and asked, whether\nthey want the team, and the follow-up drafted for them. The same record a CRM receives.",
        "operationId": "leads.get",
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "maxLength": 200,
              "title": "Id",
              "type": "string"
            }
          },
          {
            "description": "Comma-separated: transcript, calls, deals.",
            "in": "query",
            "name": "include",
            "required": false,
            "schema": {
              "default": "",
              "description": "Comma-separated: transcript, calls, deals.",
              "maxLength": 40,
              "title": "Include",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Lead"
                }
              }
            },
            "description": "Successful Response"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Bad request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Not found"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Invalid"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Too many requests"
          }
        },
        "summary": "One buyer's lead record, with the transcript, calls and CRM deals on request.",
        "tags": [
          "leads"
        ],
        "x-mcp": "get_buyer",
        "x-role": "member",
        "x-scope": "leads:read"
      }
    },
    "/mail/events": {
      "get": {
        "description": "Whether SES's events on the routed emails reach Solacia: the console's proof.",
        "operationId": "mail.events_status",
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/MailEventsStatus"
                }
              }
            },
            "description": "Successful Response"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Bad request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Not found"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Invalid"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Too many requests"
          }
        },
        "summary": "Whether SES's events on the routed emails reach Solacia: the key, the configuration set and SNS's last post.",
        "tags": [
          "integrations"
        ],
        "x-mcp": null,
        "x-role": "solacia",
        "x-scope": "integrations:admin"
      },
      "post": {
        "description": "What came of it: confirmed (the subscription), kept (with its buyer), ignored (not an\nevent we keep), unmatched (no product or buyer in its tags).",
        "operationId": "mail.events",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/SnsPost"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/MailEventTaken"
                }
              }
            },
            "description": "Successful Response"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Bad request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Not found"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Invalid"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Too many requests"
          }
        },
        "summary": "SES's events on the emails routed to the team (delivered, bounced, opened), as SNS posts them; each is kept with the buyer it names. For Solacia's own SNS subscription.",
        "tags": [
          "integrations"
        ],
        "x-mcp": null,
        "x-role": "solacia",
        "x-scope": "mail:events"
      }
    },
    "/mail/events/key": {
      "post": {
        "operationId": "mail.events_key",
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/MailEventsKeyMade"
                }
              }
            },
            "description": "Successful Response"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Bad request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Not found"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Invalid"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Too many requests"
          }
        },
        "summary": "A key for SNS to post SES's events with, shown once; the one before it stops working.",
        "tags": [
          "integrations"
        ],
        "x-mcp": null,
        "x-role": "solacia",
        "x-scope": "integrations:admin"
      }
    },
    "/me": {
      "get": {
        "description": "The caller, a person who signs in to the console. In preview.",
        "operationId": "me.get",
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Person"
                }
              }
            },
            "description": "Successful Response"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Bad request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Not found"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Invalid"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Too many requests"
          }
        },
        "summary": "The caller's own account: name, email and access. For a person signed in to the console.",
        "tags": [
          "team"
        ],
        "x-mcp": null,
        "x-role": "member",
        "x-scope": null
      },
      "put": {
        "description": "The caller, a person who signs in to the console. In preview.",
        "operationId": "me.rename",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/MeNameIn"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Person"
                }
              }
            },
            "description": "Successful Response"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Bad request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Not found"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Invalid"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Too many requests"
          }
        },
        "summary": "Change the caller's own name, as the team sees it.",
        "tags": [
          "team"
        ],
        "x-mcp": null,
        "x-role": "member",
        "x-scope": null
      }
    },
    "/me/language": {
      "put": {
        "description": "The caller, a person who signs in to the console. In preview.",
        "operationId": "me.language",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/MeLanguageIn"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Person"
                }
              }
            },
            "description": "Successful Response"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Bad request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Not found"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Invalid"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Too many requests"
          }
        },
        "summary": "Pick the language the caller's own console speaks: en, es or pt. In preview.",
        "tags": [
          "team"
        ],
        "x-mcp": null,
        "x-role": "member",
        "x-scope": null
      }
    },
    "/me/password": {
      "post": {
        "description": "The caller, a person who signs in to the console. In preview.",
        "operationId": "me.password",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/MePasswordIn"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Person"
                }
              }
            },
            "description": "Successful Response"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Bad request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Not found"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Invalid"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Too many requests"
          }
        },
        "summary": "Change the caller's own password, given the current one. Every session of theirs ends, this one too; the console's own form keeps its browser signed in.",
        "tags": [
          "team"
        ],
        "x-mcp": null,
        "x-role": "member",
        "x-scope": null
      }
    },
    "/me/picture": {
      "put": {
        "description": "The caller, a person who signs in to the console. In preview.",
        "operationId": "me.picture",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/MePictureIn"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Person"
                }
              }
            },
            "description": "Successful Response"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Bad request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Not found"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Invalid"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Too many requests"
          }
        },
        "summary": "Change the caller's own picture, as the team sees it; an empty image takes it away.",
        "tags": [
          "team"
        ],
        "x-mcp": null,
        "x-role": "member",
        "x-scope": null
      }
    },
    "/me/sign-out-everywhere": {
      "post": {
        "description": "The caller, a person who signs in to the console. In preview.",
        "operationId": "me.sign_out_everywhere",
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Person"
                }
              }
            },
            "description": "Successful Response"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Bad request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Not found"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Invalid"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Too many requests"
          }
        },
        "summary": "End every session of the caller's, this one too. In preview.",
        "tags": [
          "team"
        ],
        "x-mcp": null,
        "x-role": "member",
        "x-scope": null
      }
    },
    "/me/started": {
      "get": {
        "description": "The caller's first steps in the console, each done or not; none once every one was done,\nfor Solacia's own people, or for a key.",
        "operationId": "me.started",
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Started"
                }
              }
            },
            "description": "Successful Response"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Bad request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Not found"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Invalid"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Too many requests"
          }
        },
        "summary": "The caller's first steps in the console, each done or not, ticked off from what is true; none once all were done. For a person signed in to the console. In preview.",
        "tags": [
          "team"
        ],
        "x-mcp": null,
        "x-role": "member",
        "x-scope": null
      }
    },
    "/me/two-step": {
      "get": {
        "description": "The caller's two-step sign-in. In preview.",
        "operationId": "two_step.get",
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TwoStepState"
                }
              }
            },
            "description": "Successful Response"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Bad request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Not found"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Invalid"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Too many requests"
          }
        },
        "summary": "The caller's two-step sign-in: whether it is on, and the backup codes left. In preview.",
        "tags": [
          "team"
        ],
        "x-mcp": null,
        "x-role": "member",
        "x-scope": null
      },
      "post": {
        "description": "A new secret for the authenticator app: scan `qr` (an SVG data: URI) or type `secret`. Two-step\nsign-in turns on with the app's first code (POST /me/two-step/confirm).",
        "operationId": "two_step.start",
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TwoStepSetup"
                }
              }
            },
            "description": "Successful Response"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Bad request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Not found"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Invalid"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Too many requests"
          }
        },
        "summary": "Start two-step sign-in: a new secret for the caller's authenticator app. In preview.",
        "tags": [
          "team"
        ],
        "x-mcp": null,
        "x-role": "member",
        "x-scope": null
      }
    },
    "/me/two-step/backup-codes": {
      "post": {
        "description": "Backup codes, shown this once: each signs in once when the phone is lost.",
        "operationId": "two_step.backup_codes",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/TwoStepCodeIn"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TwoStepCodes"
                }
              }
            },
            "description": "Successful Response"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Bad request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Not found"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Invalid"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Too many requests"
          }
        },
        "summary": "Ten new backup codes in place of the old ones, for a right code. In preview.",
        "tags": [
          "team"
        ],
        "x-mcp": null,
        "x-role": "member",
        "x-scope": null
      }
    },
    "/me/two-step/confirm": {
      "post": {
        "description": "Backup codes, shown this once: each signs in once when the phone is lost.",
        "operationId": "two_step.confirm",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/TwoStepCodeIn"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TwoStepCodes"
                }
              }
            },
            "description": "Successful Response"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Bad request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Not found"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Invalid"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Too many requests"
          }
        },
        "summary": "Turn two-step sign-in on with the app's first code; answers the backup codes, once. In preview.",
        "tags": [
          "team"
        ],
        "x-mcp": null,
        "x-role": "member",
        "x-scope": null
      }
    },
    "/me/two-step/off": {
      "post": {
        "description": "The caller's two-step sign-in. In preview.",
        "operationId": "two_step.off",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/TwoStepCodeIn"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TwoStepState"
                }
              }
            },
            "description": "Successful Response"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Bad request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Not found"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Invalid"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Too many requests"
          }
        },
        "summary": "Turn the caller's two-step sign-in off, with a code from the app or a backup code. In preview.",
        "tags": [
          "team"
        ],
        "x-mcp": null,
        "x-role": "member",
        "x-scope": null
      }
    },
    "/questions": {
      "get": {
        "operationId": "questions.list",
        "parameters": [
          {
            "in": "query",
            "name": "q",
            "required": false,
            "schema": {
              "default": "",
              "maxLength": 200,
              "title": "Q",
              "type": "string"
            }
          },
          {
            "description": "Only demos active at or after this time, ISO 8601 (e.g. 2026-10-01T00:00:00Z).",
            "in": "query",
            "name": "since",
            "required": false,
            "schema": {
              "default": "",
              "description": "Only demos active at or after this time, ISO 8601 (e.g. 2026-10-01T00:00:00Z).",
              "maxLength": 40,
              "title": "Since",
              "type": "string"
            }
          },
          {
            "description": "true: answered from a source or in the call; false: not.",
            "in": "query",
            "name": "answered",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "boolean"
                },
                {
                  "type": "null"
                }
              ],
              "description": "true: answered from a source or in the call; false: not.",
              "title": "Answered"
            }
          },
          {
            "in": "query",
            "name": "tests",
            "required": false,
            "schema": {
              "default": false,
              "title": "Tests",
              "type": "boolean"
            }
          },
          {
            "in": "query",
            "name": "fresh",
            "required": false,
            "schema": {
              "default": false,
              "title": "Fresh",
              "type": "boolean"
            }
          },
          {
            "description": "The previous page's next_cursor; empty for the first page.",
            "in": "query",
            "name": "cursor",
            "required": false,
            "schema": {
              "default": "",
              "description": "The previous page's next_cursor; empty for the first page.",
              "maxLength": 2000,
              "title": "Cursor",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "limit",
            "required": false,
            "schema": {
              "default": 50,
              "maximum": 200,
              "minimum": 1,
              "title": "Limit",
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/QuestionPage"
                }
              }
            },
            "description": "Successful Response"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Bad request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Not found"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Invalid"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Too many requests"
          }
        },
        "summary": "Every question buyers asked, newest first, with how well it was answered.",
        "tags": [
          "questions"
        ],
        "x-mcp": "list_questions",
        "x-role": "member",
        "x-scope": "demos:read"
      }
    },
    "/routing": {
      "get": {
        "description": "The account's rules, the people to pick from, the product's rules a condition can name,\nwhether this environment sends email, and where the latest buyers go.",
        "operationId": "routing.get",
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Routing"
                }
              }
            },
            "description": "Successful Response"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Bad request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Not found"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Invalid"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Too many requests"
          }
        },
        "summary": "Who on the team hears about which buyers, and where the latest buyers went. In preview.",
        "tags": [
          "integrations"
        ],
        "x-mcp": null,
        "x-role": "member",
        "x-scope": "integrations:admin"
      },
      "put": {
        "description": "The account's rules, the people to pick from, the product's rules a condition can name,\nwhether this environment sends email, and where the latest buyers go.",
        "operationId": "routing.set",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/RoutingIn"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Routing"
                }
              }
            },
            "description": "Successful Response"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Bad request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Not found"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Invalid"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Too many requests"
          }
        },
        "summary": "Keep the account's routing rules, in order: the first that fits a buyer decides. In preview.",
        "tags": [
          "integrations"
        ],
        "x-mcp": null,
        "x-role": "owner",
        "x-scope": "integrations:admin"
      }
    },
    "/routing/preview": {
      "post": {
        "operationId": "routing.preview",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/RoutingIn"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RoutingPreview"
                }
              }
            },
            "description": "Successful Response"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Bad request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Not found"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Invalid"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Too many requests"
          }
        },
        "summary": "Where the latest buyers would go under rules not saved yet. In preview.",
        "tags": [
          "integrations"
        ],
        "x-mcp": null,
        "x-role": "member",
        "x-scope": "integrations:admin"
      }
    },
    "/routing/test": {
      "post": {
        "description": "Whether the test went, to whom, and why not.",
        "operationId": "routing.test",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/RoutingTestIn"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RoutingTest"
                }
              }
            },
            "description": "Successful Response"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Bad request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Not found"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Invalid"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Too many requests"
          }
        },
        "summary": "Email one saved rule's people the latest buyer's brief, marked as a test. In preview.",
        "tags": [
          "integrations"
        ],
        "x-mcp": null,
        "x-role": "owner",
        "x-scope": "integrations:admin"
      }
    },
    "/team": {
      "get": {
        "description": "Who can sign in to the account's console, the invitations out, and whether the caller\nmay change either. In preview: invitations and changes are off for most accounts.",
        "operationId": "team.list",
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Team"
                }
              }
            },
            "description": "Successful Response"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Bad request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Not found"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Invalid"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Too many requests"
          }
        },
        "summary": "Who can sign in to the account's console, and the invitations out.",
        "tags": [
          "team"
        ],
        "x-mcp": null,
        "x-role": "member",
        "x-scope": "team:admin"
      }
    },
    "/team/hand-over": {
      "post": {
        "description": "Who can sign in to the account's console, the invitations out, and whether the caller\nmay change either. In preview: invitations and changes are off for most accounts.",
        "operationId": "team.hand_over",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/TeamHandOverIn"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Team"
                }
              }
            },
            "description": "Successful Response"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Bad request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Not found"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Invalid"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Too many requests"
          }
        },
        "summary": "Give everyone a person's Handoff rules send them to someone else, with their share of the turns: before removing them, or when their alerts bounce.",
        "tags": [
          "team"
        ],
        "x-mcp": null,
        "x-role": "owner",
        "x-scope": "integrations:admin"
      }
    },
    "/team/invitations": {
      "post": {
        "description": "The invitation made, and its link: shown this once. `sent` says whether the email went;\nwhen it didn't, `detail` says why and the link is for the caller to send.",
        "operationId": "team.invite",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/TeamInviteIn"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TeamInvited"
                }
              }
            },
            "description": "Successful Response"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Bad request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Not found"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Invalid"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Too many requests"
          }
        },
        "summary": "Invite someone by email, as an owner or a member; their link is in the answer, once.",
        "tags": [
          "team"
        ],
        "x-mcp": null,
        "x-role": "owner",
        "x-scope": "team:admin"
      }
    },
    "/team/invitations/{email}": {
      "delete": {
        "description": "Who can sign in to the account's console, the invitations out, and whether the caller\nmay change either. In preview: invitations and changes are off for most accounts.",
        "operationId": "team.withdraw",
        "parameters": [
          {
            "in": "path",
            "name": "email",
            "required": true,
            "schema": {
              "maxLength": 200,
              "title": "Email",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Team"
                }
              }
            },
            "description": "Successful Response"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Bad request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Not found"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Invalid"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Too many requests"
          }
        },
        "summary": "Withdraw an invitation: its link stops working.",
        "tags": [
          "team"
        ],
        "x-mcp": null,
        "x-role": "owner",
        "x-scope": "team:admin"
      }
    },
    "/team/members/{email}": {
      "delete": {
        "description": "Who can sign in to the account's console, the invitations out, and whether the caller\nmay change either. In preview: invitations and changes are off for most accounts.",
        "operationId": "team.remove",
        "parameters": [
          {
            "in": "path",
            "name": "email",
            "required": true,
            "schema": {
              "maxLength": 200,
              "title": "Email",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Team"
                }
              }
            },
            "description": "Successful Response"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Bad request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Not found"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Invalid"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Too many requests"
          }
        },
        "summary": "Take someone off the team: they are signed out everywhere. Hand their buyers over first (POST /v1/team/hand-over) so their Handoff rules keep reaching a person.",
        "tags": [
          "team"
        ],
        "x-mcp": null,
        "x-role": "owner",
        "x-scope": "team:admin"
      },
      "put": {
        "description": "Who can sign in to the account's console, the invitations out, and whether the caller\nmay change either. In preview: invitations and changes are off for most accounts.",
        "operationId": "team.change",
        "parameters": [
          {
            "in": "path",
            "name": "email",
            "required": true,
            "schema": {
              "maxLength": 200,
              "title": "Email",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/TeamRoleIn"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Team"
                }
              }
            },
            "description": "Successful Response"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Bad request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Not found"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Invalid"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Too many requests"
          }
        },
        "summary": "Change someone's role. The last owner stays an owner.",
        "tags": [
          "team"
        ],
        "x-mcp": null,
        "x-role": "owner",
        "x-scope": "team:admin"
      }
    },
    "/team/members/{email}/two-step": {
      "delete": {
        "description": "Who can sign in to the account's console, the invitations out, and whether the caller\nmay change either. In preview: invitations and changes are off for most accounts.",
        "operationId": "team.two_step_reset",
        "parameters": [
          {
            "in": "path",
            "name": "email",
            "required": true,
            "schema": {
              "maxLength": 200,
              "title": "Email",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Team"
                }
              }
            },
            "description": "Successful Response"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Bad request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Not found"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Invalid"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Too many requests"
          }
        },
        "summary": "Turn off someone's two-step sign-in when they lost their phone; they sign in with their password. In preview.",
        "tags": [
          "team"
        ],
        "x-mcp": null,
        "x-role": "owner",
        "x-scope": "team:admin"
      }
    },
    "/voice-samples": {
      "post": {
        "operationId": "agents.voice_sample",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/VoiceSampleIn"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/VoiceSample"
                }
              }
            },
            "description": "Successful Response"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Bad request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Not found"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Invalid"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              },
              "application/problem+json": {}
            },
            "description": "Too many requests"
          }
        },
        "summary": "Hear a voice an agent can have: it says the start of the account's opening in that language. In preview.",
        "tags": [
          "agents"
        ],
        "x-mcp": null,
        "x-role": "owner",
        "x-scope": "agents:admin"
      }
    }
  },
  "security": [
    {
      "apiKey": []
    }
  ],
  "servers": [
    {
      "description": "The key says which account.",
      "url": "https://app.solacia.ai/v1"
    }
  ]
}
