Response (first file)
relativePath, and use its id below as the
artifactId. fileId is the same ID under its older, deprecated name.
textAvailability and downloadAvailability can be unknown until you request the text or
download. To list every file, follow nextCursor until it’s null.
Read a shared file link
Start with the file’s/artifacts/<id> viewer URL and authenticate with your API key. The initial HTML and
HTTP Link header expose same-origin metadata, extracted-text, and download endpoints without
running JavaScript. A request with Accept: application/json redirects to file metadata.
Keep the key in the Authorization header, never in the URL.
The UUID in a persistent file’s viewer URL is the API’s artifactId. Older /file/<id> links
redirect to the same viewer.
The Artifacts API works with persistent files. Folders, temporary content, and externally hosted
content are outside this contract. GET /api/v2/artifacts/{artifactId} returns the file’s
name, MIME type, recorded size and current version, plus links.text and links.download.
Metadata reads do not start extraction or download content.
Resolve these paths against the shared URL’s origin and authenticate each API request.
Sharing a viewer URL does not grant access: missing credentials return 401; missing or
inaccessible files return 404.
The text link requests up to 65,536 UTF-8 bytes; the default without maxBytes is 16,384. Continue with nextCursor as cursor and
the same maxBytes until nextCursor is null. 409 text_unavailable means to use the original
download. A visible file can still return 403 download_restricted for text or downloads.
See Save a checkpoint and resume for recovery.
Metadata describes the current file. Extracted text is not pinned to a source file version.
If the shared URL includes versionId, pass that value to the download endpoint to retrieve
the historical original; page is a viewer navigation hint, not an API text offset.
Historical filing evidence
The catalog file list reflects currently stored files, not an immutable snapshot of the package submitted on a particular date. It can include later revisions, objections, and response documents. A file version pins bytes; it does not prove that the file belonged to the original submission. To reconstruct a filing before an objection, verify each document’s submission date and provenance from the available source records. Excluding the objection and response alone does not establish that the remaining documents are the original versions. If historical versions or membership cannot be verified, record that limitation instead of treating the reconstruction as exact.Refresh a Florida filing’s documents
A Florida OIR filing (source is florida_irfs) can gain or revise documents after Effective
stored its files. If the file list is missing a document you know the filing has,
request a refresh:
Response (202)
202 means
the request was accepted, not that the files changed. List the files again later and read
latestRefreshEvent, which appears once your workspace has requested the filing:
The event describes the filing, not one request, and nothing marks a request that never gets a
reply. Compare the file list before and after rather than relying on
ready alone.
Each accepted request counts against your workspace’s daily limit of Florida document requests,
and repeating the call sends another request, so don’t retry it automatically. When the limit is
used up the call returns 429 document_refresh_quota_exceeded; Retry-After gives the seconds
until the limit resets at midnight US Eastern time. Any other filing returns
422 document_refresh_unsupported.
Read extracted text
Response (text abbreviated)
location offsets count UTF-8 bytes, not characters, and a chunk can be shorter than maxBytes so it
doesn’t split a character. See the
text reference for the schema.
Not every file has extracted text. 409 text_unavailable means it doesn’t, so
download the original instead. A file whose extracted text is empty returns
200 with empty text. 404 not_found means the file is missing or you can’t access it.
Save a checkpoint and resume
Save the artifact ID,maxBytes, textRevision, and the cursor you sent with each chunk. Store the chunk
before moving on. While nextCursor isn’t null, continue with:
maxBytes the same. If a response is lost, resend the same request; retries can return a
different cursor string. Deduplicate chunks by artifact ID, revision, and start offset. Stop when
nextCursor is null.
Cursors expire 24 hours after the first chunk. On invalid_cursor, or if textRevision changes,
start again from the beginning and don’t mix chunks from different revisions.
Download the original
Download the original when you need the layout or pages, or the file has no extracted text. Pass the file list’sversionId if it has one;
otherwise omit it to get the current version.
?versionId={versionId}. The API responds with a redirect to a short-lived
download URL, which --location follows:
Authorization header to the storage host. curl drops it when a redirect goes to
another host; if you use another client, check that it does the same. Save File-Version-Id (in
download-headers.txt above) for citations and retries; the download URL expires. To download again, request
the same file and version for a fresh URL. Limit concurrency when downloading many files.
Cite what you read
Extracted text and search passages don’t currently record which file version they came from
(
versionId is null), and page markers in the text aren’t verified. To cite a page, check it in the
downloaded original and record that file’s version, for example: “Page 1 of file X, version V.”