AISalesAgent

Get AI Sales Agent analytics

Changed on

Get daily analytics (leads found, emails sent, replies, opportunities, total email activity) merged across all campaigns of the AI Sales Agent. When start_date and end_date are omitted, the response covers all-time data.

Requires one of the following scopes: ai_sdr:read, ai_sdr:all, all:read, all:all

get/api/v2/ai-agents/sales/{id}/analytics

Request

  • Base URL
    https://api.instantly.ai
  • URL
    https://api.instantly.ai/api/v2/ai-agents/sales/{id}/analytics
  • Auth
    HTTP bearer

Path parameters

idstring uuid required
Example:01a19e6f-7b46-75a1-8341-548c7c2668b7

AI Sales Agent ID

Query parameters

start_datestring date-time
Example:2026-11-02T22:44:28.614Z

Start date filter (ISO 8601). When omitted, results are not bounded by a start date (all-time data up to end_date).

end_datestring date-time
Example:2026-11-02T22:44:28.614Z

End date filter (ISO 8601). When omitted, results run up to the present.

Response

Merged analytics data

Example response

{
  "total_email_activity_per_day": [
    {
      "x": "2026-11-02T22:44:28.614Z",
      "y": 100
    }
  ],
  "replies_per_day": [
    {
      "x": "2026-11-02T22:44:28.614Z",
      "y": 50
    }
  ],
  "leads_found_per_day": [
    {
      "x": "2026-11-02T22:44:28.614Z",
      "y": 25
    }
  ],
  "opportunities_per_day": [
    {
      "x": "2026-11-02T22:44:28.614Z",
      "y": 10
    }
  ],
  "totals": {
    "total_sent": 100,
    "replies": 50,
    "opportunities": 10,
    "opportunities_amount": 50000,
    "total_email_activity": 200,
    "leads_found": 500
  }
}

Changes