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

# List agent tool executions for a conversation

> Newest calls first, paginated by nextCursor. Requires read scope. Logs expire after 60 days. Credentials are masked; partner-managed agent logs are not exposed.



## OpenAPI

````yaml get /v1/conversations/{id}/agent-tool-executions
openapi: 3.0.0
info:
  title: Kinbox API
  description: Kinbox public API
  version: '2.0'
  contact: {}
servers: []
security: []
tags: []
paths:
  /v1/conversations/{id}/agent-tool-executions:
    get:
      tags:
        - v1AgentToolExecutions
      summary: List agent tool executions for a conversation
      description: >-
        Newest calls first, paginated by nextCursor. Requires read scope. Logs
        expire after 60 days. Credentials are masked; partner-managed agent logs
        are not exposed.
      operationId: findByConversation
      parameters:
        - name: id
          required: true
          in: path
          description: Conversation id (customerPlatformId)
          schema:
            type: number
        - name: limit
          required: false
          in: query
          schema:
            minimum: 1
            maximum: 100
            default: 50
            type: number
        - name: cursor
          required: false
          in: query
          description: Cursor retornado na página anterior
          schema:
            type: string
        - name: callId
          required: false
          in: query
          description: Filtra um atendimento específico da conversa
          schema:
            type: string
        - name: executionId
          required: false
          in: query
          schema:
            type: string
        - name: agentId
          required: false
          in: query
          schema:
            type: string
        - name: toolName
          required: false
          in: query
          schema:
            type: string
        - name: status
          required: false
          in: query
          schema:
            type: string
            enum:
              - running
              - success
              - error
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ToolExecutionsPageDto'
      security:
        - bearer: []
components:
  schemas:
    ToolExecutionsPageDto:
      type: object
      properties:
        data:
          type: array
          items:
            $ref: '#/components/schemas/ToolExecutionDto'
        nextCursor:
          type: object
          nullable: true
      required:
        - data
        - nextCursor
    ToolExecutionDto:
      type: object
      properties:
        id:
          type: string
        conversationId:
          type: string
        callId:
          type: string
        executionId:
          type: string
        agentId:
          type: string
        parentAgentId:
          type: string
        actionId:
          type: string
        toolCallId:
          type: string
        toolName:
          type: string
        status:
          type: string
          enum:
            - running
            - success
            - error
        startedAt:
          type: string
        endedAt:
          type: string
        durationMs:
          type: number
        input:
          type: object
          description: Parâmetros, com credenciais mascaradas
        output:
          type: object
        error:
          type: object
        inputTruncated:
          type: boolean
        outputTruncated:
          type: boolean
        errorTruncated:
          type: boolean
      required:
        - id
        - conversationId
        - callId
        - executionId
        - agentId
        - toolCallId
        - toolName
        - status
        - startedAt
        - inputTruncated
        - outputTruncated
        - errorTruncated
  securitySchemes:
    bearer:
      scheme: bearer
      bearerFormat: JWT
      type: http

````

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