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

# Get a dashboard

> Read a dashboard's current MDX source, metadata, and static file descriptors. Editable dashboards include an edit base so their source can be passed back to dashboards.update. Set includeFiles to also receive static file contents. Built-in dashboards are read-only; create an independent copy with dashboards.create using input.dashboard.id and input.dashboard.revision before editing. Never runs queries.



## OpenAPI

````yaml /openapi.json get /dashboards/{id}
openapi: 3.2.0
info:
  title: Sazabi Public API
  version: 1.0.0
  description: >
    Public REST API for Sazabi. Authenticate using a secret API key in the
    Authorization header.


    ## Pagination


    This API uses two pagination strategies depending on the endpoint type:


    ### Cursor-Based Pagination (List Endpoints)


    List endpoints (threads, messages, keys) use cursor-based pagination for
    efficient, consistent results:


    - **Parameters**: `limit` (items per page, default 50, max 100), `cursor`
    (opaque pagination token)

    - **Response**: Includes `nextCursor` field - pass this as `cursor` in the
    next request

    - **End of results**: When `nextCursor` is `null`, there are no more results

    - **Example**: `GET
    /v1/threads?limit=20&cursor=01234567-89ab-cdef-0123-456789abcdef`


    ### Page-Based Pagination (Search Endpoints)


    Search endpoints use page-based pagination due to the underlying search
    engine:


    - **Parameters**: `limit` (items per page, default 20, max 100), `page`
    (1-indexed page number)

    - **Response**: Includes `pagination` object with `page`, `limit`,
    `totalResults`, `totalPages`

    - **Example**: `GET /v1/search/threads?q=error&limit=10&page=2`
servers:
  - url: https://api.sazabi.com/v1
    description: Production
security: []
tags:
  - name: 'section: Send data'
    summary: Send data
    kind: nav
  - name: 'section: Detect issues'
    summary: Detect issues
    kind: nav
  - name: 'section: Triage issues'
    summary: Triage issues
    kind: nav
  - name: 'section: Ask Sazabi'
    summary: Ask Sazabi
    kind: nav
  - name: 'section: Explore logs'
    summary: Explore logs
    kind: nav
  - name: 'section: Ship fixes'
    summary: Ship fixes
    kind: nav
  - name: 'section: Integrations'
    summary: Integrations
    kind: nav
  - name: 'section: Organization and access'
    summary: Organization and access
    kind: nav
  - name: 'section: Billing'
    summary: Billing
    kind: nav
  - name: 'section: Webhooks and events'
    summary: Webhooks and events
    kind: nav
  - name: 'section: CLI onboarding support'
    summary: CLI onboarding support
    kind: nav
  - name: Log Sources
    summary: Log Sources
    kind: nav
    parent: 'section: Send data'
  - name: Log Streams
    summary: Log Streams
    kind: nav
    parent: 'section: Send data'
  - name: Public Keys
    summary: Public Keys
    kind: nav
    parent: 'section: Send data'
  - name: Signals
    summary: Signals
    kind: nav
    parent: 'section: Detect issues'
  - name: Issues
    summary: Issues
    kind: nav
    parent: 'section: Triage issues'
  - name: Components
    summary: Components
    kind: nav
    parent: 'section: Triage issues'
  - name: Notification delivery rules
    summary: Notification delivery rules
    kind: nav
    parent: 'section: Triage issues'
  - name: Notification channels
    summary: Notification channels
    kind: nav
    parent: 'section: Triage issues'
  - name: Tasks
    summary: Tasks
    kind: nav
    parent: 'section: Triage issues'
  - name: Task creation rules
    summary: Task creation rules
    kind: nav
    parent: 'section: Triage issues'
  - name: Task status mapping
    summary: Task status mapping
    kind: nav
    parent: 'section: Triage issues'
  - name: Work Items
    summary: Work Items
    kind: nav
    parent: 'section: Triage issues'
  - name: Threads
    summary: Threads
    kind: nav
    parent: 'section: Ask Sazabi'
  - name: Messages
    summary: Messages
    kind: nav
    parent: 'section: Ask Sazabi'
  - name: Runs
    summary: Runs
    kind: nav
    parent: 'section: Ask Sazabi'
  - name: Search
    summary: Search
    kind: nav
    parent: 'section: Ask Sazabi'
  - name: Memory
    summary: Memory
    kind: nav
    parent: 'section: Ask Sazabi'
  - name: Artifacts
    summary: Artifacts
    kind: nav
    parent: 'section: Ask Sazabi'
  - name: Tool permissions
    summary: Tool permissions
    kind: nav
    parent: 'section: Ask Sazabi'
  - name: Sandbox Environment Variables
    summary: Sandbox Environment Variables
    kind: nav
    parent: 'section: Ask Sazabi'
  - name: Sandbox Init Script
    summary: Sandbox Init Script
    kind: nav
    parent: 'section: Ask Sazabi'
  - name: Logs
    summary: Logs
    kind: nav
    parent: 'section: Explore logs'
  - name: Dashboards
    summary: Dashboards
    kind: nav
    parent: 'section: Explore logs'
  - name: AgentDispatches
    summary: AgentDispatches
    kind: nav
    parent: 'section: Ship fixes'
  - name: Pull Requests
    summary: Pull Requests
    kind: nav
    parent: 'section: Ship fixes'
  - name: Repos
    summary: Repos
    kind: nav
    parent: 'section: Ship fixes'
  - name: Integrations
    summary: Integrations
    kind: nav
    parent: 'section: Integrations'
  - name: MCP Connectors
    summary: MCP Connectors
    kind: nav
    parent: 'section: Integrations'
  - name: Connected Accounts
    summary: Connected Accounts
    kind: nav
    parent: 'section: Integrations'
  - name: Sandbox CLIs
    summary: Sandbox CLIs
    kind: nav
    parent: 'section: Integrations'
  - name: Auth
    summary: Auth
    kind: nav
    parent: 'section: Organization and access'
  - name: Organizations
    summary: Organizations
    kind: nav
    parent: 'section: Organization and access'
  - name: Projects
    summary: Projects
    kind: nav
    parent: 'section: Organization and access'
  - name: Members
    summary: Members
    kind: nav
    parent: 'section: Organization and access'
  - name: Teams
    summary: Teams
    kind: nav
    parent: 'section: Organization and access'
  - name: SSO
    summary: SSO
    kind: nav
    parent: 'section: Organization and access'
  - name: Secret Keys
    summary: Secret Keys
    kind: nav
    parent: 'section: Organization and access'
  - name: Support Tickets
    summary: Support Tickets
    kind: nav
    parent: 'section: Organization and access'
  - name: Billing
    summary: Billing
    kind: nav
    parent: 'section: Billing'
  - name: Webhooks
    summary: Webhooks
    kind: nav
    parent: 'section: Webhooks and events'
  - name: Webhook events
    summary: Webhook events
    kind: nav
    parent: 'section: Webhooks and events'
  - name: Onboarding
    summary: Onboarding
    kind: nav
    parent: 'section: CLI onboarding support'
  - name: Onboarding Tasks
    summary: Onboarding Tasks
    kind: nav
    parent: 'section: CLI onboarding support'
  - name: Recommendations
    summary: Recommendations
    kind: nav
    parent: 'section: CLI onboarding support'
