> ## 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 users

> Retrieves users with optional filtering by environment, role, and status.



## OpenAPI

````yaml get /v1/users
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/users:
    get:
      tags:
        - Users
      summary: List users
      description: >-
        Retrieves users with optional filtering by environment, role, and
        status.
      parameters:
        - schema:
            type: string
          required: false
          name: environmentId
          in: query
        - schema:
            type: string
          required: false
          name: role
          in: query
        - schema:
            type: string
            enum:
              - 'true'
              - 'false'
          required: false
          name: isActive
          in: query
      responses:
        '200':
          description: List of users
          content:
            application/json:
              schema:
                type: array
                items:
                  nullable: true

````