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

# List entitlements

> Retrieves all entitlements for a given environment.



## OpenAPI

````yaml get /v1/entitlements
openapi: 3.0.0
info:
  title: Revstack API
  version: 1.0.0
  description: >-
    Open Source Billing OS for Developers. The scalable, developer-first billing
    engine with subscriptions, invoicing, usage metering, and entitlements.
servers:
  - url: http://localhost:6900
    description: Revstack API (Local Development)
security: []
paths:
  /v1/entitlements:
    get:
      tags:
        - Entitlements
      summary: List entitlements
      description: Retrieves all entitlements for a given environment.
      parameters:
        - schema:
            type: string
          required: true
          name: environment_id
          in: query
        - schema:
            type: number
          required: false
          name: limit
          in: query
        - schema:
            type: number
          required: false
          name: offset
          in: query
      responses:
        '200':
          description: List of entitlements
          content:
            application/json:
              schema:
                type: array
                items:
                  nullable: true

````