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

# Fetch dataset data

> Run all of dataset's data requests



## OpenAPI

````yaml GET /team/{team_id}/datasets/{dataset_id}/request
openapi: 3.0.1
info:
  title: Chartbrew API reference
  description: The OpenAPI specification for Chartbrew
  license:
    name: MIT
  version: 1.0.0
servers:
  - url: https://api.chartbrew.com
security:
  - bearerAuth: []
paths:
  /team/{team_id}/datasets/{dataset_id}/request:
    get:
      description: Run the request attached to the dataset
      parameters:
        - name: team_id
          in: path
          description: ID of the team
          required: true
          schema:
            type: string
        - name: dataset_id
          in: path
          description: ID of the dataset
          required: true
          schema:
            type: string
        - name: noSource
          in: query
          description: Skip running the data source
          schema:
            type: boolean
        - name: getCache
          in: query
          description: Get cached data if available
          schema:
            type: boolean
        - name: filters
          in: query
          description: Filter parameters for the request
          schema:
            $ref: '#/components/schemas/DatasetFilters'
      responses:
        '200':
          description: Dataset with request results
          content:
            application/json:
              schema:
                type: object
                properties:
                  options:
                    $ref: '#/components/schemas/Dataset'
                  data:
                    type: array
                    items:
                      type: object
        '400':
          description: Error response
        '404':
          description: Dataset not found
      security:
        - bearerAuth: []
components:
  schemas:
    DatasetFilters:
      type: object
      properties:
        conditions:
          type: array
          items:
            type: object
            properties:
              field:
                type: string
                description: Field name to filter on
              operator:
                type: string
                enum:
                  - '='
                  - '!='
                  - '>'
                  - <
                  - '>='
                  - <=
                  - LIKE
                  - IS NULL
                  - IS NOT NULL
                description: Comparison operator
              value:
                type: string
                description: Value to compare against
        dateRange:
          type: object
          properties:
            start:
              type: string
              format: date-time
              description: Start date for filtering
            end:
              type: string
              format: date-time
              description: End date for filtering
    Dataset:
      type: object
      properties:
        id:
          type: integer
        team_id:
          type: integer
        project_ids:
          type: array
          items:
            type: integer
        chart_id:
          type: integer
        connection_id:
          type: integer
        draft:
          type: boolean
          default: true
        name:
          type: string
          description: >-
            Canonical dataset name. Prefer this over legend when referring to
            the reusable dataset itself.
        query:
          type: string
        xAxis:
          type: string
          description: >-
            [Legacy compatibility] Dataset-level binding fallback. New chart
            bindings should be stored on ChartDatasetConfig.
        xAxisOperation:
          type: string
          description: >-
            [Legacy compatibility] Dataset-level binding fallback. New chart
            bindings should be stored on ChartDatasetConfig.
        yAxis:
          type: string
          description: >-
            [Legacy compatibility] Dataset-level binding fallback. New chart
            bindings should be stored on ChartDatasetConfig.
        yAxisOperation:
          type: string
          default: none
          description: >-
            [Legacy compatibility] Dataset-level binding fallback. New chart
            bindings should be stored on ChartDatasetConfig.
        dateField:
          type: string
          description: >-
            [Legacy compatibility] Dataset-level binding fallback. New chart
            bindings should be stored on ChartDatasetConfig.
        dateFormat:
          type: string
          description: >-
            [Legacy compatibility] Dataset-level binding fallback. New chart
            bindings should be stored on ChartDatasetConfig.
        legend:
          type: string
          description: >-
            [Legacy compatibility] Previous dataset name field. Prefer
            Dataset.name for reusable dataset naming.
        fieldsSchema:
          type: object
        excludedFields:
          type: array
          items:
            type: string
        configuration:
          type: object
        joinSettings:
          type: object
          properties:
            joins:
              type: array
              items:
                type: object
                properties:
                  dr_id:
                    type: integer
                    description: DataRequest ID
                  join_id:
                    type: integer
                  dr_field:
                    type: string
                  join_field:
                    type: string
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer

````