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

# List catalog rulesets, paginated



## OpenAPI

````yaml /openapi.json get /v1/rulesets
openapi: 3.0.3
info:
  description: >-
    Geographic compliance API — evaluates polygons against authoritative
    environmental and regulatory datasets and returns deterministic, audit-ready
    verdicts.
  title: Attestly API
  version: 1.0.0
servers: []
security: []
paths:
  /v1/rulesets:
    get:
      tags:
        - Rulesets
      summary: List catalog rulesets, paginated
      operationId: list_rulesets_v1_rulesets_get
      parameters:
        - in: query
          name: page
          required: false
          schema:
            default: 1
            minimum: 1
            title: Page
            type: integer
        - in: query
          name: page_size
          required: false
          schema:
            default: 25
            maximum: 200
            minimum: 1
            title: Page Size
            type: integer
        - description: >-
            Filter by tag(s). Repeat to require multiple tags (AND). Use
            ``tag=preset`` to list official curated presets.
          in: query
          name: tag
          required: false
          schema:
            description: >-
              Filter by tag(s). Repeat to require multiple tags (AND). Use
              ``tag=preset`` to list official curated presets.
            items:
              type: string
            nullable: true
            title: Tag
            type: array
        - description: >-
            Admin-only. When ``true``, includes rulesets with
            ``visibility=hidden`` in the result. Callers without the ``admin``
            role receive 403 if they pass ``true``.
          in: query
          name: include_hidden
          required: false
          schema:
            default: false
            description: >-
              Admin-only. When ``true``, includes rulesets with
              ``visibility=hidden`` in the result. Callers without the ``admin``
              role receive 403 if they pass ``true``.
            title: Include Hidden
            type: boolean
      responses:
        '200':
          content:
            application/json:
              schema: {}
          description: Successful Response
        '400':
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/ProblemDetail'
          description: Malformed request body.
        '401':
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/ProblemDetail'
          description: Authentication required.
        '403':
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/ProblemDetail'
          description: Authorization failed.
        '404':
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/ProblemDetail'
          description: Resource not found.
        '409':
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/ProblemDetail'
          description: Resource conflict.
        '422':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
            application/problem+json:
              schema:
                $ref: '#/components/schemas/ProblemDetail'
          description: Validation Error
        '429':
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/ProblemDetail'
          description: Quota or rate limit exceeded.
        '500':
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/ProblemDetail'
          description: Unexpected server error.
      security:
        - HTTPBearer: []
components:
  schemas:
    ProblemDetail:
      properties:
        detail:
          type: string
        instance:
          type: string
        status:
          type: integer
        title:
          type: string
        type:
          format: uri
          type: string
      required:
        - type
        - title
        - status
      type: object
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          title: Detail
          type: array
      title: HTTPValidationError
      type: object
    ValidationError:
      properties:
        ctx:
          title: Context
          type: object
        input:
          title: Input
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          title: Location
          type: array
        msg:
          title: Message
          type: string
        type:
          title: Error Type
          type: string
      required:
        - loc
        - msg
        - type
      title: ValidationError
      type: object
  securitySchemes:
    HTTPBearer:
      scheme: bearer
      type: http

````