ListProvidersData - TypeScript SDK
ListProvidersData - TypeScript SDK
ListProvidersData type definition
ListProvidersData - TypeScript SDK
The TypeScript SDK and docs are currently in beta. Report issues on GitHub.
1 import { ListProvidersData } from "@openrouter/sdk/models/operations"; 2 3 let value: ListProvidersData = { 4 name: "OpenAI", 5 privacyPolicyUrl: "https://openai.com/privacy", 6 slug: "openai", 7 };
| Field | Type | Required | Description | Example |
|---|---|---|---|---|
datacenters | operations.Datacenter[] | ➖ | ISO 3166-1 Alpha-2 country codes of the provider datacenter locations | [ “US”, “IE” ] |
headquarters | operations.Headquarters | ➖ | ISO 3166-1 Alpha-2 country code of the provider headquarters | US |
name | string | ✔️ | Display name of the provider | OpenAI |
privacyPolicyUrl | string | ✔️ | URL to the provider’s privacy policy | https://openai.com/privacy |
slug | string | ✔️ | URL-friendly identifier for the provider | openai |
statusPageUrl | string | ➖ | URL to the provider’s status page | https://status.openai.com |
termsOfServiceUrl | string | ➖ | URL to the provider’s terms of service | https://openai.com/terms |