{
  "openapi": "3.1.0",
  "info": {
    "title": "Vieu Partner API",
    "version": "2.0.0",
    "summary": "Programmatic access to Vieu partner data and workflows.",
    "description": "The Vieu Partner API provides tenant-scoped, read/write access to the\ndata that powers Vieu's partner workflows: person and company resolution, pinned\nintroductions, their notes and drafted outreach messages, status updates,\nand plain-English explanations of each connection path.\n\n# Authentication\n\nAll requests authenticate with an API key passed in the `x-api-key`\nheader.\n\n```http\nGET /api/v2/introductions\nHost: api.vieu.com\nx-api-key: 0f4k_<redacted>\n```\n\nYour tenant admins provision API keys from Vieu's settings, and can\nrotate or revoke them there at any time. Each key carries one or more\n**scopes** that gate which endpoints it can call. The scopes available\nto partner integrations are:\n\n| Scope                     | Grants access to                                           |\n| ------------------------- | ---------------------------------------------------------- |\n| `introduction:read-write` | All `/introductions*` routes                               |\n| `account:read-write`      | All `/accounts*` routes (incl. account lists) and search   |\n| `person:read`             | Person search, profile, contact, and person lists          |\n| `connection:read`         | Warm-connection search and path explanation                |\n\nEvery endpoint description lists the scope(s) it accepts. A request\nwith a valid key but an insufficient scope returns `403 Forbidden`\nwith `reason: SCOPE_INSUFFICIENT`.\n\n- Attempting to access a resource id (e.g. an introduction) that does\n  not belong to the key's tenant returns `404 Not Found`.\n\n# Pagination\n\nList endpoints use offset-based pagination:\n\n- `page`: 0-indexed page number (default `0`)\n- `pageSize`: entries per page (default `100`, maximum `100`)\n\nResponses include `page`, `pageSize`, and `totalCount` so clients can\nloop until `page * pageSize >= totalCount`.\n\n# Errors\n\nAll errors return a JSON body with at least a `message` field. HTTP\nstatus codes follow standard conventions:\n\n| Status | Meaning |\n| ------ | ------- |\n| 400    | Malformed request (validation failure) |\n| 401    | Missing or invalid API key |\n| 403    | Key lacks the scope required by this endpoint |\n| 404    | Resource not found (or not owned by your tenant) |\n| 429    | API key rate limit exceeded |\n| 500    | Unexpected server error |\n\n# Rate limits\n\nEach API key has its own limit of 1,000 requests per minute by default.\nLimits are not shared across keys. `429` responses include a\n`Retry-After` header.\n"
  },
  "servers": [
    {
      "url": "https://api.vieu.com/api/v2",
      "description": "Production"
    },
    {
      "url": "http://localhost:8000/api/v2",
      "description": "Local development"
    }
  ],
  "tags": [
    {
      "name": "Person",
      "description": "Search people and read their contact details (email).\n"
    },
    {
      "name": "Account",
      "description": "Search accounts (companies) and read your account plans. List the\ngenerated stakeholders for an account and trigger stakeholder generation\n(power pod seeding).\n"
    },
    {
      "name": "Introductions",
      "description": "Pinned introductions for your tenant: list them, read one by uid, set\nstatus, add notes, and generate a plain-English explanation for why the\nintroduction exists.\n"
    },
    {
      "name": "Connections",
      "description": "Warm-introduction path search. Find who your company can reach at a\ntarget company or person, and explain a path hop-by-hop. Scope a search\nto a saved person list (see People › lists).\n"
    }
  ],
  "security": [
    {
      "ApiKeyAuth": []
    }
  ],
  "components": {
    "securitySchemes": {
      "ApiKeyAuth": {
        "type": "apiKey",
        "in": "header",
        "name": "x-api-key",
        "description": "Tenant-scoped API key, provisioned by your tenant admins in Vieu's settings."
      }
    },
    "parameters": {
      "ListOwnerEmail": {
        "name": "ownerEmail",
        "in": "query",
        "required": false,
        "description": "Only lists owned by this email. Case-insensitive exact match.",
        "schema": {
          "type": "string"
        },
        "example": "jane@acme.com"
      },
      "ListName": {
        "name": "name",
        "in": "query",
        "required": false,
        "description": "Only lists whose name contains this text. Case-insensitive.",
        "schema": {
          "type": "string"
        },
        "example": "tier 1"
      },
      "ListLimit": {
        "name": "limit",
        "in": "query",
        "required": false,
        "description": "Max lists to return. Omit to return every match.",
        "schema": {
          "type": "integer",
          "minimum": 1,
          "maximum": 500
        }
      },
      "ListOffset": {
        "name": "offset",
        "in": "query",
        "required": false,
        "description": "Matching lists to skip before `limit` applies.",
        "schema": {
          "type": "integer",
          "minimum": 0,
          "default": 0
        }
      },
      "IntroductionUid": {
        "name": "introductionId",
        "in": "query",
        "required": true,
        "description": "UUID of the introduction, as returned by list/detail. Required, except\nfor existing integrations still sending the deprecated `uid` alias;\nwhen both are present, `introductionId` wins.\n",
        "schema": {
          "type": "string",
          "format": "uuid"
        },
        "example": "4b9a8c2d-7e1f-4a3b-9c5d-2f6a8b0e4c1d"
      },
      "IntroductionUidLegacy": {
        "name": "uid",
        "in": "query",
        "required": false,
        "deprecated": true,
        "description": "**Deprecated — use `introductionId`.**\n",
        "schema": {
          "type": "string",
          "format": "uuid"
        },
        "example": "4b9a8c2d-7e1f-4a3b-9c5d-2f6a8b0e4c1d"
      },
      "PageParam": {
        "name": "page",
        "in": "query",
        "required": false,
        "description": "0-indexed page number.",
        "schema": {
          "type": "integer",
          "minimum": 0,
          "default": 0
        }
      },
      "PageSizeParam": {
        "name": "pageSize",
        "in": "query",
        "required": false,
        "description": "Items per page. Capped at 100.",
        "schema": {
          "type": "integer",
          "minimum": 1,
          "maximum": 100,
          "default": 100
        }
      },
      "AccountIdParam": {
        "name": "accountId",
        "in": "query",
        "required": false,
        "description": "The account (plan) id. Provide exactly one of `accountId` or\n`companyId`. An `accountId` is unique to a customer platform-wide;\nwithin a tenant it is 1:1 with `companyId`, so the two are\ninterchangeable when addressing an account.\n",
        "schema": {
          "type": "string"
        },
        "example": "665f1c2e9b1a4c0012a3b4c5"
      },
      "AccountCompanyIdParam": {
        "name": "companyId",
        "in": "query",
        "required": false,
        "description": "The company's global id (as returned by `GET /accounts/search`). Resolves\nto the tenant's account for that company. Provide exactly one of\n`accountId` or `companyId`.\n",
        "schema": {
          "type": "string"
        }
      },
      "PersonIdParam": {
        "name": "personId",
        "in": "query",
        "required": true,
        "description": "Vieu person id (`PERS-<uuid>`).",
        "schema": {
          "type": "string"
        },
        "example": "PERS-082e0318-8f24-4e21-a2ad-9259dfeef211"
      }
    },
    "schemas": {
      "Error": {
        "type": "object",
        "description": "Standard error response.",
        "required": [
          "message"
        ],
        "properties": {
          "code": {
            "type": "string",
            "description": "Machine-readable error code.",
            "enum": [
              "ERR_INVALID_REQUEST",
              "ERR_NOT_FOUND",
              "ERR_RATE_LIMIT",
              "ERR_INTERNAL_SERVER"
            ]
          },
          "message": {
            "type": "string",
            "description": "Human-readable error message."
          }
        }
      },
      "UnauthorizedError": {
        "type": "object",
        "description": "Returned on 401 responses. `reason` is a stable machine-readable code\nthat clients can branch on without parsing `message`.\n",
        "required": [
          "message",
          "reason"
        ],
        "properties": {
          "message": {
            "type": "string",
            "example": "Invalid Auth Token Provided"
          },
          "reason": {
            "type": "string",
            "description": "- `TOKEN_MISSING`: no `x-api-key` header on the request.\n- `TOKEN_EXPIRED`: the key was found but has expired or been revoked (also used when the key is unknown).\n- `ACCESS_DENIED`: the token is present but not accepted for the resource.\n- `AUTH_INVALID`: generic auth failure, usually an internal error resolving the key.\n",
            "enum": [
              "TOKEN_MISSING",
              "TOKEN_EXPIRED",
              "ACCESS_DENIED",
              "AUTH_INVALID"
            ],
            "example": "TOKEN_EXPIRED"
          }
        }
      },
      "ForbiddenError": {
        "type": "object",
        "description": "Returned on 403 responses. The key was valid but does not have the\nscope required by the endpoint.\n",
        "required": [
          "code",
          "message",
          "reason"
        ],
        "properties": {
          "code": {
            "type": "string",
            "enum": [
              "ERR_FORBIDDEN"
            ]
          },
          "message": {
            "type": "string",
            "example": "Insufficient permissions for this operation"
          },
          "reason": {
            "type": "string",
            "description": "- `SCOPE_INSUFFICIENT`: the authenticated key's scopes do not include the one required by this endpoint.\n- `FORBIDDEN`: generic 403 (rarely used on v2 routes; reserved for non-scope access checks).\n",
            "enum": [
              "SCOPE_INSUFFICIENT",
              "FORBIDDEN"
            ],
            "example": "SCOPE_INSUFFICIENT"
          }
        }
      },
      "AccountStakeholder": {
        "type": "object",
        "description": "A single account stakeholder, in the same shape as the stakeholder\nCSV export minus the contact-detail columns (email). Resolve\nemail contact details via `GET /persons/contact`.\n",
        "required": [
          "personId",
          "company",
          "name",
          "title",
          "linkedInUrl",
          "vieuUrl",
          "location",
          "swimlane"
        ],
        "properties": {
          "personId": {
            "type": "string",
            "example": "PERS-082e0318-8f24-4e21-a2ad-9259dfeef211"
          },
          "company": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "title": {
            "type": "string"
          },
          "linkedInUrl": {
            "type": "string"
          },
          "vieuUrl": {
            "type": "string",
            "description": "Deep link into the Vieu account plan for this person."
          },
          "location": {
            "type": "string"
          },
          "swimlane": {
            "type": "string",
            "description": "The power pod (stakeholder category) this person belongs to."
          }
        }
      },
      "AccountStakeholders": {
        "type": "object",
        "description": "Stakeholders for an account. When the account's power pods have not\nbeen generated yet, `generated` is `false` and `stakeholders` is\nempty. Call `POST /accounts/stakeholders/generate` to start seeding.\n",
        "required": [
          "accountId",
          "generated",
          "seedingStatus",
          "stakeholders"
        ],
        "properties": {
          "accountId": {
            "type": "string"
          },
          "companyId": {
            "type": "string",
            "description": "Global id of the company this account represents."
          },
          "generated": {
            "type": "boolean",
            "description": "Whether power pods (stakeholder categories) exist for this account."
          },
          "seedingStatus": {
            "type": "string",
            "description": "Current stakeholder-seeding status.",
            "enum": [
              "not_started",
              "pending",
              "completed",
              "failed"
            ]
          },
          "message": {
            "type": "string",
            "description": "Present when `generated` is `false`."
          },
          "stakeholders": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/AccountStakeholder"
            }
          }
        },
        "example": {
          "accountId": "665f1c2e9b1a4c0012a3b4c5",
          "companyId": "COMP-082e0318-8f24-4e21-a2ad-9259dfeef211",
          "generated": true,
          "seedingStatus": "completed",
          "stakeholders": [
            {
              "personId": "PERS-082e0318-8f24-4e21-a2ad-9259dfeef211",
              "company": "Acme",
              "name": "Jane Doe",
              "title": "VP Data Platform",
              "linkedInUrl": "https://www.linkedin.com/in/janedoe",
              "vieuUrl": "https://app.vieu.com/account-v2?id=665f1c2e9b1a4c0012a3b4c5#pt=person&pid=PERS-082e0318-8f24-4e21-a2ad-9259dfeef211",
              "location": "San Francisco, CA",
              "swimlane": "Economic Buyers"
            }
          ]
        }
      },
      "PersonContactDetails": {
        "type": "object",
        "description": "Resolved email contact details for a person. Contact data is often resolved\nasynchronously; when a resolution is in flight, `tryLater` is `true`\nand the caller should retry shortly for the enriched values.\n",
        "required": [
          "personId",
          "emails",
          "tryLater"
        ],
        "properties": {
          "personId": {
            "type": "string"
          },
          "emails": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "email": {
                  "type": "string"
                },
                "source": {
                  "type": "string",
                  "description": "Data provider that supplied the address."
                },
                "variant": {
                  "type": "string",
                  "enum": [
                    "work",
                    "personal"
                  ]
                },
                "isActive": {
                  "type": "boolean"
                },
                "matchesContextDomain": {
                  "type": "boolean",
                  "description": "True when the address is on a domain belonging to the person's company."
                }
              }
            }
          },
          "tryLater": {
            "type": "boolean",
            "description": "True when contact resolution is in flight; retry shortly."
          }
        },
        "example": {
          "personId": "PERS-082e0318-8f24-4e21-a2ad-9259dfeef211",
          "emails": [
            {
              "email": "jane.doe@acme.com",
              "variant": "work",
              "isActive": true,
              "matchesContextDomain": true
            }
          ],
          "tryLater": false
        }
      },
      "GenerateStakeholdersResponse": {
        "type": "object",
        "required": [
          "accountId",
          "status",
          "message"
        ],
        "properties": {
          "accountId": {
            "type": "string"
          },
          "companyId": {
            "type": "string",
            "description": "Global id of the company this account represents."
          },
          "created": {
            "type": "boolean",
            "description": "True when this request created the account (addressed by `companyId`\nfor a company that had no account yet). No plan is generated; the\nplan bootstraps the first time the account is opened.\n"
          },
          "status": {
            "type": "string",
            "enum": [
              "accepted"
            ]
          },
          "message": {
            "type": "string"
          }
        },
        "example": {
          "accountId": "665f1c2e9b1a4c0012a3b4c5",
          "companyId": "COMP-082e0318-8f24-4e21-a2ad-9259dfeef211",
          "created": false,
          "status": "accepted",
          "message": "Stakeholder generation started. Poll GET /accounts/stakeholders for results."
        }
      },
      "PersonSearchResult": {
        "type": "object",
        "description": "Minimal person fields returned by person search.",
        "additionalProperties": false,
        "required": [
          "personId",
          "name",
          "linkedInUrl",
          "imageUrl"
        ],
        "properties": {
          "personId": {
            "type": "string",
            "description": "Vieu person ID.",
            "example": "PERS-082e0318-8f24-4e21-a2ad-9259dfeef211"
          },
          "name": {
            "type": "string",
            "description": "Person display name.",
            "example": "Jane Doe"
          },
          "linkedInUrl": {
            "type": [
              "string",
              "null"
            ],
            "format": "uri",
            "description": "Canonical LinkedIn URL when Vieu has one.",
            "example": "https://www.linkedin.com/in/janedoe"
          },
          "imageUrl": {
            "type": [
              "string",
              "null"
            ],
            "format": "uri",
            "description": "Profile photo URL when Vieu has one.",
            "example": "https://media.vieu.com/person/janedoe/photo"
          }
        }
      },
      "AccountSearchResult": {
        "type": "object",
        "description": "A company matched by account search, annotated with this tenant's\naccount state. `accountId` and `hasAccountPlan` reflect whether the\ntenant already has a (non-archived) account plan for the company.\n",
        "additionalProperties": false,
        "required": [
          "companyId",
          "name",
          "linkedInUrl",
          "imageUrl",
          "verified",
          "accountId",
          "hasAccountPlan"
        ],
        "properties": {
          "companyId": {
            "type": "string",
            "description": "Vieu company (global) ID.",
            "example": "COMP-082e0318-8f24-4e21-a2ad-9259dfeef211"
          },
          "name": {
            "type": "string",
            "description": "Company display name.",
            "example": "Vieu"
          },
          "linkedInUrl": {
            "type": [
              "string",
              "null"
            ],
            "format": "uri",
            "description": "Canonical LinkedIn URL when Vieu has one.",
            "example": "https://www.linkedin.com/company/vieu"
          },
          "imageUrl": {
            "type": [
              "string",
              "null"
            ],
            "format": "uri",
            "description": "Company logo URL when Vieu has one.",
            "example": "https://media.vieu.com/company/vieu/logo"
          },
          "verified": {
            "type": "boolean",
            "description": "Whether Vieu has verified this company entity."
          },
          "accountId": {
            "type": [
              "string",
              "null"
            ],
            "description": "This tenant's account-plan id for the company, or `null` when the\ntenant has no account plan for it.\n",
            "example": "665f1c2e9b1a4c0012a3b4c5"
          },
          "hasAccountPlan": {
            "type": "boolean",
            "description": "True when `accountId` is present (the tenant has an account plan for the company)."
          }
        }
      },
      "LookupPersonResponse": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "persons"
        ],
        "properties": {
          "persons": {
            "type": "array",
            "description": "Up to five person search results, ordered by search relevance.",
            "maxItems": 5,
            "items": {
              "$ref": "#/components/schemas/PersonSearchResult"
            }
          }
        }
      },
      "LookupCompanyResponse": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "companies"
        ],
        "properties": {
          "companies": {
            "type": "array",
            "description": "Up to five account (company) search results, ordered by search relevance.",
            "maxItems": 5,
            "items": {
              "$ref": "#/components/schemas/AccountSearchResult"
            },
            "example": [
              {
                "companyId": "COMP-082e0318-8f24-4e21-a2ad-9259dfeef211",
                "name": "Vieu",
                "linkedInUrl": "https://www.linkedin.com/company/vieu",
                "imageUrl": "https://media.vieu.com/company/vieu/logo",
                "verified": true,
                "accountId": "665f1c2e9b1a4c0012a3b4c5",
                "hasAccountPlan": true
              }
            ]
          }
        }
      },
      "IntroductionStatus": {
        "type": "string",
        "description": "Lifecycle state an introduction can be *set* to via\n`POST /introductions/status`.\n\n- `not-started`: no action taken yet.\n- `in-progress`: actively being worked.\n- `completed`: intro was made or outcome reached.\n- `parked`: deferred; intentionally not actively worked.\n",
        "enum": [
          "not-started",
          "in-progress",
          "completed",
          "parked"
        ],
        "example": "in-progress"
      },
      "IntroductionDisplayStatus": {
        "type": "string",
        "description": "Lifecycle state of an introduction as returned by the API. This adds\n`shortlisted` to `IntroductionStatus`. `shortlisted` is read-only (you\ncannot set it via `POST /introductions/status`); it is what a pinned\nintroduction displays by default before any status is explicitly set.\n\n- `shortlisted`: pinned but no status set yet (default).\n- `not-started`: explicitly set to not-started (distinct from the\n  shortlisted default).\n- `in-progress`: actively being worked.\n- `completed`: intro was made or outcome reached.\n- `parked`: deferred; intentionally not actively worked.\n",
        "enum": [
          "shortlisted",
          "not-started",
          "in-progress",
          "completed",
          "parked"
        ],
        "example": "shortlisted"
      },
      "OrchestrationMode": {
        "type": "string",
        "description": "How the introduction is being worked. Set when an introduction is\nexplicitly handed to the Vieu agent or taken on manually; absent on\nordinary pins, which is why a filter on `agent` excludes never-actioned\nintroductions.\n\n- `agent`: handed to the Vieu agent to drive.\n- `manual`: being worked by a person.\n",
        "enum": [
          "agent",
          "manual"
        ],
        "example": "agent"
      },
      "IntroductionPerson": {
        "type": "object",
        "description": "An individual on the introduction path (introducer, intermediary, or target).",
        "properties": {
          "name": {
            "type": [
              "string",
              "null"
            ],
            "example": "Jane Doe"
          },
          "email": {
            "type": [
              "string",
              "null"
            ],
            "example": "jane.doe@example.com"
          },
          "linkedInUrl": {
            "type": [
              "string",
              "null"
            ],
            "example": "https://www.linkedin.com/in/janedoe"
          }
        }
      },
      "IntroductionTarget": {
        "type": "object",
        "description": "The person being introduced to. Everything on `IntroductionPerson`\n(`name`, `email`, `linkedInUrl`) plus the target's role at the company.\n",
        "properties": {
          "name": {
            "type": [
              "string",
              "null"
            ],
            "example": "Jane Doe"
          },
          "email": {
            "type": [
              "string",
              "null"
            ],
            "example": "jane.doe@example.com"
          },
          "linkedInUrl": {
            "type": [
              "string",
              "null"
            ],
            "example": "https://www.linkedin.com/in/janedoe"
          },
          "title": {
            "type": [
              "string",
              "null"
            ],
            "example": "VP of Engineering"
          },
          "jobLevel": {
            "type": [
              "string",
              "null"
            ],
            "description": "Seniority label derived from the target's job level.",
            "example": "VP"
          }
        }
      },
      "IntroductionPointOfContact": {
        "type": "object",
        "description": "The Vieu user who owns this introduction inside your tenant (the \"point\nof contact\"). `null` when no POC is assigned.\n",
        "required": [
          "name",
          "email"
        ],
        "properties": {
          "name": {
            "type": "string",
            "description": "Display name, falling back to email if no name is set.",
            "example": "Alex Rivera"
          },
          "email": {
            "type": "string",
            "example": "alex@yourco.com"
          }
        }
      },
      "IntroductionGuardian": {
        "type": "object",
        "description": "The Vieu user accountable for the introducer's relationship (the\nintroducer's \"guardian\"). Ask them before reaching out to the\nintroducer. The field is omitted when the introducer has no guardian.\n",
        "required": [
          "name",
          "email"
        ],
        "properties": {
          "name": {
            "type": "string",
            "description": "Display name, falling back to email if no name is set.",
            "example": "Jordan Lee"
          },
          "email": {
            "type": "string",
            "example": "jordan@yourco.com"
          }
        }
      },
      "Introduction": {
        "type": "object",
        "description": "A single pinned introduction from your tenant to a target contact\nat a prospect company. The Vieu Partner API only operates on\npinned introductions; unpinned introductions are not exposed.\n",
        "required": [
          "introductionId",
          "uid",
          "companyId",
          "companyName",
          "status"
        ],
        "properties": {
          "introductionId": {
            "type": "string",
            "format": "uuid",
            "description": "Stable identifier for the introduction. Pass it as `?introductionId=` to `/introductions/detail`, `/introductions/status`, `/introductions/notes`, and `/introductions/explanation`."
          },
          "uid": {
            "type": "string",
            "format": "uuid",
            "deprecated": true,
            "description": "**Deprecated — use `introductionId`.**\n"
          },
          "companyId": {
            "type": "string",
            "description": "Vieu company ID for the target company.",
            "example": "COMP-<UUID>"
          },
          "companyName": {
            "type": "string",
            "example": "Acme Corp"
          },
          "priority": {
            "type": [
              "string",
              "null"
            ],
            "enum": [
              "low",
              "medium",
              "high",
              null
            ]
          },
          "status": {
            "$ref": "#/components/schemas/IntroductionDisplayStatus"
          },
          "isDirect": {
            "type": "boolean",
            "description": "True when no intermediary is required (the introducer knows the target directly)."
          },
          "introducer": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/IntroductionPerson"
              },
              {
                "type": "null"
              }
            ],
            "description": "The person making the intro. `null` on insider paths where no introducer exists."
          },
          "intermediary": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/IntroductionPerson"
              },
              {
                "type": "null"
              }
            ],
            "description": "The person the introducer goes through to reach the target. `null` when the introducer knows the target directly."
          },
          "target": {
            "$ref": "#/components/schemas/IntroductionTarget"
          },
          "pointOfContact": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/IntroductionPointOfContact"
              },
              {
                "type": "null"
              }
            ],
            "description": "The Vieu user assigned as point of contact for this introduction."
          },
          "guardian": {
            "$ref": "#/components/schemas/IntroductionGuardian"
          },
          "vieuLink": {
            "type": "string",
            "description": "Deep link into the Vieu app for this introduction.",
            "example": "https://app.vieu.com/introductions#pt=introduction-path&uid=4b9a8c2d-7e1f-4a3b-9c5d-2f6a8b0e4c1d"
          },
          "lastUpdated": {
            "type": [
              "string",
              "null"
            ],
            "format": "date-time",
            "description": "ISO 8601 timestamp of the most recent update.",
            "example": "2026-04-18T14:32:00.000Z"
          }
        }
      },
      "IntroductionNote": {
        "type": "object",
        "description": "A note attached to an introduction. The shape is loose by design:\ndifferent surfaces (web app, mobile, integrations) write different\nmetadata, so consumers should treat unknown fields as opaque.\n\n**Private notes are not returned.** Notes inside Vieu can be marked\nprivate (visible only to their author); these are filtered out\nserver-side and never appear in this response. Internal identifiers\n(`noteId`, `visibility`) are stripped from the response.\n",
        "additionalProperties": true,
        "properties": {
          "body": {
            "type": "string",
            "description": "The free-text body of the note."
          },
          "metadata": {
            "type": "object",
            "additionalProperties": true,
            "properties": {
              "authorEmail": {
                "type": "string"
              },
              "updatedAt": {
                "type": "string",
                "format": "date-time"
              }
            }
          }
        }
      },
      "IntroductionDraftMessage": {
        "type": "object",
        "description": "A drafted outreach message for one channel. Body and tone come from\nthe tenant's saved draft for this introduction; `advanced` carries\nchannel-specific configuration (signature, deeplink, persona, etc.).\n",
        "additionalProperties": true,
        "properties": {
          "subject": {
            "type": "string",
            "description": "Email/Slack subject line. Not present for SMS or LinkedIn."
          },
          "body": {
            "type": "string"
          },
          "from": {
            "type": "string",
            "description": "Sender email (email + gratification email only)."
          },
          "to": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "perspective": {
            "type": "string",
            "enum": [
              "to",
              "from"
            ]
          },
          "advanced": {
            "type": "object",
            "description": "Channel settings. Not every flag applies to every channel (e.g. `deeplink` is email/Slack only).",
            "properties": {
              "tone": {
                "type": "string",
                "enum": [
                  "short",
                  "warm",
                  "executive",
                  "template"
                ]
              },
              "forwardableBlurb": {
                "type": "boolean"
              },
              "companyPitch": {
                "type": "boolean"
              },
              "relationshipHistory": {
                "type": "boolean"
              },
              "deeplink": {
                "type": "boolean"
              },
              "emailAddresses": {
                "type": "boolean"
              },
              "signature": {
                "type": "boolean"
              },
              "signatureText": {
                "type": "string"
              },
              "defaultCcEmails": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              },
              "defaultBccEmails": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              }
            },
            "example": {
              "tone": "warm",
              "forwardableBlurb": true,
              "companyPitch": false,
              "relationshipHistory": true,
              "deeplink": true,
              "signature": true,
              "signatureText": "Jane Doe\nVP Sales, Acme"
            }
          }
        }
      },
      "IntroductionMessageDetails": {
        "type": "object",
        "description": "Drafted outreach messages by channel. Any subset may be present; a\nchannel that hasn't been drafted yet is `null` or absent.\n",
        "properties": {
          "email": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/IntroductionDraftMessage"
              },
              {
                "type": "null"
              }
            ]
          },
          "linkedIn": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/IntroductionDraftMessage"
              },
              {
                "type": "null"
              }
            ]
          },
          "sms": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/IntroductionDraftMessage"
              },
              {
                "type": "null"
              }
            ]
          },
          "slack": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/IntroductionDraftMessage"
              },
              {
                "type": "null"
              }
            ]
          },
          "gratificationEmail": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/IntroductionDraftMessage"
              },
              {
                "type": "null"
              }
            ]
          }
        }
      },
      "IntroductionDetail": {
        "type": "object",
        "description": "Detailed view of a single pinned introduction. Adds `notes` and\n`messageDetails` to the base shape returned by the list endpoint,\nand omits `isDirect` (which is implicit in the path structure).\n",
        "required": [
          "introductionId",
          "uid",
          "companyId",
          "companyName",
          "status"
        ],
        "properties": {
          "introductionId": {
            "type": "string",
            "format": "uuid",
            "description": "Stable identifier for the introduction."
          },
          "uid": {
            "type": "string",
            "format": "uuid",
            "deprecated": true,
            "description": "**Deprecated — use `introductionId`.**\n"
          },
          "companyId": {
            "type": "string",
            "example": "COMP-<UUID>"
          },
          "companyName": {
            "type": "string",
            "example": "Acme Corp"
          },
          "priority": {
            "type": [
              "string",
              "null"
            ],
            "enum": [
              "low",
              "medium",
              "high",
              null
            ]
          },
          "status": {
            "$ref": "#/components/schemas/IntroductionDisplayStatus"
          },
          "introducer": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/IntroductionPerson"
              },
              {
                "type": "null"
              }
            ],
            "description": "The person making the intro. `null` on insider paths where no introducer exists."
          },
          "intermediary": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/IntroductionPerson"
              },
              {
                "type": "null"
              }
            ],
            "description": "The person the introducer goes through to reach the target. `null` when the introducer knows the target directly."
          },
          "target": {
            "$ref": "#/components/schemas/IntroductionTarget"
          },
          "pointOfContact": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/IntroductionPointOfContact"
              },
              {
                "type": "null"
              }
            ],
            "description": "The Vieu user assigned as point of contact for this introduction."
          },
          "guardian": {
            "$ref": "#/components/schemas/IntroductionGuardian"
          },
          "vieuLink": {
            "type": "string"
          },
          "lastUpdated": {
            "type": [
              "string",
              "null"
            ],
            "format": "date-time"
          },
          "notes": {
            "type": "array",
            "description": "All notes recorded against this introduction, in insertion order.",
            "items": {
              "$ref": "#/components/schemas/IntroductionNote"
            }
          },
          "messageDetails": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/IntroductionMessageDetails"
              },
              {
                "type": "null"
              }
            ],
            "description": "Drafted outreach messages by channel; `null` when no draft exists."
          }
        },
        "example": {
          "introductionId": "4b9a8c2d-7e1f-4a3b-9c5d-2f6a8b0e4c1d",
          "uid": "4b9a8c2d-7e1f-4a3b-9c5d-2f6a8b0e4c1d",
          "companyId": "COMP-082e0318-8f24-4e21-a2ad-9259dfeef211",
          "companyName": "Acme",
          "priority": "high",
          "status": "in-progress",
          "introducer": {
            "name": "Sam Lee",
            "email": "sam.lee@yourcompany.com",
            "linkedInUrl": "https://www.linkedin.com/in/samlee"
          },
          "intermediary": {
            "name": "John Park",
            "email": "john.park@globex.com",
            "linkedInUrl": "https://www.linkedin.com/in/johnpark"
          },
          "target": {
            "name": "Jane Doe",
            "email": "jane.doe@acme.com",
            "linkedInUrl": "https://www.linkedin.com/in/janedoe",
            "title": "VP Data Platform",
            "jobLevel": "VP"
          },
          "pointOfContact": {
            "name": "Alex Kim",
            "email": "alex.kim@yourcompany.com"
          },
          "guardian": {
            "name": "Jordan Lee",
            "email": "jordan.lee@yourcompany.com"
          },
          "vieuLink": "https://app.vieu.com/introductions#pt=introduction-path&uid=4b9a8c2d-7e1f-4a3b-9c5d-2f6a8b0e4c1d",
          "lastUpdated": "2026-09-30T14:32:00.000Z",
          "notes": [
            {
              "body": "Sam confirmed John is happy to make the intro next week.",
              "metadata": {
                "authorEmail": "alex.kim@yourcompany.com",
                "updatedAt": "2026-09-30T14:32:00.000Z"
              }
            }
          ],
          "messageDetails": {
            "email": {
              "subject": "Intro to Jane Doe at Acme",
              "body": "Hi John, would you be open to introducing me to Jane at Acme? …",
              "from": "sam.lee@yourcompany.com",
              "to": [
                "john.park@globex.com"
              ],
              "perspective": "from",
              "advanced": {
                "tone": "warm",
                "forwardableBlurb": true,
                "deeplink": true,
                "signature": true
              }
            },
            "linkedIn": {
              "body": "Hi John, hope you're well! Would you be open to connecting me with Jane Doe at Acme?",
              "perspective": "from",
              "advanced": {
                "tone": "short"
              }
            },
            "sms": null,
            "slack": null,
            "gratificationEmail": null
          }
        }
      },
      "PaginatedIntroductions": {
        "type": "object",
        "required": [
          "introductions",
          "page",
          "pageSize",
          "totalCount"
        ],
        "properties": {
          "introductions": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Introduction"
            }
          },
          "page": {
            "type": "integer",
            "minimum": 0
          },
          "pageSize": {
            "type": "integer",
            "minimum": 1,
            "maximum": 100
          },
          "totalCount": {
            "type": "integer",
            "description": "Total number of pinned introductions matching the filters."
          },
          "notes": {
            "type": "array",
            "description": "Caveats about the filters, e.g. a reference that matched several entities. Surface these alongside the results.",
            "items": {
              "type": "string"
            }
          },
          "appliedFilters": {
            "$ref": "#/components/schemas/IntroductionListAppliedFilters"
          }
        },
        "example": {
          "introductions": [
            {
              "introductionId": "4b9a8c2d-7e1f-4a3b-9c5d-2f6a8b0e4c1d",
              "uid": "4b9a8c2d-7e1f-4a3b-9c5d-2f6a8b0e4c1d",
              "companyId": "COMP-082e0318-8f24-4e21-a2ad-9259dfeef211",
              "companyName": "Acme",
              "priority": "high",
              "status": "in-progress",
              "isDirect": false,
              "introducer": {
                "name": "Sam Lee",
                "email": "sam.lee@yourcompany.com",
                "linkedInUrl": "https://www.linkedin.com/in/samlee"
              },
              "intermediary": {
                "name": "John Park",
                "email": "john.park@globex.com",
                "linkedInUrl": "https://www.linkedin.com/in/johnpark"
              },
              "target": {
                "name": "Jane Doe",
                "email": "jane.doe@acme.com",
                "linkedInUrl": "https://www.linkedin.com/in/janedoe",
                "title": "VP Data Platform",
                "jobLevel": "VP"
              },
              "pointOfContact": {
                "name": "Alex Kim",
                "email": "alex.kim@yourcompany.com"
              },
              "vieuLink": "https://app.vieu.com/introductions#pt=introduction-path&uid=4b9a8c2d-7e1f-4a3b-9c5d-2f6a8b0e4c1d",
              "lastUpdated": "2026-09-30T14:32:00.000Z"
            }
          ],
          "page": 0,
          "pageSize": 25,
          "totalCount": 1,
          "notes": [],
          "appliedFilters": {
            "account": [
              {
                "ref": "acme.com",
                "status": "matched",
                "ids": [
                  "COMP-082e0318-8f24-4e21-a2ad-9259dfeef211"
                ],
                "resolvedTo": [
                  "Acme"
                ]
              }
            ],
            "participant": [],
            "pointOfContact": [],
            "status": [
              "not-started",
              "in-progress"
            ],
            "mode": null
          }
        }
      },
      "IntroductionListAppliedFilters": {
        "type": "object",
        "description": "The filters actually applied, echoed back so a caller can confirm the list matches its intent.",
        "properties": {
          "account": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ResolvedReference"
            }
          },
          "participant": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ResolvedReference"
            }
          },
          "pointOfContact": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ResolvedReference"
            }
          },
          "status": {
            "type": [
              "array",
              "null"
            ],
            "description": "Effective status filter; `null` when unset (every status).",
            "items": {
              "$ref": "#/components/schemas/IntroductionStatusFilter"
            }
          },
          "mode": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/OrchestrationMode"
              },
              {
                "type": "null"
              }
            ]
          }
        }
      },
      "IntroductionStatusFilter": {
        "description": "An introduction status, or `null` for some intros that have been recently pinned.",
        "oneOf": [
          {
            "$ref": "#/components/schemas/IntroductionStatus"
          },
          {
            "type": "null"
          }
        ]
      },
      "ResolvedReference": {
        "type": "object",
        "description": "One reference a caller supplied, and what it resolved to.",
        "properties": {
          "ref": {
            "type": "string",
            "description": "The reference exactly as supplied."
          },
          "status": {
            "type": "string",
            "enum": [
              "matched",
              "ambiguous",
              "none"
            ]
          },
          "ids": {
            "type": "array",
            "description": "Vieu ids the reference resolved to; all of them are filtered on.",
            "items": {
              "type": "string"
            }
          },
          "resolvedTo": {
            "type": "array",
            "description": "Human-readable labels for the resolved entities.",
            "items": {
              "type": "string"
            }
          }
        }
      },
      "SetIntroductionStatusRequest": {
        "type": "object",
        "required": [
          "status"
        ],
        "properties": {
          "status": {
            "$ref": "#/components/schemas/IntroductionStatus"
          }
        }
      },
      "AddIntroductionNoteRequest": {
        "type": "object",
        "required": [
          "body"
        ],
        "properties": {
          "body": {
            "type": "string",
            "minLength": 1,
            "description": "The free-text body of the note. Must be non-empty.",
            "example": "Target confirmed interest; scheduling a follow-up for next week."
          }
        }
      },
      "SetIntroductionStatusResponse": {
        "type": "object",
        "required": [
          "introductionId",
          "uid",
          "status"
        ],
        "properties": {
          "introductionId": {
            "type": "string",
            "format": "uuid",
            "description": "The introduction whose status was set."
          },
          "uid": {
            "type": "string",
            "format": "uuid",
            "deprecated": true,
            "description": "**Deprecated — use `introductionId`.**\n"
          },
          "status": {
            "$ref": "#/components/schemas/IntroductionStatus"
          }
        },
        "example": {
          "introductionId": "4b9a8c2d-7e1f-4a3b-9c5d-2f6a8b0e4c1d",
          "uid": "4b9a8c2d-7e1f-4a3b-9c5d-2f6a8b0e4c1d",
          "status": "in-progress"
        }
      },
      "ExplainIntroductionResponse": {
        "type": "object",
        "required": [
          "introductionId",
          "uid",
          "explanation",
          "connectionToIntroducer",
          "connectionToIntermediary",
          "connectionToTarget",
          "connectionToCompany"
        ],
        "properties": {
          "introductionId": {
            "type": "string",
            "format": "uuid",
            "description": "The introduction the explanation describes."
          },
          "uid": {
            "type": "string",
            "format": "uuid",
            "deprecated": true,
            "description": "**Deprecated — use `introductionId`.**\n"
          },
          "explanation": {
            "type": "string",
            "description": "Short natural-language description of the connection path.",
            "example": "Jane (your team) previously worked with John at Acme, who now manages the target."
          },
          "connectionToIntroducer": {
            "type": [
              "string",
              "null"
            ],
            "description": "Per-hop summary of the edge from your tenant's company to the\nintroducer. Null when the path has no introducer (e.g. an insider\npath with only a target).\n"
          },
          "connectionToIntermediary": {
            "type": [
              "string",
              "null"
            ],
            "description": "Per-hop summary of the edge from the previous non-null node to the\nintermediary. Null when the path has no intermediary.\n"
          },
          "connectionToTarget": {
            "type": [
              "string",
              "null"
            ],
            "description": "Per-hop summary of the edge from the previous non-null node\n(intermediary, introducer, or tenant company) to the target.\n"
          },
          "connectionToCompany": {
            "type": [
              "string",
              "null"
            ],
            "description": "Per-hop summary of the edge from the target to the target's company.\n"
          }
        },
        "example": {
          "introductionId": "4b9a8c2d-7e1f-4a3b-9c5d-2f6a8b0e4c1d",
          "uid": "4b9a8c2d-7e1f-4a3b-9c5d-2f6a8b0e4c1d",
          "explanation": "Jane (your team) previously worked with John at Acme, who now manages the target.",
          "connectionToIntroducer": "Jane Smith is on your team.",
          "connectionToIntermediary": "Jane Smith and John Park worked together at Globex (2019–2022).",
          "connectionToTarget": "John Park manages Jane Doe in Data Platform.",
          "connectionToCompany": "Jane Doe is VP Data Platform at Acme."
        }
      },
      "CompanyProfile": {
        "type": "object",
        "description": "Profile for a company/account.",
        "required": [
          "companyId",
          "id",
          "name"
        ],
        "properties": {
          "companyId": {
            "type": "string",
            "description": "Vieu company (global) ID.",
            "example": "COMP-082e0318-8f24-4e21-a2ad-9259dfeef211"
          },
          "id": {
            "type": "string",
            "deprecated": true,
            "description": "**Deprecated — use `companyId`.**\n"
          },
          "name": {
            "type": "string"
          },
          "imageUrl": {
            "type": "string",
            "format": "uri",
            "description": "Company logo URL when Vieu has one."
          },
          "industry": {
            "type": "string"
          },
          "employeeCount": {
            "type": "integer"
          },
          "headquarters": {
            "type": "string"
          },
          "domain": {
            "type": "string"
          },
          "linkedInUrl": {
            "type": "string"
          },
          "description": {
            "type": "string"
          }
        }
      },
      "AccountProfileResponse": {
        "type": "object",
        "description": "A single resolved company profile, or a list of candidates when the\nreference was ambiguous.\n",
        "properties": {
          "profile": {
            "$ref": "#/components/schemas/CompanyProfile"
          },
          "candidates": {
            "type": "array",
            "description": "Present instead of `profile` when the reference was ambiguous.",
            "items": {
              "$ref": "#/components/schemas/ResolvedCandidate"
            }
          }
        }
      },
      "PersonProfile": {
        "type": "object",
        "description": "Agent-friendly person profile.",
        "required": [
          "personId",
          "id",
          "name"
        ],
        "properties": {
          "personId": {
            "type": "string",
            "description": "Vieu person ID.",
            "example": "PERS-082e0318-8f24-4e21-a2ad-9259dfeef211"
          },
          "id": {
            "type": "string",
            "deprecated": true,
            "description": "**Deprecated — use `personId`.**\n"
          },
          "name": {
            "type": "string"
          },
          "imageUrl": {
            "type": "string",
            "format": "uri",
            "description": "Profile photo URL when Vieu has one."
          },
          "title": {
            "type": "string"
          },
          "company": {
            "type": "string"
          },
          "location": {
            "type": "string",
            "description": "Where the person is based, as shown on their profile. Omitted when\nnone is on file.\n",
            "example": "Dallas-Fort Worth Metroplex"
          },
          "bio": {
            "type": "string"
          },
          "linkedInUrl": {
            "type": "string"
          },
          "linkedInSlug": {
            "type": "string",
            "description": "Vanity slug from the LinkedIn profile URL.",
            "example": "jane-doe"
          },
          "linkedInFollowerCount": {
            "type": "integer",
            "description": "LinkedIn follower count."
          },
          "education": {
            "type": "string"
          },
          "tenantRelationship": {
            "type": "string",
            "description": "How this person relates to your company — the warmest relationship\nreason(s), or a note that none was found.\n"
          },
          "tidbitsStatus": {
            "type": "string",
            "enum": [
              "complete",
              "pending"
            ],
            "description": "Whether conversation-starter generation has finished. `pending`\nmeans generation is still running in the background and more may\nappear on a later call — see `tryLater` on the response.\n"
          },
          "experience": {
            "type": "array",
            "description": "Most recent roles, newest first.",
            "items": {
              "type": "object",
              "properties": {
                "company": {
                  "type": "string"
                },
                "title": {
                  "type": "string"
                },
                "startDate": {
                  "type": "string",
                  "pattern": "^\\d{2}-\\d{4}$",
                  "description": "Month the role started, as `MM-YYYY`. Month precision only — the underlying dates come from profile sources where the day is noise. Omitted when no start date is on file.",
                  "example": "03-2021"
                },
                "endDate": {
                  "type": "string",
                  "pattern": "^\\d{2}-\\d{4}$",
                  "description": "Month the role ended, as `MM-YYYY`. Absent means the role is **current**.",
                  "example": "08-2023"
                }
              }
            }
          },
          "tidbits": {
            "type": "array",
            "description": "Personal facts / conversation starters usable to personalise outreach.",
            "items": {
              "type": "object",
              "additionalProperties": true,
              "properties": {
                "category": {
                  "type": "string",
                  "description": "Which kind of fact this is — e.g. `hobby`, `award`, `language`, `family`, `volunteering`, `event`, `culture`.",
                  "example": "award"
                },
                "name": {
                  "type": "string"
                },
                "detail": {
                  "type": "string"
                },
                "sources": {
                  "type": "array",
                  "items": {
                    "type": "string",
                    "format": "uri"
                  },
                  "description": "Every source the fact was derived from, for citing or verifying it. A tidbit grouped from several patents or publications lists one URL per work. Omitted when none is on file — many tidbits are derived from profile text rather than a linkable source, so absence is normal and does not mean the fact is unsourced.",
                  "example": [
                    "https://patents.google.com/patent/US1234567B2",
                    "https://patents.google.com/patent/US7654321B2"
                  ]
                },
                "referenceUrl": {
                  "type": "string",
                  "format": "uri",
                  "deprecated": true,
                  "description": "The first entry of `sources`. Use `sources` instead."
                }
              }
            }
          }
        }
      },
      "ResolvedCandidate": {
        "type": "object",
        "description": "One possible match for an ambiguous reference. Person and company\ncandidates share this shape, so a field that does not apply to the\nentity type is simply absent.\n",
        "required": [
          "id",
          "name"
        ],
        "properties": {
          "id": {
            "type": "string",
            "description": "Vieu id of the candidate — `PERS-<uuid>` or `COMP-<uuid>`."
          },
          "name": {
            "type": "string"
          },
          "imageUrl": {
            "type": "string",
            "format": "uri",
            "description": "Profile photo (people) or logo (companies) when Vieu has one."
          },
          "domain": {
            "type": "string",
            "description": "Website domain (companies)."
          },
          "linkedInUrl": {
            "type": "string",
            "format": "uri"
          },
          "linkedInSlug": {
            "type": "string",
            "description": "Vanity slug from the LinkedIn profile URL (people)."
          },
          "email": {
            "type": "string"
          },
          "employeeCount": {
            "type": "integer",
            "description": "Employee count (companies)."
          },
          "currentRoles": {
            "type": "array",
            "description": "Every current role (people).",
            "items": {
              "type": "object",
              "properties": {
                "title": {
                  "type": "string"
                },
                "company": {
                  "type": "string"
                }
              }
            },
            "example": [
              {
                "title": "Director of Data Engineering",
                "company": "Acme"
              }
            ]
          },
          "score": {
            "type": "number",
            "description": "Search relevance (higher is better). Only the ordering within one\nresult set is meaningful.\n"
          }
        }
      },
      "PersonProfileResponse": {
        "type": "object",
        "properties": {
          "profile": {
            "$ref": "#/components/schemas/PersonProfile"
          },
          "tryLater": {
            "type": "boolean",
            "description": "True when conversation-starter (tidbit) generation is still running in the background, so a later call will return more. Retry shortly rather than treating the current set as complete. Present only alongside `profile`. Same meaning as `tryLater` on `GET /persons/contact`."
          },
          "candidates": {
            "type": "array",
            "description": "Present instead of `profile` when the reference was ambiguous.",
            "items": {
              "$ref": "#/components/schemas/ResolvedCandidate"
            }
          }
        }
      },
      "Connection": {
        "type": "object",
        "description": "One reachable target and its warmest path.",
        "properties": {
          "personId": {
            "type": "string",
            "description": "Vieu person id of the target.",
            "example": "PERS-082e0318-8f24-4e21-a2ad-9259dfeef211"
          },
          "name": {
            "type": "string",
            "example": "Jane Doe"
          },
          "title": {
            "type": "string",
            "example": "VP of Engineering"
          },
          "targetLinkedInUrl": {
            "type": [
              "string",
              "null"
            ],
            "description": "LinkedIn profile of the target; `null` when none is on file.",
            "example": "https://www.linkedin.com/in/janedoe"
          },
          "companyName": {
            "type": "string",
            "description": "Name of the company the target works at.",
            "example": "Acme Corp"
          },
          "companyId": {
            "type": [
              "string",
              "null"
            ],
            "description": "Vieu company id of the target's company.",
            "example": "COMP-<UUID>"
          },
          "companyLinkedInUrl": {
            "type": [
              "string",
              "null"
            ],
            "description": "LinkedIn page of the target's company; `null` when none is on file.",
            "example": "https://www.linkedin.com/company/acme-corp"
          },
          "company": {
            "type": "string",
            "deprecated": true,
            "description": "**Deprecated — use `companyName`.**\n",
            "example": "Acme Corp"
          },
          "location": {
            "type": "string",
            "description": "Where the target is based, as stored on the person record. Empty when unknown.",
            "example": "San Francisco Bay Area"
          },
          "relationshipStrength": {
            "type": "string"
          },
          "buyerFit": {
            "type": "string"
          },
          "connectionId": {
            "type": [
              "string",
              "null"
            ],
            "description": "Id of the warmest path to this target. Pass to\n`GET /connections/explanation`.\n"
          },
          "pathSummary": {
            "type": "string"
          },
          "pathCount": {
            "type": "integer"
          },
          "guardian": {
            "$ref": "#/components/schemas/IntroductionGuardian"
          }
        }
      },
      "IntroducerType": {
        "type": "object",
        "required": [
          "type",
          "id",
          "name"
        ],
        "properties": {
          "type": {
            "type": "string",
            "enum": [
              "canonical",
              "custom"
            ],
            "description": "A fixed Corporate Network category, or a custom category your company defined in its GTM Neural Center."
          },
          "id": {
            "type": "string",
            "description": "Pass to `introducerTypes` on `GET /connections/search`. A stable slug for canonical types; the category's id for custom ones.",
            "example": "board_of_directors"
          },
          "name": {
            "type": "string",
            "example": "Board of Directors"
          }
        }
      },
      "ConnectionSearchMetadataResponse": {
        "type": "object",
        "description": "The tenant-scoped values the `GET /connections/search` filters accept, one field per filter. New fields may be added as more filters gain tenant-scoped options.",
        "properties": {
          "introducerType": {
            "type": "array",
            "description": "Values for the `introducerTypes` filter.",
            "items": {
              "$ref": "#/components/schemas/IntroducerType"
            }
          }
        }
      },
      "ConnectionSearchResponse": {
        "type": "object",
        "properties": {
          "connections": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Connection"
            }
          },
          "totalFound": {
            "type": "integer"
          },
          "companyScopeTruncated": {
            "type": "boolean",
            "description": "`true` when the company filters (e.g. location, industry, size)\nmatched more companies than the search can cover, so connections\nat some matching companies are missing and `totalFound` is a\nlower bound. Narrow the company filters for complete results.\n"
          },
          "notes": {
            "type": "array",
            "items": {
              "type": "string"
            }
          }
        }
      },
      "ConnectionExplainResponse": {
        "type": "object",
        "properties": {
          "connectionId": {
            "type": "string"
          },
          "found": {
            "type": "boolean"
          },
          "pathDescription": {
            "type": "string"
          },
          "hops": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "from": {
                  "type": "string"
                },
                "to": {
                  "type": "string"
                },
                "explanation": {
                  "type": "string"
                },
                "connectionType": {
                  "type": "string",
                  "enum": [
                    "colleagues",
                    "education",
                    "social",
                    "employment",
                    "professional",
                    "unknown"
                  ]
                }
              }
            }
          },
          "target": {
            "type": [
              "string",
              "null"
            ],
            "description": "Display name of the target at the end of the path.",
            "example": "Jane Doe"
          },
          "targetId": {
            "type": [
              "string",
              "null"
            ],
            "description": "Vieu person id of the target.",
            "example": "PERS-082e0318-8f24-4e21-a2ad-9259dfeef211"
          },
          "targetLinkedInUrl": {
            "type": [
              "string",
              "null"
            ],
            "description": "LinkedIn profile of the target; `null` when none is on file.",
            "example": "https://www.linkedin.com/in/janedoe"
          }
        },
        "example": {
          "connectionId": "4b9a8c2d-7e1f-4a3b-9c5d-2f6a8b0e4c1d",
          "found": true,
          "pathDescription": "Vieu → Jane Smith → John Park → Jane Doe",
          "hops": [
            {
              "from": "Vieu",
              "to": "Jane Smith",
              "explanation": "Jane Smith is on your team.",
              "connectionType": "employment"
            },
            {
              "from": "Jane Smith",
              "to": "John Park",
              "explanation": "Worked together at Globex (2019–2022).",
              "connectionType": "colleagues"
            },
            {
              "from": "John Park",
              "to": "Jane Doe",
              "explanation": "Both on the Data Platform team at Acme.",
              "connectionType": "colleagues"
            }
          ],
          "target": "Jane Doe",
          "targetId": "PERS-082e0318-8f24-4e21-a2ad-9259dfeef211",
          "targetLinkedInUrl": "https://www.linkedin.com/in/janedoe"
        }
      },
      "ConnectionPinRequest": {
        "type": "object",
        "description": "All fields are optional; an empty body pins the path with defaults.\n",
        "properties": {
          "pinned": {
            "type": "boolean",
            "default": true,
            "description": "Set `false` to unpin a path that is currently pinned."
          },
          "note": {
            "type": "string",
            "minLength": 1,
            "description": "Optional note to attach to the introduction as it is pinned.\nIgnored when `pinned` is `false`. The note is written\nasynchronously, so it may not be visible on an immediately\nfollowing `GET /introductions/detail`.\n",
            "example": "Flagged by our scoring model as a top-10 target this quarter."
          },
          "mode": {
            "$ref": "#/components/schemas/OrchestrationMode"
          },
          "pointOfContact": {
            "type": "string",
            "description": "Teammate to own the introduction, as their email or name within\nyour tenant; resolved server-side like the rest of the partner API.\nAn email is the reliable form — a name that matches several\nteammates is a `400` rather than a guess, because assigning the\nwrong owner is worse than not pinning. Defaults to unassigned.\n",
            "example": "dana@example.com"
          },
          "pointOfContactUserId": {
            "type": "string",
            "deprecated": true,
            "description": "**Deprecated — use `pointOfContact`.** Vieu user id to assign as the\nintroduction's point of contact. The id is verified to be a live\nuser in your tenant; an unknown id, or one belonging to another\ntenant, is a `400`. Supplying both this and `pointOfContact` is a\n`400`.\n",
            "example": "665f1c2e9b1a4c0012a3b4c5"
          }
        }
      },
      "ConnectionPinResponse": {
        "type": "object",
        "required": [
          "introductionId",
          "pinned"
        ],
        "properties": {
          "introductionId": {
            "type": "string",
            "format": "uuid",
            "description": "Id of the pinned introduction — the same value as the\n`connectionId` that was pinned. Pass it to the other introduction\nendpoints.\n"
          },
          "pinned": {
            "type": "boolean",
            "description": "The pin state now in effect."
          }
        },
        "example": {
          "introductionId": "4b9a8c2d-7e1f-4a3b-9c5d-2f6a8b0e4c1d",
          "pinned": true
        }
      },
      "SavedList": {
        "type": "object",
        "description": "A named, saved list of people or companies.",
        "properties": {
          "listId": {
            "type": "string",
            "description": "Pass to the `*ListIds` filters on GET /connections/search.",
            "example": "3f2b8c1d-6a4e-4b7f-9d2c-1e5a7b9c0d3f"
          },
          "name": {
            "type": "string",
            "example": "Q4 target accounts"
          },
          "ownerEmail": {
            "type": [
              "string",
              "null"
            ],
            "description": "Email of the user who owns the list; null when the list has no owner.",
            "example": "jane.doe@example.com"
          }
        }
      },
      "ListsResponse": {
        "type": "object",
        "properties": {
          "lists": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/SavedList"
            }
          },
          "total": {
            "type": "integer",
            "description": "Lists matching the filters, before limit and offset."
          }
        }
      },
      "AccountPlanResponse": {
        "type": "object",
        "properties": {
          "accountId": {
            "type": "string"
          },
          "companyId": {
            "type": "string"
          },
          "brief": {
            "type": "string",
            "description": "Human-readable plain-text account plan brief."
          },
          "sectionTitles": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "data": {
            "$ref": "#/components/schemas/AccountPlanData"
          }
        },
        "example": {
          "accountId": "665f1c2e9b1a4c0012a3b4c5",
          "companyId": "COMP-082e0318-8f24-4e21-a2ad-9259dfeef211",
          "brief": "# Account Plan Brief — Acme\nPlan sections: Company Overview, Stakeholders, Opportunities, Insights, Introductions\n## Company Overview\nIndustry: Software Development\nEmployees: 4,200\nWeb: https://acme.com\nLinkedIn: https://www.linkedin.com/company/acme\n## Stakeholders\n### Economic Buyers\n  - Jane Doe, VP Data Platform [champion, positive]\n## Opportunities\n### Consolidate warehouse spend\nstatus: open | category: expansion | est. value: 120,000\nBusiness DMs: Jane Doe\n## Insights\n- Acme migrating off Redshift (2026-09-18) [migration, data]\n  Data engineering leadership posted about a Redshift → Snowflake move.\n## Introductions\n- Jane Doe, VP Data Platform via Sam Lee — status: in-progress, priority: high",
          "sectionTitles": [
            "Company Overview",
            "Stakeholders",
            "Opportunities",
            "Insights",
            "Introductions"
          ],
          "data": {
            "accountId": "665f1c2e9b1a4c0012a3b4c5",
            "tenantId": "64a1b2c3d4e5f6789012345a",
            "companyName": "Acme",
            "company": {
              "name": "Acme",
              "logo": "https://media.vieu.com/company/acme/logo",
              "industries": [
                "Software Development"
              ],
              "employeeCount": 4200,
              "websiteUrl": "https://acme.com",
              "linkedInUrl": "https://www.linkedin.com/company/acme"
            },
            "stakeholderPods": [
              {
                "categoryId": "economic-buyers",
                "name": "Economic Buyers",
                "order": 0,
                "persons": [
                  {
                    "globalId": "PERS-082e0318-8f24-4e21-a2ad-9259dfeef211",
                    "name": "Jane Doe",
                    "title": "VP Data Platform",
                    "jobLevel": 5,
                    "email": "jane.doe@acme.com",
                    "location": "San Francisco, CA",
                    "photo": "https://media.vieu.com/person/janedoe/photo",
                    "disposition": "positive",
                    "bicStatus": "champion"
                  }
                ],
                "reportsTo": {}
              }
            ],
            "opportunities": [
              {
                "title": "Consolidate warehouse spend",
                "subtitle": "<h3>Challenge</h3><p>Two warehouses running in parallel during migration.</p>",
                "status": "open",
                "estValue": 120000,
                "category": "expansion",
                "businessDecisionMakers": [
                  "Jane Doe"
                ],
                "technicalDecisionMakers": []
              }
            ],
            "insights": [
              {
                "title": "Acme migrating off Redshift",
                "summary": "Data engineering leadership posted about a Redshift → Snowflake move.",
                "tags": [
                  "migration",
                  "data"
                ],
                "effdt": "2026-09-18T00:00:00.000Z"
              }
            ],
            "orgPeople": [
              {
                "personId": "PERS-082e0318-8f24-4e21-a2ad-9259dfeef211",
                "name": "Jane Doe",
                "title": "VP Data Platform"
              }
            ],
            "introductions": [
              {
                "uid": "4b9a8c2d-7e1f-4a3b-9c5d-2f6a8b0e4c1d",
                "source": {
                  "name": "Alex Kim",
                  "liUrl": "https://www.linkedin.com/in/alexkim"
                },
                "introducer": {
                  "name": "Sam Lee",
                  "liUrl": "https://www.linkedin.com/in/samlee"
                },
                "target": {
                  "name": "Jane Doe",
                  "title": "VP Data Platform",
                  "liUrl": "https://www.linkedin.com/in/janedoe"
                },
                "companyName": "Acme",
                "status": "in-progress",
                "priority": "high",
                "isDirect": false,
                "productLink": "https://app.vieu.com/introductions?trk=pdf-account-plan#pt=introduction-path&pid=4b9a8c2d-7e1f-4a3b-9c5d-2f6a8b0e4c1d"
              }
            ]
          }
        }
      },
      "AccountPlanData": {
        "type": "object",
        "description": "The structured plan bundle behind the brief. Each section key is present\nonly when the plan contains that section and it has data.\n",
        "properties": {
          "accountId": {
            "type": "string"
          },
          "tenantId": {
            "type": "string"
          },
          "companyName": {
            "type": "string"
          },
          "company": {
            "type": "object",
            "properties": {
              "name": {
                "type": "string"
              },
              "logo": {
                "type": "string"
              },
              "industries": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              },
              "employeeCount": {
                "type": "integer"
              },
              "websiteUrl": {
                "type": "string"
              },
              "linkedInUrl": {
                "type": "string"
              }
            }
          },
          "stakeholders": {
            "type": "array",
            "description": "Favorited people at the account. Present when the plan has no stakeholder pods.",
            "items": {
              "type": "object",
              "properties": {
                "name": {
                  "type": "string"
                },
                "title": {
                  "type": "string"
                },
                "email": {
                  "type": "string"
                },
                "disposition": {
                  "type": "string"
                },
                "bicStatus": {
                  "type": "string",
                  "description": "Buyer / influencer / champion tag."
                }
              }
            }
          },
          "stakeholderPods": {
            "type": "array",
            "description": "Stakeholders grouped by category, with a reporting tree per pod.",
            "items": {
              "type": "object",
              "properties": {
                "categoryId": {
                  "type": "string"
                },
                "name": {
                  "type": "string"
                },
                "order": {
                  "type": "integer"
                },
                "persons": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "globalId": {
                        "type": "string"
                      },
                      "name": {
                        "type": "string"
                      },
                      "title": {
                        "type": "string"
                      },
                      "jobLevel": {
                        "type": "integer"
                      },
                      "email": {
                        "type": "string"
                      },
                      "location": {
                        "type": "string"
                      },
                      "photo": {
                        "type": "string"
                      },
                      "disposition": {
                        "type": "string"
                      },
                      "bicStatus": {
                        "type": "string"
                      }
                    }
                  }
                },
                "reportsTo": {
                  "type": "object",
                  "description": "Map of person `globalId` to their manager's `globalId` within the pod.",
                  "additionalProperties": {
                    "type": "string"
                  }
                }
              }
            }
          },
          "opportunities": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "title": {
                  "type": "string"
                },
                "subtitle": {
                  "type": "string",
                  "description": "Opportunity detail as HTML."
                },
                "status": {
                  "type": "string"
                },
                "estValue": {
                  "type": "number"
                },
                "category": {
                  "type": "string"
                },
                "technicalDecisionMakers": {
                  "type": "array",
                  "items": {
                    "type": "string"
                  }
                },
                "businessDecisionMakers": {
                  "type": "array",
                  "items": {
                    "type": "string"
                  }
                }
              }
            }
          },
          "insights": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "title": {
                  "type": "string"
                },
                "summary": {
                  "type": "string"
                },
                "tags": {
                  "type": "array",
                  "items": {
                    "type": "string"
                  }
                },
                "effdt": {
                  "type": "string",
                  "format": "date-time"
                }
              }
            }
          },
          "orgPeople": {
            "type": "array",
            "description": "Org chart nodes; `parentId` points at another node's `personId`.",
            "items": {
              "type": "object",
              "properties": {
                "personId": {
                  "type": "string"
                },
                "parentId": {
                  "type": "string"
                },
                "name": {
                  "type": "string"
                },
                "title": {
                  "type": "string"
                }
              }
            }
          },
          "introductions": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "uid": {
                  "type": "string"
                },
                "source": {
                  "$ref": "#/components/schemas/AccountPlanIntroParty"
                },
                "introducer": {
                  "$ref": "#/components/schemas/AccountPlanIntroParty"
                },
                "target": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/AccountPlanIntroParty"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "title": {
                          "type": "string"
                        }
                      }
                    }
                  ]
                },
                "companyName": {
                  "type": "string"
                },
                "status": {
                  "type": "string"
                },
                "priority": {
                  "type": "string"
                },
                "isDirect": {
                  "type": "boolean",
                  "description": "True when you already have a direct line to the target."
                },
                "productLink": {
                  "type": "string",
                  "description": "Link to this introduction in the Vieu app."
                }
              }
            }
          }
        }
      },
      "AccountPlanIntroParty": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string"
          },
          "liUrl": {
            "type": "string"
          }
        }
      },
      "AccountTechnographicsResponse": {
        "type": "object",
        "properties": {
          "accountId": {
            "type": "string"
          },
          "companyId": {
            "type": "string"
          },
          "indexed": {
            "type": "boolean",
            "description": "Whether the account has been indexed. When `false`, `summary` fields are null/empty."
          },
          "summary": {
            "$ref": "#/components/schemas/AccountTechnographicSummary"
          },
          "people": {
            "type": "array",
            "description": "Current employees with the most references to your products, ordered by `rank`.",
            "items": {
              "$ref": "#/components/schemas/AccountTechnographicPerson"
            }
          }
        },
        "example": {
          "accountId": "665f1c2e9b1a4c0012a3b4c5",
          "companyId": "COMP-082e0318-8f24-4e21-a2ad-9259dfeef211",
          "indexed": true,
          "summary": {
            "pcpSummary": "Acme's data platform team is consolidating on Snowflake and evaluating dbt Cloud; three senior data engineers posted about migrating off Redshift in the last quarter.",
            "globalSummary": "Strong, recent Snowflake adoption concentrated in Data Engineering, with emerging dbt interest among analytics leads.",
            "products": [
              {
                "productId": "9f1c2a7e-4b3d-4e8a-a1f2-6c5d7e8f9a0b",
                "summary": "Snowflake is referenced by 14 current employees, mostly in Data Engineering; usage appears production-grade.",
                "signals": {
                  "peopleCount": 14,
                  "topDepartments": [
                    "Data Engineering",
                    "Analytics"
                  ]
                }
              }
            ],
            "indexedAt": "2026-10-01T08:14:22.000Z"
          },
          "people": [
            {
              "rank": 1,
              "personGlobalId": "PERS-082e0318-8f24-4e21-a2ad-9259dfeef211",
              "name": "Jane Doe",
              "title": "Director of Data Engineering",
              "photo": "https://media.vieu.com/person/janedoe/photo",
              "totalRefs": 7,
              "refsBySource": {
                "experience": 2,
                "socialPost": 5
              },
              "refsByProduct": {
                "9f1c2a7e-4b3d-4e8a-a1f2-6c5d7e8f9a0b": 7
              },
              "sourcesByProduct": {
                "9f1c2a7e-4b3d-4e8a-a1f2-6c5d7e8f9a0b": [
                  {
                    "kind": "socialPost",
                    "docId": "7d3e9a10b2c4",
                    "link": "https://www.linkedin.com/feed/update/urn:li:activity:7240000000000000000",
                    "productIds": [
                      "9f1c2a7e-4b3d-4e8a-a1f2-6c5d7e8f9a0b"
                    ],
                    "effdt": "2026-09-18",
                    "snippet": "Wrapped up our Redshift → Snowflake migration this week…"
                  }
                ]
              },
              "recency": "2026-09-18T00:00:00.000Z",
              "seniority": 4
            }
          ]
        }
      },
      "AccountTechnographicSummary": {
        "type": "object",
        "properties": {
          "pcpSummary": {
            "type": [
              "string",
              "null"
            ],
            "description": "Narrative summary relative to your products."
          },
          "globalSummary": {
            "type": [
              "string",
              "null"
            ],
            "description": "Overall narrative of the account's technology footprint."
          },
          "products": {
            "type": "array",
            "description": "One entry per product configured in your technographic interests.",
            "items": {
              "type": "object",
              "properties": {
                "productId": {
                  "type": "string",
                  "description": "Id of the product in your technographic interests."
                },
                "summary": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "signals": {
                  "type": "object",
                  "additionalProperties": true,
                  "description": "Raw signal context behind the summary; shape may change."
                }
              }
            }
          },
          "indexedAt": {
            "type": [
              "string",
              "null"
            ],
            "format": "date-time"
          }
        }
      },
      "AccountTechnographicPerson": {
        "type": "object",
        "properties": {
          "rank": {
            "type": "integer"
          },
          "personGlobalId": {
            "type": "string"
          },
          "name": {
            "type": [
              "string",
              "null"
            ]
          },
          "title": {
            "type": [
              "string",
              "null"
            ]
          },
          "photo": {
            "type": [
              "string",
              "null"
            ]
          },
          "totalRefs": {
            "type": "integer",
            "description": "Experience and social-post references combined."
          },
          "refsBySource": {
            "type": "object",
            "properties": {
              "experience": {
                "type": "integer"
              },
              "socialPost": {
                "type": "integer"
              }
            }
          },
          "refsByProduct": {
            "type": "object",
            "description": "Map of `productId` to reference count.",
            "additionalProperties": {
              "type": "integer"
            }
          },
          "sourcesByProduct": {
            "type": "object",
            "description": "Map of `productId` to its source references (up to 10, most recent first).",
            "additionalProperties": {
              "type": "array",
              "items": {
                "$ref": "#/components/schemas/AccountTechnographicSource"
              }
            }
          },
          "recency": {
            "type": [
              "string",
              "null"
            ],
            "format": "date-time",
            "description": "Latest reference date across all sources."
          },
          "seniority": {
            "type": [
              "integer",
              "null"
            ],
            "description": "Job level from the person's current role."
          }
        }
      },
      "AccountTechnographicSource": {
        "type": "object",
        "properties": {
          "kind": {
            "type": "string",
            "enum": [
              "experience",
              "socialPost"
            ]
          },
          "docId": {
            "type": "string"
          },
          "link": {
            "type": [
              "string",
              "null"
            ]
          },
          "productIds": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "effdt": {
            "type": [
              "string",
              "null"
            ],
            "description": "Role start date (`experience`) or post date (`socialPost`)."
          },
          "snippet": {
            "type": "string"
          }
        }
      }
    },
    "responses": {
      "Unauthorized": {
        "description": "Missing or invalid API key.",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/UnauthorizedError"
            }
          }
        }
      },
      "Forbidden": {
        "description": "API key lacks the scope required to call this endpoint.",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/ForbiddenError"
            }
          }
        }
      },
      "RateLimited": {
        "description": "API key rate limit exceeded.",
        "headers": {
          "Retry-After": {
            "schema": {
              "type": "integer"
            },
            "description": "Seconds until the rate-limit window resets."
          }
        },
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/Error"
            },
            "example": {
              "code": "ERR_RATE_LIMIT",
              "message": "Too many requests, please try again later"
            }
          }
        }
      },
      "ServerError": {
        "description": "Unexpected server error.",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/Error"
            },
            "example": {
              "code": "ERR_INTERNAL_SERVER",
              "message": "Server Error"
            }
          }
        }
      }
    }
  },
  "paths": {
    "/persons/search": {
      "get": {
        "tags": [
          "Person"
        ],
        "summary": "Search person",
        "description": "Resolves up to five matching people from exactly one search input:\n`query`, `linkedInUrl`, or `personId`.\n\n**Required scope:** `person:read`\n",
        "operationId": "searchPersons",
        "parameters": [
          {
            "name": "query",
            "in": "query",
            "required": false,
            "description": "Free-text person search query.",
            "schema": {
              "type": "string"
            },
            "example": "Jane Doe Acme"
          },
          {
            "name": "linkedInUrl",
            "in": "query",
            "required": false,
            "description": "Person LinkedIn profile URL.",
            "schema": {
              "type": "string",
              "format": "uri"
            },
            "example": "https://www.linkedin.com/in/janedoe"
          },
          {
            "name": "personId",
            "in": "query",
            "required": false,
            "description": "Person ID.",
            "schema": {
              "type": "string"
            },
            "example": "PERS-082e0318-8f24-4e21-a2ad-9259dfeef211"
          }
        ],
        "responses": {
          "200": {
            "description": "Up to five resolved people with minimal lookup fields.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/LookupPersonResponse"
                },
                "example": {
                  "persons": [
                    {
                      "personId": "PERS-082e0318-8f24-4e21-a2ad-9259dfeef211",
                      "name": "Jane Doe",
                      "linkedInUrl": "https://www.linkedin.com/in/janedoe",
                      "imageUrl": "https://media.vieu.com/person/janedoe/photo"
                    }
                  ]
                }
              }
            }
          },
          "400": {
            "description": "The request is malformed or failed validation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                },
                "example": {
                  "code": "ERR_INVALID_REQUEST",
                  "message": "Provide exactly one of query, linkedInUrl, or personId"
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          },
          "429": {
            "$ref": "#/components/responses/RateLimited"
          },
          "500": {
            "$ref": "#/components/responses/ServerError"
          }
        }
      }
    },
    "/accounts/search": {
      "get": {
        "tags": [
          "Account"
        ],
        "summary": "Search account",
        "description": "Resolves up to five matching companies from exactly one search input:\n`query`, `webDomain`, `linkedInUrl`, `companyId`, or `accountId`. Each\nresult is annotated with this tenant's account state. `accountId` and\n`hasAccountPlan` reflect whether the tenant already has an account plan\nfor the company. An `accountId` input resolves to its company first; an\nunknown or cross-tenant `accountId` returns `404`.\n\n**Required scope:** `account:read-write`\n",
        "operationId": "searchAccounts",
        "parameters": [
          {
            "name": "query",
            "in": "query",
            "required": false,
            "description": "Free-text company search query.",
            "schema": {
              "type": "string"
            },
            "example": "Acme"
          },
          {
            "name": "webDomain",
            "in": "query",
            "required": false,
            "description": "Company web or email domain.",
            "schema": {
              "type": "string"
            },
            "example": "acme.com"
          },
          {
            "name": "linkedInUrl",
            "in": "query",
            "required": false,
            "description": "Company LinkedIn URL.",
            "schema": {
              "type": "string",
              "format": "uri"
            },
            "example": "https://www.linkedin.com/company/acme"
          },
          {
            "name": "companyId",
            "in": "query",
            "required": false,
            "description": "Company (global) ID.",
            "schema": {
              "type": "string"
            },
            "example": "COMP-082e0318-8f24-4e21-a2ad-9259dfeef211"
          },
          {
            "name": "accountId",
            "in": "query",
            "required": false,
            "description": "This tenant's account-plan id; resolves to its company.",
            "schema": {
              "type": "string"
            },
            "example": "665f1c2e9b1a4c0012a3b4c5"
          }
        ],
        "responses": {
          "200": {
            "description": "Up to five resolved companies annotated with account state.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/LookupCompanyResponse"
                },
                "example": {
                  "companies": [
                    {
                      "companyId": "COMP-082e0318-8f24-4e21-a2ad-9259dfeef211",
                      "name": "Vieu",
                      "linkedInUrl": "https://www.linkedin.com/company/vieu",
                      "imageUrl": "https://media.vieu.com/company/vieu/logo",
                      "verified": true,
                      "accountId": "665f1c2e9b1a4c0012a3b4c5",
                      "hasAccountPlan": true
                    }
                  ]
                }
              }
            }
          },
          "400": {
            "description": "The request is malformed or failed validation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                },
                "example": {
                  "code": "ERR_INVALID_REQUEST",
                  "message": "Provide exactly one of query, linkedInUrl, webDomain, companyId, or accountId"
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          },
          "404": {
            "description": "Resource not found, or not owned by the authenticated tenant.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                },
                "example": {
                  "code": "ERR_NOT_FOUND",
                  "message": "Account 665f1c2e9b1a4c0012a3b4c5 not found"
                }
              }
            }
          },
          "429": {
            "$ref": "#/components/responses/RateLimited"
          },
          "500": {
            "$ref": "#/components/responses/ServerError"
          }
        }
      }
    },
    "/introductions": {
      "get": {
        "tags": [
          "Introductions"
        ],
        "summary": "List pinned introductions",
        "description": "Returns the authenticated tenant's pinned introductions, paginated and\nsorted by recency. Maximum `pageSize` is 100. Only pinned\nintroductions are exposed through this API. To fetch the full detail\n(notes, drafted outreach messages) for a single one, use\n`GET /introductions/detail?introductionId=...`.\n\nOptional filters narrow the list. Filters are AND'd together and values\nwithin one filter are OR'd. `account`, `participant`, and\n`pointOfContact` accept names, URLs, emails, or Vieu ids and are\nresolved server-side; a filter that resolves to nothing is a `400`, so\na constraint is never silently dropped and the list never silently\nwidens. What each reference resolved to is echoed back in\n`appliedFilters`, with any caveats in `notes`.\n\nOmitting `status` returns every status, including completed and parked.\n\n**Required scope:** `introduction:read-write`\n",
        "operationId": "listPinnedIntroductions",
        "parameters": [
          {
            "$ref": "#/components/parameters/PageParam"
          },
          {
            "$ref": "#/components/parameters/PageSizeParam"
          },
          {
            "name": "account",
            "in": "query",
            "required": false,
            "description": "Restrict to these accounts (company name/domain/LinkedIn URL/COMP-id). Repeatable; OR'd.",
            "schema": {
              "type": "array",
              "items": {
                "type": "string"
              }
            }
          },
          {
            "name": "participant",
            "in": "query",
            "required": false,
            "description": "Restrict to introductions where one of these people is on the path — introducer, intermediary, or target (name/LinkedIn URL/PERS-id). Repeatable; OR'd.",
            "schema": {
              "type": "array",
              "items": {
                "type": "string"
              }
            }
          },
          {
            "name": "pointOfContact",
            "in": "query",
            "required": false,
            "description": "Restrict to introductions owned by these teammates, each a tenant user's email or name. Repeatable; OR'd.",
            "schema": {
              "type": "array",
              "items": {
                "type": "string"
              }
            }
          },
          {
            "name": "status",
            "in": "query",
            "required": false,
            "description": "Restrict to these workflow statuses. The literal `null` selects shortlisted introductions — pins nobody has actioned yet. Repeatable; OR'd.",
            "schema": {
              "type": "array",
              "items": {
                "$ref": "#/components/schemas/IntroductionStatusFilter"
              }
            }
          },
          {
            "name": "mode",
            "in": "query",
            "required": false,
            "description": "Return only introductions in this orchestration mode. Omit to get\nevery pinned introduction regardless of mode; note that `agent` and\n`manual` together are narrower than the unfiltered list, since\nintroductions that were never explicitly handed to either have no\nmode set.\n",
            "schema": {
              "$ref": "#/components/schemas/OrchestrationMode"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "A page of pinned introductions.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PaginatedIntroductions"
                }
              }
            }
          },
          "400": {
            "description": "The request is malformed or failed validation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                },
                "example": {
                  "code": "ERR_INVALID_REQUEST",
                  "message": "Could not resolve account. No company matched \"acme-typo\"."
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          },
          "429": {
            "$ref": "#/components/responses/RateLimited"
          },
          "500": {
            "$ref": "#/components/responses/ServerError"
          }
        }
      }
    },
    "/introductions/detail": {
      "get": {
        "tags": [
          "Introductions"
        ],
        "summary": "Read a single introduction",
        "description": "Returns a single introduction by `introductionId`. The introduction\nmust belong to the authenticated tenant; otherwise `404` is returned\n(we do not distinguish \"wrong tenant\" from \"not found\").\n\n**Required scope:** `introduction:read-write`\n",
        "operationId": "getIntroductionByUid",
        "parameters": [
          {
            "$ref": "#/components/parameters/IntroductionUid"
          },
          {
            "$ref": "#/components/parameters/IntroductionUidLegacy"
          }
        ],
        "responses": {
          "200": {
            "description": "The introduction, with notes and any drafted outreach messages.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/IntroductionDetail"
                }
              }
            }
          },
          "400": {
            "description": "The request is malformed or failed validation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                },
                "example": {
                  "code": "ERR_INVALID_REQUEST",
                  "message": "[\"invalid_string:  introductionId must be a valid UUID\"]"
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          },
          "404": {
            "description": "Resource not found, or not owned by the authenticated tenant.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                },
                "example": {
                  "code": "ERR_NOT_FOUND",
                  "message": "Introduction not found"
                }
              }
            }
          },
          "429": {
            "$ref": "#/components/responses/RateLimited"
          },
          "500": {
            "$ref": "#/components/responses/ServerError"
          }
        }
      }
    },
    "/introductions/status": {
      "post": {
        "tags": [
          "Introductions"
        ],
        "summary": "Set status for an introduction",
        "description": "Updates the `status` field for a single introduction. The change is\nrecorded in the introduction's activity log with the API key's name\nas the actor.\n\n**Required scope:** `introduction:read-write`\n",
        "operationId": "setIntroductionStatus",
        "parameters": [
          {
            "$ref": "#/components/parameters/IntroductionUid"
          },
          {
            "$ref": "#/components/parameters/IntroductionUidLegacy"
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/SetIntroductionStatusRequest"
              },
              "example": {
                "status": "in-progress"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "The introduction and its new status.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SetIntroductionStatusResponse"
                }
              }
            }
          },
          "400": {
            "description": "The request is malformed or failed validation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                },
                "example": {
                  "code": "ERR_INVALID_REQUEST",
                  "message": "[\"invalid_string:  introductionId must be a valid UUID\"]"
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          },
          "404": {
            "description": "Resource not found, or not owned by the authenticated tenant.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                },
                "example": {
                  "code": "ERR_NOT_FOUND",
                  "message": "Introduction not found"
                }
              }
            }
          },
          "429": {
            "$ref": "#/components/responses/RateLimited"
          },
          "500": {
            "$ref": "#/components/responses/ServerError"
          }
        }
      }
    },
    "/introductions/notes": {
      "post": {
        "tags": [
          "Introductions"
        ],
        "summary": "Add a note to an introduction",
        "description": "Attaches a note to an introduction. The note is attributed to the API\nkey (author email `<keyName>@vieu.api`) so activity-log renderers can\nvisually distinguish API writes from user writes.\n\nNotes created through this API are always `public`. Private notes are\nauthor-scoped inside Vieu and are not exposed through the partner API.\n\n**Required scope:** `introduction:read-write`\n",
        "operationId": "addIntroductionNote",
        "parameters": [
          {
            "$ref": "#/components/parameters/IntroductionUid"
          },
          {
            "$ref": "#/components/parameters/IntroductionUidLegacy"
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/AddIntroductionNoteRequest"
              },
              "example": {
                "body": "Target confirmed interest; scheduling a follow-up for next week."
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Note recorded.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "message"
                  ],
                  "properties": {
                    "message": {
                      "type": "string",
                      "example": "OK"
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "The request is malformed or failed validation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                },
                "example": {
                  "code": "ERR_INVALID_REQUEST",
                  "message": "[\"invalid_string:  introductionId must be a valid UUID\"]"
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          },
          "404": {
            "description": "Resource not found, or not owned by the authenticated tenant.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                },
                "example": {
                  "code": "ERR_NOT_FOUND",
                  "message": "Introduction not found"
                }
              }
            }
          },
          "429": {
            "$ref": "#/components/responses/RateLimited"
          },
          "500": {
            "$ref": "#/components/responses/ServerError"
          }
        }
      }
    },
    "/introductions/explanation": {
      "get": {
        "tags": [
          "Introductions"
        ],
        "summary": "Explain an introduction",
        "description": "Generates a short, natural-language description of the connection\npath for this introduction: who knows whom, how they're connected,\nand why the intro makes sense. Results are cached server-side.\n\n**Required scope:** `introduction:read-write`\n",
        "operationId": "explainIntroduction",
        "parameters": [
          {
            "$ref": "#/components/parameters/IntroductionUid"
          },
          {
            "$ref": "#/components/parameters/IntroductionUidLegacy"
          }
        ],
        "responses": {
          "200": {
            "description": "The introduction's explanation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ExplainIntroductionResponse"
                }
              }
            }
          },
          "400": {
            "description": "The request is malformed or failed validation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                },
                "example": {
                  "code": "ERR_INVALID_REQUEST",
                  "message": "[\"invalid_string:  introductionId must be a valid UUID\"]"
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          },
          "404": {
            "description": "Resource not found, or not owned by the authenticated tenant.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                },
                "example": {
                  "code": "ERR_NOT_FOUND",
                  "message": "Introduction not found"
                }
              }
            }
          },
          "429": {
            "$ref": "#/components/responses/RateLimited"
          },
          "500": {
            "$ref": "#/components/responses/ServerError"
          }
        }
      }
    },
    "/accounts/stakeholders": {
      "get": {
        "tags": [
          "Account"
        ],
        "summary": "List account stakeholders",
        "description": "Returns the generated stakeholders for an account, in the same shape\nas the stakeholder CSV export minus the contact-detail columns\n(email). If the account's power pods have not been generated\nyet, `generated` is `false` and `stakeholders` is empty. Trigger\ngeneration with `POST /accounts/stakeholders/generate`.\n\n**Required scope:** `account:read-write`\n",
        "operationId": "getAccountStakeholders",
        "parameters": [
          {
            "$ref": "#/components/parameters/AccountIdParam"
          },
          {
            "$ref": "#/components/parameters/AccountCompanyIdParam"
          }
        ],
        "responses": {
          "200": {
            "description": "The account's stakeholders (or a not-generated indication).",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AccountStakeholders"
                }
              }
            }
          },
          "400": {
            "description": "The request is malformed or failed validation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                },
                "example": {
                  "code": "ERR_INVALID_REQUEST",
                  "message": "[\"custom:  Provide exactly one of accountId or companyId\"]"
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          },
          "404": {
            "description": "Resource not found, or not owned by the authenticated tenant.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                },
                "example": {
                  "code": "ERR_NOT_FOUND",
                  "message": "Account 665f1c2e9b1a4c0012a3b4c5 not found"
                }
              }
            }
          },
          "429": {
            "$ref": "#/components/responses/RateLimited"
          },
          "500": {
            "$ref": "#/components/responses/ServerError"
          }
        }
      }
    },
    "/accounts/stakeholders/generate": {
      "post": {
        "tags": [
          "Account"
        ],
        "summary": "Trigger stakeholder generation",
        "description": "Requests stakeholder generation (power pod seeding) for an account.\nIdempotent: no-ops when the account already has stakeholders or a\nseed is already in flight. Poll `GET /accounts/stakeholders` for\nprogress. Generation normally completes in under 10 minutes; poll no\nmore often than every 15 seconds.\n\nIf addressed by `companyId` and no account exists for that company yet,\nthe account is created first (no plan is generated; the plan bootstraps\nthe first time the account is opened) and `created: true` is returned.\nAn unknown `accountId` cannot be created and returns `404`.\n\nOnly stakeholders are seeded here; opportunities are not. Opportunities\nare seeded later, when the account's plan is first opened.\n\n**Required scope:** `account:read-write`\n",
        "operationId": "generateAccountStakeholders",
        "parameters": [
          {
            "$ref": "#/components/parameters/AccountIdParam"
          },
          {
            "$ref": "#/components/parameters/AccountCompanyIdParam"
          }
        ],
        "responses": {
          "200": {
            "description": "Generation accepted.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GenerateStakeholdersResponse"
                }
              }
            }
          },
          "400": {
            "description": "The request is malformed or failed validation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                },
                "example": {
                  "code": "ERR_INVALID_REQUEST",
                  "message": "[\"custom:  Provide exactly one of accountId or companyId\"]"
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          },
          "404": {
            "description": "Resource not found, or not owned by the authenticated tenant.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                },
                "example": {
                  "code": "ERR_NOT_FOUND",
                  "message": "Company COMP-082e0318-8f24-4e21-a2ad-9259dfeef211 not found"
                }
              }
            }
          },
          "429": {
            "$ref": "#/components/responses/RateLimited"
          },
          "500": {
            "$ref": "#/components/responses/ServerError"
          }
        }
      }
    },
    "/persons/contact": {
      "get": {
        "tags": [
          "Person"
        ],
        "summary": "Read a person's email contact details",
        "description": "Returns emails for a person. Email resolution normally completes in\n1-2 minutes. When it is still in flight, the response carries\n`tryLater: true`; retry no more often than every 15 seconds.\n\n**Required scope:** `person:read`\n",
        "operationId": "getPersonContactDetails",
        "parameters": [
          {
            "$ref": "#/components/parameters/PersonIdParam"
          }
        ],
        "responses": {
          "200": {
            "description": "The person's contact details.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PersonContactDetails"
                }
              }
            }
          },
          "400": {
            "description": "The request is malformed or failed validation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                },
                "example": {
                  "code": "ERR_INVALID_REQUEST",
                  "message": "[\"custom: personId Invalid personId\"]"
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          },
          "429": {
            "$ref": "#/components/responses/RateLimited"
          },
          "500": {
            "$ref": "#/components/responses/ServerError"
          }
        }
      }
    },
    "/persons/profile": {
      "get": {
        "tags": [
          "Person"
        ],
        "summary": "Read a person profile",
        "description": "Resolves a person from exactly one input (`query`, `linkedInUrl`, or\n`personId`) and returns their profile: bio, experience (with `MM-YYYY`\nstart and end months per role), and personal tidbits useful for\npersonalising outreach. When the reference is ambiguous, `candidates`\nis returned instead of `profile`.\n\nTidbits are returned from cache. When some have not been derived yet,\ngeneration starts in the background and `tryLater` is `true` — call\nagain shortly for the rest rather than waiting on this request.\n\n**Required scope:** `person:read`\n",
        "operationId": "getPersonProfile",
        "parameters": [
          {
            "name": "query",
            "in": "query",
            "required": false,
            "description": "Free-text person search query.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "linkedInUrl",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "uri"
            }
          },
          {
            "name": "personId",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "The resolved profile, or candidates to disambiguate.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PersonProfileResponse"
                },
                "examples": {
                  "profile": {
                    "summary": "Resolved to one person",
                    "value": {
                      "profile": {
                        "personId": "PERS-082e0318-8f24-4e21-a2ad-9259dfeef211",
                        "id": "PERS-082e0318-8f24-4e21-a2ad-9259dfeef211",
                        "name": "Jane Doe",
                        "imageUrl": "https://media.vieu.com/person/janedoe/photo",
                        "title": "VP Data Platform",
                        "company": "Acme",
                        "bio": "Data platform leader scaling analytics infrastructure for high-growth SaaS.",
                        "linkedInUrl": "https://www.linkedin.com/in/jane-doe",
                        "linkedInSlug": "jane-doe",
                        "linkedInFollowerCount": 4800,
                        "education": "Stanford University — M.S. Computer Science",
                        "tenantRelationship": "Worked with Sam Lee (your team) at Globex, 2019–2022.",
                        "tidbitsStatus": "complete",
                        "experience": [
                          {
                            "company": "Acme",
                            "title": "VP Data Platform",
                            "startDate": "08-2023"
                          },
                          {
                            "company": "Globex",
                            "title": "Director of Data Engineering",
                            "startDate": "03-2019",
                            "endDate": "08-2023"
                          }
                        ],
                        "tidbits": [
                          {
                            "category": "award",
                            "name": "Data Leader of the Year",
                            "detail": "Named Data Leader of the Year at the 2025 Modern Data Summit.",
                            "sources": [
                              "https://www.example.com/modern-data-summit-2025-awards"
                            ],
                            "referenceUrl": "https://www.example.com/modern-data-summit-2025-awards"
                          },
                          {
                            "category": "hobby",
                            "name": "Marathon running",
                            "detail": "Has completed the Boston and Chicago marathons."
                          }
                        ]
                      },
                      "tryLater": false
                    }
                  },
                  "ambiguous": {
                    "summary": "Ambiguous reference — pick a candidate",
                    "value": {
                      "candidates": [
                        {
                          "id": "PERS-082e0318-8f24-4e21-a2ad-9259dfeef211",
                          "name": "Jane Doe",
                          "imageUrl": "https://media.vieu.com/person/janedoe/photo",
                          "linkedInUrl": "https://www.linkedin.com/in/jane-doe",
                          "linkedInSlug": "jane-doe",
                          "currentRoles": [
                            {
                              "title": "VP Data Platform",
                              "company": "Acme"
                            }
                          ],
                          "score": 18.4
                        },
                        {
                          "id": "PERS-5d1e7a20-3c9b-4f6e-8a2d-7b4c1e9f0a6d",
                          "name": "Jane Doe",
                          "linkedInUrl": "https://www.linkedin.com/in/janedoe-sales",
                          "linkedInSlug": "janedoe-sales",
                          "currentRoles": [
                            {
                              "title": "Account Executive",
                              "company": "Initech"
                            }
                          ],
                          "score": 11.2
                        }
                      ]
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "The request is malformed or failed validation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                },
                "example": {
                  "code": "ERR_INVALID_REQUEST",
                  "message": "Provide exactly one of query, linkedInUrl, or personId"
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          },
          "404": {
            "description": "Resource not found, or not owned by the authenticated tenant.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                },
                "example": {
                  "code": "ERR_NOT_FOUND",
                  "message": "No person found for \"Jane Doe Acme\""
                }
              }
            }
          },
          "429": {
            "$ref": "#/components/responses/RateLimited"
          },
          "500": {
            "$ref": "#/components/responses/ServerError"
          }
        }
      }
    },
    "/accounts/profile": {
      "get": {
        "tags": [
          "Account"
        ],
        "summary": "Read a company/account profile",
        "description": "Returns the profile (industry, size, headquarters, domain, description)\nfor a company. Address it by `accountId`, `companyId`, or a free-text\n`query` (exactly one). When the reference is ambiguous, `candidates` is\nreturned instead of `profile`.\n\n**Required scope:** `account:read-write`\n",
        "operationId": "getAccountProfile",
        "parameters": [
          {
            "$ref": "#/components/parameters/AccountIdParam"
          },
          {
            "$ref": "#/components/parameters/AccountCompanyIdParam"
          },
          {
            "name": "query",
            "in": "query",
            "required": false,
            "description": "Free-text company search query.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "The resolved profile, or candidates to disambiguate.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AccountProfileResponse"
                },
                "examples": {
                  "profile": {
                    "summary": "Resolved to one company",
                    "value": {
                      "profile": {
                        "companyId": "COMP-082e0318-8f24-4e21-a2ad-9259dfeef211",
                        "id": "COMP-082e0318-8f24-4e21-a2ad-9259dfeef211",
                        "name": "Acme",
                        "imageUrl": "https://media.vieu.com/company/acme/logo",
                        "industry": "Software Development",
                        "employeeCount": 4200,
                        "headquarters": "San Francisco, CA",
                        "domain": "acme.com",
                        "linkedInUrl": "https://www.linkedin.com/company/acme",
                        "description": "Acme builds workflow automation software for mid-market finance teams."
                      }
                    }
                  },
                  "ambiguous": {
                    "summary": "Ambiguous reference — pick a candidate",
                    "value": {
                      "candidates": [
                        {
                          "id": "COMP-082e0318-8f24-4e21-a2ad-9259dfeef211",
                          "name": "Acme",
                          "imageUrl": "https://media.vieu.com/company/acme/logo",
                          "domain": "acme.com",
                          "linkedInUrl": "https://www.linkedin.com/company/acme",
                          "employeeCount": 4200,
                          "score": 21.7
                        },
                        {
                          "id": "COMP-9c3f2e18-6b7a-4d5c-a1e9-0f8b2d4c6a73",
                          "name": "Acme Logistics",
                          "domain": "acmelogistics.com",
                          "linkedInUrl": "https://www.linkedin.com/company/acme-logistics",
                          "employeeCount": 85,
                          "score": 9.3
                        }
                      ]
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "The request is malformed or failed validation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                },
                "example": {
                  "code": "ERR_INVALID_REQUEST",
                  "message": "[\"custom:  Provide exactly one of accountId, companyId, or query\"]"
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          },
          "404": {
            "description": "Resource not found, or not owned by the authenticated tenant.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                },
                "example": {
                  "code": "ERR_NOT_FOUND",
                  "message": "No company found for \"acme\""
                }
              }
            }
          },
          "429": {
            "$ref": "#/components/responses/RateLimited"
          },
          "500": {
            "$ref": "#/components/responses/ServerError"
          }
        }
      }
    },
    "/accounts/plan": {
      "get": {
        "tags": [
          "Account"
        ],
        "summary": "Export an account plan",
        "description": "Exports your account plan for a company as a structured bundle plus a\nplain-text brief (company overview, stakeholders, org chart,\nopportunities, insights, introductions). Technographics are excluded;\nsee `GET /accounts/technographics`. Address by `accountId` or\n`companyId`.\n\n**Required scope:** `account:read-write`\n",
        "operationId": "getAccountPlan",
        "parameters": [
          {
            "$ref": "#/components/parameters/AccountIdParam"
          },
          {
            "$ref": "#/components/parameters/AccountCompanyIdParam"
          }
        ],
        "responses": {
          "200": {
            "description": "The account plan brief and its structured data.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AccountPlanResponse"
                }
              }
            }
          },
          "400": {
            "description": "The request is malformed or failed validation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                },
                "example": {
                  "code": "ERR_INVALID_REQUEST",
                  "message": "[\"custom:  Provide exactly one of accountId or companyId\"]"
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          },
          "404": {
            "description": "Resource not found, or not owned by the authenticated tenant.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                },
                "example": {
                  "code": "ERR_NOT_FOUND",
                  "message": "Account 665f1c2e9b1a4c0012a3b4c5 not found"
                }
              }
            }
          },
          "429": {
            "$ref": "#/components/responses/RateLimited"
          },
          "500": {
            "$ref": "#/components/responses/ServerError"
          }
        }
      }
    },
    "/accounts/technographics": {
      "get": {
        "tags": [
          "Account"
        ],
        "summary": "Read account technographics",
        "description": "Returns the indexed technology summary and the top people driving it\nfor a company you track as an account. Address by `accountId` or\n`companyId`. Distinct from the tenant-level technographic-interest\nendpoints.\n\n**Required scope:** `account:read-write`\n",
        "operationId": "getAccountTechnographics",
        "parameters": [
          {
            "$ref": "#/components/parameters/AccountIdParam"
          },
          {
            "$ref": "#/components/parameters/AccountCompanyIdParam"
          }
        ],
        "responses": {
          "200": {
            "description": "The account's technographic summary and top people.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AccountTechnographicsResponse"
                }
              }
            }
          },
          "400": {
            "description": "The request is malformed or failed validation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                },
                "example": {
                  "code": "ERR_INVALID_REQUEST",
                  "message": "[\"custom:  Provide exactly one of accountId or companyId\"]"
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          },
          "404": {
            "description": "Resource not found, or not owned by the authenticated tenant.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                },
                "example": {
                  "code": "ERR_NOT_FOUND",
                  "message": "Account 665f1c2e9b1a4c0012a3b4c5 not found"
                }
              }
            }
          },
          "429": {
            "$ref": "#/components/responses/RateLimited"
          },
          "500": {
            "$ref": "#/components/responses/ServerError"
          }
        }
      }
    },
    "/connections/search": {
      "get": {
        "tags": [
          "Connections"
        ],
        "summary": "Search warm connections",
        "description": "Finds people your company can reach at a target company and/or specific\npeople, ranked by relationship strength, each with its warmest path.\nEntity references (`targetCompany`, `connectTo`, `connectFrom`) accept\nnames, domains, LinkedIn URLs, or Vieu ids and are resolved\nserver-side; a reference that resolves to nothing is a `400` (the\nconstraint is never silently dropped). List filters take ids from\n`GET /persons/lists`. The CRM filters (`accountOwner`, `crmCustomer`,\n`dealStages`, `dealSizeMin`, `dealSizeMax`) apply to the target's\ncompany as an account in your CRM.\n\n**Required scope:** `connection:read`\n",
        "operationId": "searchConnections",
        "parameters": [
          {
            "name": "targetCompany",
            "in": "query",
            "required": false,
            "description": "Companies to reach into (name/domain/URL/COMP-id). Repeatable; OR'd.",
            "schema": {
              "type": "array",
              "items": {
                "type": "string"
              }
            }
          },
          {
            "name": "connectTo",
            "in": "query",
            "required": false,
            "description": "Specific target people (name/URL/PERS-id). Repeatable; OR'd.",
            "schema": {
              "type": "array",
              "items": {
                "type": "string"
              }
            }
          },
          {
            "name": "connectFrom",
            "in": "query",
            "required": false,
            "description": "People who must be the introducer. Repeatable; OR'd.",
            "schema": {
              "type": "array",
              "items": {
                "type": "string"
              }
            }
          },
          {
            "name": "introducerTypes",
            "in": "query",
            "required": false,
            "description": "How the introducer must relate to your company: Introducer Type ids from the `introducerType` field of `GET /connections/search/metadata` (the categories of your company's GTM Neural Center), either a canonical slug (`investors`, `champions`, `board_of_directors`, …) or a custom category's id. Repeatable; OR'd. An id your company does not have is a `404`.",
            "schema": {
              "type": "array",
              "items": {
                "type": "string"
              }
            }
          },
          {
            "name": "titles",
            "in": "query",
            "required": false,
            "description": "Job-function keywords (substring match). Repeatable; OR'd.",
            "schema": {
              "type": "array",
              "items": {
                "type": "string"
              }
            }
          },
          {
            "name": "excludedTitles",
            "in": "query",
            "required": false,
            "schema": {
              "type": "array",
              "items": {
                "type": "string"
              }
            }
          },
          {
            "name": "seniority",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "enum": [
                "c-level",
                "vp",
                "director",
                "manager",
                "ic"
              ]
            }
          },
          {
            "name": "targetLocation",
            "in": "query",
            "required": false,
            "description": "Where the target is based (free text, resolved server-side).",
            "schema": {
              "type": "array",
              "items": {
                "type": "string"
              }
            }
          },
          {
            "name": "strength",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "enum": [
                "any",
                "moderate",
                "strong"
              ]
            }
          },
          {
            "name": "requireBuyerPersona",
            "in": "query",
            "required": false,
            "schema": {
              "type": "boolean"
            }
          },
          {
            "name": "recommendedFilters",
            "in": "query",
            "required": false,
            "description": "Apply the tenant's configured default filters (default true), the same defaults the Vieu app's Connections page uses. Set false to bypass them and see every reachable connection.",
            "schema": {
              "type": "boolean"
            }
          },
          {
            "name": "pathLengths",
            "in": "query",
            "required": false,
            "description": "1 = insider, 2 = direct, 3 = indirect. Repeatable; OR'd.",
            "schema": {
              "type": "array",
              "items": {
                "type": "integer",
                "enum": [
                  1,
                  2,
                  3
                ]
              }
            }
          },
          {
            "name": "targetListIds",
            "in": "query",
            "required": false,
            "description": "Restrict the target to these person-list ids (from GET /persons/lists).",
            "schema": {
              "type": "array",
              "items": {
                "type": "string"
              }
            }
          },
          {
            "name": "excludeTargetListIds",
            "in": "query",
            "required": false,
            "schema": {
              "type": "array",
              "items": {
                "type": "string"
              }
            }
          },
          {
            "name": "introducerListIds",
            "in": "query",
            "required": false,
            "description": "Restrict the introducer to these person-list ids.",
            "schema": {
              "type": "array",
              "items": {
                "type": "string"
              }
            }
          },
          {
            "name": "excludeIntroducerListIds",
            "in": "query",
            "required": false,
            "schema": {
              "type": "array",
              "items": {
                "type": "string"
              }
            }
          },
          {
            "name": "tags",
            "in": "query",
            "required": false,
            "schema": {
              "type": "array",
              "items": {
                "type": "string"
              }
            }
          },
          {
            "name": "excludeTags",
            "in": "query",
            "required": false,
            "schema": {
              "type": "array",
              "items": {
                "type": "string"
              }
            }
          },
          {
            "name": "accountOwner",
            "in": "query",
            "required": false,
            "description": "Only targets at accounts one of these teammates owns in the CRM, each an email (or a name; a name matching several teammates filters on all of them, flagged in `notes`). Repeatable; OR'd. An owner that matches no teammate is a `400`. Needs the CRM account sync; without it, `notes` says the filter can match nothing.",
            "schema": {
              "type": "array",
              "items": {
                "type": "string"
              }
            }
          },
          {
            "name": "crmCustomer",
            "in": "query",
            "required": false,
            "description": "By the CRM's Customer Rule: `customers` = accounts it flags as customers, `prospects` = every other account. Needs a Customer Rule in your CRM settings.",
            "schema": {
              "type": "string",
              "enum": [
                "customers",
                "prospects"
              ]
            }
          },
          {
            "name": "dealStages",
            "in": "query",
            "required": false,
            "description": "Deal stages (opportunity stages in Salesforce), exactly as your CRM names them. Repeat the parameter for several (OR'd); a comma stays part of the stage name.",
            "schema": {
              "type": "array",
              "items": {
                "type": "string"
              }
            }
          },
          {
            "name": "dealSizeMin",
            "in": "query",
            "required": false,
            "description": "Smallest deal (opportunity) size, in whole dollars.",
            "schema": {
              "type": "number",
              "minimum": 0
            }
          },
          {
            "name": "dealSizeMax",
            "in": "query",
            "required": false,
            "description": "Largest deal (opportunity) size, in whole dollars.",
            "schema": {
              "type": "number",
              "minimum": 0
            }
          },
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "minimum": 1,
              "maximum": 50,
              "default": 10
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Ranked reachable targets and their warmest paths.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ConnectionSearchResponse"
                },
                "example": {
                  "connections": [
                    {
                      "personId": "PERS-082e0318-8f24-4e21-a2ad-9259dfeef211",
                      "name": "Jane Doe",
                      "title": "VP of Engineering",
                      "targetLinkedInUrl": "https://www.linkedin.com/in/janedoe",
                      "companyName": "Acme Corp",
                      "companyId": "COMP-4b9a8c2d-7e1f-4a3b-9c5d-2f6a8b0e4c1d",
                      "companyLinkedInUrl": "https://www.linkedin.com/company/acme-corp",
                      "company": "Acme Corp",
                      "location": "San Francisco Bay Area",
                      "relationshipStrength": "strong",
                      "buyerFit": "high",
                      "connectionId": "4b9a8c2d-7e1f-4a3b-9c5d-2f6a8b0e4c1d",
                      "pathSummary": "Your Company → Bob Smith → Jane Doe",
                      "pathCount": 3
                    },
                    {
                      "personId": "PERS-91cf7a40-2b18-4d55-8e02-77a1c3ee9b64",
                      "name": "Sam Patel",
                      "title": "Director of Platform",
                      "targetLinkedInUrl": null,
                      "companyName": "Acme Corp",
                      "companyId": "COMP-4b9a8c2d-7e1f-4a3b-9c5d-2f6a8b0e4c1d",
                      "companyLinkedInUrl": "https://www.linkedin.com/company/acme-corp",
                      "company": "Acme Corp",
                      "location": "Austin, Texas",
                      "relationshipStrength": "moderate",
                      "buyerFit": "medium",
                      "connectionId": "8e2b1f07-5c3a-4a91-b6de-1f0c7a45d982",
                      "pathSummary": "Your Company → Sam Patel",
                      "pathCount": 1
                    }
                  ],
                  "totalFound": 2,
                  "companyScopeTruncated": false,
                  "notes": [
                    "Resolved \"Acme\" to Acme Corp."
                  ]
                }
              }
            }
          },
          "400": {
            "description": "The request is malformed or failed validation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                },
                "example": {
                  "code": "ERR_INVALID_REQUEST",
                  "message": "Could not resolve targetCompany. No company matched \"acme-typo\"."
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          },
          "404": {
            "description": "An `introducerTypes` id is not one of your company's Introducer Types.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                },
                "example": {
                  "code": "ERR_NOT_FOUND",
                  "message": "Unknown introducer type: 0192f7a4-3b1c-7d2e-9f40-8a6b5c4d3e21. List the valid ids with GET /connections/search/metadata."
                }
              }
            }
          },
          "429": {
            "$ref": "#/components/responses/RateLimited"
          },
          "500": {
            "$ref": "#/components/responses/ServerError"
          }
        }
      }
    },
    "/connections/search/metadata": {
      "get": {
        "tags": [
          "Connections"
        ],
        "summary": "Get connection search filter options",
        "description": "The values your company's `GET /connections/search` filters accept,\none field per filter. Fields may be added as more filters gain\noptions specific to your company.\n\n- `introducerType`: the Introducer Types, i.e. how the introducer\n  relates to your company. These are the categories of your company's\n  GTM Neural Center — the canonical Corporate Network categories\n  first, then the custom categories your company has defined there.\n  Pass any `id` as `introducerTypes`.\n\n**Required scope:** `connection:read`\n",
        "operationId": "getConnectionSearchMetadata",
        "responses": {
          "200": {
            "description": "The filter options available to your company.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ConnectionSearchMetadataResponse"
                },
                "example": {
                  "introducerType": [
                    {
                      "type": "canonical",
                      "id": "investors",
                      "name": "Investors"
                    },
                    {
                      "type": "canonical",
                      "id": "champions",
                      "name": "Champions"
                    },
                    {
                      "type": "canonical",
                      "id": "board_of_directors",
                      "name": "Board of Directors"
                    },
                    {
                      "type": "custom",
                      "id": "0192f7a4-3b1c-7d2e-9f40-8a6b5c4d3e21",
                      "name": "Advisors"
                    }
                  ]
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          },
          "429": {
            "$ref": "#/components/responses/RateLimited"
          },
          "500": {
            "$ref": "#/components/responses/ServerError"
          }
        }
      }
    },
    "/connections/explanation": {
      "get": {
        "tags": [
          "Connections"
        ],
        "summary": "Explain a connection path",
        "description": "Returns the per-hop relationship narrative for one path, addressed by\nthe `connectionId` returned in a search result. `found` is `false` when\nthe id is not one of this tenant's paths.\n\n**Required scope:** `connection:read`\n",
        "operationId": "explainConnection",
        "parameters": [
          {
            "name": "connectionId",
            "in": "query",
            "required": true,
            "description": "The path id from a `GET /connections/search` result.",
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "The per-hop explanation (or found:false).",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ConnectionExplainResponse"
                }
              }
            }
          },
          "400": {
            "description": "The request is malformed or failed validation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                },
                "example": {
                  "code": "ERR_INVALID_REQUEST",
                  "message": "[\"invalid_string: connectionId connectionId must be a valid UUID\"]"
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          },
          "429": {
            "$ref": "#/components/responses/RateLimited"
          },
          "500": {
            "$ref": "#/components/responses/ServerError"
          }
        }
      }
    },
    "/connections/track": {
      "post": {
        "tags": [
          "Connections"
        ],
        "summary": "Track a connection as an introduction",
        "description": "Tracks a connection path, turning it into an introduction the tenant is\nworking, or untracks it with `pinned: false`. The path is addressed by the\n`connectionId` returned from `GET /connections/search`; the pinned\nintroduction keeps that same id, so it is the `introductionId` you pass\nto the other introduction endpoints afterwards.\n\nTracking runs the same downstream work as pinning inside the Vieu app:\nthe activity log is written, the tenant's account for the company is\nprovisioned if it does not exist yet, outreach drafting is kicked off,\nand the introduction is pushed to your CRM when those\nintegrations are enabled. Those run asynchronously — a `200` means the\ntrack was recorded, not that every follow-on task has finished.\n\nA track through this API is attributed to the API key\n(`<keyName>@vieu.api`) in the activity log, the same as notes and status\nchanges.\n\nTracking an already-tracked path is a no-op that still returns `200`, so\nthe call is safe to retry.\n\nAssign an owner with `pointOfContact` (a teammate's email or name).\nEither owner form is verified to be a user in your tenant before the\npin is written.\n\n**Required scope:** `introduction:read-write`\n",
        "operationId": "pinConnection",
        "parameters": [
          {
            "name": "connectionId",
            "in": "query",
            "required": true,
            "description": "The path id from a `GET /connections/search` result.",
            "schema": {
              "type": "string",
              "format": "uuid"
            },
            "example": "4b9a8c2d-7e1f-4a3b-9c5d-2f6a8b0e4c1d"
          }
        ],
        "requestBody": {
          "required": false,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ConnectionPinRequest"
              },
              "example": {
                "pinned": true,
                "note": "Flagged by our scoring model as a top-10 target this quarter."
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "The pin was recorded.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ConnectionPinResponse"
                }
              }
            }
          },
          "400": {
            "description": "The request is malformed or failed validation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                },
                "example": {
                  "code": "ERR_INVALID_REQUEST",
                  "message": "[\"invalid_string:  connectionId must be a valid UUID\"]"
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          },
          "404": {
            "description": "Resource not found, or not owned by the authenticated tenant.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                },
                "example": {
                  "code": "ERR_NOT_FOUND",
                  "message": "Connection not found"
                }
              }
            }
          },
          "429": {
            "$ref": "#/components/responses/RateLimited"
          },
          "500": {
            "$ref": "#/components/responses/ServerError"
          }
        }
      }
    },
    "/persons/lists": {
      "get": {
        "tags": [
          "Person"
        ],
        "summary": "List saved person lists",
        "description": "Lists your tenant's saved person lists. A list id scopes a connection\nsearch via the `*ListIds` filters on `GET /connections/search`.\n\n**Required scope:** `person:read`\n",
        "operationId": "listPersonLists",
        "parameters": [
          {
            "$ref": "#/components/parameters/ListOwnerEmail"
          },
          {
            "$ref": "#/components/parameters/ListName"
          },
          {
            "$ref": "#/components/parameters/ListLimit"
          },
          {
            "$ref": "#/components/parameters/ListOffset"
          }
        ],
        "responses": {
          "200": {
            "description": "The tenant's saved person lists matching the filters.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ListsResponse"
                }
              }
            }
          },
          "400": {
            "description": "The request is malformed or failed validation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          },
          "429": {
            "$ref": "#/components/responses/RateLimited"
          },
          "500": {
            "$ref": "#/components/responses/ServerError"
          }
        }
      }
    },
    "/accounts/lists": {
      "get": {
        "tags": [
          "Account"
        ],
        "summary": "List saved account lists",
        "description": "Lists your tenant's saved account (company) lists.\n\n**Required scope:** `account:read-write`\n",
        "operationId": "listAccountLists",
        "parameters": [
          {
            "$ref": "#/components/parameters/ListOwnerEmail"
          },
          {
            "$ref": "#/components/parameters/ListName"
          },
          {
            "$ref": "#/components/parameters/ListLimit"
          },
          {
            "$ref": "#/components/parameters/ListOffset"
          }
        ],
        "responses": {
          "200": {
            "description": "The tenant's saved account lists matching the filters.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ListsResponse"
                }
              }
            }
          },
          "400": {
            "description": "The request is malformed or failed validation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          },
          "429": {
            "$ref": "#/components/responses/RateLimited"
          },
          "500": {
            "$ref": "#/components/responses/ServerError"
          }
        }
      }
    }
  }
}
