Example Usage
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 | ✔️ | Registration creation time. | 2026-09-16T12:00:00Z |
isActive | boolean | ✔️ | Whether this registration is active. Not an inference authorization decision. | true |
updatedAt | 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 |