LangChain charts API

The charts API from LangChain — 13 operation(s) for charts.

Operations 23

POST /api/v1/charts/section/clone Clone Section #
GET /api/v1/charts/section Read Sections #
POST /api/v1/charts/section Create Section #
POST /api/v1/charts Read Charts #
POST /api/v1/charts/preview Read Chart Preview #
POST /api/v1/charts/create Create Chart #
POST /api/v1/charts/{chart_id} Read Single Chart #
PATCH /api/v1/charts/{chart_id} Update Chart #
DELETE /api/v1/charts/{chart_id} Delete Chart #
POST /api/v1/charts/section/{section_id} Read Single Section #
PATCH /api/v1/charts/section/{section_id} Update Section #
DELETE /api/v1/charts/section/{section_id} Delete Section #
GET /api/v1/org-charts/section Org Read Sections #
POST /api/v1/org-charts/section Org Create Section #
POST /api/v1/org-charts Org Read Charts #
POST /api/v1/org-charts/preview Org Read Chart Preview #
POST /api/v1/org-charts/create Org Create Chart #
POST /api/v1/org-charts/{chart_id} Org Read Single Chart #
PATCH /api/v1/org-charts/{chart_id} Org Update Chart #
DELETE /api/v1/org-charts/{chart_id} Org Delete Chart #
POST /api/v1/org-charts/section/{section_id} Org Read Single Section #
PATCH /api/v1/org-charts/section/{section_id} Org Update Section #
DELETE /api/v1/org-charts/section/{section_id} Org Delete Section #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/langchain-charts-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

