> ## Documentation Index
> Fetch the complete documentation index at: https://docs.hyperspell.com/llms.txt
> Use this file to discover all available pages before exploring further.

# List indexed website pages

> List accessible pages in an exact website collection.



## OpenAPI

````yaml https://api.hyperspell.com/openapi.json get /integrations/web_crawler/websites/pages
openapi: 3.1.0
info:
  title: Hyperspell API
  summary: >-
    Hyperspell is the memory layer for AI apps and agents. Through the API, you
    can add memories, connect data sources to index them in real-time, and
    search memories with our natural language query engine.
  termsOfService: https://hyperspell.com/blog/tos
  contact:
    name: Hyperspell
    url: https://hyperspell.com/
    email: hello@hyperspell.com
  version: 0.32.1
servers:
  - url: https://api.hyperspell.com
    description: Production
security: []
paths:
  /integrations/web_crawler/websites/pages:
    get:
      tags:
        - Integrations
      summary: List indexed website pages
      description: List accessible pages in an exact website collection.
      operationId: website_pages_integrations_web_crawler_websites_pages_get
      parameters:
        - name: url
          in: query
          required: true
          schema:
            type: string
            maxLength: 2048
            minLength: 1
            title: Url
        - name: cursor
          in: query
          required: false
          schema:
            anyOf:
              - type: string
                maxLength: 2048
              - type: 'null'
            title: Cursor
        - name: limit
          in: query
          required: false
          schema:
            type: integer
            maximum: 100
            minimum: 1
            default: 30
            title: Limit
        - name: X-Hyperspell-Response-Profile
          in: header
          required: false
          schema:
            $ref: '#/components/schemas/ResponseProfile'
            default: api
        - name: X-As-User
          in: header
          required: false
          schema:
            anyOf:
              - type: string
              - type: 'null'
            description: >-
              Optionally set this header to act as a specific user when using an
              API Key, equivalent to first exchanging the API Key for a User
              Token
            title: X-As-User
          description: >-
            Optionally set this header to act as a specific user when using an
            API Key, equivalent to first exchanging the API Key for a User Token
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DocumentListPage'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
        - APIKey: []
