---
title: "Paginated identity-event timeline for a user (DESC by createdAt)"
method: GET
path: "/api/users/{id}/events"
tags: ["Users"]
---

# Paginated identity-event timeline for a user (DESC by createdAt)

`GET /api/users/{id}/events`

## Path parameters

- `id` string, required

## Query parameters

- `limit` integer
- `before` string

## Response `200`

Array of identity events

- object
  - `events` object[], required
    - `id` string, required
    - `userId` string, required
    - `eventType` string, required
    - `actor` string, required
    - `before` unknown
    - `after` unknown
    - `createdAt` string, required

## Other responses

- `401` — Unauthorized
- `404` — User not found

## Changes

- **2026-08-07** `06cac6a7c5bc` — 3 info
  - added the media type `application/json` for the response with the status `200`
  - added the media type `application/json` for the response with the status `401`
  - added the media type `application/json` for the response with the status `404`

[Change history](https://skmtc.dev/desplega-ai/apis/agent-swarm-api/changes/api/users/:id/events/get.md)

---

[API](https://skmtc.dev/desplega-ai/apis/agent-swarm-api.md) · [All operations](https://skmtc.dev/desplega-ai/apis/agent-swarm-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/desplega-ai/agent-swarm-api/revisions/e0acd2155cad/schema)
