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

# List requirement verdicts

> Lifecycle-agnostic requirement verdict rows for device, rack, or pod targets.



## OpenAPI

````yaml /openapi/fleet-manager-openapi.yaml get /api/v1/sites/{site_id}/operations/requirement-verdicts/
openapi: 3.0.3
info:
  title: Fleet Manager API
  version: 1.0.0
  description: API for the Nscale Fleet Manager
servers: []
security: []
paths:
  /api/v1/sites/{site_id}/operations/requirement-verdicts/:
    get:
      tags:
        - Operations
      summary: List requirement verdicts
      description: >-
        Lifecycle-agnostic requirement verdict rows for device, rack, or pod
        targets.
      operationId: api_v1_sites_operations_requirement_verdicts_list
      parameters:
        - in: query
          name: device_id
          schema:
            type: array
            items:
              type: string
              format: uuid
          description: Filter by related device UUID.
        - name: limit
          required: false
          in: query
          description: Number of results to return per page.
          schema:
            type: integer
            maximum: 500
            minimum: 1
        - name: page
          required: false
          in: query
          description: A page number within the paginated result set.
          schema:
            type: integer
        - in: query
          name: pod_id
          schema:
            type: array
            items:
              type: string
          description: Filter by related pod target identifier.
        - in: query
          name: rack_id
          schema:
            type: array
            items:
              type: string
              format: uuid
          description: Filter by related rack UUID.
        - in: path
          name: site_id
          schema:
            type: string
            format: uuid
          description: Site identifier.
          required: true
        - in: query
          name: target
          schema:
            $ref: '#/components/schemas/RequirementVerdictTargetEnum'
          description: Inventory target kind. Each kind maps to one acceptance gate.
          required: true
        - in: query
          name: verdict
          schema:
            type: array
            items:
              $ref: '#/components/schemas/StandupGateVerdictEnum'
          description: >-
            Optional. Keep only targets whose headline gate verdict is one of
            these; repeat the param to include more than one. This is the row's
            rolled-up `summary.verdict`, not any individual requirement's.
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PaginatedRequirementTargetRowList'
          description: ''
        '400':
          description: Validation error.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Authentication credentials were not provided or are invalid.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '403':
          description: You do not have permission to perform this action.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '404':
          description: Not found.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
      security:
        - oauth2:
            - operations:read
        - cookieAuth: []
components:
  schemas:
    RequirementVerdictTargetEnum:
      type: string
      enum:
        - device
        - rack
        - pod
    StandupGateVerdictEnum:
      enum:
        - pass
        - missing-evidence
        - stale-evidence
        - topology-incomplete
        - execution-error
        - threshold-failure
        - pending
      type: string
      description: |-
        * `pass` - PASS
        * `missing-evidence` - MISSING_EVIDENCE
        * `stale-evidence` - STALE_EVIDENCE
        * `topology-incomplete` - TOPOLOGY_INCOMPLETE
        * `execution-error` - EXECUTION_ERROR
        * `threshold-failure` - THRESHOLD_FAILURE
        * `pending` - PENDING
    PaginatedRequirementTargetRowList:
      type: object
      required:
        - count
        - results
      properties:
        count:
          type: integer
          example: 123
        next:
          type: string
          nullable: true
          format: uri
          example: http://api.example.org/accounts/?page=4
        previous:
          type: string
          nullable: true
          format: uri
          example: http://api.example.org/accounts/?page=2
        results:
          type: array
          items:
            $ref: '#/components/schemas/RequirementTargetRow'
    ErrorResponse:
      type: object
      description: >-
        Uniform error body for every 4xx/5xx response. `detail` is a
        human-readable message, always present, safe to display to end users.
        `code` is the machine-readable identifier. `field_errors` lists
        per-input-field validation messages and is empty for non-field errors
        (auth, permission, not-found, conflict, server).
      required:
        - detail
        - code
        - field_errors
      properties:
        detail:
          type: string
        code:
          $ref: '#/components/schemas/ErrorCodeEnum'
        field_errors:
          type: array
          items:
            $ref: '#/components/schemas/FieldError'
    RequirementTargetRow:
      type: object
      properties:
        target_id:
          type: string
        target_label:
          type: string
        parent_id:
          type: string
          nullable: true
        parent_label:
          type: string
          nullable: true
        resource_class_counts:
          type: object
          additionalProperties:
            type: integer
            minimum: 1
        rack_ids:
          type: array
          items:
            type: string
            format: uuid
        device_ids:
          type: array
          items:
            type: string
            format: uuid
        pod_ids:
          type: array
          items:
            type: string
        summary:
          $ref: '#/components/schemas/RequirementGateSummary'
      required:
        - device_ids
        - parent_id
        - parent_label
        - pod_ids
        - rack_ids
        - resource_class_counts
        - summary
        - target_id
        - target_label
    ErrorCodeEnum:
      type: string
      description: >-
        Stable machine-readable error identifier. New members may be added
        within this API version; clients must tolerate unknown values.
      enum:
        - error
        - invalid
        - parse_error
        - authentication_failed
        - not_authenticated
        - permission_denied
        - not_found
        - method_not_allowed
        - not_acceptable
        - unsupported_media_type
        - conflict
        - enrollment_infrastructure_reference_pending
        - enrollment_infrastructure_reference_changed
        - unprocessable_entity
        - throttled
        - service_unavailable
    FieldError:
      type: object
      description: One input field's validation messages.
      required:
        - field
        - messages
      properties:
        field:
          type: string
          description: >-
            Dotted path to the offending input field, or to the collection row
            when the whole row is invalid (e.g. `filters.end_date`,
            `memberships.0.role`, `memberships.0`).
        messages:
          type: array
          minItems: 1
          items:
            type: string
    RequirementGateSummary:
      type: object
      properties:
        verdict:
          $ref: '#/components/schemas/StandupGateVerdictEnum'
        passed_requirements:
          type: integer
          minimum: 0
        total_requirements:
          type: integer
          minimum: 0
        evaluated_at:
          type: string
          format: date-time
          nullable: true
        requirements:
          type: object
          additionalProperties:
            $ref: '#/components/schemas/RequirementVerdict'
          description: >-
            Map keyed by opaque requirement-column key. Missing keys mean the
            requirement does not apply to this target.
      required:
        - evaluated_at
        - passed_requirements
        - requirements
        - total_requirements
        - verdict
    RequirementVerdict:
      type: object
      properties:
        requirement_name:
          type: string
        resource_class:
          type: string
        verdict:
          $ref: '#/components/schemas/StandupGateVerdictEnum'
        evaluated_at:
          type: string
          format: date-time
          nullable: true
        policy_digest:
          type: string
          nullable: true
        test_execution_id:
          type: string
          format: uuid
          nullable: true
          description: >-
            Selected evidence execution, or null while no current projection
            exists.
      required:
        - evaluated_at
        - policy_digest
        - requirement_name
        - resource_class
        - test_execution_id
        - verdict
  securitySchemes:
    oauth2:
      type: oauth2
      flows: {}
    cookieAuth:
      type: apiKey
      in: cookie
      name: sessionid

````

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