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

# List rulesets

> Get the rulesets of a dedicated edge network. Each edge network has one ruleset per type,
and rules within a ruleset are evaluated in order.

**Required permission:** `edge_network.view`


## OpenAPI

````yaml https://cloud.laravel.com/api-docs/api.json get /edge-networks/{edgeNetwork}/rulesets
openapi: 3.1.0
info:
  title: Laravel Cloud
  version: 0.0.1
servers:
  - url: https://cloud.laravel.com/api
security:
  - http: []
tags:
  - name: Applications
  - name: Environments
  - name: Domains
  - name: Commands
  - name: Deployments
  - name: Instances
  - name: Email
  - name: Background Processes
  - name: Scheduled Commands
  - name: Database Clusters
  - name: Databases
  - name: Database Users
  - name: Database Snapshots
  - name: Database Restores
  - name: Object Storage Buckets
  - name: Bucket Keys
  - name: Caches
  - name: WebSocket Clusters
  - name: WebSocket Applications
  - name: Dedicated Clusters
  - name: Edge Networks
  - name: Secrets
  - name: Usage
  - name: Meta
  - name: Databases (Legacy)
paths:
  /edge-networks/{edgeNetwork}/rulesets:
    get:
      tags:
        - Edge Networks
      summary: List rulesets
      description: >-
        Get the rulesets of a dedicated edge network. Each edge network has one
        ruleset per type,

        and rules within a ruleset are evaluated in order.
      operationId: public.edge-networks.rulesets.index
      parameters:
        - name: edgeNetwork
          in: path
          required: true
          description: The edge network identifier
          schema:
            type: string
      responses:
        '200':
          description: Array of `EdgeNetworkRulesetResource`
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    type: array
                    items:
                      $ref: '#/components/schemas/EdgeNetworkRulesetResource'
                required:
                  - data
        '403':
          $ref: '#/components/responses/AuthorizationException'
        '404':
          $ref: '#/components/responses/ModelNotFoundException'
components:
  schemas:
    EdgeNetworkRulesetResource:
      type: object
      properties:
        type:
          type: string
          description: >-
            The ruleset type, which matches the `type` of its rules. URLs use it
            with hyphens, such as `rate-limit`.
          enum:
            - firewall
            - rate_limit
            - cache
        label:
          type: string
        actions:
          type: array
          description: >-
            The values accepted for `settings.action` in this ruleset. Only
            returned when getting a single ruleset.
          items:
            type: object
            properties:
              value:
                type: string
              label:
                type: string
            required:
              - value
              - label
        fields:
          type: array
          description: >-
            The fields a condition in `settings.criteria_groups` can match on.
            Each operator gives the `criteria` value to send with it, and fields
            with `options` only accept those values. Only returned when getting
            a single ruleset.
          items:
            type: object
            additionalProperties: {}
        settings_schema:
          type: object
          description: >-
            A JSON Schema of the `settings` a rule in this ruleset accepts, with
            the allowed values and an example. Only returned when getting a
            single ruleset.
          additionalProperties: {}
      required:
        - type
        - label
      title: EdgeNetworkRulesetResource
  responses:
    AuthorizationException:
      description: Authorization error
      content:
        application/json:
          schema:
            type: object
            properties:
              message:
                type: string
                description: Error overview.
            required:
              - message
    ModelNotFoundException:
      description: Not found
      content:
        application/json:
          schema:
            type: object
            properties:
              message:
                type: string
                description: Error overview.
            required:
              - message
  securitySchemes:
    http:
      type: http
      description: The Bearer Token generated on the Cloud UI.
      scheme: bearer
      bearerFormat: bearer

````