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

# List Meta agent connector errors

> The errors the connected system returned in the last 7 days, with optional health stats.



## OpenAPI

````yaml https://api.useinvent.com/openapi.json get /orgs/{org_id}/connections/{connection_id}/whatsapp/phone-numbers/{phone_number_id}/meta-agent/connectors/{connector_id}/logs
openapi: 3.1.0
info:
  version: 1.0.0
  title: Invent API
servers:
  - url: https://api.useinvent.com
security:
  - bearerAuth: []
tags:
  - name: Inbox
  - name: Chats
  - name: Messages
  - name: Contacts
  - name: Custom channels
  - name: Segments
  - name: Suppressions
  - name: Assistants
  - name: Agents
  - name: Skills
  - name: Knowledge
  - name: AI
  - name: Broadcasts
  - name: Email sending
  - name: WhatsApp
  - name: WhatsApp Meta agent
  - name: Tables
  - name: Records
  - name: Views
  - name: Pages
  - name: Connections
  - name: Workspace
  - name: Sub-organizations
  - name: Analytics and logs
  - name: Workflows
paths:
  /orgs/{org_id}/connections/{connection_id}/whatsapp/phone-numbers/{phone_number_id}/meta-agent/connectors/{connector_id}/logs:
    get:
      tags:
        - WhatsApp Meta agent
      summary: List Meta agent connector errors
      description: >-
        The errors the connected system returned in the last 7 days, with
        optional health stats.
      parameters:
        - schema:
            type: string
          required: true
          description: The ID of the org
          name: org_id
          in: path
        - schema:
            type: string
          required: true
          description: The ID of the connection
          name: connection_id
          in: path
        - schema:
            type: string
          required: true
          description: The ID of the WhatsApp phone number the Meta agent runs on
          name: phone_number_id
          in: path
        - schema:
            type: string
          required: true
          description: The ID of the connector
          name: connector_id
          in: path
        - schema:
            type:
              - integer
              - 'null'
            description: Unix seconds. Logs go back 7 days; defaults to the last 24 hours.
          required: false
          description: Unix seconds. Logs go back 7 days; defaults to the last 24 hours.
          name: start_time
          in: query
        - schema:
            type:
              - integer
              - 'null'
          required: false
          name: end_time
          in: query
        - schema:
            type: integer
            minimum: 1
            maximum: 1000
          required: false
          name: limit
          in: query
        - schema:
            type: string
            maxLength: 128
          required: false
          name: tool_id
          in: query
        - schema:
            type: boolean
          required: false
          name: include_stats
          in: query
        - schema:
            type: boolean
          required: false
          name: summary_only
          in: query
        - schema:
            type: integer
            minimum: 1
            maximum: 50
          required: false
          name: top_n
          in: query
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/WhatsAppMetaAgentConnectorLogsSchema'
components:
  schemas:
    WhatsAppMetaAgentConnectorLogsSchema:
      type: object
      properties:
        data:
          type: array
          items:
            type: object
            properties:
              event_time:
                anyOf:
                  - type: string
                  - type: number
              failure_code_name:
                type: string
              error_message:
                type: string
              tool_name:
                type: string
              occurrences:
                type: number
              last_seen:
                anyOf:
                  - type: string
                  - type: number
        stats:
          type: object
          properties:
            start_count:
              type: number
            success_count:
              type: number
            exception_count:
              type: number
            success_rate:
              type: number
            avg_latency_s:
              type: number
            p95_latency_s:
              type: number
            p99_latency_s:
              type: number
            time_window_seconds:
              type: number
      required:
        - data
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: API Key
      description: Bearer token authentication using your API key

````