AISalesAgent

List AI Sales Agent activities

Changed on

List all activities for the AI Sales Agent.

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

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

Request

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

Path parameters

idstring uuid required
Example:01a19e6d-9fde-799d-8aa8-6b5c90c5c43e

AI Sales Agent ID

Query parameters

limitinteger
Example:10

The number of items to return

starting_afterstring
Example:01956fbd-0eb1-72db-a565-82977a586084

The ID of the last item in the previous page - used for pagination. You can use the value of the next_starting_after field from the previous response.

action_statusstring[]

Filter by activity status (array of statuses)

[
  "pending",
  "in_progress"
]
action_typestring[]

Filter by action type (array of types)

[
  "initial_setup_scrape",
  "initial_setup_campaigns"
]
exclude_live_feed_hiddenboolean
Example:true

Exclude activities the AI Sales Agent live feed hides (warnings and delivered lead recommendations) so pagination stays accurate. Defaults to false.

lead_emailstring
Example:lead@example.com

Filter activities to a lead email address.

Response

The list of AI Sales Agent activities

next_starting_afterstring

The filter for getting the next activities after this one - an activity ID

Example response

{
  "items": [
    {
      "id": "01a19e6d-6106-7888-9fd2-0d4dada901fa",
      "ai_sdr_id": "01a19e6d-6106-7888-9fd2-0d4f8501fec9",
      "workspace_id": "01a19e6d-6106-7888-9fd2-0d517f753abd",
      "action_type": "create_campaign",
      "action_status": "pending",
      "email_id": "01a19e6d-6106-7888-9fd2-0d52c963839a",
      "approved_by": "01a19e6d-6106-7888-9fd2-0d5408dbc8db",
      "approved_at": "2026-11-02T22:42:10.822Z",
      "rejected_by": "01a19e6d-6106-7888-9fd2-0d5609627f22",
      "rejected_at": "2026-11-02T22:42:10.822Z",
      "rejection_reason": "Not aligned with current strategy",
      "ai_reasoning": "This lead matches the ICP criteria and has shown interest",
      "ai_confidence": 0.85,
      "error_message": "Failed to create campaign: Invalid email list",
      "error_code": "insufficient_credits",
      "timestamp_created": "2026-11-02T22:42:10.822Z",
      "timestamp_updated": "2026-11-02T22:42:10.822Z",
      "timestamp_executed": "2026-11-02T22:42:10.822Z",
      "timestamp_completed": "2026-11-02T22:42:10.822Z"
    }
  ],
  "next_starting_after": "01a19e6d-b318-7511-84ad-f9834b63302f"
}

Changes