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

# List audit findings



## OpenAPI

````yaml /openapi/program.openapi.json get /surveys/{surveyId}/audits/{auditId}/findings
openapi: 3.1.0
info:
  title: Questra Program API
  version: 0.0.1
  description: >-
    REST API for the Questra Program product. Browser users authenticate through
    Questra Auth SSO; automation uses workspace-scoped API keys (`Authorization:
    Bearer qpk_live_…`). API keys carry scopes enforced before handlers.
    Outbound webhooks follow Standard Webhooks (at-least-once delivery;
    consumers must be idempotent).
servers:
  - url: /v1
    description: Program API base path
security: []
paths:
  /surveys/{surveyId}/audits/{auditId}/findings:
    get:
      tags:
        - Survey audits
      summary: List audit findings
      parameters:
        - schema:
            type: string
            format: uuid
          required: true
          name: surveyId
          in: path
        - schema:
            type: string
            format: uuid
          required: true
          name: auditId
          in: path
        - schema:
            $ref: '#/components/schemas/SurveyAuditFindingStatus'
          required: false
          name: status
          in: query
        - schema:
            type: string
            minLength: 1
          required: false
          name: code
          in: query
      responses:
        '200':
          description: Findings
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SurveyAuditFindingListResponse'
        '404':
          description: Not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorBody'
components:
  schemas:
    SurveyAuditFindingStatus:
      type: string
      enum:
        - open
        - remediating
        - resolved
        - dismissed
    SurveyAuditFindingListResponse:
      type: object
      properties:
        data:
          type: array
          items:
            $ref: '#/components/schemas/SurveyAuditFinding'
      required:
        - data
    ErrorBody:
      type: object
      properties:
        error:
          type: string
        message:
          type: string
        resource:
          type: string
        slug:
          type: string
        file_id:
          type: string
        endpoint_id:
          type: string
        event_id:
          type: string
        delivery_id:
          type: string
        api_key_id:
          type: string
        integration_id:
          type: string
        audit_id:
          type: string
        status:
          type: string
        details: {}
        question_ids:
          type: array
          items:
            type: string
        survey_ids:
          type: array
          items:
            type: string
        revisions:
          type: array
          items:
            type: number
      required:
        - error
    SurveyAuditFinding:
      type: object
      properties:
        id:
          type: string
          format: uuid
        audit_id:
          type: string
          format: uuid
        workspace_id:
          type: string
        survey_id:
          type: string
          format: uuid
        workflow_id:
          type: string
          minLength: 1
        remediation_workflow_id:
          type:
            - string
            - 'null'
        code:
          type: string
        message:
          type: string
        start_line:
          type:
            - integer
            - 'null'
          exclusiveMinimum: 0
        end_line:
          type:
            - integer
            - 'null'
          exclusiveMinimum: 0
        repair_context: {}
        status:
          $ref: '#/components/schemas/SurveyAuditFindingStatus'
        sort_index:
          type: integer
          minimum: 0
        remediation_id:
          type:
            - string
            - 'null'
          format: uuid
        resolution_note:
          type:
            - string
            - 'null'
        created_at:
          type: string
          format: date-time
        updated_at:
          type: string
          format: date-time
      required:
        - id
        - audit_id
        - workspace_id
        - survey_id
        - workflow_id
        - remediation_workflow_id
        - code
        - message
        - start_line
        - end_line
        - status
        - sort_index
        - remediation_id
        - resolution_note
        - created_at
        - updated_at

````