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

# List queryable dimensions

> Group-by axes and their values accepted by `groupBy` on cost/usage/metric series. Strict public shape — no react-querybuilder filter-widget fields.



## OpenAPI

````yaml /api-reference/openapi.json get /queries/dimensions
openapi: 3.0.0
info:
  title: Costory
  version: '1.0'
  description: API Documentation
servers:
  - url: ''
    description: Production server
security: []
paths:
  /queries/dimensions:
    get:
      tags:
        - Query Costs
      summary: List queryable dimensions
      description: >-
        Group-by axes and their values accepted by `groupBy` on
        cost/usage/metric series. Strict public shape — no react-querybuilder
        filter-widget fields.
      operationId: listQueryDimensions
      responses:
        '200':
          description: Dimensions available to the authenticated organization
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/QueryDimension'
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Unauthorized'
        '500':
          description: Unexpected server error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/InternalServerError'
      security:
        - bearerAuth: []
components:
  schemas:
    QueryDimension:
      type: object
      properties:
        name:
          type: string
        label:
          type: string
        description:
          type: string
        groupTitle:
          type: string
        values:
          type: array
          items:
            type: object
            properties:
              name:
                type: string
              label:
                type: string
              proportionCostAllocated:
                type: number
            required:
              - name
              - label
              - proportionCostAllocated
            additionalProperties: false
      required:
        - name
        - label
        - groupTitle
        - values
      additionalProperties: false
    Unauthorized:
      type: object
      properties:
        error:
          type: string
          description: Unauthorized error message
      required:
        - error
    InternalServerError:
      type: object
      properties:
        error:
          type: string
          enum:
            - INTERNAL_SERVER_ERROR
      required:
        - error
      additionalProperties: false
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT or Clerk ak_* API key
      description: >-
        Send `Authorization: Bearer <credential>` using either a Clerk session
        JWT or a Clerk API key (`ak_*`). API keys may identify a user (`user_*`)
        or organization (`org_*`) principal and are generated in the Clerk
        Dashboard under API keys.

````