TypeScript SDKAPI ReferenceModelsProviderResponse - TypeScript SDKCopy pageProviderResponse type definitionDetails of a provider response for a generation attempt Example Usage 1import { ProviderResponse } from "@openrouter/sdk/models";23let value: ProviderResponse = {4 status: 200,5}; Fields FieldTypeRequiredDescriptionExampleendpointIdstring➖Internal endpoint identifierep_abc123idstring➖Upstream provider response identifierchatcmpl-abc123isByokboolean➖Whether the request used a bring-your-own-keyfalselatencynumber➖Response latency in milliseconds1200modelPermaslugstring➖Canonical model slugopenai/gpt-4providerNamemodels.ProviderResponseProviderName➖Name of the providerOpenAIstatusnumber✔️HTTP status code from the provider200