List Prospect Events
list_prospect_eventsSpans every campaign by default; pass agent_id to scope to one. To page further
back, re-call with before set to the oldest returned event's occurred_at.
Dict with count, a summary block (replies_this_week, accepts_this_week,
posts_found_this_week, meetings_booked_this_week), and an events array. Events are newest-first; each is
{id, kind, channel, owner_email, occurred_at, time_precision, subject_type, snippet,
turn, prospect: {id, name, linkedin_url, provider_id, title, company,
has_conversation}, agent: {id, title} | null, queued_followup: {...} |
null}. turn is 'user' when a draft awaits the user's approval, 'sliq'
when a send is queued, else 'none'; queued_followup carries that drafted
next step when one exists. prospect.id is null when the event isn't
attributable to a tracked row.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kinds | No | Sources to include — any of 'accept', 'linkedin_reply', 'email_reply'. Omit for all three. | |
| limit | No | Max events (default 50, capped at 200). Page older with `before`. | |
| before | No | ISO 8601 timestamp cursor; only events strictly older are returned (pass a prior page's oldest `occurred_at`). | |
| agent_id | No | Scope the events and the summary to one campaign. Omit for the cross-campaign feed. Note `turn` stays prospect-scoped — it can read 'user' off a draft awaiting approval under a different campaign for the same person; `queued_followup` is campaign-matched and won't. | |
| as_teammate | No | Read a consented teammate's activity instead of your own — pass their email. Gated on that teammate's conversation-sharing setting; a teammate who hasn't shared is rejected. Omit for your own. |