# Get Timeline Activity

`lawmatics_get-timeline-activity` · Lawmatics MCP tool · Timeline Activities

Fetch a single timeline activity from Lawmatics by ID. Timeline activities are audit-log events on a matter's or contact's history — note creation, status changes, task and email activity — each linking the actor (owner), the tracked record, and the recipient.

## Input

- **activityId** `string` (required, pattern: ^\d+$) — ID of the timeline activity to fetch; a numeric string (e.g. '101')

## Output

- **id** `string` (required) — Lawmatics timeline activity ID
- **activityKey** `string` (required) — Event identifier for the activity (e.g. "note.create", "prospect.update")
- **activityType** `string` (required) — Activity-type class (e.g. "note", "TimelineActivity::Prospect")
- **detailKeys** `any` (required) — Activity detail payload; shape varies by activity type — an object with body/name for note events, or an array of objects for others. Null when the activity carries no detail
- **parentId** `string | null` (required) — ID of the parent activity this one is nested under; null when it has no parent
- **createdAt** `string | null` (required) — When the activity occurred, as an ISO 8601 timestamp; null when the API omits it for this activity
- **updatedAt** `string | null` (required) — When the activity was last updated, as an ISO 8601 timestamp; null when the API omits it for this activity
- **owner** `object | null` (required) — Who performed the activity (the acting user, firm, or application); null when unattributed
  - **id** `string` (required) — ID of the referenced Lawmatics record
  - **type** `string` (required) — Record type of the reference (e.g. "user", "firm", "note", "prospect", "contact")
- **tracked** `object | null` (required) — The record the activity is about (e.g. the note or task that changed); null when none is tracked
  - **id** `string` (required) — ID of the referenced Lawmatics record
  - **type** `string` (required) — Record type of the reference (e.g. "user", "firm", "note", "prospect", "contact")
- **recipient** `object | null` (required) — The contact or matter the activity pertains to; null when none applies
  - **id** `string` (required) — ID of the referenced Lawmatics record
  - **type** `string` (required) — Record type of the reference (e.g. "user", "firm", "note", "prospect", "contact")
