> ## Documentation Index
> Fetch the complete documentation index at: https://openrouter.ai/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# ExternalUser

## Example Usage

```typescript theme={null}
import { ExternalUser } from "@openrouter/sdk/models";

let value: ExternalUser = {
  createdAt: new Date("2026-09-16T12:00:00Z"),
  isActive: true,
  updatedAt: new Date("2026-09-16T12:00:00Z"),
  user: "employee_123",
};
```

## Fields

| Field | Type | Required | Description | Example |
| - | - | - | - | - |
| `createdAt` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | ✔️ | Registration creation time. | 2026-09-16T12:00:00Z |
| `isActive` | *boolean* | ✔️ | Whether this registration is active. Not an inference authorization decision. | true |
| `updatedAt` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | ✔️ | Last registration lifecycle update time. | 2026-09-16T12:00:00Z |
| `user` | *string* | ✔️ | Immutable case-sensitive tracking string supplied as user on inference requests or as external.user on API keys: 1 to 512 characters, well-formed Unicode, no NUL, no surrounding whitespace. URL-encode it in resource paths; an ID of `.` or `..` cannot be addressed by path, so look it up with the list filter. | employee\_123 |
