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

# List guardrails

> Lists the organization's guardrails, ordered by name. `is_default` marks the organization default and `is_active` is false for a paused guardrail. Requires the `manage:read` scope.



## OpenAPI

````yaml https://api.edenai.run/v2/info/splitted-schema/management_api/openapi.json get /v3/manage/guardrails/
openapi: 3.0.3
info:
  title: Organization Management
  version: '2.0'
  description: Your project description
servers:
  - url: https://api.edenai.run
security: []
paths:
  /v3/manage/guardrails/:
    get:
      tags:
        - Guardrails
      summary: List guardrails
      description: >-
        Lists the organization's guardrails, ordered by name. `is_default` marks
        the organization default and `is_active` is false for a paused
        guardrail. Requires the `manage:read` scope.
      operationId: manage_guardrails_list
      parameters:
        - name: limit
          required: false
          in: query
          description: Number of results to return per page.
          schema:
            type: integer
        - name: offset
          required: false
          in: query
          description: The initial index from which to return the results.
          schema:
            type: integer
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PaginatedGuardrailList'
          description: ''
      security:
        - ManagementKeyAuth: []
components:
  schemas:
    PaginatedGuardrailList:
      type: object
      required:
        - results
        - limit
        - offset
        - total_count
        - next
        - previous
      properties:
        results:
          type: array
          items:
            $ref: '#/components/schemas/Guardrail'
        limit:
          type: integer
          example: 25
          description: Page size applied to this response (max 100).
        offset:
          type: integer
          example: 0
          description: Index of the first item in this page.
        total_count:
          type: integer
          example: 123
          description: Total number of items across all pages.
        next:
          type: string
          nullable: true
          format: uri
          example: https://api.edenai.run/v3/manage/members/?limit=25&offset=25
          description: Absolute URL of the next page, or null on the last page.
        previous:
          type: string
          nullable: true
          format: uri
          description: Absolute URL of the previous page, or null on the first page.
    Guardrail:
      type: object
      properties:
        id:
          type: integer
          readOnly: true
        name:
          type: string
          maxLength: 200
        description:
          type: string
        model_rules:
          nullable: true
        rate_limit:
          type: string
          nullable: true
          maxLength: 15
        budget_cap:
          type: number
          format: double
          maximum: 100000
          minimum: -100000
          exclusiveMaximum: true
          exclusiveMinimum: true
          nullable: true
        budget_period:
          nullable: true
          oneOf:
            - $ref: '#/components/schemas/BudgetPeriodEnum'
            - $ref: '#/components/schemas/BlankEnum'
            - $ref: '#/components/schemas/NullEnum'
        budget_alert_percent:
          type: integer
          maximum: 100
          minimum: 1
          nullable: true
        is_active:
          type: boolean
          readOnly: true
        is_default:
          type: boolean
          description: >-
            Whether this is its organization's default guardrail.


            Pass ``organization`` in the context (every guardrail view does) so
            a list

            reads the default off that one row instead of a query per guardrail.
          readOnly: true
        created_at:
          type: string
          format: date-time
          readOnly: true
        updated_at:
          type: string
          format: date-time
          readOnly: true
      required:
        - created_at
        - id
        - is_active
        - is_default
        - name
        - updated_at
    BudgetPeriodEnum:
      enum:
        - daily
        - weekly
        - monthly
      type: string
      description: |-
        * `daily` - Daily
        * `weekly` - Weekly
        * `monthly` - Monthly
    BlankEnum:
      enum:
        - ''
    NullEnum:
      enum:
        - null
  securitySchemes:
    ManagementKeyAuth:
      type: http
      scheme: bearer
      bearerFormat: opaque
      description: >-
        A management key (created from the organization dashboard or with `POST
        /v3/manage/auth-keys`), sent as `Authorization: Bearer
        <management_key>`. Inference API keys (`sk-eden...`) are not accepted on
        these endpoints.

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.