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
      • OAuth
      • Observability
        • ListGuardrailKeyAssignmentsResponse
      • 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 ReferenceOperations

ListGuardrailKeyAssignmentsResponse - TypeScript SDK

ListGuardrailKeyAssignmentsResponse type definition
Was this page helpful?
Previous

Organization - TypeScript SDK

Organization method reference
Next
Built with

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

Example Usage

1import { ListGuardrailKeyAssignmentsResponse } from "@openrouter/sdk/models/operations";
2
3let value: ListGuardrailKeyAssignmentsResponse = {
4 result: {
5 data: [
6 {
7 assignedBy: "user_abc123",
8 createdAt: "2025-08-24T10:30:00Z",
9 guardrailId: "550e8400-e29b-41d4-a716-446655440001",
10 id: "550e8400-e29b-41d4-a716-446655440000",
11 keyHash:
12 "c56454edb818d6b14bc0d61c46025f1450b0f4012d12304ab40aacb519fcbc93",
13 keyLabel: "prod-key",
14 keyName: "Production Key",
15 },
16 ],
17 totalCount: 1,
18 },
19};

Fields

FieldTypeRequiredDescriptionExample
resultmodels.ListKeyAssignmentsResponse✔️N/A{"data": [{"assigned_by": "user_abc123","created_at": "2025-08-24T10:30:00Z","guardrail_id": "550e8400-e29b-41d4-a716-446655440001","id": "550e8400-e29b-41d4-a716-446655440000","key_hash": "c56454edb818d6b14bc0d61c46025f1450b0f4012d12304ab40aacb519fcbc93","key_label": "prod-key","key_name": "Production Key"}
],
“total_count”: 1<br />}