ResponsesErrorField - TypeScript SDK

ResponsesErrorField type definition

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

Error information returned from the API

Example Usage

1import { ResponsesErrorField } from "@openrouter/sdk/models";
2
3let value: ResponsesErrorField = {
4 code: "rate_limit_exceeded",
5 message: "Rate limit exceeded. Please try again later.",
6};

Fields

FieldTypeRequiredDescription
codemodels.Code✔️N/A
messagestring✔️N/A