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

Example Usage

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

let value: ListProvidersData = {
  name: "OpenAI",
  privacyPolicyUrl: "https://openai.com/privacy",
  slug: "openai",
};

Fields

FieldTypeRequiredDescriptionExample
datacentersoperations.Datacenter[]:heavy_minus_sign:ISO 3166-1 Alpha-2 country codes of the provider datacenter locations[
“US”,
“IE”
]
headquartersoperations.Headquarters:heavy_minus_sign:ISO 3166-1 Alpha-2 country code of the provider headquartersUS
namestring:heavy_check_mark:Display name of the providerOpenAI
privacyPolicyUrlstring:heavy_check_mark:URL to the provider’s privacy policyhttps://openai.com/privacy
slugstring:heavy_check_mark:URL-friendly identifier for the provideropenai
statusPageUrlstring:heavy_minus_sign:URL to the provider’s status pagehttps://status.openai.com
termsOfServiceUrlstring:heavy_minus_sign:URL to the provider’s terms of servicehttps://openai.com/terms