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

# Resolve a pending agent interaction



## OpenAPI

````yaml /api-reference/openapi.json post /agent/sessions/{sessionId}/interactions/{interactionId}/resolve
openapi: 3.1.0
info:
  title: Replo Public API
  version: '2026-07-11'
servers:
  - url: https://api.replo.app/v1
security: []
paths:
  /agent/sessions/{sessionId}/interactions/{interactionId}/resolve:
    post:
      tags:
        - Agent
      summary: Resolve a pending agent interaction
      operationId: agent.interactionResolve
      parameters:
        - name: Replo-Api-Version
          in: header
          required: true
          schema:
            type: string
            enum:
              - '2026-07-11'
          description: The public API version to use for this request.
        - schema:
            type: string
            format: uuid
          required: true
          name: sessionId
          in: path
        - schema:
            type: string
            minLength: 1
          required: true
          name: interactionId
          in: path
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                type:
                  type: string
                  enum:
                    - permission
                decision:
                  type: string
                  enum:
                    - approve
                    - reject
              required:
                - type
                - decision
              additionalProperties: false
              description: PublicResolveAgentInteractionBody
      responses:
        '200':
          description: Resolve a pending agent interaction
          content:
            application/json:
              schema:
                type: object
                properties:
                  sessionId:
                    type: string
                    format: uuid
                  dashboardUrl:
                    type: string
                    format: uri
                  status:
                    type: string
                    enum:
                      - starting
                      - running
                      - completed
                      - failed
                  pendingInteractions:
                    type: array
                    items:
                      type: object
                      properties:
                        type:
                          type: string
                          enum:
                            - permission
                        response:
                          type: object
                          properties:
                            type:
                              type: string
                              enum:
                                - choice
                            instruction:
                              type: string
                              minLength: 1
                            options:
                              type: array
                              items:
                                type: object
                                properties:
                                  value:
                                    type: string
                                    minLength: 1
                                  label:
                                    type: string
                                    minLength: 1
                                required:
                                  - value
                                  - label
                                additionalProperties: false
                              minItems: 1
                          required:
                            - type
                            - options
                          additionalProperties: false
                        id:
                          type: string
                          minLength: 1
                        permission:
                          type: string
                          minLength: 1
                        patterns:
                          type: array
                          items:
                            type: string
                        metadata:
                          type: object
                          additionalProperties: {}
                      required:
                        - type
                        - response
                        - id
                        - permission
                        - patterns
                        - metadata
                  error:
                    type:
                      - string
                      - 'null'
                  latestMessage:
                    type:
                      - object
                      - 'null'
                    properties:
                      role:
                        type: string
                        enum:
                          - assistant
                      text:
                        type: string
                      createdAt:
                        type: string
                      completedAt:
                        type:
                          - string
                          - 'null'
                    required:
                      - role
                      - text
                      - createdAt
                      - completedAt
                  latestTool:
                    type:
                      - object
                      - 'null'
                    properties:
                      name:
                        type: string
                      status:
                        type: string
                      title:
                        type:
                          - string
                          - 'null'
                      at:
                        type: string
                    required:
                      - name
                      - status
                      - title
                      - at
                  lastActivityAt:
                    type: string
                required:
                  - sessionId
                  - dashboardUrl
                  - status
                  - pendingInteractions
                  - error
                  - latestMessage
                  - latestTool
                  - lastActivityAt
        '400':
          description: Invalid request.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PublicApiError'
        '401':
          description: Missing or invalid Replo Public API token.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PublicApiError'
        '403':
          description: You are not authorized to access this resource.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PublicApiError'
        '404':
          description: Not Found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PublicApiError'
        '409':
          description: The resource is in a conflicting state.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PublicApiError'
        '429':
          description: >-
            Too many requests. Please retry after the time indicated by the
            Retry-After header.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PublicApiError'
        '500':
          description: An internal error occurred.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PublicApiError'
        '503':
          description: Service temporarily unavailable.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PublicApiError'
      security:
        - bearerAuth: []
components:
  schemas:
    PublicApiError:
      type: object
      properties:
        error:
          type: object
          properties:
            code:
              type: string
            message:
              type: string
            doc_url:
              type: string
          required:
            - code
            - message
            - doc_url
      required:
        - error
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer

````