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

# List Timeframes

> Returns timeframes (years/sprints) and their periods (quarters/months). Use the period `key` value (e.g. `2026_Q1`) as `startQuarter`/`endQuarter` when creating or filtering initiatives.




## OpenAPI

````yaml GET /timeframes
openapi: 3.1.0
info:
  title: Tabillo API
  version: 1.0.0
  description: >
    External REST API for Tabillo workspaces. Authenticate using an API key
    generated in Settings → API Keys (admin only).
  contact:
    email: support@tabillo.com
servers:
  - url: https://crossproductroadmapbackend.vercel.app/api/v1
    description: Production
security:
  - ApiKeyAuth: []
  - OAuthBearer: []
paths:
  /timeframes:
    get:
      tags:
        - Reference Data
      summary: List all timeframes with their periods
      description: >
        Returns timeframes (years/sprints) and their periods (quarters/months).
        Use the period `key` value (e.g. `2026_Q1`) as
        `startQuarter`/`endQuarter` when creating or filtering initiatives.
      operationId: listTimeframes
      parameters:
        - $ref: '#/components/parameters/TenantSlug'
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  timeframes:
                    type: array
                    items:
                      $ref: '#/components/schemas/Timeframe'
        '401':
          description: Invalid API key
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
components:
  parameters:
    TenantSlug:
      name: x-tenant-slug
      in: header
      required: true
      schema:
        type: string
      description: Your workspace slug (e.g. `acme`).
      example: acme
  schemas:
    Timeframe:
      type: object
      properties:
        id:
          type: string
        label:
          type: string
          example: '2026'
        year:
          type: string
          example: '2026'
        startDate:
          type: string
          format: date-time
        endDate:
          type: string
          format: date-time
        quarters:
          type: array
          items:
            type: object
            properties:
              id:
                type: string
              key:
                type: string
                example: 2026_Q1
              label:
                type: string
                example: Q1
              fullLabel:
                type: string
                example: 2026 Q1
              startDate:
                type: string
                format: date-time
              endDate:
                type: string
                format: date-time
    Error:
      type: object
      properties:
        error:
          type: string
      required:
        - error
  securitySchemes:
    ApiKeyAuth:
      type: http
      scheme: bearer
      bearerFormat: tab_<32 alphanumeric chars>
      description: >
        Generate an API key in your workspace Settings → API Keys. Pass it as
        `Authorization: Bearer tab_<key>` on every request.
    OAuthBearer:
      type: http
      scheme: bearer
      bearerFormat: tabt_<32 alphanumeric chars>
      description: >
        OAuth 2.0 access token obtained via the Authorization Code flow. Pass it
        as `Authorization: Bearer tabt_<token>` on every request. Tokens expire
        after 1 hour; use the refresh token to obtain a new one.

````