---
title: "Get user"
method: GET
path: "/preview/v2/users/{id}"
tags: ["Users"]
---

# Get user

`GET /preview/v2/users/{id}`

> ⚠️ This endpoint is in [public preview](/preview/roadmap).

Returns user details by ID or resource path.

## Path parameters

- `id` string, required — A resource path like 'sfc:user:my-user' _or_ an ID. Resource paths are human-readable but not stable - they change when resources are renamed or moved. IDs are stable and permanent.

## Response `200`

User details.

- SfcApiUserResponse
  - `object` 'user', required
  - `id` string, required
  - `resource_path` string, required — A resource path for a user resource. Format: sfc:user:<name>.
  - `created_at` integer, required — Unix timestamp.

## Other responses

- `401` — Unauthorized.
- `403` — Forbidden.
- `404` — User not found.
- `500` — Internal server error.

---

[API](https://skmtc.net/sfcompute/apis/san-francisco-compute-documentation.md) · [All operations](https://skmtc.net/sfcompute/apis/san-francisco-compute-documentation/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/sfcompute/san-francisco-compute-documentation/revisions/93dd7661e9bb/schema)
