# ActivityItem

> One line of the activity feed, already phrased for people.

One line of the activity feed, already phrased for people.

## Fields

| Field | Type | Description |
| --- | --- | --- |
| `id` * | string |  |
| `occurred_at` * | string (date-time) |  |
| `actor` * | [Actor](/docs/api/objects/actor/) |  |
| `action` * | string |  |
| `summary` * | string |  |
| `project` | [ResourceRef](/docs/api/objects/resource-ref/) or any or null |  |
| `environment` | string or null |  |
| `resource` | [ResourceRef](/docs/api/objects/resource-ref/) or any or null |  |
| `outcome` * | `success`, `failure`, `denied`, `approval_required` |  |
| `operation_id` | string or null |  |
| `approval_id` | string or null |  |

\* always present

## Example

```json
{
  "id": "evt_01jbx2m9k7q4r8t5v6w3y0z1pr",
  "occurred_at": "2026-10-22T13:05:00Z",
  "actor": {
    "type": "agent",
    "id": "tok_01jbx2m9k7q4r8t5v6w3y0z1tk",
    "display": "Stewart Webb via agent claude-code-on-stewart-laptop",
    "via_agent": {
      "id": "tok_01jbx2m9k7q4r8t5v6w3y0z1tk",
      "name": "claude-code-on-stewart-laptop"
    },
    "on_behalf_of": {
      "id": "usr_01jbx2m9k7q4r8t5v6w3y0z1us",
      "display": "Stewart Webb"
    }
  },
  "action": "deployment.create",
  "summary": "Stewart Webb via agent claude-code-on-stewart-laptop deployed web to staging",
  "project": {
    "type": "service",
    "id": "svc_01jbx2m9k7q4r8t5v6w3y0z1sv",
    "name": "web",
    "url": "/v1/projects/primecarers/services/web"
  },
  "environment": "string",
  "resource": {
    "type": "service",
    "id": "svc_01jbx2m9k7q4r8t5v6w3y0z1sv",
    "name": "web",
    "url": "/v1/projects/primecarers/services/web"
  },
  "outcome": "success",
  "operation_id": "string",
  "approval_id": "string"
}
```
