# Get Contact Activity (`get_contact_activity`)

Part of the [Outfield MCP Server](https://run.outfieldapp.com/docs/mcp) docs. All tools: [llms.txt](https://run.outfieldapp.com/docs/mcp/llms.txt). Server URL: https://run.outfieldapp.com/mcp

The interaction timeline for one contact (check-ins, meetings, calls, emails, texts, notes, tasks and progressed deals), newest first.

Load structured account/contact activity for AI summarization. Returns up to 50 interactions per call, newest first. If meta.has_more is true, you can call again with cursor set to meta.next_cursor to fetch the next older page if appropriate. You can repeat until meta.has_more is false to retrieve the full activity history, but more than the first page is not necessary if you were prompted to summarize recent activity for example.

- Scopes: `ai:read`
- Requires: AI, Team activity, not available to Viewer users
- Example prompts: "Summarize recent activity at my Best Buy account."

### Parameters

- `contact_id` (integer; required): Account/contact ID
- `interaction_ids` (integer[]; optional): Limit to specific interaction IDs
- `start_date` (string; optional; ISO 8601 date or datetime): Start of activity date range (paired with end_date)
- `end_date` (string; optional; ISO 8601 date or datetime): End of activity date range (paired with start_date)
- `limit` (integer; optional): Max interactions returned per page. Default 50, max 50
- `cursor` (string; optional): Opaque pagination cursor from a previous response's meta.next_cursor. Pass this to fetch the next page of older interactions when meta.has_more is true.

### Notes

- Returns up to 50 interactions per page. The first page is usually enough to summarize recent activity.

### Example request

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "get_contact_activity",
    "arguments": {
      "contact_id": 48213,
      "start_date": "2026-09-01",
      "end_date": "2026-09-29",
      "limit": 20
    }
  }
}
```

### Example response (`structuredContent`, illustrative data)

```json
{
  "contact": {
    "id": 48213,
    "name": "Acme Grocery",
    "contact_type": "place"
  },
  "included_contact_ids": [],
  "interactions": [
    {
      "id": 771204,
      "interaction_type": "check_in",
      "title": "Store visit",
      "notes": "Shelves fully stocked. New endcap is up.",
      "created_at": "2026-09-29T14:30:00-05:00",
      "user": "Jordan Rivera",
      "contacts": "Acme Grocery",
      "form_results": "Shelf condition: Fully stocked",
      "ended_at": "2026-09-29T15:30:00-05:00",
      "reported_ended_at": "2026-09-29T14:30:00-05:00",
      "recorded_duration_minutes": 1,
      "reported_duration_minutes": 1,
      "rep_latitude": 12.0,
      "rep_longitude": 12.0,
      "site_status": "On-site"
    }
  ],
  "meta": {
    "limit": 20,
    "has_more": false,
    "next_cursor": null,
    "interaction_count": 1,
    "start_date": "2026-09-01",
    "end_date": "2026-09-29"
  }
}
```

### Response fields

- `contact` (object)
  - `id` (integer)
  - `name` (string | null)
  - `contact_type` (string): place or person
- `included_contact_ids` (integer[]): Contact plus linked contact IDs included in the activity scope
- `interactions` (object[])
  - `id` (integer)
  - `interaction_type` (string)
  - `title` (string | null)
  - `notes` (string | null)
  - `created_at` (string): ISO8601 timestamp
  - `user` (string | null): Creator or owner display name
  - `contacts` (string): Comma-joined contact names
  - `form_results` (string | null)
  - `ended_at` (string | null): Actual end or check-out as an ISO8601 timestamp
  - `reported_ended_at` (string | null): Recorded start (or interaction occurrence time when unavailable) plus reported duration as an ISO8601 timestamp
  - `recorded_duration_minutes` (integer | null): Elapsed time from recorded start to end, rounded to whole minutes
  - `reported_duration_minutes` (integer | null): Rep's edited duration, rounded to whole minutes
  - `rep_latitude` (number | null): Latitude from the check-in or meeting path, preferring the start point
  - `rep_longitude` (number | null): Longitude from the same path point as rep_latitude
  - `site_status` (string): On-site below 0.5 miles from the contact. Off-site at 0.5 miles or more, or when distance is missing.
- `meta` (object)
  - `limit` (integer)
  - `has_more` (boolean)
  - `next_cursor` (string | null): Opaque cursor for the next page; null when has_more is false
  - `interaction_count` (integer)
  - `start_date` (string | null): ISO8601 start of filter range
  - `end_date` (string | null): ISO8601 end of filter range

Related tools: [search_contacts](https://run.outfieldapp.com/docs/mcp/tools/search_contacts.md), [get_contact_detail](https://run.outfieldapp.com/docs/mcp/tools/get_contact_detail.md), [get_contact_deals](https://run.outfieldapp.com/docs/mcp/tools/get_contact_deals.md)
