Skip to main content
The TypeScript SDK and docs are currently in beta. Report issues on GitHub.

Example Usage

import { ListMemberAssignmentsData } from "@openrouter/sdk/models/operations";

let value: ListMemberAssignmentsData = {
  id: "550e8400-e29b-41d4-a716-446655440000",
  userId: "user_abc123",
  organizationId: "org_xyz789",
  guardrailId: "550e8400-e29b-41d4-a716-446655440001",
  assignedBy: "user_abc123",
  createdAt: "2025-08-24T10:30:00Z",
};

Fields

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