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

# Get a policy

> Return a single policy by its ID.



## OpenAPI

````yaml api-reference/openapi.json GET /policies/{policyId}
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/{policyId}:
    get:
      tags:
        - Policies
      summary: Get Policy
      operationId: GetPolicy
      parameters:
        - in: path
          name: policyId
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Ok
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PublicItemResponse_PublicPolicy_'
        '404':
          description: Not Found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              examples:
                Example 1:
                  value:
                    success: false
                    message: Policy not found.
      security:
        - apiToken:
            - policies:read
components:
  schemas:
    PublicItemResponse_PublicPolicy_:
      properties:
        data:
          $ref: '#/components/schemas/PublicPolicy'
      required:
        - data
      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
    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.