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",
  slug: "openai",
  privacyPolicyUrl: "https://openai.com/privacy",
};

Fields

FieldTypeRequiredDescriptionExample
namestring:heavy_check_mark:Display name of the providerOpenAI
slugstring:heavy_check_mark:URL-friendly identifier for the provideropenai
privacyPolicyUrlstring:heavy_check_mark:URL to the provider’s privacy policyhttps://openai.com/privacy
termsOfServiceUrlstring:heavy_minus_sign:URL to the provider’s terms of servicehttps://openai.com/terms
statusPageUrlstring:heavy_minus_sign:URL to the provider’s status pagehttps://status.openai.com