paths:
  /dashboards/{id}:
    get:
      tags:
        - Dashboards
      summary: Get a dashboard
      description: >-
        Read a dashboard's current MDX source, metadata, and static file
        descriptors. Editable dashboards include an edit base so their source
        can be passed back to dashboards.update. Set includeFiles to also
        receive static file contents. Built-in dashboards are read-only; create
        an independent copy with dashboards.create using input.dashboard.id and
        input.dashboard.revision before editing. Never runs queries.
      operationId: dashboards.get
      parameters:
        - name: id
          in: path
          required: true
          schema:
            type: string
            format: uuid
        - name: includeFiles
          in: query
          schema:
            anyOf:
              - type: boolean
              - type: string
            default: false
            description: Also return complete static file contents for --out copies.
          allowEmptyValue: true
          allowReserved: true
        - name: projectId
          in: query
          schema:
            type: string
            format: uuid
            description: >-
              Project that owns the dashboard. Auto-filled from CLI and SDK
              context when omitted.
          allowEmptyValue: true
          allowReserved: true
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  origin:
                    anyOf:
                      - type: object
                        properties:
                          kind:
                            const: dashboard
                          dashboardId:
                            type: string
                            format: uuid
                          revision:
                            type: integer
                            minimum: -9007199254740991
                            maximum: 9007199254740991
                            exclusiveMinimum: 0
                          definitionHash:
                            type: string
                            pattern: ^sha256:[0-9a-f]{64}$
                        required:
                          - kind
                          - dashboardId
                          - revision
                          - definitionHash
                        additionalProperties: false
                      - type: object
                        properties:
                          kind:
                            const: template
                          key:
                            type: string
                            maxLength: 120
                            pattern: ^[a-z0-9]+(-[a-z0-9]+)*$
                          version:
                            type: integer
                            minimum: -9007199254740991
                            maximum: 9007199254740991
                            exclusiveMinimum: 0
                          definitionHash:
                            type: string
                            pattern: ^sha256:[0-9a-f]{64}$
                          resolvedInputs:
                            type: object
                            properties:
                              title:
                                type: string
                                minLength: 1
                                maxLength: 120
                              timeRange:
                                anyOf:
                                  - type: object
                                    properties:
                                      kind:
                                        const: absolute
                                      from:
                                        type: string
                                        format: date-time
                                      to:
                                        type: string
                                        format: date-time
                                    required:
                                      - kind
                                      - from
                                      - to
                                    additionalProperties: false
                                  - type: object
                                    properties:
                                      kind:
                                        const: relative
                                      lookbackSeconds:
                                        type: integer
                                        minimum: -9007199254740991
                                        maximum: 7776000
                                        exclusiveMinimum: 0
                                    required:
                                      - kind
                                      - lookbackSeconds
                                    additionalProperties: false
                                  - type: object
                                    properties:
                                      kind:
                                        const: anchored
                                      from:
                                        anyOf:
                                          - type: string
                                            format: date-time
                                          - enum:
                                              - startOfYear
                                              - firstData
                                            type: string
                                    required:
                                      - kind
                                      - from
                                    additionalProperties: false
                            required:
                              - title
                              - timeRange
                            additionalProperties: false
                        required:
                          - kind
                          - key
                          - version
                          - definitionHash
                          - resolvedInputs
                        additionalProperties: false
                  id:
                    type: string
                    format: uuid
                  revision:
                    type: integer
                    minimum: -9007199254740991
                    maximum: 9007199254740991
                    exclusiveMinimum: 0
                  definitionHash:
                    type: string
                    pattern: ^sha256:[0-9a-f]{64}$
                  title:
                    type: string
                    minLength: 1
                    maxLength: 120
                  description:
                    type: string
                    minLength: 1
                    maxLength: 500
                  source:
                    type: string
                    minLength: 1
                    description: >-
                      MDX including an edit base when content editing is
                      supported. Check dashboard capabilities before editing.
                  fileDescriptors:
                    type: array
                    items:
                      type: object
                      properties:
                        path:
                          type: string
                          minLength: 1
                          maxLength: 400
                        type:
                          enum:
                            - area_chart
                            - bar_chart
                            - pie_chart
                            - heatmap_chart
                            - gauge_chart
                            - timeseries
                            - table
                            - metric
                            - flame_chart
                            - waterfall_chart
                            - treemap_chart
                            - graph_chart
                          type: string
                        bytes:
                          type: integer
                          minimum: 0
                          maximum: 9007199254740991
                        contentHash:
                          type: string
                          pattern: ^sha256:[0-9a-f]{64}$
                      required:
                        - path
                        - type
                        - bytes
                        - contentHash
                      additionalProperties: false
                  files:
                    type: object
                    propertyNames:
                      type: string
                      minLength: 1
                      maxLength: 400
                    additionalProperties:
                      anyOf:
                        - anyOf:
                            - type: object
                              properties:
                                version:
                                  const: 1
                                type:
                                  const: flame_chart
                                data:
                                  type: object
                                  properties:
                                    items:
                                      type: array
                                      minItems: 1
                                      maxItems: 1000
                                      items:
                                        type: object
                                        properties:
                                          name:
                                            type: string
                                            minLength: 1
                                            maxLength: 120
                                          parent:
                                            type: string
                                            minLength: 1
                                            maxLength: 120
                                          value:
                                            type: number
                                            minimum: 0
                                          tone:
                                            enum:
                                              - neutral
                                              - info
                                              - success
                                              - warning
                                              - danger
                                              - critical
                                            type: string
                                          detail:
                                            type: string
                                            minLength: 1
                                            maxLength: 300
                                        required:
                                          - name
                                          - value
                                        additionalProperties: false
                                    unit:
                                      type: string
                                      minLength: 1
                                      maxLength: 20
                                    title:
                                      type: string
                                      minLength: 1
                                      maxLength: 120
                                  required:
                                    - items
                                  additionalProperties: false
                              required:
                                - version
                                - type
                                - data
                              additionalProperties: false
                            - type: object
                              properties:
                                version:
                                  const: 1
                                type:
                                  const: waterfall_chart
                                data:
                                  type: object
                                  properties:
                                    items:
                                      type: array
                                      minItems: 1
                                      maxItems: 500
                                      items:
                                        type: object
                                        properties:
                                          name:
                                            type: string
                                            minLength: 1
                                            maxLength: 120
                                          parent:
                                            type: string
                                            minLength: 1
                                            maxLength: 120
                                          start:
                                            type: number
                                            minimum: 0
                                          duration:
                                            type: number
                                            minimum: 0
                                          tone:
                                            enum:
                                              - neutral
                                              - info
                                              - success
                                              - warning
                                              - danger
                                              - critical
                                            type: string
                                          detail:
                                            type: string
                                            minLength: 1
                                            maxLength: 300
                                        required:
                                          - name
                                          - start
                                          - duration
                                        additionalProperties: false
                                    unit:
                                      type: string
                                      minLength: 1
                                      maxLength: 20
                                    title:
                                      type: string
                                      minLength: 1
                                      maxLength: 120
                                  required:
                                    - items
                                  additionalProperties: false
                              required:
                                - version
                                - type
                                - data
                              additionalProperties: false
                            - type: object
                              properties:
                                version:
                                  const: 1
                                type:
                                  const: area_chart
                                data:
                                  type: object
                                  properties:
                                    series:
                                      type: array
                                      minItems: 1
                                      maxItems: 8
                                      items:
                                        type: object
                                        properties:
                                          name:
                                            type: string
                                            minLength: 1
                                            maxLength: 120
                                          tone:
                                            enum:
                                              - neutral
                                              - info
                                              - success
                                              - warning
                                              - danger
                                              - critical
                                            type: string
                                          points:
                                            type: array
                                            minItems: 1
                                            maxItems: 1000
                                            items:
                                              type: object
                                              properties:
                                                x:
                                                  anyOf:
                                                    - {}
                                                    - {}
                                                'y':
                                                  type: number
                                              required:
                                                - 'y'
                                              additionalProperties: false
                                        required:
                                          - name
                                          - points
                                        additionalProperties: false
                                    stacked:
                                      type: boolean
                                    unit:
                                      type: string
                                      minLength: 1
                                      maxLength: 20
                                    title:
                                      type: string
                                      minLength: 1
                                      maxLength: 120
                                  required:
                                    - series
                                  additionalProperties: false
                              required:
                                - version
                                - type
                                - data
                              additionalProperties: false
                            - type: object
                              properties:
                                version:
                                  const: 1
                                type:
                                  const: treemap_chart
                                data:
                                  type: object
                                  properties:
                                    items:
                                      type: array
                                      minItems: 1
                                      maxItems: 1000
                                      items:
                                        type: object
                                        properties:
                                          name:
                                            type: string
                                            minLength: 1
                                            maxLength: 120
                                          parent:
                                            type: string
                                            minLength: 1
                                            maxLength: 120
                                          value:
                                            type: number
                                            minimum: 0
                                          tone:
                                            enum:
                                              - neutral
                                              - info
                                              - success
                                              - warning
                                              - danger
                                              - critical
                                            type: string
                                          detail:
                                            type: string
                                            minLength: 1
                                            maxLength: 300
                                        required:
                                          - name
                                          - value
                                        additionalProperties: false
                                    unit:
                                      type: string
                                      minLength: 1
                                      maxLength: 20
                                    title:
                                      type: string
                                      minLength: 1
                                      maxLength: 120
                                  required:
                                    - items
                                  additionalProperties: false
                              required:
                                - version
                                - type
                                - data
                              additionalProperties: false
                            - type: object
                              properties:
                                version:
                                  const: 1
                                type:
                                  const: graph_chart
                                data:
                                  type: object
                                  properties:
                                    nodes:
                                      type: array
                                      minItems: 1
                                      maxItems: 60
                                      items:
                                        type: object
                                        properties:
                                          name:
                                            type: string
                                            minLength: 1
                                            maxLength: 120
                                          tone:
                                            enum:
                                              - neutral
                                              - info
                                              - success
                                              - warning
                                              - danger
                                              - critical
                                            type: string
                                          value:
                                            type: number
                                            minimum: 0
                                          detail:
                                            type: string
                                            minLength: 1
                                            maxLength: 300
                                        required:
                                          - name
                                        additionalProperties: false
                                    edges:
                                      type: array
                                      maxItems: 150
                                      items:
                                        type: object
                                        properties:
                                          from:
                                            type: string
                                            minLength: 1
                                            maxLength: 120
                                          to:
                                            type: string
                                            minLength: 1
                                            maxLength: 120
                                          label:
                                            type: string
                                            minLength: 1
                                            maxLength: 60
                                          value:
                                            type: number
                                            minimum: 0
                                          tone:
                                            enum:
                                              - neutral
                                              - info
                                              - success
                                              - warning
                                              - danger
                                              - critical
                                            type: string
                                        required:
                                          - from
                                          - to
                                        additionalProperties: false
                                    title:
                                      type: string
                                      minLength: 1
                                      maxLength: 120
                                  required:
                                    - nodes
                                    - edges
                                  additionalProperties: false
                              required:
                                - version
                                - type
                                - data
                              additionalProperties: false
                        - anyOf:
                            - type: object
                              properties:
                                version:
                                  const: 2
                                type:
                                  const: area_chart
                                data:
                                  type: object
                                  properties:
                                    series:
                                      type: array
                                      minItems: 1
                                      maxItems: 8
                                      items:
                                        type: object
                                        properties:
                                          name:
                                            type: string
                                            minLength: 1
                                            maxLength: 120
                                          tone:
                                            enum:
                                              - neutral
                                              - info
                                              - success
                                              - warning
                                              - danger
                                              - critical
                                            type: string
                                          points:
                                            type: array
                                            minItems: 1
                                            maxItems: 1000
                                            items:
                                              type: object
                                              properties:
                                                x:
                                                  anyOf:
                                                    - {}
                                                    - {}
                                                'y':
                                                  anyOf:
                                                    - type: number
                                                    - type: 'null'
                                              required:
                                                - 'y'
                                              additionalProperties: false
                                        required:
                                          - name
                                          - points
                                        additionalProperties: false
                                  required:
                                    - series
                                  additionalProperties: false
                                view:
                                  type: object
                                  properties:
                                    title:
                                      type: string
                                      minLength: 1
                                      maxLength: 120
                                    unit:
                                      type: string
                                      minLength: 1
                                      maxLength: 20
                                    stacked:
                                      type: boolean
                                    interval:
                                      enum:
                                        - auto
                                        - fixed
                                      type: string
                                  additionalProperties: false
                              required:
                                - version
                                - type
                                - data
                              additionalProperties: false
                            - type: object
                              properties:
                                version:
                                  const: 2
                                type:
                                  const: bar_chart
                                data:
                                  type: object
                                  properties:
                                    series:
                                      type: array
                                      minItems: 1
                                      maxItems: 8
                                      items:
                                        type: object
                                        properties:
                                          name:
                                            type: string
                                            minLength: 1
                                            maxLength: 120
                                          tone:
                                            enum:
                                              - neutral
                                              - info
                                              - success
                                              - warning
                                              - danger
                                              - critical
                                            type: string
                                          points:
                                            type: array
                                            minItems: 1
                                            maxItems: 1000
                                            items:
                                              type: object
                                              properties:
                                                x:
                                                  anyOf:
                                                    - {}
                                                    - {}
                                                'y':
                                                  anyOf:
                                                    - type: number
                                                    - type: 'null'
                                              required:
                                                - 'y'
                                              additionalProperties: false
                                        required:
                                          - name
                                          - points
                                        additionalProperties: false
                                  required:
                                    - series
                                  additionalProperties: false
                                view:
                                  type: object
                                  properties:
                                    title:
                                      type: string
                                      minLength: 1
                                      maxLength: 120
                                    unit:
                                      type: string
                                      minLength: 1
                                      maxLength: 20
                                    stacked:
                                      type: boolean
                                  additionalProperties: false
                              required:
                                - version
                                - type
                                - data
                              additionalProperties: false
                            - type: object
                              properties:
                                version:
                                  const: 2
                                type:
                                  const: pie_chart
                                data:
                                  type: object
                                  properties:
                                    slices:
                                      type: array
                                      minItems: 1
                                      maxItems: 12
                                      items:
                                        type: object
                                        properties:
                                          name:
                                            type: string
                                            minLength: 1
                                            maxLength: 120
                                          value:
                                            type: number
                                            minimum: 0
                                          tone:
                                            enum:
                                              - neutral
                                              - info
                                              - success
                                              - warning
                                              - danger
                                              - critical
                                            type: string
                                        required:
                                          - name
                                          - value
                                        additionalProperties: false
                                  required:
                                    - slices
                                  additionalProperties: false
                                view:
                                  type: object
                                  properties:
                                    title:
                                      type: string
                                      minLength: 1
                                      maxLength: 120
                                    unit:
                                      type: string
                                      minLength: 1
                                      maxLength: 20
                                    donut:
                                      type: boolean
                                  additionalProperties: false
                              required:
                                - version
                                - type
                                - data
                              additionalProperties: false
                            - type: object
                              properties:
                                version:
                                  const: 2
                                type:
                                  const: heatmap_chart
                                data:
                                  type: object
                                  properties:
                                    columns:
                                      type: array
                                      minItems: 1
                                      maxItems: 96
                                      items:
                                        type: string
                                        minLength: 1
                                        maxLength: 64
                                    rows:
                                      type: array
                                      minItems: 1
                                      maxItems: 24
                                      items:
                                        type: object
                                        properties:
                                          name:
                                            type: string
                                            minLength: 1
                                            maxLength: 120
                                          values:
                                            type: array
                                            minItems: 1
                                            maxItems: 96
                                            items:
                                              anyOf:
                                                - type: number
                                                - type: 'null'
                                        required:
                                          - name
                                          - values
                                        additionalProperties: false
                                  required:
                                    - columns
                                    - rows
                                  additionalProperties: false
                                view:
                                  type: object
                                  properties:
                                    title:
                                      type: string
                                      minLength: 1
                                      maxLength: 120
                                    unit:
                                      type: string
                                      minLength: 1
                                      maxLength: 20
                                  additionalProperties: false
                              required:
                                - version
                                - type
                                - data
                              additionalProperties: false
                            - type: object
                              properties:
                                version:
                                  const: 2
                                type:
                                  const: gauge_chart
                                data:
                                  type: object
                                  properties:
                                    value:
                                      type: number
                                    min:
                                      type: number
                                    max:
                                      type: number
                                    thresholds:
                                      type: array
                                      maxItems: 4
                                      items:
                                        type: object
                                        properties:
                                          at:
                                            type: number
                                          tone:
                                            enum:
                                              - neutral
                                              - info
                                              - success
                                              - warning
                                              - danger
                                              - critical
                                            type: string
                                        required:
                                          - at
                                          - tone
                                        additionalProperties: false
                                  required:
                                    - value
                                    - max
                                  additionalProperties: false
                                view:
                                  type: object
                                  properties:
                                    title:
                                      type: string
                                      minLength: 1
                                      maxLength: 120
                                    unit:
                                      type: string
                                      minLength: 1
                                      maxLength: 20
                                    min:
                                      type: number
                                    max:
                                      type: number
                                    thresholds:
                                      type: array
                                      maxItems: 4
                                      items:
                                        type: object
                                        properties:
                                          at:
                                            type: number
                                          tone:
                                            enum:
                                              - neutral
                                              - info
                                              - success
                                              - warning
                                              - danger
                                              - critical
                                            type: string
                                        required:
                                          - at
                                          - tone
                                        additionalProperties: false
                                  additionalProperties: false
                              required:
                                - version
                                - type
                                - data
                              additionalProperties: false
                            - type: object
                              properties:
                                version:
                                  const: 2
                                type:
                                  const: timeseries
                                data:
                                  type: object
                                  properties:
                                    series:
                                      type: array
                                      minItems: 1
                                      maxItems: 8
                                      items:
                                        type: object
                                        properties:
                                          name:
                                            type: string
                                            minLength: 1
                                            maxLength: 120
                                          tone:
                                            enum:
                                              - neutral
                                              - info
                                              - success
                                              - warning
                                              - danger
                                              - critical
                                            type: string
                                          points:
                                            type: array
                                            minItems: 1
                                            maxItems: 1000
                                            items:
                                              type: object
                                              properties:
                                                x:
                                                  anyOf:
                                                    - {}
                                                    - {}
                                                'y':
                                                  anyOf:
                                                    - type: number
                                                    - type: 'null'
                                              required:
                                                - 'y'
                                              additionalProperties: false
                                        required:
                                          - name
                                          - points
                                        additionalProperties: false
                                  required:
                                    - series
                                  additionalProperties: false
                                view:
                                  type: object
                                  properties:
                                    title:
                                      type: string
                                      minLength: 1
                                      maxLength: 120
                                    unit:
                                      type: string
                                      minLength: 1
                                      maxLength: 20
                                    mode:
                                      enum:
                                        - line
                                        - bar
                                        - area
                                      type: string
                                    interval:
                                      enum:
                                        - auto
                                        - fixed
                                      type: string
                                  additionalProperties: false
                              required:
                                - version
                                - type
                                - data
                              additionalProperties: false
                            - type: object
                              properties:
                                version:
                                  const: 2
                                type:
                                  const: table
                                data:
                                  type: object
                                  properties:
                                    rows:
                                      type: array
                                      maxItems: 200
                                      items:
                                        type: object
                                        propertyNames:
                                          type: string
                                          minLength: 1
                                          maxLength: 80
                                        additionalProperties:
                                          anyOf:
                                            - type: 'null'
                                            - type: boolean
                                            - type: number
                                            - type: string
                                              maxLength: 4000
                                    rowKinds:
                                      type: array
                                      maxItems: 200
                                      items:
                                        enum:
                                          - data
                                          - subtotal
                                          - total
                                          - cohort
                                        type: string
                                  required:
                                    - rows
                                  additionalProperties: false
                                view:
                                  type: object
                                  properties:
                                    title:
                                      type: string
                                      minLength: 1
                                      maxLength: 120
                                    dataset:
                                      type: object
                                      properties:
                                        sources:
                                          type: array
                                          minItems: 1
                                          maxItems: 16
                                          items:
                                            type: object
                                            properties:
                                              id:
                                                type: string
                                                minLength: 1
                                                maxLength: 80
                                              query:
                                                type: object
                                                properties:
                                                  version:
                                                    const: 2
                                                  predicate:
                                                    $ref: '#/components/schemas/Predicate'
                                                    description: >-
                                                      Which lines to read: compares on fields
                                                      combined with and, or and not.
                                                      `{"op":"and","children":[]}` reads every
                                                      line.
                                                  dimensions:
                                                    type: array
                                                    maxItems: 3
                                                    items:
                                                      anyOf:
                                                        - {}
                                                        - type: 'null'
                                                    description: >-
                                                      Fields to group by, at most 3; [] for
                                                      none.
                                                  measure:
                                                    anyOf:
                                                      - {}
                                                      - {}
                                                      - {}
                                                      - {}
                                                      - {}
                                                      - {}
                                                      - {}
                                                      - {}
                                                      - {}
                                                    description: >-
                                                      What to compute over the matching lines:
                                                      count, event_rate (lines per second),
                                                      distinct values of a field, a numeric
                                                      aggregate of a field, request_count,
                                                      error_count, duration, ratio (the share
                                                      of them that match a second predicate),
                                                      or recent_rows (the lines themselves).
                                                  bucket:
                                                    enum:
                                                      - 1m
                                                      - 5m
                                                      - 10m
                                                      - 15m
                                                      - 30m
                                                      - 1h
                                                      - 6h
                                                      - 12h
                                                      - 1d
                                                      - 1w
                                                    type: string
                                                    description: >-
                                                      Time bucket for a series (output series
                                                      only).
                                                  output:
                                                    enum:
                                                      - series
                                                      - table
                                                      - evidence
                                                    type: string
                                                    description: >-
                                                      table: one value, or one per group, in
                                                      the ranking `order` gives (largest value
                                                      first by default); series: one value per
                                                      bucket (and group); evidence: the lines
                                                      themselves (recent_rows only).
                                                  series:
                                                    type: object
                                                    properties:
                                                      limit: {}
                                                      overflow: {}
                                                    additionalProperties: false
                                                    description: >-
                                                      Keep the first `limit` groups of the
                                                      ranking (`order`; the largest values by
                                                      default); `overflow: other` folds the
                                                      rest into one group.
                                                  order:
                                                    type: object
                                                    properties:
                                                      by: {}
                                                      direction: {}
                                                    additionalProperties: false
                                                    description: >-
                                                      How groups are ranked: which ones
                                                      `series.limit` keeps and the order rows
                                                      come in. By `value` (the default,
                                                      `desc`: largest first; `asc`: smallest
                                                      first) or by `dimension` (the groups'
                                                      own values, for a query with one
                                                      dimension).
                                                  times:
                                                    type: boolean
                                                    description: >-
                                                      Also read when the matching lines began
                                                      and ended: `firstSeen` and `lastSeen`,
                                                      the earliest and latest line's timestamp
                                                      (ISO-8601), on each group, each series
                                                      point, or the one value when the query
                                                      has no dimensions. A ratio reads them of
                                                      the lines its numerator admits (null
                                                      when none did). Read from the lines
                                                      themselves, never from a rollup. Not
                                                      with recent_rows (lines carry their own
                                                      times).
                                                required:
                                                  - version
                                                  - predicate
                                                  - dimensions
                                                  - output
                                                additionalProperties: false
                                              lookbackSeconds:
                                                type: integer
                                                minimum: 1
                                                maximum: 7776000
                                              offsetSeconds:
                                                type: integer
                                                minimum: 0
                                                maximum: 31536000
                                              availableFrom:
                                                type: string
                                                format: date-time
                                            required:
                                              - id
                                              - lookbackSeconds
                                            additionalProperties: false
                                        rowSource:
                                          type: object
                                          properties:
                                            sources:
                                              type: array
                                              minItems: 1
                                              maxItems: 16
                                              items:
                                                type: string
                                                minLength: 1
                                                maxLength: 80
                                            key:
                                              type: string
                                              minLength: 1
                                              maxLength: 80
                                            where:
                                              type: array
                                              maxItems: 16
                                              items:
                                                type: object
                                                properties:
                                                  field:
                                                    type: string
                                                    minLength: 1
                                                    maxLength: 80
                                                  op:
                                                    enum:
                                                      - eq
                                                      - neq
                                                      - in
                                                      - exists
                                                    type: string
                                                  value:
                                                    anyOf:
                                                      - {}
                                                      - {}
                                                  contextField:
                                                    type: string
                                                    minLength: 1
                                                    maxLength: 80
                                                required:
                                                  - field
                                                  - op
                                                additionalProperties: false
                                            cells:
                                              type: object
                                              propertyNames:
                                                type: string
                                                minLength: 1
                                                maxLength: 80
                                              additionalProperties:
                                                anyOf:
                                                  - type: object
                                                    properties:
                                                      op: {}
                                                      value: {}
                                                    additionalProperties: false
                                                  - type: object
                                                    properties:
                                                      op: {}
                                                      field: {}
                                                    additionalProperties: false
                                                  - type: object
                                                    properties:
                                                      op: {}
                                                      source: {}
                                                      aggregate: {}
                                                      field: {}
                                                      item: {}
                                                      where: {}
                                                      membership: {}
                                                    additionalProperties: false
                                                  - type: object
                                                    properties:
                                                      op: {}
                                                      left: {}
                                                      right: {}
                                                    additionalProperties: false
                                                  - type: object
                                                    properties:
                                                      op: {}
                                                      value: {}
                                                      style: {}
                                                      digits: {}
                                                      signed: {}
                                                      zeroLabel: {}
                                                      unitSuffix: {}
                                                    additionalProperties: false
                                                  - type: object
                                                    properties:
                                                      op: {}
                                                      values: {}
                                                      separator: {}
                                                    additionalProperties: false
                                                  - type: object
                                                    properties:
                                                      op: {}
                                                      values: {}
                                                    additionalProperties: false
                                                  - type: object
                                                    properties:
                                                      op: {}
                                                      value: {}
                                                      values: {}
                                                    additionalProperties: false
                                            orderBy:
                                              type: string
                                              minLength: 1
                                              maxLength: 80
                                            emptyRow:
                                              type: object
                                              properties:
                                                cells:
                                                  type: object
                                                  propertyNames:
                                                    type: string
                                                    minLength: 1
                                                    maxLength: 80
                                                  additionalProperties:
                                                    anyOf:
                                                      - {}
                                                      - {}
                                                      - {}
                                                      - {}
                                                      - {}
                                                      - {}
                                                      - {}
                                                      - {}
                                                kind:
                                                  enum:
                                                    - data
                                                    - subtotal
                                                    - total
                                                    - cohort
                                                  type: string
                                              required:
                                                - cells
                                              additionalProperties: false
                                          required:
                                            - sources
                                            - key
                                            - cells
                                          additionalProperties: false
                                        rows:
                                          type: array
                                          maxItems: 200
                                          items:
                                            type: object
                                            properties:
                                              cells:
                                                type: object
                                                propertyNames:
                                                  type: string
                                                  minLength: 1
                                                  maxLength: 80
                                                additionalProperties:
                                                  anyOf:
                                                    - {}
                                                    - {}
                                                    - {}
                                                    - {}
                                                    - {}
                                                    - {}
                                                    - {}
                                                    - {}
                                              kind:
                                                enum:
                                                  - data
                                                  - subtotal
                                                  - total
                                                  - cohort
                                                type: string
                                            required:
                                              - cells
                                            additionalProperties: false
                                      required:
                                        - sources
                                      additionalProperties: false
                                    maxWindowSeconds:
                                      type: integer
                                      minimum: 1
                                      maximum: 31536000
                                    columns:
                                      type: array
                                      minItems: 1
                                      maxItems: 30
                                      items:
                                        type: object
                                        properties:
                                          field:
                                            type: string
                                            minLength: 1
                                            maxLength: 80
                                          label:
                                            type: string
                                            minLength: 1
                                            maxLength: 120
                                          unit:
                                            type: string
                                            minLength: 1
                                            maxLength: 20
                                          signed:
                                            type: boolean
                                          changeColor:
                                            enum:
                                              - positive-good
                                              - negative-good
                                            type: string
                                          formula:
                                            anyOf:
                                              - type: object
                                                properties:
                                                  op:
                                                    const: sum
                                                  fields:
                                                    type: array
                                                    minItems: 1
                                                    maxItems: 30
                                                    items:
                                                      anyOf:
                                                        - {}
                                                        - type: 'null'
                                                required:
                                                  - op
                                                  - fields
                                                additionalProperties: false
                                              - type: object
                                                properties:
                                                  op:
                                                    enum:
                                                      - add
                                                      - subtract
                                                      - multiply
                                                      - divide
                                                    type: string
                                                  left:
                                                    anyOf:
                                                      - {}
                                                      - {}
                                                  right:
                                                    anyOf:
                                                      - {}
                                                      - {}
                                                required:
                                                  - op
                                                additionalProperties: false
                                          link:
                                            anyOf:
                                              - type: string
                                                minLength: 1
                                                maxLength: 2048
                                              - type: object
                                                properties:
                                                  field:
                                                    type: string
                                                    minLength: 1
                                                    maxLength: 80
                                                required:
                                                  - field
                                                additionalProperties: false
                                        required:
                                          - field
                                        additionalProperties: false
                                    pivot:
                                      type: object
                                      properties:
                                        field:
                                          type: string
                                          minLength: 1
                                          maxLength: 80
                                        values:
                                          type: array
                                          minItems: 1
                                          maxItems: 29
                                          items:
                                            type: string
                                            minLength: 1
                                            maxLength: 80
                                        fill:
                                          anyOf:
                                            - const: 0
                                            - type: 'null'
                                      required:
                                        - field
                                      additionalProperties: false
                                    rows:
                                      type: array
                                      minItems: 1
                                      maxItems: 8
                                      items:
                                        type: object
                                        properties:
                                          id:
                                            type: string
                                            minLength: 1
                                            maxLength: 80
                                          label:
                                            type: string
                                            minLength: 1
                                            maxLength: 120
                                          predicate:
                                            $ref: '#/components/schemas/Predicate'
                                          kind:
                                            enum:
                                              - data
                                              - subtotal
                                              - total
                                              - cohort
                                            type: string
                                          dateWindow:
                                            type: object
                                            properties:
                                              field:
                                                anyOf:
                                                  - type: object
                                                    properties:
                                                      kind: {}
                                                    additionalProperties: false
                                                    description: The service that wrote the line.
                                                  - type: object
                                                    properties:
                                                      kind: {}
                                                    additionalProperties: false
                                                    description: >-
                                                      The line's level: TRACE, DEBUG, INFO,
                                                      WARN, ERROR, FATAL, lowest first. Read
                                                      from the level the sender wrote, in any
                                                      spelling (`err`, `Error`, `WARNING`,
                                                      `critical`), or from its OpenTelemetry
                                                      severity number when it wrote none.
                                                      Compare with eq, neq, in, gt, gte, lt,
                                                      lte (`gte "WARN"` is warnings and worse)
                                                      or exists; a line whose level names none
                                                      of these has no severity.
                                                  - type: object
                                                    properties:
                                                      kind: {}
                                                      name: {}
                                                    additionalProperties: false
                                                    description: >-
                                                      A field every line carries in a fixed
                                                      place.
                                                  - type: object
                                                    properties:
                                                      kind: {}
                                                      source: {}
                                                      key: {}
                                                    additionalProperties: false
                                                    description: >-
                                                      An OpenTelemetry attribute of the line
                                                      (`log`), of the resource that wrote it
                                                      (`resource`), or of its instrumentation
                                                      scope (`scope`).
                                                  - type: object
                                                    properties:
                                                      kind: {}
                                                    additionalProperties: false
                                                    description: The whole log line as text.
                                                  - type: object
                                                    properties:
                                                      kind: {}
                                                    additionalProperties: false
                                                    description: >-
                                                      What the line says: for a JSON line its
                                                      message field (`msg`, `message`, or a
                                                      tracing event's `fields.message`; empty
                                                      when it has none), for a text line the
                                                      whole line.
                                                  - type: object
                                                    properties:
                                                      kind: {}
                                                      path: {}
                                                    additionalProperties: false
                                                    description: >-
                                                      A value inside a JSON log line, by
                                                      object path: `["metadata",
                                                      "durationMs"]`.
                                                  - type: object
                                                    properties:
                                                      kind: {}
                                                      key: {}
                                                    additionalProperties: false
                                                    description: >-
                                                      A stored field by its exact key, as the
                                                      log store keeps it (`message.event`,
                                                      `jsonPayload.level`,
                                                      `event.properties.status`): read
                                                      verbatim, never resolved.
                                                description: A field of a log line.
                                              days:
                                                type: integer
                                                minimum: 1
                                                maximum: 31
                                            required:
                                              - field
                                              - days
                                            additionalProperties: false
                                        required:
                                          - id
                                          - label
                                          - predicate
                                        additionalProperties: false
                                    rowField:
                                      type: string
                                      minLength: 1
                                      maxLength: 80
                                    compare:
                                      type: object
                                      properties:
                                        offsetSeconds:
                                          type: integer
                                          minimum: 1
                                          maximum: 31536000
                                        emptyAsUnknown:
                                          type: boolean
                                      required:
                                        - offsetSeconds
                                      additionalProperties: false
                                  additionalProperties: false
                              required:
                                - version
                                - type
                                - data
                              additionalProperties: false
                            - type: object
                              properties:
                                version:
                                  const: 2
                                type:
                                  const: metric
                                data:
                                  type: object
                                  properties:
                                    value:
                                      anyOf:
                                        - type: number
                                        - type: string
                                          maxLength: 120
                                    previous:
                                      type: object
                                      properties:
                                        value:
                                          anyOf:
                                            - type: number
                                            - type: 'null'
                                        from:
                                          type: string
                                          format: date-time
                                        to:
                                          type: string
                                          format: date-time
                                      required:
                                        - value
                                        - from
                                        - to
                                      additionalProperties: false
                                  required:
                                    - value
                                  additionalProperties: false
                                view:
                                  type: object
                                  properties:
                                    unit:
                                      type: string
                                      minLength: 1
                                      maxLength: 20
                                    compare:
                                      enum:
                                        - previous_period
                                      type: string
                                  additionalProperties: false
                              required:
                                - version
                                - type
                                - data
                              additionalProperties: false
                            - type: object
                              properties:
                                version:
                                  const: 2
                                type:
                                  const: flame_chart
                                data:
                                  type: object
                                  properties:
                                    items:
                                      type: array
                                      minItems: 1
                                      maxItems: 1000
                                      items:
                                        type: object
                                        properties:
                                          name:
                                            type: string
                                            minLength: 1
                                            maxLength: 120
                                          parent:
                                            type: string
                                            minLength: 1
                                            maxLength: 120
                                          value:
                                            type: number
                                            minimum: 0
                                          tone:
                                            enum:
                                              - neutral
                                              - info
                                              - success
                                              - warning
                                              - danger
                                              - critical
                                            type: string
                                          detail:
                                            type: string
                                            minLength: 1
                                            maxLength: 300
                                        required:
                                          - name
                                          - value
                                        additionalProperties: false
                                  required:
                                    - items
                                  additionalProperties: false
                                view:
                                  type: object
                                  properties:
                                    title:
                                      type: string
                                      minLength: 1
                                      maxLength: 120
                                    unit:
                                      type: string
                                      minLength: 1
                                      maxLength: 20
                                  additionalProperties: false
                              required:
                                - version
                                - type
                                - data
                              additionalProperties: false
                            - type: object
                              properties:
                                version:
                                  const: 2
                                type:
                                  const: waterfall_chart
                                data:
                                  type: object
                                  properties:
                                    items:
                                      type: array
                                      minItems: 1
                                      maxItems: 500
                                      items:
                                        type: object
                                        properties:
                                          name:
                                            type: string
                                            minLength: 1
                                            maxLength: 120
                                          parent:
                                            type: string
                                            minLength: 1
                                            maxLength: 120
                                          start:
                                            type: number
                                            minimum: 0
                                          duration:
                                            type: number
                                            minimum: 0
                                          tone:
                                            enum:
                                              - neutral
                                              - info
                                              - success
                                              - warning
                                              - danger
                                              - critical
                                            type: string
                                          detail:
                                            type: string
                                            minLength: 1
                                            maxLength: 300
                                        required:
                                          - name
                                          - start
                                          - duration
                                        additionalProperties: false
                                  required:
                                    - items
                                  additionalProperties: false
                                view:
                                  type: object
                                  properties:
                                    title:
                                      type: string
                                      minLength: 1
                                      maxLength: 120
                                    unit:
                                      type: string
                                      minLength: 1
                                      maxLength: 20
                                  additionalProperties: false
                              required:
                                - version
                                - type
                                - data
                              additionalProperties: false
                            - type: object
                              properties:
                                version:
                                  const: 2
                                type:
                                  const: treemap_chart
                                data:
                                  type: object
                                  properties:
                                    items:
                                      type: array
                                      minItems: 1
                                      maxItems: 1000
                                      items:
                                        type: object
                                        properties:
                                          name:
                                            type: string
                                            minLength: 1
                                            maxLength: 120
                                          parent:
                                            type: string
                                            minLength: 1
                                            maxLength: 120
                                          value:
                                            type: number
                                            minimum: 0
                                          tone:
                                            enum:
                                              - neutral
                                              - info
                                              - success
                                              - warning
                                              - danger
                                              - critical
                                            type: string
                                          detail:
                                            type: string
                                            minLength: 1
                                            maxLength: 300
                                        required:
                                          - name
                                          - value
                                        additionalProperties: false
                                  required:
                                    - items
                                  additionalProperties: false
                                view:
                                  type: object
                                  properties:
                                    title:
                                      type: string
                                      minLength: 1
                                      maxLength: 120
                                    unit:
                                      type: string
                                      minLength: 1
                                      maxLength: 20
                                  additionalProperties: false
                              required:
                                - version
                                - type
                                - data
                              additionalProperties: false
                            - type: object
                              properties:
                                version:
                                  const: 2
                                type:
                                  const: graph_chart
                                data:
                                  type: object
                                  properties:
                                    nodes:
                                      type: array
                                      minItems: 1
                                      maxItems: 60
                                      items:
                                        type: object
                                        properties:
                                          name:
                                            type: string
                                            minLength: 1
                                            maxLength: 120
                                          tone:
                                            enum:
                                              - neutral
                                              - info
                                              - success
                                              - warning
                                              - danger
                                              - critical
                                            type: string
                                          value:
                                            type: number
                                            minimum: 0
                                          detail:
                                            type: string
                                            minLength: 1
                                            maxLength: 300
                                        required:
                                          - name
                                        additionalProperties: false
                                    edges:
                                      type: array
                                      maxItems: 150
                                      items:
                                        type: object
                                        properties:
                                          from:
                                            type: string
                                            minLength: 1
                                            maxLength: 120
                                          to:
                                            type: string
                                            minLength: 1
                                            maxLength: 120
                                          label:
                                            type: string
                                            minLength: 1
                                            maxLength: 60
                                          value:
                                            type: number
                                            minimum: 0
                                          tone:
                                            enum:
                                              - neutral
                                              - info
                                              - success
                                              - warning
                                              - danger
                                              - critical
                                            type: string
                                        required:
                                          - from
                                          - to
                                        additionalProperties: false
                                  required:
                                    - nodes
                                    - edges
                                  additionalProperties: false
                                view:
                                  type: object
                                  properties:
                                    title:
                                      type: string
                                      minLength: 1
                                      maxLength: 120
                                  additionalProperties: false
                              required:
                                - version
                                - type
                                - data
                              additionalProperties: false
                    description: Present exactly when includeFiles was requested.
                required:
                  - id
                  - revision
                  - definitionHash
                  - title
                  - description
                  - source
                  - fileDescriptors
                additionalProperties: false
