CoreStack Dashboard Definitions API

Manage Executive Dashboards

Operations 17

GET /v1/executive_dashboard/active Get Active Dashboard Definition #
PUT /v1/executive_dashboard/active Set Active Dashboard Definition #
GET /v1/executive_dashboard/all Get all Dashboard Definitions #
POST /v1/executive_dashboard/batch Get Dashboard Definitions #
POST /v1/executive_dashboard/create Create new Dashboard Definition #
DELETE /v1/executive_dashboard/item/{dashboard_id} Delete Dashboard Definition #
GET /v1/executive_dashboard/item/{dashboard_id} Get Dashboard Definition #
DELETE /v1/executive_dashboard/item/{dashboard_id}/acl Delete Dashboard Definition #
GET /v1/executive_dashboard/item/{dashboard_id}/acl Get Dashboard Definition ACL #
PUT /v1/executive_dashboard/item/{dashboard_id}/acl Update Dashboard Definition ACL #
GET /v1/executive_dashboard/item/{dashboard_id}/acl_context Evaluate Dashboard Definition ACL context #
GET /v1/executive_dashboard/item/{dashboard_id}/acl_eval Evaluate Dashboard Definition ACL #
GET /v1/executive_dashboard/item/{dashboard_id}/history Get the history of a Dashboard Definition #
GET /v1/executive_dashboard/portals/list List all accessible portals #
GET /v1/executive_dashboard/portals/resolve Resolve a portal path to its Dashboard Definition version #
POST /v1/executive_dashboard/report/generate Schedule the generation of a report for a dashboard #
GET /v1/executive_dashboard/report/item/{report_id} Fetch a report by ID #

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/corestack-dashboard-definitions-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 email required.

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

OpenAPI Specification

corestack-dashboard-definitions-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: CoreStack External Dashboard Definitions API
  version: 1.0.0
  termsOfService: http://corestack.io/
  license:
    name: CoreStack Inc License
    url: http://corestack.io/licenses/LICENSE-2.0.html
  description: Manage Executive Dashboards
servers:
- url: /
tags:
- name: Dashboard Definitions
  description: Manage Executive Dashboards
