v44

latestOpenAPI 3.1.0raw.githubusercontent.com2026-05-20129390589.6 KB
Users

Get user

⚠️ This endpoint is in public preview.

Returns user details by ID or resource path.

get/preview/v2/users/{id}

Path parameters

idstring 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.

Example:my-resource-name

User ID or resource path

Response

User details.

object'user' required
idstring required
resource_pathstring required

A resource path for a user resource. Format: sfc:user:<name>.

created_atinteger required

Unix timestamp.

Example response

{
  "object": "user",
  "id": "my-resource-name",
  "resource_path": "sfc:user:<name>",
  "created_at": 1738972800
}