MemberAssignment - TypeScript SDK

MemberAssignment type definition

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