langchain-charts-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: LangSmith access_policies Charts API
  description: 'The LangSmith API is used to programmatically create and manage LangSmith resources.


    ## Host

    https://api.smith.langchain.com


    ## Authentication

    To authenticate with the LangSmith API, set the `X-Api-Key` header

    to a valid [LangSmith API key](https://docs.langchain.com/langsmith/create-account-api-key#create-an-api-key).


    '
  version: 0.1.0
servers:
- url: /
tags:
- name: charts
paths:
  /api/v1/charts/section/clone:
    post:
      tags:
      - charts
      summary: Clone Section
      description: Clone a dashboard.
      operationId: clone_section_api_v1_charts_section_clone_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CustomChartsSectionsCloneRequest'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CustomChartsSectionResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
      - API Key: []
      - Tenant ID: []
      - Bearer Auth: []
  /api/v1/charts/section:
    get:
      tags:
      - charts
      summary: Read Sections
      description: Get all sections for the tenant.
      operationId: read_sections_api_v1_charts_section_get
      security:
      - API Key: []
      - Tenant ID: []
      - Bearer Auth: []
      parameters:
      - name: limit
        in: query
        required: false
        schema:
          type: integer
          maximum: 100
          minimum: 1
          default: 100
          title: Limit
      - name: offset
        in: query
        required: false
        schema:
          type: integer
          minimum: 0
          default: 0
          title: Offset
      - name: title_contains
        in: query
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Title Contains
      - name: ids
        in: query
        required: false
        schema:
          anyOf:
          - type: array
            items:
              type: string
              format: uuid
          - type: 'null'
          title: Ids
      - name: sort_by
        in: query
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          default: created_at
          title: Sort By
      - name: sort_by_desc
        in: query
        required: false
        schema:
          anyOf:
          - type: boolean
          - type: 'null'
          default: true
          title: Sort By Desc
      - name: tag_value_id
        in: query
        required: false
        schema:
          anyOf:
          - type: array
            items:
              type: string
              format: uuid
          - type: 'null'
          title: Tag Value Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/CustomChartsSectionResponse'
                title: Response Read Sections Api V1 Charts Section Get
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
    post:
      tags:
      - charts
      summary: Create Section
      description: Create a new section.
      operationId: create_section_api_v1_charts_section_post
      security:
      - API Key: []
      - Tenant ID: []
      - Bearer Auth: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CustomChartsSectionCreate'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CustomChartsSectionResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/v1/charts:
    post:
      tags:
      - charts
      summary: Read Charts
      description: Get all charts for the tenant.
      operationId: read_charts_api_v1_charts_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CustomChartsRequest'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CustomChartsResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
      - API Key: []
      - Tenant ID: []
      - Bearer Auth: []
  /api/v1/charts/preview:
    post:
      tags:
      - charts
      summary: Read Chart Preview
      description: Get a preview for a chart without actually creating it.
      operationId: read_chart_preview_api_v1_charts_preview_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CustomChartPreviewRequest'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SingleCustomChartResponseBase'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
      - API Key: []
      - Tenant ID: []
      - Bearer Auth: []
  /api/v1/charts/create:
    post:
      tags:
      - charts
      summary: Create Chart
      description: Create a new chart.
      operationId: create_chart_api_v1_charts_create_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CustomChartCreate'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CustomChartResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
      - API Key: []
      - Tenant ID: []
      - Bearer Auth: []
  /api/v1/charts/{chart_id}:
    post:
      tags:
      - charts
      summary: Read Single Chart
      description: Get a single chart by ID.
      operationId: read_single_chart_api_v1_charts__chart_id__post
      security:
      - API Key: []
      - Tenant ID: []
      - Bearer Auth: []
      parameters:
      - name: chart_id
        in: path
        required: true
        schema:
          type: string
          format: uuid
          title: Chart Id
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CustomChartsRequest'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SingleCustomChartResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
    patch:
      tags:
      - charts
      summary: Update Chart
      description: Update a chart.
      operationId: update_chart_api_v1_charts__chart_id__patch
      security:
      - API Key: []
      - Tenant ID: []
      - Bearer Auth: []
      parameters:
      - name: chart_id
        in: path
        required: true
        schema:
          type: string
          format: uuid
          title: Chart Id
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CustomChartUpdate'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CustomChartResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
    delete:
      tags:
      - charts
      summary: Delete Chart
      description: Delete a chart.
      operationId: delete_chart_api_v1_charts__chart_id__delete
      security:
      - API Key: []
      - Tenant ID: []
      - Bearer Auth: []
      parameters:
      - name: chart_id
        in: path
        required: true
        schema:
          type: string
          format: uuid
          title: Chart Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/v1/charts/section/{section_id}:
    post:
      tags:
      - charts
      summary: Read Single Section
      description: Get a single section by ID.
      operationId: read_single_section_api_v1_charts_section__section_id__post
      security:
      - API Key: []
      - Tenant ID: []
      - Bearer Auth: []
      parameters:
      - name: section_id
        in: path
        required: true
        schema:
          type: string
          format: uuid
          title: Section Id
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CustomChartsSectionRequest'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CustomChartsSection'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
    patch:
      tags:
      - charts
      summary: Update Section
      description: Update a section.
      operationId: update_section_api_v1_charts_section__section_id__patch
      security:
      - API Key: []
      - Tenant ID: []
      - Bearer Auth: []
      parameters:
      - name: section_id
        in: path
        required: true
        schema:
          type: string
          format: uuid
          title: Section Id
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CustomChartsSectionUpdate'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CustomChartsSectionResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
    delete:
      tags:
      - charts
      summary: Delete Section
      description: Delete a section.
      operationId: delete_section_api_v1_charts_section__section_id__delete
      security:
      - API Key: []
      - Tenant ID: []
      - Bearer Auth: []
      parameters:
      - name: section_id
        in: path
        required: true
        schema:
          type: string
          format: uuid
          title: Section Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/v1/org-charts/section:
    get:
      tags:
      - charts
      summary: Org Read Sections
      description: Get all sections for the tenant.
      operationId: org_read_sections_api_v1_org_charts_section_get
      security:
      - API Key: []
      - Organization ID: []
      - Bearer Auth: []
      parameters:
      - name: limit
        in: query
        required: false
        schema:
          type: integer
          maximum: 100
          minimum: 1
          default: 100
          title: Limit
      - name: offset
        in: query
        required: false
        schema:
          type: integer
          minimum: 0
          default: 0
          title: Offset
      - name: title_contains
        in: query
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Title Contains
      - name: ids
        in: query
        required: false
        schema:
          anyOf:
          - type: array
            items:
              type: string
              format: uuid
          - type: 'null'
          title: Ids
      - name: sort_by
        in: query
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          default: created_at
          title: Sort By
      - name: sort_by_desc
        in: query
        required: false
        schema:
          anyOf:
          - type: boolean
          - type: 'null'
          default: true
          title: Sort By Desc
      - name: tag_value_id
        in: query
        required: false
        schema:
          anyOf:
          - type: array
            items:
              type: string
              format: uuid
          - type: 'null'
          title: Tag Value Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/CustomChartsSectionResponse'
                title: Response Org Read Sections Api V1 Org Charts Section Get
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
    post:
      tags:
      - charts
      summary: Org Create Section
      description: Create a new section.
      operationId: org_create_section_api_v1_org_charts_section_post
      security:
      - API Key: []
      - Organization ID: []
      - Bearer Auth: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CustomChartsSectionCreate'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CustomChartsSectionResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/v1/org-charts:
    post:
      tags:
      - charts
      summary: Org Read Charts
      description: Get all charts for the tenant.
      operationId: org_read_charts_api_v1_org_charts_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CustomChartsRequest'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CustomChartsResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
      - API Key: []
      - Organization ID: []
      - Bearer Auth: []
  /api/v1/org-charts/preview:
    post:
      tags:
      - charts
      summary: Org Read Chart Preview
      description: Get a preview for a chart without actually creating it.
      operationId: org_read_chart_preview_api_v1_org_charts_preview_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CustomChartPreviewRequest'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SingleCustomChartResponseBase'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
      - API Key: []
      - Organization ID: []
      - Bearer Auth: []
  /api/v1/org-charts/create:
    post:
      tags:
      - charts
      summary: Org Create Chart
      description: Create a new chart.
      operationId: org_create_chart_api_v1_org_charts_create_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CustomChartCreate'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CustomChartResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
      - API Key: []
      - Organization ID: []
      - Bearer Auth: []
  /api/v1/org-charts/{chart_id}:
    post:
      tags:
      - charts
      summary: Org Read Single Chart
      description: Get a single chart by ID.
      operationId: org_read_single_chart_api_v1_org_charts__chart_id__post
      security:
      - API Key: []
      - Organization ID: []
      - Bearer Auth: []
      parameters:
      - name: chart_id
        in: path
        required: true
        schema:
          type: string
          format: uuid
          title: Chart Id
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CustomChartsRequest'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SingleCustomChartResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
    patch:
      tags:
      - charts
      summary: Org Update Chart
      description: Update a chart.
      operationId: org_update_chart_api_v1_org_charts__chart_id__patch
      security:
      - API Key: []
      - Organization ID: []
      - Bearer Auth: []
      parameters:
      - name: chart_id
        in: path
        required: true
        schema:
          type: string
          format: uuid
          title: Chart Id
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CustomChartUpdate'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CustomChartResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
    delete:
      tags:
      - charts
      summary: Org Delete Chart
      description: Delete a chart.
      operationId: org_delete_chart_api_v1_org_charts__chart_id__delete
      security:
      - API Key: []
      - Organization ID: []
      - Bearer Auth: []
      parameters:
      - name: chart_id
        in: path
        required: true
        schema:
          type: string
          format: uuid
          title: Chart Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/v1/org-charts/section/{section_id}:
    post:
      tags:
      - charts
      summary: Org Read Single Section
      description: Get a single section by ID.
      operationId: org_read_single_section_api_v1_org_charts_section__section_id__post
      security:
      - API Key: []
      - Organization ID: []
      - Bearer Auth: []
      parameters:
      - name: section_id
        in: path
        required: true
        schema:
          type: string
          format: uuid
          title: Section Id
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CustomChartsRequestBase'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CustomChartsSection'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
    patch:
      tags:
      - charts
      summary: Org Update Section
      description: Update a section.
      operationId: org_update_section_api_v1_org_charts_section__section_id__patch
      security:
      - API Key: []
      - Organization ID: []
      - Bearer Auth: []
      parameters:
      - name: section_id
        in: path
        required: true
        schema:
          type: string
          format: uuid
          title: Section Id
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CustomChartsSectionUpdate'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CustomChartsSectionResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
    delete:
      tags:
      - charts
      summary: Org Delete Section
      description: Delete a section.
      operationId: org_delete_section_api_v1_org_charts_section__section_id__delete
      security:
      - API Key: []
      - Organization ID: []
      - Bearer Auth: []
      parameters:
      - name: section_id
        in: path
        required: true
        schema:
          type: string
          format: uuid
          title: Section Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    CustomChartsSectionRequest:
      properties:
        timezone:
          type: string
          title: Timezone
          default: UTC
        start_time:
          anyOf:
          - type: string
            format: date-time
          - type: 'null'
          title: Start Time
        end_time:
          anyOf:
          - type: string
            format: date-time
          - type: 'null'
          title: End Time
        stride:
          $ref: '#/components/schemas/TimedeltaInput'
          default:
            days: 0
            hours: 0
            minutes: 15
        omit_data:
          type: boolean
          title: Omit Data
          default: false
        group_by:
          anyOf:
          - $ref: '#/components/schemas/RunStatsGroupBy'
          - type: 'null'
      type: object
      title: CustomChartsSectionRequest
    CustomChartsRequest:
      properties:
        timezone:
          type: string
          title: Timezone
          default: UTC
        start_time:
          anyOf:
          - type: string
            format: date-time
          - type: 'null'
          title: Start Time
        end_time:
          anyOf:
          - type: string
            format: date-time
          - type: 'null'
          title: End Time
        stride:
          $ref: '#/components/schemas/TimedeltaInput'
          default:
            days: 0
            hours: 0
            minutes: 15
        omit_data:
          type: boolean
          title: Omit Data
          default: false
        after_index:
          anyOf:
          - type: integer
          - type: 'null'
          title: After Index
        tag_value_id:
          anyOf:
          - items:
              type: string
              format: uuid
            type: array
          - type: 'null'
          title: Tag Value Id
      type: object
      title: CustomChartsRequest
    CustomChartsSectionResponse:
      properties:
        title:
          type: string
          title: Title
        description:
          anyOf:
          - type: string
          - type: 'null'
          title: Description
        index:
          anyOf:
          - type: integer
          - type: 'null'
          title: Index
        id:
          type: string
          format: uuid
          title: Id
        chart_count:
          anyOf:
          - type: integer
          - type: 'null'
          title: Chart Count
        created_at:
          anyOf:
          - type: string
            format: date-time
          - type: 'null'
          title: Created At
        modified_at:
          anyOf:
          - type: string
            format: date-time
          - type: 'null'
          title: Modified At
      type: object
      required:
      - title
      - id
      title: CustomChartsSectionResponse
    Missing:
      properties:
        __missing__:
          type: string
          const: __missing__
          title: Missing
      type: object
      required:
      - __missing__
      title: Missing
    CustomChartsSectionsCloneRequest:
      properties:
        section_id:
          anyOf:
          - type: string
            format: uuid
          - type: 'null'
          title: Section Id
        session_id:
          anyOf:
          - type: string
            format: uuid
          - type: 'null'
          title: Session Id
      type: object
      title: CustomChartsSectionsCloneRequest
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
            - type: string
            - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
      type: object
      required:
      - loc
      - msg
      - type
      title: ValidationError
    CustomChartCreatePreview:
      properties:
        series:
          items:
            $ref: '#/components/schemas/CustomChartSeries'
          type: array
          title: Series
        common_filters:
          anyOf:
          - $ref: '#/components/schemas/CustomChartSeriesFilters'
          - type: 'null'
      type: object
      required:
      - series
      title: CustomChartCreatePreview
    RunStatsGroupBySeriesResponse:
      properties:
        attribute:
          type: string
          enum:
          - name
          - run_type
          - tag
          - metadata
          title: Attribute
        path:
          anyOf:
          - type: string
          - type: 'null'
          title: Path
        max_groups:
          type: integer
          title: Max Groups
          default: 5
        set_by:
          anyOf:
          - type: string
            enum:
            - section
            - series
          - type: 'null'
          title: Set By
      type: object
      required:
      - attribute
      title: RunStatsGroupBySeriesResponse
      description: Include additional information about where the group_by param was set.
    CustomChartsResponse:
      properties:
        sections:
          items:
            $ref: '#/components/schemas/CustomChartsSection'
          type: array
          title: Sections
      type: object
      required:
      - sections
      title: CustomChartsResponse
    CustomChartCreate:
      properties:
        title:
          type: string
          title: Title
        description:
          anyOf:
          - type: string
          - type: 'null'
          title: Description
        index:
          anyOf:
          - type: integer
            maximum: 100.0
            minimum: 0.0
          - type: 'null'
          title: Index
        chart_type:
          $ref: '#/components/schemas/CustomChartType'
        series:
          items:
            $ref: '#/components/schemas/CustomChartSeriesCreate'
          type: array
          title: Series
        section_id:
          anyOf:
          - type: string
            format: uuid
          - type: 'null'
          title: Section Id
        metadata:
          anyOf:
          - additionalProperties: true
            type: object
          - type: 'null'
          title: Metadata
        common_filters:
          anyOf:
          - $ref: '#/components/schemas/CustomChartSeriesFilters'
          - type: 'null'
      type: object
      required:
      - title
      - chart_type
      - series
      title: CustomChartCreate
    CustomChartResponse:
      properties:
        id:
          type: string
          format: uuid
          title: Id
        title:
          type: string
          title: Title
        description:
          anyOf:
          - type: string
          - type: 'null'
          title: Description
        index:
          type: integer
          title: Index
        chart_type:
          $ref: '#/components/schemas/CustomChartType'
        section_id:
          type: string
          format: uuid
          title: Section Id
        metadata:
          anyOf:
          - additionalProperties: true
            type: object
          - type: 'null'
          title: Metadata
        series:
          anyOf:
          - items:
              $ref: '#/components/schemas/CustomChartSeries'
            type: array
          - type: 'null'
          title: Series
      type: object
      required:
      - id
      - title
      - index
      - chart_type
      - section_id
      - series
      title: CustomChartResponse
    SingleCustomChartResponse:
      properties:
        data:
          items:
            $ref: '#/components/schemas/CustomChartsDataPoint'
          type: array
          title: Data
        id:
          anyOf:
          - type: string
            format: uuid
          - type: string
          title: Id
        title:
          type: string
          title: Title
        description:
          anyOf:
          - type: string
          - type: 'null'
          title: Description
        metadata:
          anyOf:
          - additionalProperties: true
            type: object
          - type: 'null'
          title: Metadata
        index:
          type: integer
          title: Index
        chart_type:
          $ref: '#/components/schemas/CustomChartType'
        series:
          items:
            $ref: '#/components/schemas/CustomChartSeries'
          type: array
          title: Series
        common_filters:
          anyOf:
          - $ref: '#/components/schemas/CustomC

# --- truncated at 32 KB (45 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/langchain/refs/heads/main/openapi/langchain-charts-api-openapi.yml