ListProvidersData - TypeScript SDK

ListProvidersData type definition

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

Example Usage

1import { ListProvidersData } from "@openrouter/sdk/models/operations";
2
3let value: ListProvidersData = {
4 name: "OpenAI",
5 privacyPolicyUrl: "https://openai.com/privacy",
6 slug: "openai",
7};

Fields

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