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

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



## OpenAPI

````yaml api-reference/openapi.json GET /policies
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:
  /policies:
    get:
      tags:
        - Policies
      summary: List Policies
      operationId: ListPolicies
      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_PublicPolicy_'
        '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): policies:read'
      security:
        - apiToken:
            - policies:read
components:
  schemas:
    PublicListResponse_PublicPolicy_:
      properties:
        data:
          items:
            $ref: '#/components/schemas/PublicPolicy'
          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
    PublicPolicy:
      description: >-
        Public (v1) shape for a policy. A curated subset of the internal policy
        model.


        Excluded on purpose (sensitive or internal): the full policy `content`,
        the

        approvers' identities and signed approval URLs, the owner's email and

        internal id, comments (commenter PII), the AI audit result, the

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

        organisation id. Only the latest approval DATE is exposed, not who
        approved.
      properties:
        id:
          type: string
        policyId:
          type: string
          description: Human-facing policy code, e.g. "POL-012".
        name:
          type: string
        description:
          type: string
        type:
          type: string
          description: '"POLICY" | "PROCEDURE".'
        status:
          type: string
          description: Policy status, e.g. "PASS" | "FAIL" | "IN_PROGRESS".
        frameworks:
          items:
            type: string
          type: array
          description: Names of the frameworks this policy maps to.
        owner:
          type: string
          nullable: true
          description: Owner's display name, or null. Never an email or internal id.
        lastApprovedAt:
          type: string
          nullable: true
          description: >-
            ISO 8601 of the latest approval, or null. Never the approver's
            identity.
        dueDate:
          type: string
          nullable: true
          description: ISO 8601 due date, or null.
        createdAt:
          type: string
        updatedAt:
          type: string
      required:
        - id
        - policyId
        - name
        - description
        - type
        - status
        - frameworks
        - owner
        - lastApprovedAt
        - dueDate
        - 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.