Documentation Index
Fetch the complete documentation index at: https://docs.sacra.com/llms.txt
Use this file to discover all available pages before exploring further.
Summary
As of Thursday, May 14, 2026 at 10:00 AM ET, Sacra API fields that previously linked directly to underlying PDF files for documents and filings now return stable Sacra URLs instead. The response field names are not changing. The main change is the URL behavior:https://sacra-pdfs.s3.us-east-2.amazonaws.com/spacex.pdf, will continue to work through June 14, 2026. After that date, Sacra will turn off support for old direct S3 links.
If your integration renders or stores Sacra-provided file links, no change should be needed. If your backend downloads PDFs directly, confirm that your HTTP client follows redirects.
Action required
- If you render or store Sacra-provided PDF and filing links, no action should be required.
- If you use Sacra PDF embeds, no action is needed. Existing embed HTML continues to point to Sacra’s embed route; Sacra now renders the PDF inside that embed using the browser’s native PDF viewer.
- If your backend downloads PDFs directly, make sure your HTTP client follows redirects.
- Keep using the stable Sacra URL returned by the API.
- Do not store or hardcode the redirected delivery URL, since it is temporary.
GET requests. The examples below show the main case that can break: clients or wrappers configured to stop at the first 302 response.
What changed
Previously, some API responses returned direct storage URLs such as:Affected API fields
This applies anywhere the API previously returned a direct PDF link for Sacra documents or filings.| Endpoint | Affected response field |
|---|---|
GET /api/v1/documents/{document_slug} | pdf_url |
GET /api/v1/documents | documents[].link |
GET /api/v1/documents?company_domain=... | documents[].link |
GET /api/v1/companies?company_domain=... | company.documents[].link |
GET /api/v1/companies?company_slug=... | company.documents[].link |
GET /api/v1/companies?id=... | company.documents[].link |
GET /api/v1/companies/{company_slug} | company.documents[].link |
GET /api/v1/categories/{category_slug}/items | items[].meta.pdf_url for document items |
GET /api/v1/filings | filings[].url |
POST /api/v1/filings | filings[].url |
GET /api/v1/funding-rounds | funding_rounds[].citations[].url |
GET /api/v1/metrics | metrics[].citations.sources[].link for filing evidence sources |
POST /api/v1/metrics | metrics[].citations.sources[].link for filing evidence sources |
GET /api/v1/events?include_citations=true | events[].citations.items[].sources[].link for filing evidence sources |
POST /api/v1/events with include_citations=true | events[].citations.items[].sources[].link for filing evidence sources |
Most document and filing response fields will use stable
/f/... Sacra URLs. Some filing evidence citation links may use Sacra filing access URLs such as /access-filing/filing/{id}. In both cases, the important behavior is the same: clients should treat the Sacra URL as the stable link and follow redirects to retrieve the PDF bytes.Example response changes
Document detail
Documents list
Downloading PDFs directly
Many HTTP clients follow redirects automatically forGET requests. Some clients, command-line calls, and custom downloaders do not.
If your code expects the first response from the file URL to be 200 OK with PDF bytes, update it to allow redirects.
curl
Broken:-L option tells curl to follow redirects.
Python requests
requests.get() follows redirects by default, so most Python integrations do not need to change anything.
Usually enough:
allow_redirects=True.
JavaScript fetch
Broken if redirects were set to manual:The standard
fetch default is redirect: "follow". The explicit option is useful if your code currently sets redirect: "manual" or uses a wrapper that disables redirects.Notes
- The API response field names are unchanged.
- The stable Sacra URL is the URL to store, render, or fetch.
- The redirected delivery URL is temporary and should not be stored.
- Existing direct S3 links will continue to work through June 14, 2026, then support for old direct S3 links will be turned off.
- Browser-based rendering should continue to work normally.
- Backend downloaders should follow redirects when fetching Sacra PDF and filing links.