For AI agents: a documentation index is available at the root level at /llms.txt and /llms-full.txt. Append /llms.txt to any URL for a page-level index, or .md for the markdown version of any page.
ModelsChatRankingsDocs
DocsAPI ReferenceClient SDKsAgent SDKCookbookChangelog
DocsAPI ReferenceClient SDKsAgent SDKCookbookChangelog
    • Overview
    • Usage for Agents
  • TypeScript SDK
    • Overview
      • Analytics
      • APIKeys
      • Byok
      • Chat
      • Credits
      • Embeddings
      • Endpoints
      • Generations
      • Guardrails
        • Models
        • MemberAssignment
      • OAuth
      • Observability
      • Organization
      • Presets
      • Providers
      • Rerank
      • Beta.Responses
      • Transcriptions
      • Speech
      • VideoGeneration
      • Workspaces
  • Python SDK
    • Overview
  • Go SDK
  • DevTools
    • Overview
    • Migrating to @openrouter/agent
LogoLogo
ModelsChatRankingsDocs
On this page
  • Example Usage
  • Fields
TypeScript SDKAPI ReferenceModels

MemberAssignment - TypeScript SDK

MemberAssignment type definition
Was this page helpful?
Previous

OAuth - TypeScript SDK

OAuth method reference
Next
Built with

The TypeScript SDK and docs are currently in beta. Report issues on GitHub.

Example Usage

1import { MemberAssignment } from "@openrouter/sdk/models";
2
3let value: MemberAssignment = {
4 assignedBy: "user_abc123",
5 createdAt: "2025-08-24T10:30:00Z",
6 guardrailId: "550e8400-e29b-41d4-a716-446655440001",
7 id: "550e8400-e29b-41d4-a716-446655440000",
8 organizationId: "org_xyz789",
9 userId: "user_abc123",
10};

Fields

FieldTypeRequiredDescriptionExample
assignedBystring✔️User ID of who made the assignmentuser_abc123
createdAtstring✔️ISO 8601 timestamp of when the assignment was created2025-08-24T10:30:00Z
guardrailIdstring✔️ID of the guardrail550e8400-e29b-41d4-a716-446655440001
idstring✔️Unique identifier for the assignment550e8400-e29b-41d4-a716-446655440000
organizationIdstring✔️Organization IDorg_xyz789
userIdstring✔️Clerk user ID of the assigned memberuser_abc123