paths:
  /v1/executive_dashboard/active:
    get:
      responses:
        '500':
          description: Internal Server Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ModelError'
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ModelError'
        '400':
          description: Bad Request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ModelError'
        '404':
          description: Not Found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ModelError'
        '200':
          description: Active Dashboard
          content:
            application/json:
              schema:
                type: string
      summary: Get Active Dashboard Definition
      description: Get active Executive Dashboard
      operationId: get-active
      security:
      - auth_token: []
      tags:
      - Dashboard Definitions
    put:
      responses:
        '500':
          description: Internal Server Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ModelError'
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ModelError'
        '400':
          description: Bad Request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ModelError'
        '404':
          description: Not Found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ModelError'
        '200':
          description: Active Description Set
          content:
            application/json:
              schema:
                type: string
      summary: Set Active Dashboard Definition
      operationId: set-active
      parameters:
      - description: ID of Dashboard Definition.
        name: id
        in: query
        schema:
          type: string
      security:
      - auth_token: []
      tags:
      - Dashboard Definitions
  /v1/executive_dashboard/all:
    get:
      responses:
        '500':
          description: Internal Server Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ModelError'
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ModelError'
        '400':
          description: Bad Request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ModelError'
        '200':
          description: Fetched
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/RecordIdentity'
      summary: Get all Dashboard Definitions
      operationId: get-all
      parameters:
      - description: Filter to shared dashboards.
        in: query
        name: onlyShared
        schema:
          type: boolean
      security:
      - auth_token: []
      tags:
      - Dashboard Definitions
  /v1/executive_dashboard/batch:
    post:
      responses:
        '500':
          description: Internal Server Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ModelError'
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ModelError'
        '400':
          description: Bad Request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ModelError'
        '404':
          description: Not Found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ModelError'
        '200':
          description: Fetched
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/DashboardDefinition'
      summary: Get Dashboard Definitions
      description: Batch Executive Dashboard definitions
      operationId: batch@@@4
      security:
      - auth_token: []
      tags:
      - Dashboard Definitions
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/RecordIdentityBatchRequest'
        required: true
  /v1/executive_dashboard/create:
    post:
      responses:
        '500':
          description: Internal Server Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ModelError'
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ModelError'
        '400':
          description: Bad Request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ModelError'
        '200':
          description: Created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DashboardDefinition'
      summary: Create new Dashboard Definition
      description: Create Executive Dashboard definition
      operationId: create@@@4
      security:
      - auth_token: []
      tags:
      - Dashboard Definitions
  /v1/executive_dashboard/item/{dashboard_id}:
    delete:
      responses:
        '500':
          description: Internal Server Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ModelError'
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ModelError'
        '400':
          description: Bad Request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ModelError'
        '200':
          description: Removed
          content:
            application/json:
              schema:
                type: boolean
      summary: Delete Dashboard Definition
      operationId: remove@@@2
      parameters:
      - name: dashboard_id
        in: path
        required: true
        description: ID of Dashboard Definition.
        schema:
          type: string
      security:
      - auth_token: []
      tags:
      - Dashboard Definitions
    get:
      responses:
        '500':
          description: Internal Server Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ModelError'
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ModelError'
        '400':
          description: Bad Request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ModelError'
        '404':
          description: Not Found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ModelError'
        '200':
          description: Fetched
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DashboardDefinition'
      summary: Get Dashboard Definition
      operationId: get@@@4
      parameters:
      - name: dashboard_id
        in: path
        required: true
        description: ID of Dashboard Definition.
        schema:
          type: string
      security:
      - auth_token: []
      tags:
      - Dashboard Definitions
  /v1/executive_dashboard/item/{dashboard_id}/acl:
    delete:
      responses:
        '500':
          description: Internal Server Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ModelError'
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ModelError'
        '400':
          description: Bad Request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ModelError'
        '200':
          description: Removed
          content:
            application/json:
              schema:
                type: boolean
      summary: Delete Dashboard Definition
      operationId: removeAcl
      parameters:
      - name: dashboard_id
        in: path
        required: true
        description: ID of Dashboard Definition.
        schema:
          type: string
      security:
      - auth_token: []
      tags:
      - Dashboard Definitions
    get:
      responses:
        '500':
          description: Internal Server Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ModelError'
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ModelError'
        '400':
          description: Bad Request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ModelError'
        '404':
          description: Not Found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ModelError'
        '200':
          description: Fetched
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DashboardDefinitionAcl'
      summary: Get Dashboard Definition ACL
      operationId: getAcl
      parameters:
      - name: dashboard_id
        in: path
        required: true
        description: ID of Dashboard Definition.
        schema:
          type: string
      security:
      - auth_token: []
      tags:
      - Dashboard Definitions
    put:
      responses:
        '500':
          description: Internal Server Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ModelError'
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ModelError'
        '400':
          description: Bad Request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ModelError'
        '200':
          description: Removed
          content:
            application/json:
              schema:
                type: boolean
      summary: Update Dashboard Definition ACL
      operationId: putAcl
      parameters:
      - name: dashboard_id
        in: path
        required: true
        description: ID of Dashboard Definition.
        schema:
          type: string
      security:
      - auth_token: []
      tags:
      - Dashboard Definitions
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/DashboardDefinitionAcl'
        required: true
  /v1/executive_dashboard/item/{dashboard_id}/acl_context:
    get:
      responses:
        '500':
          description: Internal Server Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ModelError'
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ModelError'
        '400':
          description: Bad Request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ModelError'
        '404':
          description: Not Found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ModelError'
        '200':
          description: Evaluated
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DashboardDefinitionAclContext'
      summary: Evaluate Dashboard Definition ACL context
      operationId: contextAcl
      parameters:
      - name: dashboard_id
        in: path
        required: true
        description: ID of Dashboard Definition.
        schema:
          type: string
      security:
      - auth_token: []
      tags:
      - Dashboard Definitions
  /v1/executive_dashboard/item/{dashboard_id}/acl_eval:
    get:
      responses:
        '500':
          description: Internal Server Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ModelError'
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ModelError'
        '400':
          description: Bad Request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ModelError'
        '404':
          description: Not Found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ModelError'
        '200':
          description: Evaluated
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DashboardDefinitionAclEval'
      summary: Evaluate Dashboard Definition ACL
      operationId: evalAcl
      parameters:
      - name: dashboard_id
        in: path
        required: true
        description: ID of Dashboard Definition.
        schema:
          type: string
      security:
      - auth_token: []
      tags:
      - Dashboard Definitions
  /v1/executive_dashboard/item/{dashboard_id}/history:
    get:
      responses:
        '500':
          description: Internal Server Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ModelError'
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ModelError'
        '400':
          description: Bad Request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ModelError'
        '200':
          description: Fetched
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/DashboardDefinitionVersion'
      summary: Get the history of a Dashboard Definition
      operationId: get-history@@@2
      parameters:
      - name: dashboard_id
        in: path
        required: true
        description: ID of Dashboard Definition.
        schema:
          type: string
      security:
      - auth_token: []
      tags:
      - Dashboard Definitions
  /v1/executive_dashboard/portals/list:
    get:
      responses:
        '500':
          description: Internal Server Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ModelError'
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ModelError'
        '400':
          description: Bad Request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ModelError'
        '200':
          description: Mapping
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/DashboardDefinitionToPortal'
      summary: List all accessible portals
      description: List portals
      operationId: list-portals
      security:
      - auth_token: []
      tags:
      - Dashboard Definitions
  /v1/executive_dashboard/portals/resolve:
    get:
      responses:
        '500':
          description: Internal Server Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ModelError'
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ModelError'
        '400':
          description: Bad Request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ModelError'
        '200':
          description: Resolved
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/RecordIdentity'
      summary: Resolve a portal path to its Dashboard Definition version
      operationId: resolve-portal
      parameters:
      - description: Path of the Portal page.
        name: path
        in: query
        schema:
          type: string
      security:
      - auth_token: []
      tags:
      - Dashboard Definitions
  /v1/executive_dashboard/report/generate:
    post:
      responses:
        '500':
          description: Internal Server Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ModelError'
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ModelError'
        '400':
          description: Bad Request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ModelError'
        '200':
          description: Fetched
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RecordIdentity'
      summary: Schedule the generation of a report for a dashboard
      description: Create a report for a dashboard
      operationId: dashboard-report-create
      security:
      - auth_token: []
      tags:
      - Dashboard Definitions
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/DashboardReportCreateRequest'
        required: true
  /v1/executive_dashboard/report/item/{report_id}:
    get:
      responses:
        '500':
          description: Internal Server Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ModelError'
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ModelError'
        '400':
          description: Bad Request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ModelError'
        '200':
          description: Fetched
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DashboardReport'
      summary: Fetch a report by ID
      description: Get a report for a dashboard
      operationId: dashboard-report-get
      parameters:
      - name: report_id
        in: path
        required: true
        description: ID of the report to fetch. This can be retrieved using Report Generation API.
        schema:
          type: string
      security:
      - auth_token: []
      tags:
      - Dashboard Definitions