components:
  schemas:
    ResponseProfile:
      type: string
      enum:
        - api
        - mcp
      title: ResponseProfile
    DocumentListPage:
      properties:
        items:
          items:
            $ref: '#/components/schemas/DocumentResponse'
          type: array
          title: Items
        next_cursor:
          anyOf:
            - type: string
            - type: 'null'
          title: Next Cursor
        notices:
          anyOf:
            - items:
                $ref: '#/components/schemas/ResponseContentLimitedNotice'
              type: array
            - type: 'null'
          title: Notices
      type: object
      required:
        - items
        - next_cursor
      title: DocumentListPage
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    DocumentResponse:
      properties:
        resource_id:
          type: string
          title: Resource Id
        body_status:
          anyOf:
            - $ref: '#/components/schemas/BodyStatus'
            - type: 'null'
          description: >-
            Content representation: full, matched excerpt, partial preview, or
            omitted. Absent on reads that do not yet report this status.
        source:
          $ref: '#/components/schemas/DocumentProviders'
        type:
          type: string
          title: Type
          description: >-
            Hyperdoc document type discriminator (document, message, file,
            event, ...).
        title:
          anyOf:
            - type: string
            - type: 'null'
          title: Title
          description: Human-readable document title.
        status:
          anyOf:
            - $ref: '#/components/schemas/DocumentStatus'
            - type: 'null'
          description: Indexing status of the document.
        collection:
          anyOf:
            - type: string
            - type: 'null'
          title: Collection
          description: The document's collection, if any.
        metadata:
          additionalProperties: true
          type: object
          title: Metadata
          description: Filterable custom metadata attached to the document.
        ingested_at:
          anyOf:
            - type: string
              format: date-time
            - type: 'null'
          title: Ingested At
          description: When Hyperspell first indexed the document.
        last_modified_at:
          anyOf:
            - type: string
              format: date-time
            - type: 'null'
          title: Last Modified At
          description: >-
            When the source document was last modified, if supplied by the
            source.
        document_date:
          anyOf:
            - type: string
              format: date-time
            - type: 'null'
          title: Document Date
          description: The document's own date (e.g. email sent date, event date).
        document:
          $ref: '#/components/schemas/DocumentType'
          description: >-
            The hyperdoc tree. Switch on `type` for the document frame and
            recurse through `children` for the body.
          examples:
            - children:
                - text: The next release adds calendar search.
                  type: text
              title: Project notes
              type: document
        chunks:
          anyOf:
            - items:
                $ref: '#/components/schemas/MemoryChunk'
              type: array
            - type: 'null'
          title: Chunks
          description: >-
            Extracted memories (chunks with summaries) for this document, in
            document order. Present only when explicitly requested via
            `include_chunks`; omitted otherwise.
      type: object
      required:
        - resource_id
        - source
        - type
        - document
      title: DocumentResponse
      description: A document-shaped API response containing the hyperdoc tree.
    ResponseContentLimitedNotice:
      properties:
        code:
          type: string
          const: ResponseContentLimited
          title: Code
          default: ResponseContentLimited
        message:
          type: string
          title: Message
        returned_count:
          type: integer
          minimum: 0
          title: Returned Count
        reduced_count:
          type: integer
          minimum: 0
          title: Reduced Count
        skipped_count:
          type: integer
          minimum: 0
          title: Skipped Count
        skipped_identities:
          items:
            $ref: '#/components/schemas/SkippedDocumentIdentity'
          type: array
          title: Skipped Identities
        skipped_identity_omitted_count:
          type: integer
          minimum: 0
          title: Skipped Identity Omitted Count
          default: 0
      type: object
      required:
        - message
        - returned_count
        - reduced_count
        - skipped_count
      title: ResponseContentLimitedNotice
      description: A successful list response reduced content to fit its byte limits.
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
      type: object
      required:
        - loc
        - msg
        - type
      title: ValidationError
    BodyStatus:
      type: string
      enum:
        - full
        - excerpt
        - preview
        - omitted
      title: BodyStatus
    DocumentProviders:
      type: string
      enum:
        - reddit
        - notion
        - slack
        - google_calendar
        - google_mail
        - imap
        - google_meet
        - box
        - dropbox
        - github
        - gitlab
        - google_drive
        - vault
        - web_crawler
        - trace
        - microsoft_outlook
        - microsoft_teams
        - granola
        - fathom
        - fireflies
        - figma
        - linear
        - hubspot
        - salesforce
        - coda
        - confluence
        - jira
        - metabase
        - gong
        - clickup
        - lightfield
        - pylon
        - fellow
        - odoo
        - external_mcp
        - page
      title: DocumentProviders
    DocumentStatus:
      type: string
      enum:
        - pending
        - processing
        - completed
        - failed
        - pending_review
        - skipped
        - filtered
        - cancelled
      title: DocumentStatus
    DocumentType:
      oneOf:
        - $ref: '#/components/schemas/Document'
        - $ref: '#/components/schemas/Website'
        - $ref: '#/components/schemas/Task'
        - $ref: '#/components/schemas/Person'
        - $ref: '#/components/schemas/Message'
        - $ref: '#/components/schemas/Event'
        - $ref: '#/components/schemas/File'
        - $ref: '#/components/schemas/Conversation'
        - $ref: '#/components/schemas/Trace'
        - $ref: '#/components/schemas/Transcript'
        - $ref: '#/components/schemas/Company'
        - $ref: '#/components/schemas/Deal'
        - $ref: '#/components/schemas/Invoice'
      discriminator:
        propertyName: type
        mapping:
          company: '#/components/schemas/Company'
          conversation: '#/components/schemas/Conversation'
          deal: '#/components/schemas/Deal'
          document: '#/components/schemas/Document'
          event: '#/components/schemas/Event'
          file: '#/components/schemas/File'
          invoice: '#/components/schemas/Invoice'
          message: '#/components/schemas/Message'
          person: '#/components/schemas/Person'
          task: '#/components/schemas/Task'
          trace: '#/components/schemas/Trace'
          transcript: '#/components/schemas/Transcript'
          website: '#/components/schemas/Website'
    MemoryChunk:
      properties:
        chunk_id:
          type: string
          title: Chunk Id
          description: Stable identifier of the chunk.
        summary:
          anyOf:
            - type: string
            - type: 'null'
          title: Summary
          description: >-
            Generated summary of the chunk, when available within response
            limits.
      type: object
      required:
        - chunk_id
      title: MemoryChunk
      description: >-
        A searchable chunk extracted from a document during ingestion.


        `summary` may be absent when none was generated or response limits omit
        it.

        List responses report size-related omissions through limitation notices.
    SkippedDocumentIdentity:
      properties:
        source:
          type: string
          title: Source
        resource_id:
          type: string
          title: Resource Id
      type: object
      required:
        - source
        - resource_id
      title: SkippedDocumentIdentity
    Document:
      properties:
        type:
          type: string
          const: document
          title: Type
          default: document
        id:
          type: string
          title: Id
          chunkable: false
          index: false
        metadata:
          anyOf:
            - $ref: '#/components/schemas/Metadata'
            - type: 'null'
        text:
          anyOf:
            - type: string
            - type: 'null'
          title: Text
          chunkable: false
          index: false
          response_body: true
        children:
          items:
            oneOf:
              - $ref: '#/components/schemas/Person'
              - $ref: '#/components/schemas/Blob'
              - $ref: '#/components/schemas/Callout'
              - $ref: '#/components/schemas/Chunk'
              - $ref: '#/components/schemas/Code'
              - $ref: '#/components/schemas/Comment'
              - $ref: '#/components/schemas/Description'
              - $ref: '#/components/schemas/Divider'
              - $ref: '#/components/schemas/Equation'
              - $ref: '#/components/schemas/Footnote'
              - $ref: '#/components/schemas/Heading'
              - $ref: '#/components/schemas/Image'
              - $ref: '#/components/schemas/Link'
              - $ref: '#/components/schemas/LineBreak'
              - $ref: '#/components/schemas/List'
              - $ref: '#/components/schemas/ListItem'
              - $ref: '#/components/schemas/Page'
              - $ref: '#/components/schemas/Paragraph'
              - $ref: '#/components/schemas/Quote'
              - $ref: '#/components/schemas/Reference'
              - $ref: '#/components/schemas/Table'
              - $ref: '#/components/schemas/TableCell'
              - $ref: '#/components/schemas/TableRow'
              - $ref: '#/components/schemas/TaskList'
              - $ref: '#/components/schemas/Text'
              - $ref: '#/components/schemas/ToDo'
              - $ref: '#/components/schemas/ToolCall'
              - $ref: '#/components/schemas/ToolResult'
              - $ref: '#/components/schemas/TraceMessage'
              - $ref: '#/components/schemas/Utterance'
            discriminator:
              propertyName: type
              mapping:
                blob: '#/components/schemas/Blob'
                callout: '#/components/schemas/Callout'
                chunk: '#/components/schemas/Chunk'
                code: '#/components/schemas/Code'
                comment: '#/components/schemas/Comment'
                description: '#/components/schemas/Description'
                divider: '#/components/schemas/Divider'
                equation: '#/components/schemas/Equation'
                footnote: '#/components/schemas/Footnote'
                heading: '#/components/schemas/Heading'
                image: '#/components/schemas/Image'
                line_break: '#/components/schemas/LineBreak'
                link: '#/components/schemas/Link'
                list: '#/components/schemas/List'
                list_item: '#/components/schemas/ListItem'
                page: '#/components/schemas/Page'
                paragraph: '#/components/schemas/Paragraph'
                person: '#/components/schemas/Person'
                quote: '#/components/schemas/Quote'
                reference: '#/components/schemas/Reference'
                table: '#/components/schemas/Table'
                table_cell: '#/components/schemas/TableCell'
                table_row: '#/components/schemas/TableRow'
                task_list: '#/components/schemas/TaskList'
                text: '#/components/schemas/Text'
                todo: '#/components/schemas/ToDo'
                tool_call: '#/components/schemas/ToolCall'
                tool_result: '#/components/schemas/ToolResult'
                trace_message: '#/components/schemas/TraceMessage'
                utterance: '#/components/schemas/Utterance'
          type: array
          title: Children
          chunkable: true
          index: false
          response_body: true
        title:
          anyOf:
            - type: string
            - type: 'null'
          title: Title
        comments:
          anyOf:
            - items:
                $ref: '#/components/schemas/Message'
              type: array
            - type: 'null'
          title: Comments
          chunkable: true
          index: false
          response_body: true
      type: object
      title: Document
    Website:
      properties:
        type:
          type: string
          const: website
          title: Type
          default: website
        id:
          type: string
          title: Id
          chunkable: false
          index: false
        metadata:
          anyOf:
            - $ref: '#/components/schemas/Metadata'
            - type: 'null'
        text:
          anyOf:
            - type: string
            - type: 'null'
          title: Text
          chunkable: false
          index: false
          response_body: true
        children:
          items:
            oneOf:
              - $ref: '#/components/schemas/Person'
              - $ref: '#/components/schemas/Blob'
              - $ref: '#/components/schemas/Callout'
              - $ref: '#/components/schemas/Chunk'
              - $ref: '#/components/schemas/Code'
              - $ref: '#/components/schemas/Comment'
              - $ref: '#/components/schemas/Description'
              - $ref: '#/components/schemas/Divider'
              - $ref: '#/components/schemas/Equation'
              - $ref: '#/components/schemas/Footnote'
              - $ref: '#/components/schemas/Heading'
              - $ref: '#/components/schemas/Image'
              - $ref: '#/components/schemas/Link'
              - $ref: '#/components/schemas/LineBreak'
              - $ref: '#/components/schemas/List'
              - $ref: '#/components/schemas/ListItem'
              - $ref: '#/components/schemas/Page'
              - $ref: '#/components/schemas/Paragraph'
              - $ref: '#/components/schemas/Quote'
              - $ref: '#/components/schemas/Reference'
              - $ref: '#/components/schemas/Table'
              - $ref: '#/components/schemas/TableCell'
              - $ref: '#/components/schemas/TableRow'
              - $ref: '#/components/schemas/TaskList'
              - $ref: '#/components/schemas/Text'
              - $ref: '#/components/schemas/ToDo'
              - $ref: '#/components/schemas/ToolCall'
              - $ref: '#/components/schemas/ToolResult'
              - $ref: '#/components/schemas/TraceMessage'
              - $ref: '#/components/schemas/Utterance'
            discriminator:
              propertyName: type
              mapping:
                blob: '#/components/schemas/Blob'
                callout: '#/components/schemas/Callout'
                chunk: '#/components/schemas/Chunk'
                code: '#/components/schemas/Code'
                comment: '#/components/schemas/Comment'
                description: '#/components/schemas/Description'
                divider: '#/components/schemas/Divider'
                equation: '#/components/schemas/Equation'
                footnote: '#/components/schemas/Footnote'
                heading: '#/components/schemas/Heading'
                image: '#/components/schemas/Image'
                line_break: '#/components/schemas/LineBreak'
                link: '#/components/schemas/Link'
                list: '#/components/schemas/List'
                list_item: '#/components/schemas/ListItem'
                page: '#/components/schemas/Page'
                paragraph: '#/components/schemas/Paragraph'
                person: '#/components/schemas/Person'
                quote: '#/components/schemas/Quote'
                reference: '#/components/schemas/Reference'
                table: '#/components/schemas/Table'
                table_cell: '#/components/schemas/TableCell'
                table_row: '#/components/schemas/TableRow'
                task_list: '#/components/schemas/TaskList'
                text: '#/components/schemas/Text'
                todo: '#/components/schemas/ToDo'
                tool_call: '#/components/schemas/ToolCall'
                tool_result: '#/components/schemas/ToolResult'
                trace_message: '#/components/schemas/TraceMessage'
                utterance: '#/components/schemas/Utterance'
          type: array
          title: Children
          chunkable: true
          index: false
          response_body: true
        url:
          type: string
          title: Url
        description:
          anyOf:
            - type: string
            - type: 'null'
          title: Description
          chunkable: false
          index: true
          response_body: true
        title:
          anyOf:
            - type: string
            - type: 'null'
          title: Title
        image_url:
          anyOf:
            - type: string
            - type: 'null'
          title: Image Url
        language:
          anyOf:
            - type: string
            - type: 'null'
          title: Language
        favicon:
          anyOf:
            - type: string
            - type: 'null'
          title: Favicon
      type: object
      required:
        - url
      title: Website
    Task:
      properties:
        type:
          type: string
          const: task
          title: Type
          default: task
        id:
          type: string
          title: Id
          chunkable: false
          index: false
        metadata:
          anyOf:
            - $ref: '#/components/schemas/Metadata'
            - type: 'null'
        text:
          anyOf:
            - type: string
            - type: 'null'
          title: Text
          chunkable: false
          index: false
          response_body: true
        children:
          items:
            oneOf:
              - $ref: '#/components/schemas/Person'
              - $ref: '#/components/schemas/Blob'
              - $ref: '#/components/schemas/Callout'
              - $ref: '#/components/schemas/Chunk'
              - $ref: '#/components/schemas/Code'
              - $ref: '#/components/schemas/Comment'
              - $ref: '#/components/schemas/Description'
              - $ref: '#/components/schemas/Divider'
              - $ref: '#/components/schemas/Equation'
              - $ref: '#/components/schemas/Footnote'
              - $ref: '#/components/schemas/Heading'
              - $ref: '#/components/schemas/Image'
              - $ref: '#/components/schemas/Link'
              - $ref: '#/components/schemas/LineBreak'
              - $ref: '#/components/schemas/List'
              - $ref: '#/components/schemas/ListItem'
              - $ref: '#/components/schemas/Page'
              - $ref: '#/components/schemas/Paragraph'
              - $ref: '#/components/schemas/Quote'
              - $ref: '#/components/schemas/Reference'
              - $ref: '#/components/schemas/Table'
              - $ref: '#/components/schemas/TableCell'
              - $ref: '#/components/schemas/TableRow'
              - $ref: '#/components/schemas/TaskList'
              - $ref: '#/components/schemas/Text'
              - $ref: '#/components/schemas/ToDo'
              - $ref: '#/components/schemas/ToolCall'
              - $ref: '#/components/schemas/ToolResult'
              - $ref: '#/components/schemas/TraceMessage'
              - $ref: '#/components/schemas/Utterance'
            discriminator:
              propertyName: type
              mapping:
                blob: '#/components/schemas/Blob'
                callout: '#/components/schemas/Callout'
                chunk: '#/components/schemas/Chunk'
                code: '#/components/schemas/Code'
                comment: '#/components/schemas/Comment'
                description: '#/components/schemas/Description'
                divider: '#/components/schemas/Divider'
                equation: '#/components/schemas/Equation'
                footnote: '#/components/schemas/Footnote'
                heading: '#/components/schemas/Heading'
                image: '#/components/schemas/Image'
                line_break: '#/components/schemas/LineBreak'
                link: '#/components/schemas/Link'
                list: '#/components/schemas/List'
                list_item: '#/components/schemas/ListItem'
                page: '#/components/schemas/Page'
                paragraph: '#/components/schemas/Paragraph'
                person: '#/components/schemas/Person'
                quote: '#/components/schemas/Quote'
                reference: '#/components/schemas/Reference'
                table: '#/components/schemas/Table'
                table_cell: '#/components/schemas/TableCell'
                table_row: '#/components/schemas/TableRow'
                task_list: '#/components/schemas/TaskList'
                text: '#/components/schemas/Text'
                todo: '#/components/schemas/ToDo'
                tool_call: '#/components/schemas/ToolCall'
                tool_result: '#/components/schemas/ToolResult'
                trace_message: '#/components/schemas/TraceMessage'
                utterance: '#/components/schemas/Utterance'
          type: array
          title: Children
          chunkable: true
          index: false
          response_body: true
        title:
          anyOf:
            - type: string
            - type: 'null'
          title: Title
        comments:
          anyOf:
            - items:
                $ref: '#/components/schemas/Message'
              type: array
            - type: 'null'
          title: Comments
          chunkable: true
          index: false
          response_body: true
        due_at:
          anyOf:
            - type: string
              format: date-time
            - type: 'null'
          title: Due At
        status:
          anyOf:
            - $ref: '#/components/schemas/Status'
            - type: 'null'
        priority:
          anyOf:
            - $ref: '#/components/schemas/Priority'
            - type: 'null'
      type: object
      title: Task
    Person:
      properties:
        type:
          type: string
          const: person
          title: Type
          default: person
        id:
          type: string
          title: Id
          chunkable: false
          index: false
        metadata:
          anyOf:
            - $ref: '#/components/schemas/Metadata'
            - type: 'null'
        text:
          anyOf:
            - type: string
            - type: 'null'
          title: Text
          chunkable: false
          index: false
          response_body: true
        children:
          items:
            oneOf:
              - $ref: '#/components/schemas/Person'
              - $ref: '#/components/schemas/Blob'
              - $ref: '#/components/schemas/Callout'
              - $ref: '#/components/schemas/Chunk'
              - $ref: '#/components/schemas/Code'
              - $ref: '#/components/schemas/Comment'
              - $ref: '#/components/schemas/Description'
              - $ref: '#/components/schemas/Divider'
              - $ref: '#/components/schemas/Equation'
              - $ref: '#/components/schemas/Footnote'
              - $ref: '#/components/schemas/Heading'
              - $ref: '#/components/schemas/Image'
              - $ref: '#/components/schemas/Link'
              - $ref: '#/components/schemas/LineBreak'
              - $ref: '#/components/schemas/List'
              - $ref: '#/components/schemas/ListItem'
              - $ref: '#/components/schemas/Page'
              - $ref: '#/components/schemas/Paragraph'
              - $ref: '#/components/schemas/Quote'
              - $ref: '#/components/schemas/Reference'
              - $ref: '#/components/schemas/Table'
              - $ref: '#/components/schemas/TableCell'
              - $ref: '#/components/schemas/TableRow'
              - $ref: '#/components/schemas/TaskList'
              - $ref: '#/components/schemas/Text'
              - $ref: '#/components/schemas/ToDo'
              - $ref: '#/components/schemas/ToolCall'
              - $ref: '#/components/schemas/ToolResult'
              - $ref: '#/components/schemas/TraceMessage'
              - $ref: '#/components/schemas/Utterance'
            discriminator:
              propertyName: type
              mapping:
                blob: '#/components/schemas/Blob'
                callout: '#/components/schemas/Callout'
                chunk: '#/components/schemas/Chunk'
                code: '#/components/schemas/Code'
                comment: '#/components/schemas/Comment'
                description: '#/components/schemas/Description'
                divider: '#/components/schemas/Divider'
                equation: '#/components/schemas/Equation'
                footnote: '#/components/schemas/Footnote'
                heading: '#/components/schemas/Heading'
                image: '#/components/schemas/Image'
                line_break: '#/components/schemas/LineBreak'
                link: '#/components/schemas/Link'
                list: '#/components/schemas/List'
                list_item: '#/components/schemas/ListItem'
                page: '#/components/schemas/Page'
                paragraph: '#/components/schemas/Paragraph'
                person: '#/components/schemas/Person'
                quote: '#/components/schemas/Quote'
                reference: '#/components/schemas/Reference'
                table: '#/components/schemas/Table'
                table_cell: '#/components/schemas/TableCell'
                table_row: '#/components/schemas/TableRow'
                task_list: '#/components/schemas/TaskList'
                text: '#/components/schemas/Text'
                todo: '#/components/schemas/ToDo'
                tool_call: '#/components/schemas/ToolCall'
                tool_result: '#/components/schemas/ToolResult'
                trace_message: '#/components/schemas/TraceMessage'
                utterance: '#/components/schemas/Utterance'
          type: array
          title: Children
          chunkable: true
          index: false
          response_body: true
        name:
          anyOf:
            - type: string
            - type: 'null'
          title: Name
          chunkable: false
          index: true
        email:
          anyOf:
            - type: string
            - type: 'null'
          title: Email
        username:
          anyOf:
            - type: string
            - type: 'null'
          title: Username
        image_url:
          anyOf:
            - type: string
            - type: 'null'
          title: Image Url
        provider:
          anyOf:
            - type: string
            - type: 'null'
          title: Provider
          description: Source system that issued `external_id`, e.g. `slack`
          chunkable: false
          index: false
        external_id:
          anyOf:
            - type: string
            - type: 'null'
          title: External Id
          description: The person's user id in the source system
          chunkable: false
          index: false
        alt_names:
          anyOf:
            - items:
                type: string
              type: array
            - type: 'null'
          title: Alt Names
        is_bot:
          anyOf:
            - type: boolean
            - type: 'null'
          title: Is Bot
        is_app_user:
          anyOf:
            - type: boolean
            - type: 'null'
          title: Is App User
        job_title:
          anyOf:
            - type: string
            - type: 'null'
          title: Job Title
          chunkable: false
          index: true
        department:
          anyOf:
            - type: string
            - type: 'null'
          title: Department
          chunkable: false
          index: true
        company:
          anyOf:
            - type: string
            - type: 'null'
          title: Company
          chunkable: false
          index: true
        lifecycle_stage:
          anyOf:
            - type: string
            - type: 'null'
          title: Lifecycle Stage
          chunkable: false
          index: true
        lead_status:
          anyOf:
            - type: string
            - type: 'null'
          title: Lead Status
          chunkable: false
          index: true
        employment_role:
          anyOf:
            - type: string
            - type: 'null'
          title: Employment Role
          chunkable: false
          index: true
        employment_seniority:
          anyOf:
            - type: string
            - type: 'null'
          title: Employment Seniority
          chunkable: false
          index: true
        employment_sub_role:
          anyOf:
            - type: string
            - type: 'null'
          title: Employment Sub Role
          chunkable: false
          index: true
        industry:
          anyOf:
            - type: string
            - type: 'null'
          title: Industry
          chunkable: false
          index: true
        timezone:
          anyOf:
            - type: string
            - type: 'null'
          title: Timezone
          chunkable: false
          index: true
        persona:
          anyOf:
            - type: string
            - type: 'null'
          title: Persona
          chunkable: false
          index: true
        buying_roles:
          anyOf:
            - items:
                type: string
              type: array
            - type: 'null'
          title: Buying Roles
        website:
          anyOf:
            - type: string
            - type: 'null'
          title: Website
          chunkable: false
          index: true
        linkedin_url:
          anyOf:
            - type: string
            - type: 'null'
          title: Linkedin Url
          chunkable: false
          index: true
        original_source:
          anyOf:
            - type: string
            - type: 'null'
          title: Original Source
          chunkable: false
          index: true
        marketing_contact_status:
          anyOf:
            - type: string
            - type: 'null'
          title: Marketing Contact Status
          chunkable: false
          index: true
        last_sales_activity_at:
          anyOf:
            - type: string
            - type: 'null'
          title: Last Sales Activity At
          chunkable: false
          index: true
        last_sales_activity_type:
          anyOf:
            - type: string
            - type: 'null'
          title: Last Sales Activity Type
          chunkable: false
          index: true
        emails:
          anyOf:
            - items:
                type: string
              type: array
            - type: 'null'
          title: Emails
          description: All known email addresses; `email` holds the primary one
          chunkable: false
          index: false
        phone_numbers:
          anyOf:
            - items:
                type: string
              type: array
            - type: 'null'
          title: Phone Numbers
        address:
          anyOf:
            - type: string
            - type: 'null'
          title: Address
        tags:
          anyOf:
            - items:
                type: string
              type: array
            - type: 'null'
          title: Tags
        date_of_birth:
          anyOf:
            - type: string
              format: date
            - type: 'null'
          title: Date Of Birth
        deal_ids:
          anyOf:
            - items:
                type: string
              type: array
            - type: 'null'
          title: Deal Ids
        company_ids:
          anyOf:
            - items:
                type: string
              type: array
            - type: 'null'
          title: Company Ids
        link_urls:
          anyOf:
            - items:
                type: string
              type: array
            - type: 'null'
          title: Link Urls
      type: object
      title: Person
    Message:
      properties:
        type:
          type: string
          const: message
          title: Type
          default: message
        id:
          type: string
          title: Id
          chunkable: false
          index: false
        metadata:
          anyOf:
            - $ref: '#/components/schemas/Metadata'
            - type: 'null'
        text:
          anyOf:
            - type: string
            - type: 'null'
          title: Text
          chunkable: false
          index: false
          response_body: true
        children:
          items:
            oneOf:
              - $ref: '#/components/schemas/Person'
              - $ref: '#/components/schemas/Blob'
              - $ref: '#/components/schemas/Callout'
              - $ref: '#/components/schemas/Chunk'
              - $ref: '#/components/schemas/Code'
              - $ref: '#/components/schemas/Comment'
              - $ref: '#/components/schemas/Description'
              - $ref: '#/components/schemas/Divider'
              - $ref: '#/components/schemas/Equation'
              - $ref: '#/components/schemas/Footnote'
              - $ref: '#/components/schemas/Heading'
              - $ref: '#/components/schemas/Image'
              - $ref: '#/components/schemas/Link'
              - $ref: '#/components/schemas/LineBreak'
              - $ref: '#/components/schemas/List'
              - $ref: '#/components/schemas/ListItem'
              - $ref: '#/components/schemas/Page'
              - $ref: '#/components/schemas/Paragraph'
              - $ref: '#/components/schemas/Quote'
              - $ref: '#/components/schemas/Reference'
              - $ref: '#/components/schemas/Table'
              - $ref: '#/components/schemas/TableCell'
              - $ref: '#/components/schemas/TableRow'
              - $ref: '#/components/schemas/TaskList'
              - $ref: '#/components/schemas/Text'
              - $ref: '#/components/schemas/ToDo'
              - $ref: '#/components/schemas/ToolCall'
              - $ref: '#/components/schemas/ToolResult'
              - $ref: '#/components/schemas/TraceMessage'
              - $ref: '#/components/schemas/Utterance'
            discriminator:
              propertyName: type
              mapping:
                blob: '#/components/schemas/Blob'
                callout: '#/components/schemas/Callout'
                chunk: '#/components/schemas/Chunk'
                code: '#/components/schemas/Code'
                comment: '#/components/schemas/Comment'
                description: '#/components/schemas/Description'
                divider: '#/components/schemas/Divider'
                equation: '#/components/schemas/Equation'
                footnote: '#/components/schemas/Footnote'
                heading: '#/components/schemas/Heading'
                image: '#/components/schemas/Image'
                line_break: '#/components/schemas/LineBreak'
                link: '#/components/schemas/Link'
                list: '#/components/schemas/List'
                list_item: '#/components/schemas/ListItem'
                page: '#/components/schemas/Page'
                paragraph: '#/components/schemas/Paragraph'
                person: '#/components/schemas/Person'
                quote: '#/components/schemas/Quote'
                reference: '#/components/schemas/Reference'
                table: '#/components/schemas/Table'
                table_cell: '#/components/schemas/TableCell'
                table_row: '#/components/schemas/TableRow'
                task_list: '#/components/schemas/TaskList'
                text: '#/components/schemas/Text'
                todo: '#/components/schemas/ToDo'
                tool_call: '#/components/schemas/ToolCall'
                tool_result: '#/components/schemas/ToolResult'
                trace_message: '#/components/schemas/TraceMessage'
                utterance: '#/components/schemas/Utterance'
          type: array
          title: Children
          chunkable: true
          index: false
          response_body: true
        sender:
          $ref: '#/components/schemas/Person'
        date:
          type: string
          format: date-time
          title: Date
        title:
          anyOf:
            - type: string
            - type: 'null'
          title: Title
          description: The subject or title of the message
          chunkable: false
          index: false
        upvotes:
          anyOf:
            - type: integer
            - type: 'null'
          title: Upvotes
          description: The number of upvotes, likes, or reactions on the message
          chunkable: false
          index: false
        replies:
          anyOf:
            - items:
                $ref: '#/components/schemas/Message'
              type: array
            - type: 'null'
          title: Replies
          description: The replies or comments to the message
          chunkable: true
          index: false
          response_body: true
        channel:
          anyOf:
            - type: string
            - type: 'null'
          title: Channel
          description: >-
            The channel or platform where the message was posted, if this
            Message is not explicitly part of a conversation
          chunkable: false
          index: false
        external_id:
          anyOf:
            - type: string
            - type: 'null'
          title: External Id
          description: >-
            Provider message id (e.g. Slack ts, Gmail message id) — merge-dedup
            key
          chunkable: false
          index: false
        is_self:
          anyOf:
            - type: boolean
            - type: 'null'
          title: Is Self
          chunkable: false
          index: false
        updated_at:
          anyOf:
            - type: string
              format: date-time
            - type: 'null'
          title: Updated At
          chunkable: false
          index: false
        num_replies:
          anyOf:
            - type: integer
            - type: 'null'
          title: Num Replies
          chunkable: false
          index: false
        thread_id:
          anyOf:
            - type: string
            - type: 'null'
          title: Thread Id
          chunkable: false
          index: false
        mentioned_users:
          anyOf:
            - items:
                $ref: '#/components/schemas/Person'
              type: array
            - type: 'null'
          title: Mentioned Users
          chunkable: false
          index: false
          response_body: true
        speaker_role:
          anyOf:
            - type: string
            - type: 'null'
          title: Speaker Role
          chunkable: false
          index: false
      type: object
      required:
        - sender
        - date
      title: Message
    Event:
      properties:
        type:
          type: string
          const: event
          title: Type
          default: event
        id:
          type: string
          title: Id
          chunkable: false
          index: false
        metadata:
          anyOf:
            - $ref: '#/components/schemas/Metadata'
            - type: 'null'
        text:
          anyOf:
            - type: string
            - type: 'null'
          title: Text
          chunkable: false
          index: false
          response_body: true
        children:
          items:
            oneOf:
              - $ref: '#/components/schemas/Person'
              - $ref: '#/components/schemas/Blob'
              - $ref: '#/components/schemas/Callout'
              - $ref: '#/components/schemas/Chunk'
              - $ref: '#/components/schemas/Code'
              - $ref: '#/components/schemas/Comment'
              - $ref: '#/components/schemas/Description'
              - $ref: '#/components/schemas/Divider'
              - $ref: '#/components/schemas/Equation'
              - $ref: '#/components/schemas/Footnote'
              - $ref: '#/components/schemas/Heading'
              - $ref: '#/components/schemas/Image'
              - $ref: '#/components/schemas/Link'
              - $ref: '#/components/schemas/LineBreak'
              - $ref: '#/components/schemas/List'
              - $ref: '#/components/schemas/ListItem'
              - $ref: '#/components/schemas/Page'
              - $ref: '#/components/schemas/Paragraph'
              - $ref: '#/components/schemas/Quote'
              - $ref: '#/components/schemas/Reference'
              - $ref: '#/components/schemas/Table'
              - $ref: '#/components/schemas/TableCell'
              - $ref: '#/components/schemas/TableRow'
              - $ref: '#/components/schemas/TaskList'
              - $ref: '#/components/schemas/Text'
              - $ref: '#/components/schemas/ToDo'
              - $ref: '#/components/schemas/ToolCall'
              - $ref: '#/components/schemas/ToolResult'
              - $ref: '#/components/schemas/TraceMessage'
              - $ref: '#/components/schemas/Utterance'
            discriminator:
              propertyName: type
              mapping:
                blob: '#/components/schemas/Blob'
                callout: '#/components/schemas/Callout'
                chunk: '#/components/schemas/Chunk'
                code: '#/components/schemas/Code'
                comment: '#/components/schemas/Comment'
                description: '#/components/schemas/Description'
                divider: '#/components/schemas/Divider'
                equation: '#/components/schemas/Equation'
                footnote: '#/components/schemas/Footnote'
                heading: '#/components/schemas/Heading'
                image: '#/components/schemas/Image'
                line_break: '#/components/schemas/LineBreak'
                link: '#/components/schemas/Link'
                list: '#/components/schemas/List'
                list_item: '#/components/schemas/ListItem'
                page: '#/components/schemas/Page'
                paragraph: '#/components/schemas/Paragraph'
                person: '#/components/schemas/Person'
                quote: '#/components/schemas/Quote'
                reference: '#/components/schemas/Reference'
                table: '#/components/schemas/Table'
                table_cell: '#/components/schemas/TableCell'
                table_row: '#/components/schemas/TableRow'
                task_list: '#/components/schemas/TaskList'
                text: '#/components/schemas/Text'
                todo: '#/components/schemas/ToDo'
                tool_call: '#/components/schemas/ToolCall'
                tool_result: '#/components/schemas/ToolResult'
                trace_message: '#/components/schemas/TraceMessage'
                utterance: '#/components/schemas/Utterance'
          type: array
          title: Children
          chunkable: true
          index: false
          response_body: true
        title:
          anyOf:
            - type: string
            - type: 'null'
          title: Title
          chunkable: false
          index: true
        start_at:
          anyOf:
            - type: string
              format: date-time
            - type: 'null'
          title: Start At
        end_at:
          anyOf:
            - type: string
              format: date-time
            - type: 'null'
          title: End At
        meeting_url:
          anyOf:
            - type: string
            - type: 'null'
          title: Meeting Url
        location:
          anyOf:
            - type: string
            - type: 'null'
          title: Location
          chunkable: false
          index: true
        attendees:
          items:
            $ref: '#/components/schemas/Person'
          type: array
          title: Attendees
          chunkable: true
          index: false
          response_body: true
      type: object
      title: Event
    File:
      properties:
        type:
          type: string
          const: file
          title: Type
          default: file
        id:
          type: string
          title: Id
          chunkable: false
          index: false
        metadata:
          anyOf:
            - $ref: '#/components/schemas/Metadata'
            - type: 'null'
        text:
          anyOf:
            - type: string
            - type: 'null'
          title: Text
          chunkable: false
          index: false
          response_body: true
        children:
          items:
            oneOf:
              - $ref: '#/components/schemas/Person'
              - $ref: '#/components/schemas/Blob'
              - $ref: '#/components/schemas/Callout'
              - $ref: '#/components/schemas/Chunk'
              - $ref: '#/components/schemas/Code'
              - $ref: '#/components/schemas/Comment'
              - $ref: '#/components/schemas/Description'
              - $ref: '#/components/schemas/Divider'
              - $ref: '#/components/schemas/Equation'
              - $ref: '#/components/schemas/Footnote'
              - $ref: '#/components/schemas/Heading'
              - $ref: '#/components/schemas/Image'
              - $ref: '#/components/schemas/Link'
              - $ref: '#/components/schemas/LineBreak'
              - $ref: '#/components/schemas/List'
              - $ref: '#/components/schemas/ListItem'
              - $ref: '#/components/schemas/Page'
              - $ref: '#/components/schemas/Paragraph'
              - $ref: '#/components/schemas/Quote'
              - $ref: '#/components/schemas/Reference'
              - $ref: '#/components/schemas/Table'
              - $ref: '#/components/schemas/TableCell'
              - $ref: '#/components/schemas/TableRow'
              - $ref: '#/components/schemas/TaskList'
              - $ref: '#/components/schemas/Text'
              - $ref: '#/components/schemas/ToDo'
              - $ref: '#/components/schemas/ToolCall'
              - $ref: '#/components/schemas/ToolResult'
              - $ref: '#/components/schemas/TraceMessage'
              - $ref: '#/components/schemas/Utterance'
            discriminator:
              propertyName: type
              mapping:
                blob: '#/components/schemas/Blob'
                callout: '#/components/schemas/Callout'
                chunk: '#/components/schemas/Chunk'
                code: '#/components/schemas/Code'
                comment: '#/components/schemas/Comment'
                description: '#/components/schemas/Description'
                divider: '#/components/schemas/Divider'
                equation: '#/components/schemas/Equation'
                footnote: '#/components/schemas/Footnote'
                heading: '#/components/schemas/Heading'
                image: '#/components/schemas/Image'
                line_break: '#/components/schemas/LineBreak'
                link: '#/components/schemas/Link'
                list: '#/components/schemas/List'
                list_item: '#/components/schemas/ListItem'
                page: '#/components/schemas/Page'
                paragraph: '#/components/schemas/Paragraph'
                person: '#/components/schemas/Person'
                quote: '#/components/schemas/Quote'
                reference: '#/components/schemas/Reference'
                table: '#/components/schemas/Table'
                table_cell: '#/components/schemas/TableCell'
                table_row: '#/components/schemas/TableRow'
                task_list: '#/components/schemas/TaskList'
                text: '#/components/schemas/Text'
                todo: '#/components/schemas/ToDo'
                tool_call: '#/components/schemas/ToolCall'
                tool_result: '#/components/schemas/ToolResult'
                trace_message: '#/components/schemas/TraceMessage'
                utterance: '#/components/schemas/Utterance'
          type: array
          title: Children
          chunkable: true
          index: false
          response_body: true
        filename:
          type: string
          title: Filename
        content_type:
          type: string
          title: Content Type
        path:
          anyOf:
            - items:
                type: string
              type: array
            - type: 'null'
          title: Path
        title:
          anyOf:
            - type: string
            - type: 'null'
          title: Title
          chunkable: false
          index: true
        content_truncated:
          anyOf:
            - type: boolean
            - type: 'null'
          title: Content Truncated
          description: >-
            Whether the stored readable body is a capped preview of the full
            file.
          chunkable: false
          index: false
      type: object
      required:
        - filename
        - content_type
      title: File
    Conversation:
      properties:
        type:
          type: string
          const: conversation
          title: Type
          default: conversation
        id:
          type: string
          title: Id
          chunkable: false
          index: false
        metadata:
          anyOf:
            - $ref: '#/components/schemas/Metadata'
            - type: 'null'
        text:
          anyOf:
            - type: string
            - type: 'null'
          title: Text
          chunkable: false
          index: false
          response_body: true
        children:
          items:
            $ref: '#/components/schemas/Message'
          type: array
          title: Children
          chunkable: true
          index: false
          response_body: true
        channel:
          anyOf:
            - type: string
            - type: 'null'
          title: Channel
        title:
          anyOf:
            - type: string
            - type: 'null'
          title: Title
          chunkable: false
          index: false
        participants:
          anyOf:
            - items:
                $ref: '#/components/schemas/Person'
              type: array
            - type: 'null'
          title: Participants
          chunkable: false
          index: false
          response_body: true
      type: object
      title: Conversation
    Trace:
      properties:
        type:
          type: string
          const: trace
          title: Type
          default: trace
        id:
          type: string
          title: Id
          chunkable: false
          index: false
        metadata:
          anyOf:
            - $ref: '#/components/schemas/Metadata'
            - type: 'null'
        text:
          anyOf:
            - type: string
            - type: 'null'
          title: Text
          chunkable: false
          index: false
          response_body: true
        children:
          items:
            oneOf:
              - $ref: '#/components/schemas/TraceMessage'
              - $ref: '#/components/schemas/ToolCall'
              - $ref: '#/components/schemas/ToolResult'
            discriminator:
              propertyName: type
              mapping:
                tool_call: '#/components/schemas/ToolCall'
                tool_result: '#/components/schemas/ToolResult'
                trace_message: '#/components/schemas/TraceMessage'
          type: array
          title: Children
          chunkable: true
          index: false
          response_body: true
        title:
          anyOf:
            - type: string
            - type: 'null'
          title: Title
          chunkable: false
          index: true
      type: object
      title: Trace
      description: |-
        An agent trace/transcript containing a sequence of steps.

        Steps can be TraceMessage (user/assistant messages or thinking),
        ToolCall (function calls), or ToolResult (tool responses).
    Transcript:
      properties:
        type:
          type: string
          const: transcript
          title: Type
          default: transcript
        id:
          type: string
          title: Id
          chunkable: false
          index: false
        metadata:
          anyOf:
            - $ref: '#/components/schemas/Metadata'
            - type: 'null'
        text:
          anyOf:
            - type: string
            - type: 'null'
          title: Text
          chunkable: false
          index: false
          response_body: true
        children:
          items:
            $ref: '#/components/schemas/Utterance'
          type: array
          title: Children
          chunkable: true
          index: false
          response_body: true
        title:
          anyOf:
            - type: string
            - type: 'null'
          title: Title
          chunkable: false
          index: true
        started_at:
          anyOf:
            - type: string
              format: date-time
            - type: 'null'
          title: Started At
        ended_at:
          anyOf:
            - type: string
              format: date-time
            - type: 'null'
          title: Ended At
        participants:
          items:
            $ref: '#/components/schemas/Person'
          type: array
          title: Participants
          chunkable: false
          index: false
          response_body: true
      type: object
      title: Transcript
      description: >-
        A time-anchored, speaker-attributed transcript for a meeting or call.


        Utterance timestamps are relative offsets from `started_at`, which is
        the

        absolute wall-clock anchor.
    Company:
      properties:
        type:
          type: string
          const: company
          title: Type
          default: company
        id:
          type: string
          title: Id
          chunkable: false
          index: false
        metadata:
          anyOf:
            - $ref: '#/components/schemas/Metadata'
            - type: 'null'
        text:
          anyOf:
            - type: string
            - type: 'null'
          title: Text
          chunkable: false
          index: false
          response_body: true
        children:
          items:
            oneOf:
              - $ref: '#/components/schemas/Person'
              - $ref: '#/components/schemas/Blob'
              - $ref: '#/components/schemas/Callout'
              - $ref: '#/components/schemas/Chunk'
              - $ref: '#/components/schemas/Code'
              - $ref: '#/components/schemas/Comment'
              - $ref: '#/components/schemas/Description'
              - $ref: '#/components/schemas/Divider'
              - $ref: '#/components/schemas/Equation'
              - $ref: '#/components/schemas/Footnote'
              - $ref: '#/components/schemas/Heading'
              - $ref: '#/components/schemas/Image'
              - $ref: '#/components/schemas/Link'
              - $ref: '#/components/schemas/LineBreak'
              - $ref: '#/components/schemas/List'
              - $ref: '#/components/schemas/ListItem'
              - $ref: '#/components/schemas/Page'
              - $ref: '#/components/schemas/Paragraph'
              - $ref: '#/components/schemas/Quote'
              - $ref: '#/components/schemas/Reference'
              - $ref: '#/components/schemas/Table'
              - $ref: '#/components/schemas/TableCell'
              - $ref: '#/components/schemas/TableRow'
              - $ref: '#/components/schemas/TaskList'
              - $ref: '#/components/schemas/Text'
              - $ref: '#/components/schemas/ToDo'
              - $ref: '#/components/schemas/ToolCall'
              - $ref: '#/components/schemas/ToolResult'
              - $ref: '#/components/schemas/TraceMessage'
              - $ref: '#/components/schemas/Utterance'
            discriminator:
              propertyName: type
              mapping:
                blob: '#/components/schemas/Blob'
                callout: '#/components/schemas/Callout'
                chunk: '#/components/schemas/Chunk'
                code: '#/components/schemas/Code'
                comment: '#/components/schemas/Comment'
                description: '#/components/schemas/Description'
                divider: '#/components/schemas/Divider'
                equation: '#/components/schemas/Equation'
                footnote: '#/components/schemas/Footnote'
                heading: '#/components/schemas/Heading'
                image: '#/components/schemas/Image'
                line_break: '#/components/schemas/LineBreak'
                link: '#/components/schemas/Link'
                list: '#/components/schemas/List'
                list_item: '#/components/schemas/ListItem'
                page: '#/components/schemas/Page'
                paragraph: '#/components/schemas/Paragraph'
                person: '#/components/schemas/Person'
                quote: '#/components/schemas/Quote'
                reference: '#/components/schemas/Reference'
                table: '#/components/schemas/Table'
                table_cell: '#/components/schemas/TableCell'
                table_row: '#/components/schemas/TableRow'
                task_list: '#/components/schemas/TaskList'
                text: '#/components/schemas/Text'
                todo: '#/components/schemas/ToDo'
                tool_call: '#/components/schemas/ToolCall'
                tool_result: '#/components/schemas/ToolResult'
                trace_message: '#/components/schemas/TraceMessage'
                utterance: '#/components/schemas/Utterance'
          type: array
          title: Children
          chunkable: true
          index: false
          response_body: true
        name:
          anyOf:
            - type: string
            - type: 'null'
          title: Name
          chunkable: false
          index: true
        description:
          anyOf:
            - type: string
            - type: 'null'
          title: Description
          chunkable: false
          index: true
          response_body: true
        status_summary:
          anyOf:
            - type: string
            - type: 'null'
          title: Status Summary
          chunkable: false
          index: true
          response_body: true
        industry:
          anyOf:
            - type: string
            - type: 'null'
          title: Industry
          chunkable: false
          index: true
        employees:
          anyOf:
            - type: integer
            - type: 'null'
          title: Employees
        last_activity_at:
          anyOf:
            - type: string
              format: date-time
            - type: 'null'
          title: Last Activity At
        websites:
          anyOf:
            - items:
                type: string
              type: array
            - type: 'null'
          title: Websites
        domains:
          anyOf:
            - items:
                type: string
              type: array
            - type: 'null'
          title: Domains
        link_urls:
          anyOf:
            - items:
                type: string
              type: array
            - type: 'null'
          title: Link Urls
        emails:
          anyOf:
            - items:
                type: string
              type: array
            - type: 'null'
          title: Emails
        phone_numbers:
          anyOf:
            - items:
                type: string
              type: array
            - type: 'null'
          title: Phone Numbers
        address:
          anyOf:
            - type: string
            - type: 'null'
          title: Address
        image_url:
          anyOf:
            - type: string
            - type: 'null'
          title: Image Url
        is_active:
          anyOf:
            - type: boolean
            - type: 'null'
          title: Is Active
        tags:
          anyOf:
            - items:
                type: string
              type: array
            - type: 'null'
          title: Tags
        timezone:
          anyOf:
            - type: string
            - type: 'null'
          title: Timezone
        deal_ids:
          anyOf:
            - items:
                type: string
              type: array
            - type: 'null'
          title: Deal Ids
        contact_ids:
          anyOf:
            - items:
                type: string
              type: array
            - type: 'null'
          title: Contact Ids
      type: object
      title: Company
      description: A CRM company or account record.
    Deal:
      properties:
        type:
          type: string
          const: deal
          title: Type
          default: deal
        id:
          type: string
          title: Id
          chunkable: false
          index: false
        metadata:
          anyOf:
            - $ref: '#/components/schemas/Metadata'
            - type: 'null'
        text:
          anyOf:
            - type: string
            - type: 'null'
          title: Text
          chunkable: false
          index: false
          response_body: true
        children:
          items:
            oneOf:
              - $ref: '#/components/schemas/Person'
              - $ref: '#/components/schemas/Blob'
              - $ref: '#/components/schemas/Callout'
              - $ref: '#/components/schemas/Chunk'
              - $ref: '#/components/schemas/Code'
              - $ref: '#/components/schemas/Comment'
              - $ref: '#/components/schemas/Description'
              - $ref: '#/components/schemas/Divider'
              - $ref: '#/components/schemas/Equation'
              - $ref: '#/components/schemas/Footnote'
              - $ref: '#/components/schemas/Heading'
              - $ref: '#/components/schemas/Image'
              - $ref: '#/components/schemas/Link'
              - $ref: '#/components/schemas/LineBreak'
              - $ref: '#/components/schemas/List'
              - $ref: '#/components/schemas/ListItem'
              - $ref: '#/components/schemas/Page'
              - $ref: '#/components/schemas/Paragraph'
              - $ref: '#/components/schemas/Quote'
              - $ref: '#/components/schemas/Reference'
              - $ref: '#/components/schemas/Table'
              - $ref: '#/components/schemas/TableCell'
              - $ref: '#/components/schemas/TableRow'
              - $ref: '#/components/schemas/TaskList'
              - $ref: '#/components/schemas/Text'
              - $ref: '#/components/schemas/ToDo'
              - $ref: '#/components/schemas/ToolCall'
              - $ref: '#/components/schemas/ToolResult'
              - $ref: '#/components/schemas/TraceMessage'
              - $ref: '#/components/schemas/Utterance'
            discriminator:
              propertyName: type
              mapping:
                blob: '#/components/schemas/Blob'
                callout: '#/components/schemas/Callout'
                chunk: '#/components/schemas/Chunk'
                code: '#/components/schemas/Code'
                comment: '#/components/schemas/Comment'
                description: '#/components/schemas/Description'
                divider: '#/components/schemas/Divider'
                equation: '#/components/schemas/Equation'
                footnote: '#/components/schemas/Footnote'
                heading: '#/components/schemas/Heading'
                image: '#/components/schemas/Image'
                line_break: '#/components/schemas/LineBreak'
                link: '#/components/schemas/Link'
                list: '#/components/schemas/List'
                list_item: '#/components/schemas/ListItem'
                page: '#/components/schemas/Page'
                paragraph: '#/components/schemas/Paragraph'
                person: '#/components/schemas/Person'
                quote: '#/components/schemas/Quote'
                reference: '#/components/schemas/Reference'
                table: '#/components/schemas/Table'
                table_cell: '#/components/schemas/TableCell'
                table_row: '#/components/schemas/TableRow'
                task_list: '#/components/schemas/TaskList'
                text: '#/components/schemas/Text'
                todo: '#/components/schemas/ToDo'
                tool_call: '#/components/schemas/ToolCall'
                tool_result: '#/components/schemas/ToolResult'
                trace_message: '#/components/schemas/TraceMessage'
                utterance: '#/components/schemas/Utterance'
          type: array
          title: Children
          chunkable: true
          index: false
          response_body: true
        name:
          anyOf:
            - type: string
            - type: 'null'
          title: Name
          chunkable: false
          index: true
        amount:
          anyOf:
            - type: number
            - type: 'null'
          title: Amount
        currency:
          anyOf:
            - type: string
            - type: 'null'
          title: Currency
        stage:
          anyOf:
            - type: string
            - type: 'null'
          title: Stage
          chunkable: false
          index: true
        pipeline:
          anyOf:
            - type: string
            - type: 'null'
          title: Pipeline
        probability:
          anyOf:
            - type: number
            - type: 'null'
          title: Probability
        closed_at:
          anyOf:
            - type: string
              format: date-time
            - type: 'null'
          title: Closed At
        expected_close_at:
          anyOf:
            - type: string
              format: date-time
            - type: 'null'
          title: Expected Close At
        won_reason:
          anyOf:
            - type: string
            - type: 'null'
          title: Won Reason
          chunkable: false
          index: false
          response_body: true
        lost_reason:
          anyOf:
            - type: string
            - type: 'null'
          title: Lost Reason
          chunkable: false
          index: false
          response_body: true
        close_reason:
          anyOf:
            - type: string
            - type: 'null'
          title: Close Reason
          chunkable: false
          index: false
          response_body: true
        status_summary:
          anyOf:
            - type: string
            - type: 'null'
          title: Status Summary
          chunkable: false
          index: true
          response_body: true
        next_step:
          anyOf:
            - type: string
            - type: 'null'
          title: Next Step
          chunkable: false
          index: false
          response_body: true
        last_activity_at:
          anyOf:
            - type: string
              format: date-time
            - type: 'null'
          title: Last Activity At
        deal_source:
          anyOf:
            - type: string
            - type: 'null'
          title: Deal Source
        tags:
          anyOf:
            - items:
                type: string
              type: array
            - type: 'null'
          title: Tags
        company_ids:
          anyOf:
            - items:
                type: string
              type: array
            - type: 'null'
          title: Company Ids
        contact_ids:
          anyOf:
            - items:
                type: string
              type: array
            - type: 'null'
          title: Contact Ids
      type: object
      title: Deal
      description: A CRM deal or opportunity record.
    Invoice:
      properties:
        type:
          type: string
          const: invoice
          title: Type
          default: invoice
        id:
          type: string
          title: Id
          chunkable: false
          index: false
        metadata:
          anyOf:
            - $ref: '#/components/schemas/Metadata'
            - type: 'null'
        text:
          anyOf:
            - type: string
            - type: 'null'
          title: Text
          chunkable: false
          index: false
          response_body: true
        children:
          items:
            oneOf:
              - $ref: '#/components/schemas/Person'
              - $ref: '#/components/schemas/Blob'
              - $ref: '#/components/schemas/Callout'
              - $ref: '#/components/schemas/Chunk'
              - $ref: '#/components/schemas/Code'
              - $ref: '#/components/schemas/Comment'
              - $ref: '#/components/schemas/Description'
              - $ref: '#/components/schemas/Divider'
              - $ref: '#/components/schemas/Equation'
              - $ref: '#/components/schemas/Footnote'
              - $ref: '#/components/schemas/Heading'
              - $ref: '#/components/schemas/Image'
              - $ref: '#/components/schemas/Link'
              - $ref: '#/components/schemas/LineBreak'
              - $ref: '#/components/schemas/List'
              - $ref: '#/components/schemas/ListItem'
              - $ref: '#/components/schemas/Page'
              - $ref: '#/components/schemas/Paragraph'
              - $ref: '#/components/schemas/Quote'
              - $ref: '#/components/schemas/Reference'
              - $ref: '#/components/schemas/Table'
              - $ref: '#/components/schemas/TableCell'
              - $ref: '#/components/schemas/TableRow'
              - $ref: '#/components/schemas/TaskList'
              - $ref: '#/components/schemas/Text'
              - $ref: '#/components/schemas/ToDo'
              - $ref: '#/components/schemas/ToolCall'
              - $ref: '#/components/schemas/ToolResult'
              - $ref: '#/components/schemas/TraceMessage'
              - $ref: '#/components/schemas/Utterance'
            discriminator:
              propertyName: type
              mapping:
                blob: '#/components/schemas/Blob'
                callout: '#/components/schemas/Callout'
                chunk: '#/components/schemas/Chunk'
                code: '#/components/schemas/Code'
                comment: '#/components/schemas/Comment'
                description: '#/components/schemas/Description'
                divider: '#/components/schemas/Divider'
                equation: '#/components/schemas/Equation'
                footnote: '#/components/schemas/Footnote'
                heading: '#/components/schemas/Heading'
                image: '#/components/schemas/Image'
                line_break: '#/components/schemas/LineBreak'
                link: '#/components/schemas/Link'
                list: '#/components/schemas/List'
                list_item: '#/components/schemas/ListItem'
                page: '#/components/schemas/Page'
                paragraph: '#/components/schemas/Paragraph'
                person: '#/components/schemas/Person'
                quote: '#/components/schemas/Quote'
                reference: '#/components/schemas/Reference'
                table: '#/components/schemas/Table'
                table_cell: '#/components/schemas/TableCell'
                table_row: '#/components/schemas/TableRow'
                task_list: '#/components/schemas/TaskList'
                text: '#/components/schemas/Text'
                todo: '#/components/schemas/ToDo'
                tool_call: '#/components/schemas/ToolCall'
                tool_result: '#/components/schemas/ToolResult'
                trace_message: '#/components/schemas/TraceMessage'
                utterance: '#/components/schemas/Utterance'
          type: array
          title: Children
          chunkable: true
          index: false
          response_body: true
        title:
          anyOf:
            - type: string
            - type: 'null'
          title: Title
        invoice_type:
          anyOf:
            - type: string
            - type: 'null'
          title: Invoice Type
          chunkable: false
          index: true
        number:
          anyOf:
            - type: string
            - type: 'null'
          title: Number
          chunkable: false
          index: true
        reference:
          anyOf:
            - type: string
            - type: 'null'
          title: Reference
          chunkable: false
          index: true
        status:
          anyOf:
            - type: string
            - type: 'null'
          title: Status
          chunkable: false
          index: true
        currency:
          anyOf:
            - type: string
            - type: 'null'
          title: Currency
        contact_name:
          anyOf:
            - type: string
            - type: 'null'
          title: Contact Name
          chunkable: false
          index: true
        total_amount:
          anyOf:
            - type: number
            - type: 'null'
          title: Total Amount
        paid_amount:
          anyOf:
            - type: number
            - type: 'null'
          title: Paid Amount
        balance_amount:
          anyOf:
            - type: number
            - type: 'null'
          title: Balance Amount
        tax_amount:
          anyOf:
            - type: number
            - type: 'null'
          title: Tax Amount
        refund_amount:
          anyOf:
            - type: number
            - type: 'null'
          title: Refund Amount
        posted_at:
          anyOf:
            - type: string
              format: date-time
            - type: 'null'
          title: Posted At
        due_at:
          anyOf:
            - type: string
              format: date-time
            - type: 'null'
          title: Due At
        paid_at:
          anyOf:
            - type: string
              format: date-time
            - type: 'null'
          title: Paid At
        cancelled_at:
          anyOf:
            - type: string
              format: date-time
            - type: 'null'
          title: Cancelled At
        refunded_at:
          anyOf:
            - type: string
              format: date-time
            - type: 'null'
          title: Refunded At
        notes:
          anyOf:
            - type: string
            - type: 'null'
          title: Notes
          chunkable: false
          index: false
          response_body: true
        refund_reason:
          anyOf:
            - type: string
            - type: 'null'
          title: Refund Reason
          chunkable: false
          index: false
          response_body: true
        attachment_names:
          anyOf:
            - items:
                type: string
              type: array
            - type: 'null'
          title: Attachment Names
        contact_id:
          anyOf:
            - type: string
            - type: 'null'
          title: Contact Id
        organization_id:
          anyOf:
            - type: string
            - type: 'null'
          title: Organization Id
      type: object
      title: Invoice
      description: |-
        A customer invoice, vendor bill, or credit memo.

        Line items are included in ``children``.
    Metadata:
      properties:
        sources:
          anyOf:
            - items:
                $ref: '#/components/schemas/SourceRef'
              type: array
            - type: 'null'
          title: Sources
        edited_by:
          anyOf:
            - type: string
            - type: 'null'
          title: Edited By
        template_block:
          anyOf:
            - type: string
            - type: 'null'
          title: Template Block
        placeholder:
          anyOf:
            - type: string
            - type: 'null'
          title: Placeholder
      type: object
      title: Metadata
      description: >-
        Optional annotations carried by a hyperdoc node.


        Includes the sources a node is grounded in, human edit attribution, and
        on

        a generated page the template block that wrote the node. Unset metadata
        is

        omitted from serialized responses.
    Blob:
      properties:
        type:
          type: string
          const: blob
          title: Type
          default: blob
        id:
          type: string
          title: Id
          chunkable: false
          index: false
        metadata:
          anyOf:
            - $ref: '#/components/schemas/Metadata'
            - type: 'null'
        mimetype:
          type: string
          title: Mimetype
        data:
          type: string
          title: Data
      type: object
      required:
        - mimetype
        - data
      title: Blob
      description: |-
        Represents embedded binary data using data URI scheme.

        Format: data:[<media type>][;base64],<data>
        Example: data:text/html;base64,PGh0bWw+...
    Callout:
      properties:
        type:
          type: string
          const: callout
          title: Type
          default: callout
        id:
          type: string
          title: Id
          chunkable: false
          index: false
        metadata:
          anyOf:
            - $ref: '#/components/schemas/Metadata'
            - type: 'null'
        text:
          anyOf:
            - type: string
            - type: 'null'
          title: Text
          chunkable: false
          index: false
          response_body: true
        children:
          anyOf:
            - items:
                oneOf:
                  - $ref: '#/components/schemas/Person'
                  - $ref: '#/components/schemas/Blob'
                  - $ref: '#/components/schemas/Callout'
                  - $ref: '#/components/schemas/Chunk'
                  - $ref: '#/components/schemas/Code'
                  - $ref: '#/components/schemas/Comment'
                  - $ref: '#/components/schemas/Description'
                  - $ref: '#/components/schemas/Divider'
                  - $ref: '#/components/schemas/Equation'
                  - $ref: '#/components/schemas/Footnote'
                  - $ref: '#/components/schemas/Heading'
                  - $ref: '#/components/schemas/Image'
                  - $ref: '#/components/schemas/Link'
                  - $ref: '#/components/schemas/LineBreak'
                  - $ref: '#/components/schemas/List'
                  - $ref: '#/components/schemas/ListItem'
                  - $ref: '#/components/schemas/Page'
                  - $ref: '#/components/schemas/Paragraph'
                  - $ref: '#/components/schemas/Quote'
                  - $ref: '#/components/schemas/Reference'
                  - $ref: '#/components/schemas/Table'
                  - $ref: '#/components/schemas/TableCell'
                  - $ref: '#/components/schemas/TableRow'
                  - $ref: '#/components/schemas/TaskList'
                  - $ref: '#/components/schemas/Text'
                  - $ref: '#/components/schemas/ToDo'
                  - $ref: '#/components/schemas/ToolCall'
                  - $ref: '#/components/schemas/ToolResult'
                  - $ref: '#/components/schemas/TraceMessage'
                  - $ref: '#/components/schemas/Utterance'
                discriminator:
                  propertyName: type
                  mapping:
                    blob: '#/components/schemas/Blob'
                    callout: '#/components/schemas/Callout'
                    chunk: '#/components/schemas/Chunk'
                    code: '#/components/schemas/Code'
                    comment: '#/components/schemas/Comment'
                    description: '#/components/schemas/Description'
                    divider: '#/components/schemas/Divider'
                    equation: '#/components/schemas/Equation'
                    footnote: '#/components/schemas/Footnote'
                    heading: '#/components/schemas/Heading'
                    image: '#/components/schemas/Image'
                    line_break: '#/components/schemas/LineBreak'
                    link: '#/components/schemas/Link'
                    list: '#/components/schemas/List'
                    list_item: '#/components/schemas/ListItem'
                    page: '#/components/schemas/Page'
                    paragraph: '#/components/schemas/Paragraph'
                    person: '#/components/schemas/Person'
                    quote: '#/components/schemas/Quote'
                    reference: '#/components/schemas/Reference'
                    table: '#/components/schemas/Table'
                    table_cell: '#/components/schemas/TableCell'
                    table_row: '#/components/schemas/TableRow'
                    task_list: '#/components/schemas/TaskList'
                    text: '#/components/schemas/Text'
                    todo: '#/components/schemas/ToDo'
                    tool_call: '#/components/schemas/ToolCall'
                    tool_result: '#/components/schemas/ToolResult'
                    trace_message: '#/components/schemas/TraceMessage'
                    utterance: '#/components/schemas/Utterance'
              type: array
            - type: 'null'
          title: Children
          chunkable: false
          index: false
          response_body: true
        title:
          anyOf:
            - type: string
            - type: 'null'
          title: Title
      type: object
      title: Callout
    Chunk:
      properties:
        type:
          type: string
          const: chunk
          title: Type
          default: chunk
        id:
          type: string
          title: Id
          chunkable: false
          index: false
        metadata:
          anyOf:
            - $ref: '#/components/schemas/Metadata'
            - type: 'null'
        text:
          anyOf:
            - type: string
            - type: 'null'
          title: Text
          chunkable: false
          index: false
          response_body: true
        children:
          items:
            oneOf:
              - $ref: '#/components/schemas/Person'
              - $ref: '#/components/schemas/Blob'
              - $ref: '#/components/schemas/Callout'
              - $ref: '#/components/schemas/Chunk'
              - $ref: '#/components/schemas/Code'
              - $ref: '#/components/schemas/Comment'
              - $ref: '#/components/schemas/Description'
              - $ref: '#/components/schemas/Divider'
              - $ref: '#/components/schemas/Equation'
              - $ref: '#/components/schemas/Footnote'
              - $ref: '#/components/schemas/Heading'
              - $ref: '#/components/schemas/Image'
              - $ref: '#/components/schemas/Link'
              - $ref: '#/components/schemas/LineBreak'
              - $ref: '#/components/schemas/List'
              - $ref: '#/components/schemas/ListItem'
              - $ref: '#/components/schemas/Page'
              - $ref: '#/components/schemas/Paragraph'
              - $ref: '#/components/schemas/Quote'
              - $ref: '#/components/schemas/Reference'
              - $ref: '#/components/schemas/Table'
              - $ref: '#/components/schemas/TableCell'
              - $ref: '#/components/schemas/TableRow'
              - $ref: '#/components/schemas/TaskList'
              - $ref: '#/components/schemas/Text'
              - $ref: '#/components/schemas/ToDo'
              - $ref: '#/components/schemas/ToolCall'
              - $ref: '#/components/schemas/ToolResult'
              - $ref: '#/components/schemas/TraceMessage'
              - $ref: '#/components/schemas/Utterance'
            discriminator:
              propertyName: type
              mapping:
                blob: '#/components/schemas/Blob'
                callout: '#/components/schemas/Callout'
                chunk: '#/components/schemas/Chunk'
                code: '#/components/schemas/Code'
                comment: '#/components/schemas/Comment'
                description: '#/components/schemas/Description'
                divider: '#/components/schemas/Divider'
                equation: '#/components/schemas/Equation'
                footnote: '#/components/schemas/Footnote'
                heading: '#/components/schemas/Heading'
                image: '#/components/schemas/Image'
                line_break: '#/components/schemas/LineBreak'
                link: '#/components/schemas/Link'
                list: '#/components/schemas/List'
                list_item: '#/components/schemas/ListItem'
                page: '#/components/schemas/Page'
                paragraph: '#/components/schemas/Paragraph'
                person: '#/components/schemas/Person'
                quote: '#/components/schemas/Quote'
                reference: '#/components/schemas/Reference'
                table: '#/components/schemas/Table'
                table_cell: '#/components/schemas/TableCell'
                table_row: '#/components/schemas/TableRow'
                task_list: '#/components/schemas/TaskList'
                text: '#/components/schemas/Text'
                todo: '#/components/schemas/ToDo'
                tool_call: '#/components/schemas/ToolCall'
                tool_result: '#/components/schemas/ToolResult'
                trace_message: '#/components/schemas/TraceMessage'
                utterance: '#/components/schemas/Utterance'
          type: array
          title: Children
          chunkable: false
          index: false
      type: object
      title: Chunk
    Code:
      properties:
        type:
          type: string
          const: code
          title: Type
          default: code
        id:
          type: string
          title: Id
          chunkable: false
          index: false
        metadata:
          anyOf:
            - $ref: '#/components/schemas/Metadata'
            - type: 'null'
        text:
          type: string
          title: Text
        language:
          anyOf:
            - type: string
            - type: 'null'
          title: Language
      type: object
      required:
        - text
      title: Code
    Comment:
      properties:
        type:
          type: string
          const: comment
          title: Type
          default: comment
        id:
          type: string
          title: Id
          chunkable: false
          index: false
        metadata:
          anyOf:
            - $ref: '#/components/schemas/Metadata'
            - type: 'null'
        text:
          type: string
          title: Text
        created_at:
          anyOf:
            - type: string
              format: date-time
            - type: 'null'
          title: Created At
      type: object
      required:
        - text
      title: Comment
    Description:
      properties:
        type:
          type: string
          const: description
          title: Type
          default: description
        id:
          type: string
          title: Id
          chunkable: false
          index: false
        metadata:
          anyOf:
            - $ref: '#/components/schemas/Metadata'
            - type: 'null'
        text:
          anyOf:
            - type: string
            - type: 'null'
          title: Text
          chunkable: false
          index: false
          response_body: true
        children:
          anyOf:
            - items:
                oneOf:
                  - $ref: '#/components/schemas/Person'
                  - $ref: '#/components/schemas/Blob'
                  - $ref: '#/components/schemas/Callout'
                  - $ref: '#/components/schemas/Chunk'
                  - $ref: '#/components/schemas/Code'
                  - $ref: '#/components/schemas/Comment'
                  - $ref: '#/components/schemas/Description'
                  - $ref: '#/components/schemas/Divider'
                  - $ref: '#/components/schemas/Equation'
                  - $ref: '#/components/schemas/Footnote'
                  - $ref: '#/components/schemas/Heading'
                  - $ref: '#/components/schemas/Image'
                  - $ref: '#/components/schemas/Link'
                  - $ref: '#/components/schemas/LineBreak'
                  - $ref: '#/components/schemas/List'
                  - $ref: '#/components/schemas/ListItem'
                  - $ref: '#/components/schemas/Page'
                  - $ref: '#/components/schemas/Paragraph'
                  - $ref: '#/components/schemas/Quote'
                  - $ref: '#/components/schemas/Reference'
                  - $ref: '#/components/schemas/Table'
                  - $ref: '#/components/schemas/TableCell'
                  - $ref: '#/components/schemas/TableRow'
                  - $ref: '#/components/schemas/TaskList'
                  - $ref: '#/components/schemas/Text'
                  - $ref: '#/components/schemas/ToDo'
                  - $ref: '#/components/schemas/ToolCall'
                  - $ref: '#/components/schemas/ToolResult'
                  - $ref: '#/components/schemas/TraceMessage'
                  - $ref: '#/components/schemas/Utterance'
                discriminator:
                  propertyName: type
                  mapping:
                    blob: '#/components/schemas/Blob'
                    callout: '#/components/schemas/Callout'
                    chunk: '#/components/schemas/Chunk'
                    code: '#/components/schemas/Code'
                    comment: '#/components/schemas/Comment'
                    description: '#/components/schemas/Description'
                    divider: '#/components/schemas/Divider'
                    equation: '#/components/schemas/Equation'
                    footnote: '#/components/schemas/Footnote'
                    heading: '#/components/schemas/Heading'
                    image: '#/components/schemas/Image'
                    line_break: '#/components/schemas/LineBreak'
                    link: '#/components/schemas/Link'
                    list: '#/components/schemas/List'
                    list_item: '#/components/schemas/ListItem'
                    page: '#/components/schemas/Page'
                    paragraph: '#/components/schemas/Paragraph'
                    person: '#/components/schemas/Person'
                    quote: '#/components/schemas/Quote'
                    reference: '#/components/schemas/Reference'
                    table: '#/components/schemas/Table'
                    table_cell: '#/components/schemas/TableCell'
                    table_row: '#/components/schemas/TableRow'
                    task_list: '#/components/schemas/TaskList'
                    text: '#/components/schemas/Text'
                    todo: '#/components/schemas/ToDo'
                    tool_call: '#/components/schemas/ToolCall'
                    tool_result: '#/components/schemas/ToolResult'
                    trace_message: '#/components/schemas/TraceMessage'
                    utterance: '#/components/schemas/Utterance'
              type: array
            - type: 'null'
          title: Children
          chunkable: false
          index: false
          response_body: true
      type: object
      title: Description
      description: >-
        A document's standfirst: one or two sentences under the title.


        A distinct type rather than "the first paragraph", because position is
        not

        meaning — a renderer that styles children[0] differently breaks the
        moment

        a writer puts a heading first, and a reader extracting the summary would

        have to guess. One per document by convention; nothing enforces it.
    Divider:
      properties:
        type:
          type: string
          const: divider
          title: Type
          default: divider
        id:
          type: string
          title: Id
          chunkable: false
          index: false
        metadata:
          anyOf:
            - $ref: '#/components/schemas/Metadata'
            - type: 'null'
      type: object
      title: Divider
    Equation:
      properties:
        type:
          type: string
          const: equation
          title: Type
          default: equation
        id:
          type: string
          title: Id
          chunkable: false
          index: false
        metadata:
          anyOf:
            - $ref: '#/components/schemas/Metadata'
            - type: 'null'
        text:
          anyOf:
            - type: string
            - type: 'null'
          title: Text
          chunkable: false
          index: false
          response_body: true
        children:
          anyOf:
            - items:
                oneOf:
                  - $ref: '#/components/schemas/Person'
                  - $ref: '#/components/schemas/Blob'
                  - $ref: '#/components/schemas/Callout'
                  - $ref: '#/components/schemas/Chunk'
                  - $ref: '#/components/schemas/Code'
                  - $ref: '#/components/schemas/Comment'
                  - $ref: '#/components/schemas/Description'
                  - $ref: '#/components/schemas/Divider'
                  - $ref: '#/components/schemas/Equation'
                  - $ref: '#/components/schemas/Footnote'
                  - $ref: '#/components/schemas/Heading'
                  - $ref: '#/components/schemas/Image'
                  - $ref: '#/components/schemas/Link'
                  - $ref: '#/components/schemas/LineBreak'
                  - $ref: '#/components/schemas/List'
                  - $ref: '#/components/schemas/ListItem'
                  - $ref: '#/components/schemas/Page'
                  - $ref: '#/components/schemas/Paragraph'
                  - $ref: '#/components/schemas/Quote'
                  - $ref: '#/components/schemas/Reference'
                  - $ref: '#/components/schemas/Table'
                  - $ref: '#/components/schemas/TableCell'
                  - $ref: '#/components/schemas/TableRow'
                  - $ref: '#/components/schemas/TaskList'
                  - $ref: '#/components/schemas/Text'
                  - $ref: '#/components/schemas/ToDo'
                  - $ref: '#/components/schemas/ToolCall'
                  - $ref: '#/components/schemas/ToolResult'
                  - $ref: '#/components/schemas/TraceMessage'
                  - $ref: '#/components/schemas/Utterance'
                discriminator:
                  propertyName: type
                  mapping:
                    blob: '#/components/schemas/Blob'
                    callout: '#/components/schemas/Callout'
                    chunk: '#/components/schemas/Chunk'
                    code: '#/components/schemas/Code'
                    comment: '#/components/schemas/Comment'
                    description: '#/components/schemas/Description'
                    divider: '#/components/schemas/Divider'
                    equation: '#/components/schemas/Equation'
                    footnote: '#/components/schemas/Footnote'
                    heading: '#/components/schemas/Heading'
                    image: '#/components/schemas/Image'
                    line_break: '#/components/schemas/LineBreak'
                    link: '#/components/schemas/Link'
                    list: '#/components/schemas/List'
                    list_item: '#/components/schemas/ListItem'
                    page: '#/components/schemas/Page'
                    paragraph: '#/components/schemas/Paragraph'
                    person: '#/components/schemas/Person'
                    quote: '#/components/schemas/Quote'
                    reference: '#/components/schemas/Reference'
                    table: '#/components/schemas/Table'
                    table_cell: '#/components/schemas/TableCell'
                    table_row: '#/components/schemas/TableRow'
                    task_list: '#/components/schemas/TaskList'
                    text: '#/components/schemas/Text'
                    todo: '#/components/schemas/ToDo'
                    tool_call: '#/components/schemas/ToolCall'
                    tool_result: '#/components/schemas/ToolResult'
                    trace_message: '#/components/schemas/TraceMessage'
                    utterance: '#/components/schemas/Utterance'
              type: array
            - type: 'null'
          title: Children
          chunkable: false
          index: false
          response_body: true
      type: object
      title: Equation
    Footnote:
      properties:
        type:
          type: string
          const: footnote
          title: Type
          default: footnote
        id:
          type: string
          title: Id
          chunkable: false
          index: false
        metadata:
          anyOf:
            - $ref: '#/components/schemas/Metadata'
            - type: 'null'
        text:
          anyOf:
            - type: string
            - type: 'null'
          title: Text
          chunkable: false
          index: false
          response_body: true
        children:
          anyOf:
            - items:
                oneOf:
                  - $ref: '#/components/schemas/Person'
                  - $ref: '#/components/schemas/Blob'
                  - $ref: '#/components/schemas/Callout'
                  - $ref: '#/components/schemas/Chunk'
                  - $ref: '#/components/schemas/Code'
                  - $ref: '#/components/schemas/Comment'
                  - $ref: '#/components/schemas/Description'
                  - $ref: '#/components/schemas/Divider'
                  - $ref: '#/components/schemas/Equation'
                  - $ref: '#/components/schemas/Footnote'
                  - $ref: '#/components/schemas/Heading'
                  - $ref: '#/components/schemas/Image'
                  - $ref: '#/components/schemas/Link'
                  - $ref: '#/components/schemas/LineBreak'
                  - $ref: '#/components/schemas/List'
                  - $ref: '#/components/schemas/ListItem'
                  - $ref: '#/components/schemas/Page'
                  - $ref: '#/components/schemas/Paragraph'
                  - $ref: '#/components/schemas/Quote'
                  - $ref: '#/components/schemas/Reference'
                  - $ref: '#/components/schemas/Table'
                  - $ref: '#/components/schemas/TableCell'
                  - $ref: '#/components/schemas/TableRow'
                  - $ref: '#/components/schemas/TaskList'
                  - $ref: '#/components/schemas/Text'
                  - $ref: '#/components/schemas/ToDo'
                  - $ref: '#/components/schemas/ToolCall'
                  - $ref: '#/components/schemas/ToolResult'
                  - $ref: '#/components/schemas/TraceMessage'
                  - $ref: '#/components/schemas/Utterance'
                discriminator:
                  propertyName: type
                  mapping:
                    blob: '#/components/schemas/Blob'
                    callout: '#/components/schemas/Callout'
                    chunk: '#/components/schemas/Chunk'
                    code: '#/components/schemas/Code'
                    comment: '#/components/schemas/Comment'
                    description: '#/components/schemas/Description'
                    divider: '#/components/schemas/Divider'
                    equation: '#/components/schemas/Equation'
                    footnote: '#/components/schemas/Footnote'
                    heading: '#/components/schemas/Heading'
                    image: '#/components/schemas/Image'
                    line_break: '#/components/schemas/LineBreak'
                    link: '#/components/schemas/Link'
                    list: '#/components/schemas/List'
                    list_item: '#/components/schemas/ListItem'
                    page: '#/components/schemas/Page'
                    paragraph: '#/components/schemas/Paragraph'
                    person: '#/components/schemas/Person'
                    quote: '#/components/schemas/Quote'
                    reference: '#/components/schemas/Reference'
                    table: '#/components/schemas/Table'
                    table_cell: '#/components/schemas/TableCell'
                    table_row: '#/components/schemas/TableRow'
                    task_list: '#/components/schemas/TaskList'
                    text: '#/components/schemas/Text'
                    todo: '#/components/schemas/ToDo'
                    tool_call: '#/components/schemas/ToolCall'
                    tool_result: '#/components/schemas/ToolResult'
                    trace_message: '#/components/schemas/TraceMessage'
                    utterance: '#/components/schemas/Utterance'
              type: array
            - type: 'null'
          title: Children
          chunkable: false
          index: false
          response_body: true
      type: object
      title: Footnote
    Heading:
      properties:
        type:
          type: string
          const: heading
          title: Type
          default: heading
        id:
          type: string
          title: Id
          chunkable: false
          index: false
        metadata:
          anyOf:
            - $ref: '#/components/schemas/Metadata'
            - type: 'null'
        text:
          anyOf:
            - type: string
            - type: 'null'
          title: Text
          chunkable: false
          index: false
          response_body: true
        children:
          anyOf:
            - items:
                oneOf:
                  - $ref: '#/components/schemas/Person'
                  - $ref: '#/components/schemas/Blob'
                  - $ref: '#/components/schemas/Callout'
                  - $ref: '#/components/schemas/Chunk'
                  - $ref: '#/components/schemas/Code'
                  - $ref: '#/components/schemas/Comment'
                  - $ref: '#/components/schemas/Description'
                  - $ref: '#/components/schemas/Divider'
                  - $ref: '#/components/schemas/Equation'
                  - $ref: '#/components/schemas/Footnote'
                  - $ref: '#/components/schemas/Heading'
                  - $ref: '#/components/schemas/Image'
                  - $ref: '#/components/schemas/Link'
                  - $ref: '#/components/schemas/LineBreak'
                  - $ref: '#/components/schemas/List'
                  - $ref: '#/components/schemas/ListItem'
                  - $ref: '#/components/schemas/Page'
                  - $ref: '#/components/schemas/Paragraph'
                  - $ref: '#/components/schemas/Quote'
                  - $ref: '#/components/schemas/Reference'
                  - $ref: '#/components/schemas/Table'
                  - $ref: '#/components/schemas/TableCell'
                  - $ref: '#/components/schemas/TableRow'
                  - $ref: '#/components/schemas/TaskList'
                  - $ref: '#/components/schemas/Text'
                  - $ref: '#/components/schemas/ToDo'
                  - $ref: '#/components/schemas/ToolCall'
                  - $ref: '#/components/schemas/ToolResult'
                  - $ref: '#/components/schemas/TraceMessage'
                  - $ref: '#/components/schemas/Utterance'
                discriminator:
                  propertyName: type
                  mapping:
                    blob: '#/components/schemas/Blob'
                    callout: '#/components/schemas/Callout'
                    chunk: '#/components/schemas/Chunk'
                    code: '#/components/schemas/Code'
                    comment: '#/components/schemas/Comment'
                    description: '#/components/schemas/Description'
                    divider: '#/components/schemas/Divider'
                    equation: '#/components/schemas/Equation'
                    footnote: '#/components/schemas/Footnote'
                    heading: '#/components/schemas/Heading'
                    image: '#/components/schemas/Image'
                    line_break: '#/components/schemas/LineBreak'
                    link: '#/components/schemas/Link'
                    list: '#/components/schemas/List'
                    list_item: '#/components/schemas/ListItem'
                    page: '#/components/schemas/Page'
                    paragraph: '#/components/schemas/Paragraph'
                    person: '#/components/schemas/Person'
                    quote: '#/components/schemas/Quote'
                    reference: '#/components/schemas/Reference'
                    table: '#/components/schemas/Table'
                    table_cell: '#/components/schemas/TableCell'
                    table_row: '#/components/schemas/TableRow'
                    task_list: '#/components/schemas/TaskList'
                    text: '#/components/schemas/Text'
                    todo: '#/components/schemas/ToDo'
                    tool_call: '#/components/schemas/ToolCall'
                    tool_result: '#/components/schemas/ToolResult'
                    trace_message: '#/components/schemas/TraceMessage'
                    utterance: '#/components/schemas/Utterance'
              type: array
            - type: 'null'
          title: Children
          chunkable: false
          index: false
          response_body: true
        level:
          type: integer
          title: Level
      type: object
      required:
        - level
      title: Heading
    Image:
      properties:
        type:
          type: string
          const: image
          title: Type
          default: image
        id:
          type: string
          title: Id
          chunkable: false
          index: false
        metadata:
          anyOf:
            - $ref: '#/components/schemas/Metadata'
            - type: 'null'
        text:
          type: string
          title: Text
        src:
          type: string
          title: Src
      type: object
      required:
        - text
        - src
      title: Image
    Link:
      properties:
        type:
          type: string
          const: link
          title: Type
          default: link
        id:
          type: string
          title: Id
          chunkable: false
          index: false
        metadata:
          anyOf:
            - $ref: '#/components/schemas/Metadata'
            - type: 'null'
        text:
          type: string
          title: Text
        url:
          type: string
          title: Url
      type: object
      required:
        - text
        - url
      title: Link
    LineBreak:
      properties:
        type:
          type: string
          const: line_break
          title: Type
          default: line_break
        id:
          type: string
          title: Id
          chunkable: false
          index: false
        metadata:
          anyOf:
            - $ref: '#/components/schemas/Metadata'
            - type: 'null'
      type: object
      title: LineBreak
    List:
      properties:
        type:
          type: string
          const: list
          title: Type
          default: list
        id:
          type: string
          title: Id
          chunkable: false
          index: false
        metadata:
          anyOf:
            - $ref: '#/components/schemas/Metadata'
            - type: 'null'
        text:
          anyOf:
            - type: string
            - type: 'null'
          title: Text
          chunkable: false
          index: false
          response_body: true
        children:
          items:
            oneOf:
              - $ref: '#/components/schemas/ListItem'
              - $ref: '#/components/schemas/ToDo'
            discriminator:
              propertyName: type
              mapping:
                list_item: '#/components/schemas/ListItem'
                todo: '#/components/schemas/ToDo'
          type: array
          title: Children
          chunkable: false
          index: false
        ordered:
          type: boolean
          title: Ordered
          default: false
      type: object
      title: List
    ListItem:
      properties:
        type:
          type: string
          const: list_item
          title: Type
          default: list_item
        id:
          type: string
          title: Id
          chunkable: false
          index: false
        metadata:
          anyOf:
            - $ref: '#/components/schemas/Metadata'
            - type: 'null'
        text:
          anyOf:
            - type: string
            - type: 'null'
          title: Text
          chunkable: false
          index: false
          response_body: true
        children:
          anyOf:
            - items:
                oneOf:
                  - $ref: '#/components/schemas/Person'
                  - $ref: '#/components/schemas/Blob'
                  - $ref: '#/components/schemas/Callout'
                  - $ref: '#/components/schemas/Chunk'
                  - $ref: '#/components/schemas/Code'
                  - $ref: '#/components/schemas/Comment'
                  - $ref: '#/components/schemas/Description'
                  - $ref: '#/components/schemas/Divider'
                  - $ref: '#/components/schemas/Equation'
                  - $ref: '#/components/schemas/Footnote'
                  - $ref: '#/components/schemas/Heading'
                  - $ref: '#/components/schemas/Image'
                  - $ref: '#/components/schemas/Link'
                  - $ref: '#/components/schemas/LineBreak'
                  - $ref: '#/components/schemas/List'
                  - $ref: '#/components/schemas/ListItem'
                  - $ref: '#/components/schemas/Page'
                  - $ref: '#/components/schemas/Paragraph'
                  - $ref: '#/components/schemas/Quote'
                  - $ref: '#/components/schemas/Reference'
                  - $ref: '#/components/schemas/Table'
                  - $ref: '#/components/schemas/TableCell'
                  - $ref: '#/components/schemas/TableRow'
                  - $ref: '#/components/schemas/TaskList'
                  - $ref: '#/components/schemas/Text'
                  - $ref: '#/components/schemas/ToDo'
                  - $ref: '#/components/schemas/ToolCall'
                  - $ref: '#/components/schemas/ToolResult'
                  - $ref: '#/components/schemas/TraceMessage'
                  - $ref: '#/components/schemas/Utterance'
                discriminator:
                  propertyName: type
                  mapping:
                    blob: '#/components/schemas/Blob'
                    callout: '#/components/schemas/Callout'
                    chunk: '#/components/schemas/Chunk'
                    code: '#/components/schemas/Code'
                    comment: '#/components/schemas/Comment'
                    description: '#/components/schemas/Description'
                    divider: '#/components/schemas/Divider'
                    equation: '#/components/schemas/Equation'
                    footnote: '#/components/schemas/Footnote'
                    heading: '#/components/schemas/Heading'
                    image: '#/components/schemas/Image'
                    line_break: '#/components/schemas/LineBreak'
                    link: '#/components/schemas/Link'
                    list: '#/components/schemas/List'
                    list_item: '#/components/schemas/ListItem'
                    page: '#/components/schemas/Page'
                    paragraph: '#/components/schemas/Paragraph'
                    person: '#/components/schemas/Person'
                    quote: '#/components/schemas/Quote'
                    reference: '#/components/schemas/Reference'
                    table: '#/components/schemas/Table'
                    table_cell: '#/components/schemas/TableCell'
                    table_row: '#/components/schemas/TableRow'
                    task_list: '#/components/schemas/TaskList'
                    text: '#/components/schemas/Text'
                    todo: '#/components/schemas/ToDo'
                    tool_call: '#/components/schemas/ToolCall'
                    tool_result: '#/components/schemas/ToolResult'
                    trace_message: '#/components/schemas/TraceMessage'
                    utterance: '#/components/schemas/Utterance'
              type: array
            - type: 'null'
          title: Children
          chunkable: false
          index: false
          response_body: true
      type: object
      title: ListItem
    Page:
      properties:
        type:
          type: string
          const: page
          title: Type
          default: page
        id:
          type: string
          title: Id
          chunkable: false
          index: false
        metadata:
          anyOf:
            - $ref: '#/components/schemas/Metadata'
            - type: 'null'
        text:
          anyOf:
            - type: string
            - type: 'null'
          title: Text
          chunkable: false
          index: false
          response_body: true
        children:
          anyOf:
            - items:
                oneOf:
                  - $ref: '#/components/schemas/Person'
                  - $ref: '#/components/schemas/Blob'
                  - $ref: '#/components/schemas/Callout'
                  - $ref: '#/components/schemas/Chunk'
                  - $ref: '#/components/schemas/Code'
                  - $ref: '#/components/schemas/Comment'
                  - $ref: '#/components/schemas/Description'
                  - $ref: '#/components/schemas/Divider'
                  - $ref: '#/components/schemas/Equation'
                  - $ref: '#/components/schemas/Footnote'
                  - $ref: '#/components/schemas/Heading'
                  - $ref: '#/components/schemas/Image'
                  - $ref: '#/components/schemas/Link'
                  - $ref: '#/components/schemas/LineBreak'
                  - $ref: '#/components/schemas/List'
                  - $ref: '#/components/schemas/ListItem'
                  - $ref: '#/components/schemas/Page'
                  - $ref: '#/components/schemas/Paragraph'
                  - $ref: '#/components/schemas/Quote'
                  - $ref: '#/components/schemas/Reference'
                  - $ref: '#/components/schemas/Table'
                  - $ref: '#/components/schemas/TableCell'
                  - $ref: '#/components/schemas/TableRow'
                  - $ref: '#/components/schemas/TaskList'
                  - $ref: '#/components/schemas/Text'
                  - $ref: '#/components/schemas/ToDo'
                  - $ref: '#/components/schemas/ToolCall'
                  - $ref: '#/components/schemas/ToolResult'
                  - $ref: '#/components/schemas/TraceMessage'
                  - $ref: '#/components/schemas/Utterance'
                discriminator:
                  propertyName: type
                  mapping:
                    blob: '#/components/schemas/Blob'
                    callout: '#/components/schemas/Callout'
                    chunk: '#/components/schemas/Chunk'
                    code: '#/components/schemas/Code'
                    comment: '#/components/schemas/Comment'
                    description: '#/components/schemas/Description'
                    divider: '#/components/schemas/Divider'
                    equation: '#/components/schemas/Equation'
                    footnote: '#/components/schemas/Footnote'
                    heading: '#/components/schemas/Heading'
                    image: '#/components/schemas/Image'
                    line_break: '#/components/schemas/LineBreak'
                    link: '#/components/schemas/Link'
                    list: '#/components/schemas/List'
                    list_item: '#/components/schemas/ListItem'
                    page: '#/components/schemas/Page'
                    paragraph: '#/components/schemas/Paragraph'
                    person: '#/components/schemas/Person'
                    quote: '#/components/schemas/Quote'
                    reference: '#/components/schemas/Reference'
                    table: '#/components/schemas/Table'
                    table_cell: '#/components/schemas/TableCell'
                    table_row: '#/components/schemas/TableRow'
                    task_list: '#/components/schemas/TaskList'
                    text: '#/components/schemas/Text'
                    todo: '#/components/schemas/ToDo'
                    tool_call: '#/components/schemas/ToolCall'
                    tool_result: '#/components/schemas/ToolResult'
                    trace_message: '#/components/schemas/TraceMessage'
                    utterance: '#/components/schemas/Utterance'
              type: array
            - type: 'null'
          title: Children
          chunkable: false
          index: false
          response_body: true
        page_number:
          anyOf:
            - type: integer
            - type: 'null'
          title: Page Number
        preview_url:
          anyOf:
            - type: string
            - type: 'null'
          title: Preview Url
      type: object
      title: Page
    Paragraph:
      properties:
        type:
          type: string
          const: paragraph
          title: Type
          default: paragraph
        id:
          type: string
          title: Id
          chunkable: false
          index: false
        metadata:
          anyOf:
            - $ref: '#/components/schemas/Metadata'
            - type: 'null'
        text:
          anyOf:
            - type: string
            - type: 'null'
          title: Text
          chunkable: false
          index: false
          response_body: true
        children:
          anyOf:
            - items:
                oneOf:
                  - $ref: '#/components/schemas/Person'
                  - $ref: '#/components/schemas/Blob'
                  - $ref: '#/components/schemas/Callout'
                  - $ref: '#/components/schemas/Chunk'
                  - $ref: '#/components/schemas/Code'
                  - $ref: '#/components/schemas/Comment'
                  - $ref: '#/components/schemas/Description'
                  - $ref: '#/components/schemas/Divider'
                  - $ref: '#/components/schemas/Equation'
                  - $ref: '#/components/schemas/Footnote'
                  - $ref: '#/components/schemas/Heading'
                  - $ref: '#/components/schemas/Image'
                  - $ref: '#/components/schemas/Link'
                  - $ref: '#/components/schemas/LineBreak'
                  - $ref: '#/components/schemas/List'
                  - $ref: '#/components/schemas/ListItem'
                  - $ref: '#/components/schemas/Page'
                  - $ref: '#/components/schemas/Paragraph'
                  - $ref: '#/components/schemas/Quote'
                  - $ref: '#/components/schemas/Reference'
                  - $ref: '#/components/schemas/Table'
                  - $ref: '#/components/schemas/TableCell'
                  - $ref: '#/components/schemas/TableRow'
                  - $ref: '#/components/schemas/TaskList'
                  - $ref: '#/components/schemas/Text'
                  - $ref: '#/components/schemas/ToDo'
                  - $ref: '#/components/schemas/ToolCall'
                  - $ref: '#/components/schemas/ToolResult'
                  - $ref: '#/components/schemas/TraceMessage'
                  - $ref: '#/components/schemas/Utterance'
                discriminator:
                  propertyName: type
                  mapping:
                    blob: '#/components/schemas/Blob'
                    callout: '#/components/schemas/Callout'
                    chunk: '#/components/schemas/Chunk'
                    code: '#/components/schemas/Code'
                    comment: '#/components/schemas/Comment'
                    description: '#/components/schemas/Description'
                    divider: '#/components/schemas/Divider'
                    equation: '#/components/schemas/Equation'
                    footnote: '#/components/schemas/Footnote'
                    heading: '#/components/schemas/Heading'
                    image: '#/components/schemas/Image'
                    line_break: '#/components/schemas/LineBreak'
                    link: '#/components/schemas/Link'
                    list: '#/components/schemas/List'
                    list_item: '#/components/schemas/ListItem'
                    page: '#/components/schemas/Page'
                    paragraph: '#/components/schemas/Paragraph'
                    person: '#/components/schemas/Person'
                    quote: '#/components/schemas/Quote'
                    reference: '#/components/schemas/Reference'
                    table: '#/components/schemas/Table'
                    table_cell: '#/components/schemas/TableCell'
                    table_row: '#/components/schemas/TableRow'
                    task_list: '#/components/schemas/TaskList'
                    text: '#/components/schemas/Text'
                    todo: '#/components/schemas/ToDo'
                    tool_call: '#/components/schemas/ToolCall'
                    tool_result: '#/components/schemas/ToolResult'
                    trace_message: '#/components/schemas/TraceMessage'
                    utterance: '#/components/schemas/Utterance'
              type: array
            - type: 'null'
          title: Children
          chunkable: false
          index: false
          response_body: true
      type: object
      title: Paragraph
    Quote:
      properties:
        type:
          type: string
          const: quote
          title: Type
          default: quote
        id:
          type: string
          title: Id
          chunkable: false
          index: false
        metadata:
          anyOf:
            - $ref: '#/components/schemas/Metadata'
            - type: 'null'
        text:
          anyOf:
            - type: string
            - type: 'null'
          title: Text
          chunkable: false
          index: false
          response_body: true
        children:
          anyOf:
            - items:
                oneOf:
                  - $ref: '#/components/schemas/Person'
                  - $ref: '#/components/schemas/Blob'
                  - $ref: '#/components/schemas/Callout'
                  - $ref: '#/components/schemas/Chunk'
                  - $ref: '#/components/schemas/Code'
                  - $ref: '#/components/schemas/Comment'
                  - $ref: '#/components/schemas/Description'
                  - $ref: '#/components/schemas/Divider'
                  - $ref: '#/components/schemas/Equation'
                  - $ref: '#/components/schemas/Footnote'
                  - $ref: '#/components/schemas/Heading'
                  - $ref: '#/components/schemas/Image'
                  - $ref: '#/components/schemas/Link'
                  - $ref: '#/components/schemas/LineBreak'
                  - $ref: '#/components/schemas/List'
                  - $ref: '#/components/schemas/ListItem'
                  - $ref: '#/components/schemas/Page'
                  - $ref: '#/components/schemas/Paragraph'
                  - $ref: '#/components/schemas/Quote'
                  - $ref: '#/components/schemas/Reference'
                  - $ref: '#/components/schemas/Table'
                  - $ref: '#/components/schemas/TableCell'
                  - $ref: '#/components/schemas/TableRow'
                  - $ref: '#/components/schemas/TaskList'
                  - $ref: '#/components/schemas/Text'
                  - $ref: '#/components/schemas/ToDo'
                  - $ref: '#/components/schemas/ToolCall'
                  - $ref: '#/components/schemas/ToolResult'
                  - $ref: '#/components/schemas/TraceMessage'
                  - $ref: '#/components/schemas/Utterance'
                discriminator:
                  propertyName: type
                  mapping:
                    blob: '#/components/schemas/Blob'
                    callout: '#/components/schemas/Callout'
                    chunk: '#/components/schemas/Chunk'
                    code: '#/components/schemas/Code'
                    comment: '#/components/schemas/Comment'
                    description: '#/components/schemas/Description'
                    divider: '#/components/schemas/Divider'
                    equation: '#/components/schemas/Equation'
                    footnote: '#/components/schemas/Footnote'
                    heading: '#/components/schemas/Heading'
                    image: '#/components/schemas/Image'
                    line_break: '#/components/schemas/LineBreak'
                    link: '#/components/schemas/Link'
                    list: '#/components/schemas/List'
                    list_item: '#/components/schemas/ListItem'
                    page: '#/components/schemas/Page'
                    paragraph: '#/components/schemas/Paragraph'
                    person: '#/components/schemas/Person'
                    quote: '#/components/schemas/Quote'
                    reference: '#/components/schemas/Reference'
                    table: '#/components/schemas/Table'
                    table_cell: '#/components/schemas/TableCell'
                    table_row: '#/components/schemas/TableRow'
                    task_list: '#/components/schemas/TaskList'
                    text: '#/components/schemas/Text'
                    todo: '#/components/schemas/ToDo'
                    tool_call: '#/components/schemas/ToolCall'
                    tool_result: '#/components/schemas/ToolResult'
                    trace_message: '#/components/schemas/TraceMessage'
                    utterance: '#/components/schemas/Utterance'
              type: array
            - type: 'null'
          title: Children
          chunkable: false
          index: false
          response_body: true
      type: object
      title: Quote
    Reference:
      properties:
        type:
          type: string
          const: reference
          title: Type
          default: reference
        id:
          type: string
          title: Id
          chunkable: false
          index: false
        metadata:
          anyOf:
            - $ref: '#/components/schemas/Metadata'
            - type: 'null'
        title:
          type: string
          title: Title
        resource_id:
          type: string
          title: Resource Id
        provider:
          type: string
          title: Provider
      type: object
      required:
        - title
        - resource_id
        - provider
      title: Reference
      description: |-
        A pointer to another document in the brain.

        Carries the display title and the ``(provider, resource_id)`` pair that
        names the document — the same coordinates a ``SourceRef`` uses, so a
        reader can resolve it through the same grant-filtered lookup as a
        citation. Unlike a citation it is content: it stands on its own as a
        block rather than annotating one.
    Table:
      properties:
        type:
          type: string
          const: table
          title: Type
          default: table
        id:
          type: string
          title: Id
          chunkable: false
          index: false
        metadata:
          anyOf:
            - $ref: '#/components/schemas/Metadata'
            - type: 'null'
        text:
          anyOf:
            - type: string
            - type: 'null'
          title: Text
          chunkable: false
          index: false
          response_body: true
        children:
          items:
            $ref: '#/components/schemas/TableRow'
          type: array
          title: Children
          chunkable: false
          index: false
        has_header:
          type: boolean
          title: Has Header
          description: Whether the first row should be treated as a header
          default: true
          chunkable: false
          index: false
      type: object
      title: Table
    TableCell:
      properties:
        type:
          type: string
          const: table_cell
          title: Type
          default: table_cell
        id:
          type: string
          title: Id
          chunkable: false
          index: false
        metadata:
          anyOf:
            - $ref: '#/components/schemas/Metadata'
            - type: 'null'
        text:
          anyOf:
            - type: string
            - type: 'null'
          title: Text
          chunkable: false
          index: false
          response_body: true
        children:
          anyOf:
            - items:
                oneOf:
                  - $ref: '#/components/schemas/Person'
                  - $ref: '#/components/schemas/Blob'
                  - $ref: '#/components/schemas/Callout'
                  - $ref: '#/components/schemas/Chunk'
                  - $ref: '#/components/schemas/Code'
                  - $ref: '#/components/schemas/Comment'
                  - $ref: '#/components/schemas/Description'
                  - $ref: '#/components/schemas/Divider'
                  - $ref: '#/components/schemas/Equation'
                  - $ref: '#/components/schemas/Footnote'
                  - $ref: '#/components/schemas/Heading'
                  - $ref: '#/components/schemas/Image'
                  - $ref: '#/components/schemas/Link'
                  - $ref: '#/components/schemas/LineBreak'
                  - $ref: '#/components/schemas/List'
                  - $ref: '#/components/schemas/ListItem'
                  - $ref: '#/components/schemas/Page'
                  - $ref: '#/components/schemas/Paragraph'
                  - $ref: '#/components/schemas/Quote'
                  - $ref: '#/components/schemas/Reference'
                  - $ref: '#/components/schemas/Table'
                  - $ref: '#/components/schemas/TableCell'
                  - $ref: '#/components/schemas/TableRow'
                  - $ref: '#/components/schemas/TaskList'
                  - $ref: '#/components/schemas/Text'
                  - $ref: '#/components/schemas/ToDo'
                  - $ref: '#/components/schemas/ToolCall'
                  - $ref: '#/components/schemas/ToolResult'
                  - $ref: '#/components/schemas/TraceMessage'
                  - $ref: '#/components/schemas/Utterance'
                discriminator:
                  propertyName: type
                  mapping:
                    blob: '#/components/schemas/Blob'
                    callout: '#/components/schemas/Callout'
                    chunk: '#/components/schemas/Chunk'
                    code: '#/components/schemas/Code'
                    comment: '#/components/schemas/Comment'
                    description: '#/components/schemas/Description'
                    divider: '#/components/schemas/Divider'
                    equation: '#/components/schemas/Equation'
                    footnote: '#/components/schemas/Footnote'
                    heading: '#/components/schemas/Heading'
                    image: '#/components/schemas/Image'
                    line_break: '#/components/schemas/LineBreak'
                    link: '#/components/schemas/Link'
                    list: '#/components/schemas/List'
                    list_item: '#/components/schemas/ListItem'
                    page: '#/components/schemas/Page'
                    paragraph: '#/components/schemas/Paragraph'
                    person: '#/components/schemas/Person'
                    quote: '#/components/schemas/Quote'
                    reference: '#/components/schemas/Reference'
                    table: '#/components/schemas/Table'
                    table_cell: '#/components/schemas/TableCell'
                    table_row: '#/components/schemas/TableRow'
                    task_list: '#/components/schemas/TaskList'
                    text: '#/components/schemas/Text'
                    todo: '#/components/schemas/ToDo'
                    tool_call: '#/components/schemas/ToolCall'
                    tool_result: '#/components/schemas/ToolResult'
                    trace_message: '#/components/schemas/TraceMessage'
                    utterance: '#/components/schemas/Utterance'
              type: array
            - type: 'null'
          title: Children
          chunkable: false
          index: false
          response_body: true
        align:
          $ref: '#/components/schemas/Alignment'
          default: left
      type: object
      title: TableCell
    TableRow:
      properties:
        type:
          type: string
          const: table_row
          title: Type
          default: table_row
        id:
          type: string
          title: Id
          chunkable: false
          index: false
        metadata:
          anyOf:
            - $ref: '#/components/schemas/Metadata'
            - type: 'null'
        text:
          anyOf:
            - type: string
            - type: 'null'
          title: Text
          chunkable: false
          index: false
          response_body: true
        children:
          items:
            $ref: '#/components/schemas/TableCell'
          type: array
          title: Children
          chunkable: false
          index: false
      type: object
      title: TableRow
    TaskList:
      properties:
        type:
          type: string
          const: task_list
          title: Type
          default: task_list
        id:
          type: string
          title: Id
          chunkable: false
          index: false
        metadata:
          anyOf:
            - $ref: '#/components/schemas/Metadata'
            - type: 'null'
        text:
          anyOf:
            - type: string
            - type: 'null'
          title: Text
          chunkable: false
          index: false
          response_body: true
        children:
          items:
            $ref: '#/components/schemas/Task'
          type: array
          title: Children
          chunkable: false
          index: false
      type: object
      title: TaskList
      description: >-
        A block of tasks, rendered as one row per task.


        Children are ``Task`` documents and nothing else — a task list is the
        one

        place a task appears as a row inside another document rather than as the

        document itself, so the row renderer can rely on every child carrying

        status, due date and priority. The type is a separate container rather

        than a ``List`` of ``ToDo`` items because a to-do is a checkbox with
        text,

        while a task is a document with a lifecycle.
    Text:
      properties:
        type:
          type: string
          const: text
          title: Type
          default: text
        id:
          type: string
          title: Id
          chunkable: false
          index: false
        metadata:
          anyOf:
            - $ref: '#/components/schemas/Metadata'
            - type: 'null'
        text:
          type: string
          title: Text
        marks:
          anyOf:
            - items:
                $ref: '#/components/schemas/Markup'
              type: array
            - type: 'null'
          title: Marks
      type: object
      required:
        - text
      title: Text
    ToDo:
      properties:
        type:
          type: string
          const: todo
          title: Type
          default: todo
        id:
          type: string
          title: Id
          chunkable: false
          index: false
        metadata:
          anyOf:
            - $ref: '#/components/schemas/Metadata'
            - type: 'null'
        text:
          anyOf:
            - type: string
            - type: 'null'
          title: Text
          chunkable: false
          index: false
          response_body: true
        children:
          anyOf:
            - items:
                oneOf:
                  - $ref: '#/components/schemas/Person'
                  - $ref: '#/components/schemas/Blob'
                  - $ref: '#/components/schemas/Callout'
                  - $ref: '#/components/schemas/Chunk'
                  - $ref: '#/components/schemas/Code'
                  - $ref: '#/components/schemas/Comment'
                  - $ref: '#/components/schemas/Description'
                  - $ref: '#/components/schemas/Divider'
                  - $ref: '#/components/schemas/Equation'
                  - $ref: '#/components/schemas/Footnote'
                  - $ref: '#/components/schemas/Heading'
                  - $ref: '#/components/schemas/Image'
                  - $ref: '#/components/schemas/Link'
                  - $ref: '#/components/schemas/LineBreak'
                  - $ref: '#/components/schemas/List'
                  - $ref: '#/components/schemas/ListItem'
                  - $ref: '#/components/schemas/Page'
                  - $ref: '#/components/schemas/Paragraph'
                  - $ref: '#/components/schemas/Quote'
                  - $ref: '#/components/schemas/Reference'
                  - $ref: '#/components/schemas/Table'
                  - $ref: '#/components/schemas/TableCell'
                  - $ref: '#/components/schemas/TableRow'
                  - $ref: '#/components/schemas/TaskList'
                  - $ref: '#/components/schemas/Text'
                  - $ref: '#/components/schemas/ToDo'
                  - $ref: '#/components/schemas/ToolCall'
                  - $ref: '#/components/schemas/ToolResult'
                  - $ref: '#/components/schemas/TraceMessage'
                  - $ref: '#/components/schemas/Utterance'
                discriminator:
                  propertyName: type
                  mapping:
                    blob: '#/components/schemas/Blob'
                    callout: '#/components/schemas/Callout'
                    chunk: '#/components/schemas/Chunk'
                    code: '#/components/schemas/Code'
                    comment: '#/components/schemas/Comment'
                    description: '#/components/schemas/Description'
                    divider: '#/components/schemas/Divider'
                    equation: '#/components/schemas/Equation'
                    footnote: '#/components/schemas/Footnote'
                    heading: '#/components/schemas/Heading'
                    image: '#/components/schemas/Image'
                    line_break: '#/components/schemas/LineBreak'
                    link: '#/components/schemas/Link'
                    list: '#/components/schemas/List'
                    list_item: '#/components/schemas/ListItem'
                    page: '#/components/schemas/Page'
                    paragraph: '#/components/schemas/Paragraph'
                    person: '#/components/schemas/Person'
                    quote: '#/components/schemas/Quote'
                    reference: '#/components/schemas/Reference'
                    table: '#/components/schemas/Table'
                    table_cell: '#/components/schemas/TableCell'
                    table_row: '#/components/schemas/TableRow'
                    task_list: '#/components/schemas/TaskList'
                    text: '#/components/schemas/Text'
                    todo: '#/components/schemas/ToDo'
                    tool_call: '#/components/schemas/ToolCall'
                    tool_result: '#/components/schemas/ToolResult'
                    trace_message: '#/components/schemas/TraceMessage'
                    utterance: '#/components/schemas/Utterance'
              type: array
            - type: 'null'
          title: Children
          chunkable: false
          index: false
          response_body: true
        checked:
          type: boolean
          title: Checked
          default: false
      type: object
      title: ToDo
    ToolCall:
      properties:
        type:
          type: string
          const: tool_call
          title: Type
          default: tool_call
        id:
          type: string
          title: Id
          chunkable: false
          index: false
        metadata:
          anyOf:
            - $ref: '#/components/schemas/Metadata'
            - type: 'null'
        tool_call_id:
          type: string
          title: Tool Call Id
        tool_name:
          type: string
          title: Tool Name
        args:
          additionalProperties: true
          type: object
          title: Args
          chunkable: false
          index: false
      type: object
      required:
        - tool_call_id
        - tool_name
      title: ToolCall
      description: A tool/function call made by the assistant.
    ToolResult:
      properties:
        type:
          type: string
          const: tool_result
          title: Type
          default: tool_result
        id:
          type: string
          title: Id
          chunkable: false
          index: false
        metadata:
          anyOf:
            - $ref: '#/components/schemas/Metadata'
            - type: 'null'
        tool_call_id:
          type: string
          title: Tool Call Id
        tool_name:
          type: string
          title: Tool Name
        output:
          anyOf:
            - type: string
            - additionalProperties: true
              type: object
            - items: {}
              type: array
          title: Output
        is_error:
          type: boolean
          title: Is Error
          default: false
      type: object
      required:
        - tool_call_id
        - tool_name
        - output
      title: ToolResult
      description: The result of a tool call.
    TraceMessage:
      properties:
        type:
          type: string
          const: trace_message
          title: Type
          default: trace_message
        id:
          type: string
          title: Id
          chunkable: false
          index: false
        metadata:
          anyOf:
            - $ref: '#/components/schemas/Metadata'
            - type: 'null'
        text:
          type: string
          title: Text
        role:
          type: string
          enum:
            - user
            - assistant
          title: Role
          default: assistant
        message_type:
          type: string
          enum:
            - message
            - thinking
          title: Message Type
          default: message
        timestamp:
          anyOf:
            - type: string
              format: date-time
            - type: 'null'
          title: Timestamp
      type: object
      required:
        - text
      title: TraceMessage
      description: >-
        A message in an agent trace (user message, assistant message, or
        thinking).
    Utterance:
      properties:
        type:
          type: string
          const: utterance
          title: Type
          default: utterance
        id:
          type: string
          title: Id
          chunkable: false
          index: false
        metadata:
          anyOf:
            - $ref: '#/components/schemas/Metadata'
            - type: 'null'
        text:
          type: string
          title: Text
        speaker:
          anyOf:
            - $ref: '#/components/schemas/Person'
            - type: 'null'
        start:
          anyOf:
            - type: number
            - type: 'null'
          title: Start
        end:
          anyOf:
            - type: number
            - type: 'null'
          title: End
      type: object
      required:
        - text
      title: Utterance
      description: >-
        A speaker-attributed segment of a transcript.


        Start and end times are offsets in seconds from the beginning of the
        transcript.
    Status:
      type: string
      enum:
        - completed
        - not_started
        - in_progress
        - cancelled
      title: Status
    Priority:
      type: string
      enum:
        - urgent
        - high
        - medium
        - low
      title: Priority
    SourceRef:
      properties:
        chunk_id:
          anyOf:
            - type: string
            - type: 'null'
          title: Chunk Id
        resource_id:
          anyOf:
            - type: string
            - type: 'null'
          title: Resource Id
        source:
          anyOf:
            - type: string
            - type: 'null'
          title: Source
        score:
          anyOf:
            - type: number
            - type: 'null'
          title: Score
      type: object
      title: SourceRef
      description: >-
        A reference to the source content a block is grounded in.


        References are progressively granular. ``source`` and ``resource_id``
        name

        the document; ``chunk_id`` narrows to one indexed chunk; ``score``

        optionally records relevance. Finer fields never replace coarser ones,
        and

        a reference must name at least a document or a chunk.
    Alignment:
      type: string
      enum:
        - left
        - center
        - right
      title: Alignment
    Markup:
      type: string
      enum:
        - bold
        - italic
        - underline
        - strikethrough
        - code
        - math
      title: Markup
  securitySchemes:
    APIKey:
      type: http
      description: >-
        API Key or JWT User Token. If using an API Key, set the X-As-User header
        to act as a specific user. A JWT User Token is always scoped to a
        specific user.
      scheme: bearer
      bearerFormat: Bearer <token>

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.