MemberAssignment - TypeScript SDK
MemberAssignment - TypeScript SDK
MemberAssignment type definition
MemberAssignment - TypeScript SDK
The TypeScript SDK and docs are currently in beta. Report issues on GitHub.
1 import { MemberAssignment } from "@openrouter/sdk/models"; 2 3 let 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 };
| Field | Type | Required | Description | Example |
|---|---|---|---|---|
assignedBy | string | ✔️ | User ID of who made the assignment | user_abc123 |
createdAt | string | ✔️ | ISO 8601 timestamp of when the assignment was created | 2025-08-24T10:30:00Z |
guardrailId | string | ✔️ | ID of the guardrail | 550e8400-e29b-41d4-a716-446655440001 |
id | string | ✔️ | Unique identifier for the assignment | 550e8400-e29b-41d4-a716-446655440000 |
organizationId | string | ✔️ | Organization ID | org_xyz789 |
userId | string | ✔️ | Clerk user ID of the assigned member | user_abc123 |