In short.
OpenRouter's External Users reference helps TypeScript developers manage user tracking IDs for an organization, but these registrations do not create accounts or control access to AI models. It documents listing, creating, retrieving, updating and deactivating registrations through @openrouter/sdk. Deactivation retains the tracking ID, repeated deactivation succeeds, and an update can reactivate the registration. The page includes client and standalone function examples, but does not establish pricing, licensing, supported SDK versions or runtime compatibility. No examples or API calls were run.
Researched and written by an AI model and checked by a second AI model. How it works
Covers the complete selected page at [https://openrouter.ai/docs/client-sdks/typescript/sdks/externalusers/README.md], including all five operations, both example styles, parameter notes, return types and error tables. Includes the management-key requirement and notices about account creation, retained IDs and lack of inference-access enforcement. The linked documentation index, authentication guide, request and response models, retry documentation and external references are excluded. No installation, example execution or API behavior was tested.
The overview
Identity
This is OpenRouter's External Users API reference for its TypeScript SDK, published at [https://openrouter.ai/docs/client-sdks/typescript/sdks/externalusers/README.md]. It describes the externalUsers methods exposed by @openrouter/sdk and their standalone function equivalents.
An external user here is a caller-supplied tracking ID registered under the authenticated organization. Registration creates no login account, policy or credentials.
Assessment
The reference is useful for implementing a registration lifecycle around identifiers that an application already assigns to its users. Its most consequential detail is that registration state does not enforce inference access: marking someone inactive does not prevent them from making model requests.
It provides concrete integration examples and error types, but installation, complete data schemas and authentication setup are not explained on this page. Runtime correctness, reliability and performance were not assessed.
Users
The intended audience is developers integrating OpenRouter into an application that needs to register and manage its own user identifiers. Readers should be comfortable with TypeScript imports, asynchronous calls and API credentials.
Beginners should distinguish a tracking registration from an account: the application still needs its own arrangements for login and access control. Experienced developers get method names, request types, return types and operation-specific error tables.
Capabilities
The five documented operations are list, create, delete, get and update. Listing returns registrations belonging to the authenticated organization and excludes inactive registrations by default. The examples iterate through result pages asynchronously.
Create registers a supplied tracking ID. Get retrieves an active or inactive registration. Delete deactivates a registration while retaining its ID, and repeated deactivation succeeds. Update changes registration state without changing identity; the example sets isActive to true to reactivate it.
Using it
Requirements
Every documented operation requires a management API key. The examples pass a credential from OPENROUTER_API_KEY into the client's apiKey option; that environment-variable name does not establish that an ordinary API key is sufficient.
The examples import @openrouter/sdk and include httpReferer, appTitle and appCategories placeholders. This page does not explain whether those metadata options are required. The package version, supported runtimes and minimum TypeScript version are unknown.
Mechanism
The SDK sends requests authenticated for an organization and identifies registrations using caller-supplied user IDs. The get description specifies a URL-encoded tracking ID, but the page does not establish whether callers must encode it themselves when using the SDK.
Create, get and update return promises of ExternalUserResponse; delete returns Promise<void>. Standalone functions use an explicit res.ok branch to separate successful results from errors. Optional request settings support retries and underlying fetch options, excluding method and body overrides; retry defaults are not shown.
Setup
The documented client pattern imports OpenRouter from @openrouter/sdk, constructs a client with apiKey and metadata options, then calls openRouter.externalUsers methods. The alternative imports OpenRouterCore from @openrouter/sdk/core.js alongside individual functions from @openrouter/sdk/funcs/.
No installation command or management-key creation procedure is included. Before implementation, resolve a documentation inconsistency: the list parameter table marks the request object as required, while both list examples omit it.
Example
The registration example calls openRouter.externalUsers.create({ createExternalUserRequest: { user: "employee_123" } }). The same identifier appears in the get and delete examples.
The reactivation example calls openRouter.externalUsers.update({ user: "employee_123", updateExternalUserRequest: { isActive: true } }). This restores registration state; it does not grant model access. These are documented examples, and no execution results were assessed.
Assessment & evidence
Limitations
Registration does not create accounts, policies or credentials, and neither deactivation nor other state changes enforce inference access. The page does not document permanent deletion, changing an existing identity or connecting a registered ID to a model request.
Identifier constraints, response fields, pagination controls, limits and retry defaults are not supplied. Error tables identify possible failures, including a 409 conflict for create and 403 responses for list and get, but do not explain the conditions behind every error.
Reasoning
The documented behavior supports using this feature as a registry of application-assigned identifiers: the application supplies identity, OpenRouter stores a registration, and state can change while identity remains intact.
That makes it a plausible fit for managing those registrations. It is insufficient on its own for account provisioning or access revocation because the reference explicitly separates registration state from inference access. Broader benefits such as usage attribution or reporting are not established here.
Alternatives
The page offers two integration styles for the same operations: methods on the OpenRouter client, or individual functions used with OpenRouterCore. It recommends the core approach for tree-shaking, which lets bundlers omit unused code, but provides no measured bundle-size comparison.
Other SDKs, direct HTTP implementations and competing services are not assessed in this reference.
Evidence
The evidence is the complete selected OpenRouter External Users documentation page. It includes descriptions of all five operations, client and standalone examples, parameter tables, return types and error tables.
These materials establish documented interfaces and intended behavior. They provide no observed API responses, executed tests, benchmarks or independent reliability measurements. Linked guides and model definitions are outside the supplied evidence.
Access & freshness
Costs
The page provides no endpoint pricing, subscription requirements, usage allowances or management-key charges. Costs are unknown; the presence of SDK examples does not establish that these operations are free.
It also provides no information about how registrations affect billing or model-request charges.
Rights
The selected page contains no license or redistribution terms for the documentation, examples or SDK. Permission to redistribute those materials is not established by this evidence.
Privacy terms and retention periods for registered identifiers are also unspecified. The documented delete operation retains the tracking ID, so it should not be understood as permanent data erasure.
Freshness
The supplied page was captured on 15 November 2026 at 09:00:38.623 UTC. No publication date, last-update date or SDK release version appears in the selected text.
Compatibility with a particular installed SDK version and changes after the capture are unknown.
Actions
Before integrating, confirm management-key setup, SDK and runtime compatibility, request schemas, response fields and the correct list call signature. Confirm pricing and applicable terms separately because this page does not supply them.
Plan access control independently of registration state. In your own environment, verify pagination, existing-ID conflicts, repeated deactivation, reactivation and error handling before relying on the integration.
