> ## 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 test execution stale holds

> Read-only audit trail of mark-stale actions (who, when, why, which records),
with an undo action to reverse a mistaken mark.



## OpenAPI

````yaml /openapi/fleet-manager-openapi.yaml get /api/v1/burn-in/test-execution-stale-holds/
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/burn-in/test-execution-stale-holds/:
    get:
      tags:
        - Burn-in
      summary: List test execution stale holds
      description: >-
        Read-only audit trail of mark-stale actions (who, when, why, which
        records),

        with an undo action to reverse a mistaken mark.
      operationId: api_v1_burn_in_test_execution_stale_holds_list
      parameters:
        - in: query
          name: created_by
          schema:
            type: array
            items:
              type: string
          description: Multiple values may be separated by commas.
          explode: false
          style: form
        - in: query
          name: device_id
          schema:
            type: array
            items:
              type: string
              format: uuid
          description: Multiple values may be separated by commas.
          explode: false
          style: form
        - name: limit
          required: false
          in: query
          description: Number of results to return per page.
          schema:
            type: integer
            maximum: 500
            minimum: 1
        - in: query
          name: operation_slug
          schema:
            type: string
        - name: page
          required: false
          in: query
          description: A page number within the paginated result set.
          schema:
            type: integer
        - in: query
          name: rack_id
          schema:
            type: array
            items:
              type: string
              format: uuid
          description: Multiple values may be separated by commas.
          explode: false
          style: form
        - in: query
          name: source
          schema:
            $ref: '#/components/schemas/TestExecutionStaleHoldSourceEnum'
          description: Filter holds by why the executions were marked stale.
        - in: query
          name: test_slug
          schema:
            type: string
        - in: query
          name: topology_group_id
          schema:
            type: array
            items:
              type: string
              format: uuid
          description: Multiple values may be separated by commas.
          explode: false
          style: form
        - in: query
          name: undone
          schema:
            type: boolean
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PaginatedTestExecutionStaleHoldList'
          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'
      security:
        - oauth2:
            - test-execution-stale-hold:read
        - cookieAuth: []
components:
  schemas:
    TestExecutionStaleHoldSourceEnum:
      enum:
        - manual
        - operation
      type: string
      description: |-
        * `manual` - Manual
        * `operation` - Operation
    PaginatedTestExecutionStaleHoldList:
      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/TestExecutionStaleHold'
    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'
    TestExecutionStaleHold:
      type: object
      description: >-
        Serializer for TestExecutionStaleHold audit records.


        Exposes flat ID lists rather than nested TestExecution payloads, to keep

        list responses small. Operation slug/label/test_slugs are frozen
        snapshots

        taken from the YAML catalog at hold-creation time — they don't reference
        a

        live row.
      properties:
        id:
          type: string
          format: uuid
          readOnly: true
        created_by_username:
          type: string
          nullable: true
          readOnly: true
        undone_by_username:
          type: string
          nullable: true
          readOnly: true
        operation_slug_snapshot:
          type: string
          readOnly: true
        operation_label_snapshot:
          type: string
          readOnly: true
        operation_test_slugs_snapshot:
          type: array
          items:
            type: string
          readOnly: true
        test_execution_ids:
          type: array
          items:
            type: string
            format: uuid
          readOnly: true
        created_at:
          type: string
          format: date-time
          readOnly: true
        updated_at:
          type: string
          format: date-time
          readOnly: true
        source:
          $ref: '#/components/schemas/TestExecutionStaleHoldSourceEnum'
        note:
          type: string
          maxLength: 1000
        created_by_display_name:
          type: string
          description: >-
            Frozen snapshot of who created this hold — survives account
            deletion.
          maxLength: 255
        undone_at:
          type: string
          format: date-time
          nullable: true
        undone_by_display_name:
          type: string
          maxLength: 255
        created_by:
          type: integer
          nullable: true
        undone_by:
          type: integer
          nullable: true
      required:
        - created_at
        - created_by_display_name
        - created_by_username
        - id
        - operation_label_snapshot
        - operation_slug_snapshot
        - operation_test_slugs_snapshot
        - source
        - test_execution_ids
        - undone_by_username
        - updated_at
    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
  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.