> ## Documentation Index
> Fetch the complete documentation index at: https://docs.mossdesk.com/llms.txt
> Use this file to discover all available pages before exploring further.

# activity

> View activity timelines for contacts and deals.

Activity timelines show you the full history of a contact or deal — interactions, stage changes, follow-ups, and commitments — in chronological order.

## moss activity contact

Show the activity timeline for a contact — interactions, deal changes, follow-ups, and commitments.

```bash theme={null}
moss activity contact --id cnt_abc123
```

| Option           | Required | Description    |
| ---------------- | -------- | -------------- |
| `--id <id>`      | Yes      | Contact ID     |
| `--page <n>`     | No       | Page number    |
| `--per-page <n>` | No       | Items per page |

### JSON output

```bash theme={null}
moss activity contact --id cnt_abc123 --json
```

```json theme={null}
{
  "data": [
    {
      "type": "interaction",
      "event": "meeting logged",
      "timestamp": "2026-02-08T14:00:00Z",
      "details": { "interaction_id": "int_abc123", "notes": "Discussed roadmap" }
    },
    {
      "type": "deal",
      "event": "stage moved to proposal",
      "timestamp": "2026-02-07T10:00:00Z",
      "details": { "deal_id": "deal_abc123" }
    }
  ],
  "meta": { "page": 1, "per_page": 25, "total": 12, "total_pages": 1 }
}
```

## moss activity deal

Show the activity timeline for a deal.

```bash theme={null}
moss activity deal --id deal_abc123
```

| Option           | Required | Description    |
| ---------------- | -------- | -------------- |
| `--id <id>`      | Yes      | Deal ID        |
| `--page <n>`     | No       | Page number    |
| `--per-page <n>` | No       | Items per page |