components:
  schemas:
    Predicate:
      anyOf:
        - type: object
          properties:
            op:
              enum:
                - and
                - or
              type: string
            children:
              type: array
              maxItems: 50
              items:
                $ref: '#/components/schemas/Predicate'
          required:
            - op
            - children
          additionalProperties: false
        - type: object
          properties:
            op:
              const: not
            child:
              $ref: '#/components/schemas/Predicate'
          required:
            - op
            - child
          additionalProperties: false
        - type: object
          properties:
            op:
              const: compare
            field:
              anyOf:
                - type: object
                  properties:
                    kind:
                      const: service
                  required:
                    - kind
                  additionalProperties: false
                  description: The service that wrote the line.
                - type: object
                  properties:
                    kind:
                      const: severity
                  required:
                    - kind
                  additionalProperties: false
                  description: >-
                    The line's level: TRACE, DEBUG, INFO, WARN, ERROR, FATAL,
                    lowest first. Read from the level the sender wrote, in any
                    spelling (`err`, `Error`, `WARNING`, `critical`), or from
                    its OpenTelemetry severity number when it wrote none.
                    Compare with eq, neq, in, gt, gte, lt, lte (`gte "WARN"` is
                    warnings and worse) or exists; a line whose level names none
                    of these has no severity.
                - type: object
                  properties:
                    kind:
                      const: column
                    name:
                      enum:
                        - severity_text
                        - trace_id
                        - span_id
                        - deployment.environment
                        - k8s.pod.name
                        - http.request.method
                        - http.route
                        - url.path
                        - http.response.status_code
                        - operation_kind
                        - server.address
                        - http.request.body.size
                        - http.response.body.size
                        - event.name
                      type: string
                  required:
                    - kind
                    - name
                  additionalProperties: false
                  description: A field every line carries in a fixed place.
                - type: object
                  properties:
                    kind:
                      const: attribute
                    source:
                      enum:
                        - resource
                        - scope
                        - log
                      type: string
                    key:
                      type: string
                      minLength: 1
                      maxLength: 1024
                  required:
                    - kind
                    - source
                    - key
                  additionalProperties: false
                  description: >-
                    An OpenTelemetry attribute of the line (`log`), of the
                    resource that wrote it (`resource`), or of its
                    instrumentation scope (`scope`).
                - type: object
                  properties:
                    kind:
                      const: body
                  required:
                    - kind
                  additionalProperties: false
                  description: The whole log line as text.
                - type: object
                  properties:
                    kind:
                      const: message
                  required:
                    - kind
                  additionalProperties: false
                  description: >-
                    What the line says: for a JSON line its message field
                    (`msg`, `message`, or a tracing event's `fields.message`;
                    empty when it has none), for a text line the whole line.
                - type: object
                  properties:
                    kind:
                      const: body_json
                    path:
                      type: array
                      minItems: 1
                      maxItems: 8
                      items:
                        type: string
                        minLength: 1
                        maxLength: 1024
                  required:
                    - kind
                    - path
                  additionalProperties: false
                  description: >-
                    A value inside a JSON log line, by object path:
                    `["metadata", "durationMs"]`.
                - type: object
                  properties:
                    kind:
                      const: key
                    key:
                      type: string
                      minLength: 1
                      maxLength: 1024
                  required:
                    - kind
                    - key
                  additionalProperties: false
                  description: >-
                    A stored field by its exact key, as the log store keeps it
                    (`message.event`, `jsonPayload.level`,
                    `event.properties.status`): read verbatim, never resolved.
              description: A field of a log line.
            comparator:
              enum:
                - eq
                - neq
                - gt
                - gte
                - lt
                - lte
                - in
                - contains
                - starts_with
                - exists
              type: string
            value:
              anyOf:
                - anyOf:
                    - type: string
                      maxLength: 8192
                    - type: number
                    - type: boolean
                    - type: 'null'
                - type: array
                  maxItems: 100
                  items:
                    anyOf:
                      - type: string
                        maxLength: 8192
                      - type: number
                      - type: boolean
                      - type: 'null'
          required:
            - op
            - field
            - comparator
          additionalProperties: false

````

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