cottom/document-read

Reads one PDF safely: refuses damaged, encrypted or oversized files, strips scripts, launch actions and embedded files, and returns a sanitized copy, its text and a PNG of every page, parsed in a sandboxed process with no network.

Public
12 runs

Run cottom/document-read with an API

Use one of our client libraries to get started quickly. Clicking on a library will take you to the Playground tab where you can tweak different inputs, see the results, and copy the corresponding code to use in your own project.

Input schema

The fields you can use to run this model with an API. If you don't give a value for a field its default value will be used.

Field Type Default value Description
document
string
The PDF to read.
ref
string
The caller's reference for this run; not read.

Output schema

The shape of the response you’ll get when you run this model with an API.

Schema
{
  "type": "array",
  "items": {
    "type": "string",
    "format": "uri"
  },
  "title": "Output"
}