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

# List tiers (plans)

> Read-only. Lists the account's reusable tiers (plans) and their limit rules.



## OpenAPI

````yaml GET /v1/tenant-usage/tiers
openapi: 3.0.0
info:
  title: Devic.ai Public API
  description: >-
    Devic.ai is an AI platform that allows you to create, manage, and use AI
    agents for various tasks.
  version: 1.0.0
  contact:
    name: Devic.ai Support
    url: https://devic.ai
  x-logo:
    url: https://devic.ai/logo.png
    altText: Devic.ai Logo
  x-summary: Public API for interacting with Devic.ai platform
servers:
  - url: https://api.devic.ai
    description: Production server
  - url: https://staging-api.devic.ai
    description: Staging server
security:
  - bearerAuth: []
tags:
  - name: Projects
    description: Group agents, assistants, documents and costs into projects
  - name: Documents
    description: >-
      Knowledge base documents: create, version, attach and index markdown
      content for RAG
  - name: Document Folders
    description: Organise knowledge base documents into folders and attach them in bulk
  - name: Files
    description: Upload files and obtain shareable download URLs to attach to messages
  - name: Agents
    description: Endpoints related to AI agents and their operations
  - name: Assistants
    description: Endpoints for interacting with assistants and their specializations
  - name: Tool Servers
    description: Endpoints for managing tool servers and their tool definitions
  - name: Health
    description: API health check endpoints
  - name: Documentation
    description: Endpoints for retrieving markdown documentation
paths:
  /v1/tenant-usage/tiers:
    get:
      tags:
        - Tenant Usage
      summary: List tiers (plans)
      description: >-
        Read-only. Lists the account's reusable tiers (plans) and their limit
        rules.
      operationId: listTiers
      responses:
        '200':
          description: Tiers
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/Tier'
        '401':
          description: Unauthorized - Invalid or missing token
        '500':
          description: Internal Server Error
      security:
        - bearerAuth: []
components:
  schemas:
    Tier:
      type: object
      description: >-
        A reusable bundle of limit rules (a plan, e.g. free/pro/enterprise).
        Tenants reference a tier by tierId by live reference: editing the tier
        applies instantly to every tenant assigned to it.
      properties:
        tierId:
          type: string
        name:
          type: string
        description:
          type: string
        rules:
          type: array
          items:
            $ref: '#/components/schemas/LimitRule'
        excludedAssistants:
          type: array
          items:
            type: string
          description: >-
            Assistants exempt from this tier's limits (by specialization
            identifier or _id) — neither counted nor blocked
        excludedAgents:
          type: array
          items:
            type: string
          description: Agents exempt from this tier's limits (by _id)
        isDefault:
          type: boolean
          description: Applied to tenants without an explicit tierId
    LimitRule:
      type: object
      description: >-
        A usage-limit rule. scope=tenant caps the whole tenant; scope=subtenant
        with no id applies the same cap to EACH subtenant; scope=subtenant with
        subtenantId overrides one subtenant. The window is windowEvery x
        windowUnit.
      properties:
        scope:
          type: string
          enum:
            - tenant
            - subtenant
        subtenantId:
          type: string
        metric:
          type: string
          enum:
            - tokens
            - cost
        windowUnit:
          type: string
          enum:
            - hour
            - day
            - week
            - month
        windowEvery:
          type: integer
          description: Number of windowUnit per window (e.g. 3 hours)
        limit:
          type: number
        enabled:
          type: boolean
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT
      description: Use JWT token for authentication

````