---
title: "Retrieve a user"
method: GET
path: "/users/{id}"
tags: ["Users"]
---

# Retrieve a user

`GET /users/{id}`

Returns one user that belongs to the authenticated agent.

## Path parameters

- `id` string, required

## Response `200`

The user.

- User
  - `avatar_url` string, uri, nullable, required
  - `display_name` string, nullable, required
  - `email` string, email, nullable, required
  - `external_id` string, nullable, required
  - `first_seen_at` string, date-time, required
  - `id` string, required
  - `identity_type` string, required — The observed identity kind. Current integrations use anonymous, user, or preview; legacy rows can report unknown.
  - `last_seen_at` string, date-time, required
  - `object` 'user', required

## Other responses

- `400` — The request parameters are invalid.
- `401` — The Agent API key is missing, invalid, or revoked.
- `403` — The API key does not have the required permission.
- `404` — The resource does not exist for the authenticated agent.
- `429` — Too many requests. Retry after the number of seconds in Retry-After.
- `500` — The request failed unexpectedly.
- `503` — The API is temporarily unavailable. The request was not processed.

---

[API](https://skmtc.dev/heroui/apis/heroui-agents-api.md) · [All operations](https://skmtc.dev/heroui/apis/heroui-agents-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/heroui/heroui-agents-api/revisions/b8efcc339d1b/schema)
