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

# List Pending Human Interventions

> Returns all pending human-in-the-loop (HITL) requests across the team's active
browser sessions. Each item includes the intervention request plus the session
ID and tags for routing responses.




## OpenAPI

````yaml /openapi.yaml get /v1/sessions/pending-interventions
openapi: 3.1.0
info:
  title: AnchorBrowser API
  version: 1.0.0
  description: APIs to manage all browser-related actions and configuration.
servers:
  - url: https://api.anchorbrowser.io
    description: API server
security: []
paths:
  /v1/sessions/pending-interventions:
    get:
      tags:
        - Agentic capabilities
      summary: List Pending Human Interventions
      description: >
        Returns all pending human-in-the-loop (HITL) requests across the team's
        active

        browser sessions. Each item includes the intervention request plus the
        session

        ID and tags for routing responses.
      responses:
        '200':
          description: Pending interventions retrieved successfully.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PendingInterventionsResponse'
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '500':
          description: Failed to get pending interventions
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
      security:
        - api_key_header: []
components:
  schemas:
    PendingInterventionsResponse:
      type: object
      properties:
        data:
          type: object
          properties:
            count:
              type: integer
              description: >-
                Total number of pending intervention requests across active
                sessions.
            items:
              type: array
              items:
                $ref: '#/components/schemas/PendingInterventionItem'
          required:
            - count
            - items
      required:
        - data
    ErrorResponse:
      type: object
      properties:
        error:
          type: object
          properties:
            code:
              type: integer
            message:
              type: string
    PendingInterventionItem:
      allOf:
        - $ref: '#/components/schemas/HumanInterventionRequest'
        - type: object
          properties:
            sessionId:
              type: string
              description: The browser session that raised the intervention request.
            tags:
              type: array
              items:
                type: string
              description: Tags associated with the session.
          required:
            - sessionId
            - tags
    HumanInterventionRequest:
      type: object
      description: A pending human-in-the-loop request from the agent.
      properties:
        requestId:
          type: string
          description: >-
            Unique identifier for the intervention request. Use this when
            responding.
        message:
          type: string
          description: The agent's prompt or question for the human operator.
        inputType:
          type: string
          enum:
            - text
            - confirm
            - fields
          description: Expected response format (camelCase alias).
        fields:
          type: array
          nullable: true
          description: Form fields to collect when `inputType` is `fields`.
          items:
            $ref: '#/components/schemas/HumanInterventionField'
      required:
        - requestId
        - message
    HumanInterventionField:
      type: object
      properties:
        name:
          type: string
          description: Field identifier used in the response payload.
        label:
          type: string
          description: Human-readable label displayed in the UI.
        description:
          type: string
          nullable: true
          description: Optional helper text for the field.
        required:
          type: boolean
          nullable: true
          description: Whether the field must be filled before submitting a response.
        type:
          type: string
          nullable: true
          enum:
            - text
            - number
            - url
            - email
            - password
          description: Input type for the field.
        placeholder:
          type: string
          nullable: true
          description: Placeholder text shown in the input.
        defaultValue:
          type: string
          nullable: true
          description: Default value for the field (camelCase alias).
      required:
        - name
        - label
  securitySchemes:
    api_key_header:
      type: apiKey
      in: header
      name: anchor-api-key
      description: API key passed in the header

````