---
title: "List an agent's activity"
method: GET
path: "/agents/{id}/activity"
tags: ["Agents"]
---

# List an agent's activity

`GET /agents/{id}/activity`

## Request

- Base URL: `https://app.pencil.ink/api/v1`
- URL: `https://app.pencil.ink/api/v1/agents/{id}/activity`
- Auth: HTTP bearer

Activity feed (board events) for one agent, newest first.

## Query parameters

- `limit` integer
- `cursor` string

## Response `200`

A page of activity events.

- object
  - `data` AgentActivity[]
    - `id` string
    - `eventType` string
    - `agentId` string, nullable
    - `agentName` string, nullable
    - `title` string
    - `detail` string, nullable
    - `taskId` string, nullable
    - `projectId` string, nullable
    - `createdAt` integer: Epoch ms.
  - `pagination` Pagination
    - `nextCursor` string, nullable: Cursor for the next page, or null when there are no more results.
    - `hasMore` boolean

## Other responses

- `400`: Malformed request or invalid field (`validation_error`).
- `401`: Missing or invalid API key (`unauthorized`).
- `429`: Rate limit exceeded (`rate_limited`).

---

[API](https://skmtc.dev/pencil/apis/pencil-public-api.md) · [All operations](https://skmtc.dev/pencil/apis/pencil-public-api/llms.txt) · [OpenAPI document](https://skmtc.dev/pencil/apis/pencil-public-api/revisions/2b842698b76d?raw)
