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

# List controls

> Return the controls in your organization, one page at a time.



## OpenAPI

````yaml api-reference/openapi.json GET /controls
openapi: 3.0.0
info:
  title: DSALTA API
  version: 1.0.0
  description: >-
    DSALTA Public API (v1). Authenticate with a Bearer API token issued from
    your organization settings. Each token carries resource-level scopes (e.g.
    documents:read).
  contact: {}
servers:
  - url: https://apip.dsalta.com/v1
    description: Production
security: []
paths:
  /controls:
    get:
      tags:
        - Controls
      summary: List Controls
      operationId: ListControls
      parameters:
        - in: query
          name: page
          required: false
          schema:
            type: number
            format: double
        - in: query
          name: limit
          required: false
          schema:
            type: number
            format: double
        - in: query
          name: search
          required: false
          schema:
            type: string
        - in: query
          name: framework
          required: false
          schema:
            type: string
      responses:
        '200':
          description: Ok
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PublicListResponse_PublicControl_'
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              examples:
                Example 1:
                  value:
                    success: false
                    message: Invalid or expired API token
        '403':
          description: Forbidden
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              examples:
                Example 1:
                  value:
                    success: false
                    message: 'API token is missing required scope(s): controls:read'
      security:
        - apiToken:
            - controls:read
components:
  schemas:
    PublicListResponse_PublicControl_:
      properties:
        data:
          items:
            $ref: '#/components/schemas/PublicControl'
          type: array
        pagination:
          $ref: '#/components/schemas/PublicPaginationMeta'
      required:
        - data
        - pagination
      type: object
      additionalProperties: false
    ErrorResponse:
      properties:
        details:
          $ref: '#/components/schemas/Record_string.unknown_'
        message:
          type: string
        success:
          type: boolean
          enum:
            - false
          nullable: false
      required:
        - message
        - success
      type: object
    PublicControl:
      description: >-
        Public (v1) shape for a control. A curated subset of the internal task
        model.


        Excluded on purpose (sensitive or internal): the owner's email and
        internal

        id, the AI audit result, the internal point scoring (total/earned
        points),

        the evidence-status / next-refresh bookkeeping, internal notes, the

        organisation id, and any nested file URLs.
      properties:
        id:
          type: string
        controlId:
          type: string
          description: Human-facing control code, e.g. "CC6.1".
        name:
          type: string
        description:
          type: string
        status:
          type: string
          description: >-
            Control status, e.g. "PASS" | "FAIL" | "NEEDS_ATTENTION" |
            "NO_EVIDENCE".
        scope:
          type: string
          description: '"IN_SCOPE" | "OUT_OF_SCOPE".'
        risk:
          type: string
          description: Risk level, e.g. "High" | "Medium" | "Low".
        frameworks:
          items:
            type: string
          type: array
          description: Names of the frameworks this control belongs to.
        owner:
          type: string
          nullable: true
          description: Owner's display name, or null. Never an email or internal id.
        monitoring:
          properties:
            policies:
              properties:
                total:
                  type: number
                  format: double
                passing:
                  type: number
                  format: double
              required:
                - total
                - passing
              type: object
            documents:
              properties:
                total:
                  type: number
                  format: double
                passing:
                  type: number
                  format: double
              required:
                - total
                - passing
              type: object
            tests:
              properties:
                total:
                  type: number
                  format: double
                passing:
                  type: number
                  format: double
              required:
                - total
                - passing
              type: object
          required:
            - policies
            - documents
            - tests
          type: object
          description: Passing-vs-total counts of the evidence linked to this control.
        category:
          type: string
          nullable: true
          description: Category name, or null.
        createdAt:
          type: string
        updatedAt:
          type: string
      required:
        - id
        - controlId
        - name
        - description
        - status
        - scope
        - risk
        - frameworks
        - owner
        - monitoring
        - category
        - createdAt
        - updatedAt
      type: object
      additionalProperties: false
    PublicPaginationMeta:
      description: >-
        Public API (v1) response envelope.


        The internal controllers are inconsistent — some return
        `SuccessResponse<T>`,

        some a bare `{ data, total }`. The public contract standardises on one
        shape

        so customers integrate against something stable:
          - single item  -> { data: T }
          - collection    -> { data: T[], pagination: {...} }

        These types are part of the published contract. Changing a field here is
        a

        breaking API change, not an internal refactor.
      properties:
        page:
          type: number
          format: double
          description: 1-based page number echoed back from the request.
        limit:
          type: number
          format: double
          description: Page size echoed back from the request.
        total:
          type: number
          format: double
          description: Total number of records across all pages.
        totalPages:
          type: number
          format: double
          description: Total number of pages at this page size.
      required:
        - page
        - limit
        - total
        - totalPages
      type: object
      additionalProperties: false
    Record_string.unknown_:
      properties: {}
      type: object
      description: Construct a type with a set of properties K of type T
  securitySchemes:
    apiToken:
      type: http
      scheme: bearer
      bearerFormat: DSALTA_API_TOKEN

````

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