components:
  schemas:
    DashboardConfiguration:
      properties:
        title:
          type: string
        description:
          type: string
        showTitle:
          type: boolean
        widgetPrimaryColor:
          type: string
        widgetSecondaryColor:
          type: string
        flavor:
          type: string
          description: Flavor of the dashboard
          example: AiAgents
          enum:
          - AiAgents
          - AppSecOps
          - FinOps
          - Governance
          - SecOps
          x-cs-enum-type: DashboardFlavor
        cloud:
          type: string
          description: Cloud provider for the dashboard. If not specified, the dashboard is considered multi-cloud.
          example: AWS
          enum:
          - AWS
          - Azure
          - AzureStack
          - Azure_CSP
          - Azure_CSP-Direct
          - Azure_EA
          - Azure_MCA
          - Cloudstack
          - GCP
          - MS_VMM
          - OCI
          - Openstack
          - PrivateCloud
          - Rackspace
          - VMware
          - VMware_VCD
          - vCenter
          x-cs-enum-type: CloudServiceName
        platform:
          type: string
          description: Platform for the dashboard. If not specified, the dashboard is considered multi-platform.
          example: kubernetes
          enum:
          - kubernetes
          x-cs-enum-type: Platforms
        saas:
          type: array
          items:
            type: string
            description: Saas tools for the dashboard. If not specified, the dashboard is considered multi-SaaS.
            example: Anthropic
            enum:
            - Anthropic
            - OpenAI
            - Databricks
            - Snowflake
            - CircleCI
            - Datadog
            - Dropbox
            - Dynatrace
            - Elastic
            - Grafana
            - IBM_Tencent
            - Microsoft_Teams
            - New_Relic
            - Okta
            - SaasCustomTool
            - Salesforce_Sales_Cloud
            - Splunk
            x-cs-enum-type: SaasServiceName
        clusterType:
          type: string
        bannerSegments:
          type: array
          items:
            $ref: '#/components/schemas/DashboardBannerSegment'
        widgets:
          type: array
          items:
            $ref: '#/components/schemas/WidgetComposition'
        portalFilter:
          $ref: '#/components/schemas/FilterWidgetConfiguration'
        filterScope:
          type: array
          description: Scope for the data available in the dashboard
          items:
            $ref: '#/components/schemas/DashboardScopeNode'
        savedViews:
          type: array
          items:
            $ref: '#/components/schemas/SavedView'
        serviceAccountEvaluationMode:
          type: string
          description: If not specified, the dashboard is considered eagerly evaluated
          example: Lazy
          enum:
          - Lazy
          - Eager
          x-cs-enum-type: ServiceAccountEvaluationMode
      type: object
    DashboardDefinitionAcl:
      properties:
        entries:
          type: array
          items:
            $ref: '#/components/schemas/DashboardDefinitionAclEntry'
        portalPath:
          type: array
          items:
            type: string
      type: object
    DashboardDefinitionAclContext:
      properties:
        is_product_admin:
          type: boolean
          description: True if user has product admin role
        is_account_admin:
          type: boolean
          description: True if user has account admin role
        product_bundles:
          type: array
          description: Product bundles for the user
          items:
            type: string
        role_types:
          type: array
          description: Role types for the user
          items:
            $ref: '#/components/schemas/DashboardDefinitionAclRoleType'
        roles:
          type: array
          description: Roles for the user
          items:
            $ref: '#/components/schemas/DashboardDefinitionAclRole'
        accounts:
          type: array
          description: Accounts for the user
          items:
            $ref: '#/components/schemas/DashboardDefinitionAclContextDetails'
        tenants:
          type: array
          description: Tenants for the user
          items:
            $ref: '#/components/schemas/DashboardDefinitionAclContextDetails'
      type: object
    DataContext:
      properties:
        filter:
          $ref: '#/components/schemas/AccountFilters'
        currency:
          type: string
          description: currency of the cost. Example 'currency':'USD'
          example: AED
          enum:
          - AED
          - ALL
          - ARS
          - AUD
          - BAM
          - BDT
          - BGN
          - BHD
          - BRL
          - CAD
          - CHF
          - CLP
          - CNY
          - COP
          - CRC
          - CZK
          - DKK
          - EGP
          - EUR
          - GBP
          - HKD
          - HRK
          - HUF
          - IDR
          - ILS
          - INR
          - ISK
          - JPY
          - KES
          - KRW
          - KWD
          - KZT
          - MOP
          - MVR
          - MXN
          - MYR
          - NOK
          - NZD
          - OMR
          - PEN
          - PHP
          - PKR
          - PLN
          - QAR
          - RON
          - RSD
          - RUB
          - SAR
          - SEK
          - SGD
          - THB
          - TRY
          - TWD
          - USD
          - VND
          - ZAR
          x-cs-enum-type: Currency
        organizationCurrency:
          type: boolean
          description: Use organization currency rules to convert to the configured currency
        timeRange:
          $ref: '#/components/schemas/RangeSelection'
        query:
          description: Advanced query based filters. If present, will be used instead of hierarchical filters.
          $ref: '#/components/schemas/QueryOperator'
        billingSource:
          type: string
          description: Billing source for the data
        granularity:
          type: string
          description: Granularity to aggregate data
          example: day
          enum:
          - day
          - week
          - month
          - quarter
          - year
          x-cs-enum-type: TrendGranularity
        overrideQuery:
          type: boolean
        overrideBillingSource:
          type: boolean
        overrideGranularity:
          type: boolean
        overrideTenants:
          type: boolean
        overrideCloudProviders:
          type: boolean
        overrideCloudAccounts:
          type: boolean
        overrideCurrency:
          type: boolean
        overrideTimeRange:
          type: boolean
        overrideRegions:
          type: boolean
        overrideProductCategories:
          type: boolean
        hideBillingSource:
          type: boolean
        hideGranularity:
          type: boolean
        hideTenants:
          type: boolean
        hideCloudProviders:
          type: boolean
        hideCloudAccounts:
          type: boolean
        hideCurrency:
          type: boolean
        hideTimeRange:
          type: boolean
        hideRegions:
          type: boolean
        hideProductCategories:
          type: boolean
      type: object
    DashboardReport:
      allOf:
      - $ref: '#/components/schemas/DashboardReportScheduleRequest'
      - properties:
          sys_id:
            type: string
            description: Unique ID for the report
          background_job:
            description: Identity of the background job used to generate the report, null if the job has completed
            $ref: '#/components/schemas/RecordIdentity'
          attachment_id:
            type: string
            description: ID of the attachment where the report contents are stored.
        type: object
    SavedView:
      properties:
        name:
          type: string
        roles:
          type: array
          items:
            type: string
        view:
          $ref: '#/components/schemas/ViewState'
        updated_at:
          type: string
          format: date-time
      type: object
    DashboardDefinitionToPortal:
      properties:
        dashboard_id:
          type: string
        portalPath:
          type: array
          items:
            type: string
      type: object
    DashboardBannerSegment:
      properties:
        widthRatio:
          type: integer
        branding:
          $ref: '#/components/schemas/BrandingConfiguration'
      type: object
    ViewState:
      required:
      - __type
      properties: {}
      discriminator:
        propertyName: __type
      type: object
      x-cs-subtypes:
      - subtype_model: DashboardViewState
        subtype_name: DashboardViewState
    DashboardScopeNode:
      required:
      - visible
      properties:
        visible:
          type: boolean
          description: whether filter dimension remains configurable in the dashboard
        condition:
          $ref: '#/components/schemas/QueryOperator'
      type: object
    DashboardReportScheduleRequest:
      allOf:
      - $ref: '#/components/schemas/DashboardReportCreateRequest'
      - required:
        - user_id
        properties:
          user_id:
            type: string
            description: User ID of user who scheduled the report
          schedule_id:
            type: string
            description: Schedule ID of which the report to be generated
            x-cs-type: ObjectId
        type: object
    RangeSelection:
      properties:
        range:
          type: string
          example: Last15Minutes
          enum:
          - Last15Minutes
          - Last30Minutes
          - Last60Minutes
          - Hour
          - PreviousHour
          - Last3Hours
          - Last6Hours
          - Last12Hours
          - Last24Hours
          - FullDay
          - Today
          - Yesterday
          - Last2Days
          - Last3Days
          - Last7Days
          - Last14Days
          - Week
          - WeekToDate
          - LastWeekToNow
          - Last2WeeksToNow
          - PreviousWeek
          - Previous2Weeks
          - Previous4Weeks
          - FullMonth
          - Month
          - MonthToDate
          - PreviousMonth
          - LastMonthToNow
          - Previous3Months
          - Previous6Months
          - Previous12Months
          - TwoMonthsAgo
          - ThreeMonthsAgo
          - Last30Days
          - FullQuarter
          - Quarter
          - QuarterToDate
          - LastQuarterToNow
          - LastQuarterToDate
          - PreviousQuarter
          - Previous2Quarters
          - Previous3Quarters
          - Previous4Quarters
          - Last3Months
          - Last3MonthsToNow
          - Last6MonthsToNow
          - Last12MonthsToNow
          - FullYear
          - Year
          - YearToDate
          - PreviousYear
          - Previous3Years
          - Last365Days
          - BillingCurrentMonth
          - BillingPreviousMonth
          - BillingCurrentQuarter
          - BillingPreviousQuarter
          - BillingPrevious3Months
          - BillingPrevious6Months
          - FiscalPreviousQuarter
          - FiscalCurrentQuarter
          - FiscalCurrentQuarterToNow
          - FiscalPreviousHalfYear
          - FiscalCurrentHalfYear
          - FiscalPreviousYear
          - FiscalCurrentYear
          - FiscalCurrentYearToNow
          - FiscalLast3Years
          - FiscalYearToDate
          - WeekToDateT2
          - LastWeekToDateT2
          - Last2WeeksToDateT2
          - MonthToDateT2
          - LastMonthToDateT2
          - Last3MonthsToDateT2
          - Last6MonthsToDateT2
          - Last12MonthsToDateT2
          - LastQuarterToDateT2
          - YearToDateT2
          - FiscalLastQuarterToDateT2
          - FiscalCurrentQuarterToDateT2
          - FiscalCurrentYearToDateT2
          - All
          x-cs-enum-type: TimeRangeId
    

# --- truncated at 32 KB (81 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/corestack/refs/heads/main/openapi/corestack-dashboard-definitions-api-openapi.yml