Skip to main content
GET
Read document content

Authorizations

Authorization
string
header
required

The org's platform API key.

Headers

Nexio-Act-As
string

The member the read is made for (a WorkOS user id). Unset keeps the org-wide posture the key alone grants.

Nexio-Act-As-Email
string

The acting member's verified email, lowercased. Ignored without Nexio-Act-As.

Nexio-Consumer
string

The calling application (workbench).

Nexio-Consumer-Build
string

The calling application's build.

Nexio-Consumer-Vocabulary
string

The access vocabulary hash the calling build was generated against.

Nexio-Request-Id
string

A caller-chosen request id, echoed in the Nexio-Request-Id response header.

Nexio-Timeout
string

The caller's remaining budget for this request, in whole milliseconds (1 to 10 digits, greater than zero), relative to receipt. The engine stops work at the shorter of this and the route's own budget, and answers 504 request_timeout when it expires. A value above the route budget is capped to it; a malformed value is ignored.

Path Parameters

id
string
required

Query Parameters

window
string

text asks for the filing's text window: the text of its first pages, and with find or section the first later window that holds the match, as the documents_read tool builds its answer, served as JSON from the pages the platform already parsed. When those cannot serve it (not parsed yet, not a PDF, a scanned page in the window, over the size bound, a seat bound to a live source), the answer is the file's bytes as without window, from the same request.

offset
string

With window=text, the character the text window starts at.

section
string

With window=text, the text the window starts at.

find
string

With window=text, the text the window is centered on.

Response

OK

The response is of type file.