In short.
OpenRouter’s ExternalUsers reference is documentation for Go developers managing user tracking registrations, with the key limitation that registration state does not control AI request access. It provides method examples, identity constraints, pagination parameters and error types for five operations. Creating a registration does not create a login account, policy or credentials. Installation details, SDK version, costs and licensing are not established by this page, and the examples were not executed.
Researched and written by an AI model and checked by a second AI model. How it works
Coverage includes the complete selected documentation page at the exact source address, covering its overview and List, Create, Delete, Get and Update sections. All linked pages, including the documentation index, management-key guide and response schemas, are excluded. No license notice or SDK implementation files are included in the supplied evidence. Examples were not executed; runtime behavior, compatibility, reliability and costs remain unassessed.
The overview
identity
This is the ExternalUsers API reference within OpenRouter’s Go SDK documentation, published at [https://openrouter.ai/docs/client-sdks/go/sdks/externalusers/README.md]. Its examples import github.com/OpenRouterTeam/go-sdk and call methods through s.ExternalUsers.
Its scope is registrations for caller-supplied tracking IDs under the authenticated organization. These registrations do not create login accounts, policies or credentials.
assessment
The page is useful as a method-level reference for adding registration management to an existing Go integration. Each operation includes an example, parameters, a response type and documented errors.
It leaves important implementation details unresolved: installation instructions, supported Go versions and complete response schemas are absent. Its explicit separation of registration state from inference access is essential when deciding whether the feature fits a requirement.
users
The likely audience is Go developers whose applications identify callers using user on inference requests or external.user on API keys. Those field names carry the tracking string described by this reference.
Beginners get concrete examples to follow, but need additional setup information. Developers seeking account creation or access revocation need capabilities beyond the registration operations documented here.
capabilities
Create registers a supplied tracking ID. Get retrieves an active or inactive registration. Update changes registration state without changing identity. Delete deactivates a registration while retaining its ID, and repeating deactivation succeeds.
List retrieves registrations belonging to the authenticated organization. It supports an offset, a limit of up to 100 records, a user filter and an includeInactive option. Inactive registrations are excluded by default, and the example advances through pages using res.Next().
Using it
requirements
Every operation requires a management key. Although the examples load it from an environment variable named OPENROUTER_API_KEY, that variable name does not replace the documented management-key requirement.
The examples require a Go project using the OpenRouter SDK and pass context.Context to requests. List additionally demonstrates the SDK’s optionalnullable package. Minimum Go version, compatible SDK releases and detailed management-key permissions are unknown from this page.
mechanism
A registration has an immutable, case-sensitive tracking string supplied by the caller. The string must contain 1 to 512 characters, use well-formed Unicode, contain no NUL and have no surrounding whitespace.
The page requires URL encoding when an ID appears in a resource path. IDs consisting of . or .. cannot be addressed through a path and must be looked up using the list filter. Deactivation retains identity; reactivation is available through PATCH, with the SDK example using Update and IsActive: true.
setup
The examples create a context with context.Background(), initialize the client with openrouter.New(openrouter.WithSecurity(os.Getenv("OPENROUTER_API_KEY"))), and then call the relevant ExternalUsers method.
To adapt them, a developer needs the SDK dependency and an organization management key available through that environment variable. Dependency installation, version pinning and key issuance are not explained in the selected page.
example
The Create example registers employee_123 through s.ExternalUsers.Create(ctx, components.CreateExternalUserRequest{User: "employee_123"}). Separate examples retrieve that ID with Get, deactivate it with Delete, and set IsActive: true through Update.
The List example requests offset 0, limit 50, no user filter and includeInactive set to false. These are documentation examples only; their responses and runtime behavior were not assessed.
Assessment & evidence
limitations
Delete does not block inference, and Update state changes do not enforce inference access. An inactive registration therefore cannot be treated as evidence that its caller is prevented from making AI requests.
The page names response types but does not include their full schemas. It documents 400, 401, 404 and 500 errors across the operations, with additional 403 errors for List and Get and a 409 conflict for Create. Retry behavior, performance and operational reliability are not assessed.
reasoning
The documented lifecycle supports a clear fit for administrative tracking: register an identity, retrieve it, list registrations and change active state while retaining the tracking ID.
The same descriptions establish a clear boundary for access control. Because creation supplies no credentials or policy and deactivation leaves inference available, this feature alone cannot implement account provisioning or access revocation.
alternatives
The page supplies no comparisons with other SDKs, products or direct HTTP implementations, so relative advantages are unknown.
For an application whose requirement is to block a caller’s AI requests, a separate access-control mechanism would be needed. This follows from the explicit limits on Delete and Update; the page does not explain how to implement that mechanism.
evidence
The evidence covers the complete ExternalUsers documentation page at [https://openrouter.ai/docs/client-sdks/go/sdks/externalusers/README.md], including all five operations, examples, parameter tables, response type names and error tables.
The captured source revision is sha256:0addff50f71693dd4a47293737bf32b93a53647eac992aa257a6342c75f601b1. Linked authentication guides, model schemas, the documentation index and SDK implementation files are outside the supplied evidence. There are no execution results.
Access & freshness
costs
The page provides no prices, billing rules, free allowance or rate limits for ExternalUsers operations. Whether these calls incur separate charges is unknown. Related inference costs are also not established by this reference.
rights
The supplied page contains no license or redistribution terms for its documentation or embedded code examples. The SDK’s license and applicable service terms are not established by this evidence.
freshness
The page was captured on 15 November 2026 at 06:29:45.113 UTC. That timestamp identifies the documentation snapshot.
The page does not specify an SDK release, publication date or compatibility range. Changes after capture and compatibility with a particular installed release are unknown.
actions
Use this reference when implementing tracking-registration management in Go. Confirm the SDK release and missing installation details before adapting its examples.
For implementation validation, check pagination, inactive-record visibility, ID encoding, documented errors and reactivation behavior. Keep any requirement to block inference separate from registration state. None of these behaviors was tested here.
