Skip to main content
The TypeScript SDK and docs are currently in beta. Report issues on GitHub.

Example Usage

import { OpenResponsesRequestPluginFileParser } from "@openrouter/sdk/models";

let value: OpenResponsesRequestPluginFileParser = {
  id: "file-parser",
};

Fields

FieldTypeRequiredDescription
id”file-parser”:heavy_check_mark:N/A
enabledboolean:heavy_minus_sign:Set to false to disable the file-parser plugin for this request. Defaults to true.
pdfmodels.PDFParserOptions:heavy_minus_sign:Options for PDF parsing.