FailedModel - TypeScript SDK

FailedModel type definition

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

Example Usage

1import { FailedModel } from "@openrouter/sdk/models";
2
3let value: FailedModel = {
4 error: "<value>",
5 model: "XTS",
6};

Fields

FieldTypeRequiredDescription
errorstring✔️Error message describing why the model failed.
modelstring✔️Slug of the analysis model that failed.
statusCodenumberHTTP status code from the upstream response, when available (e.g. 402, 429).