Export filing
curl --request GET \
--url https://api.turos.app/v1/filings/{accession_number}/export \
--header 'x-api-key: <api-key>'import requests
url = "https://api.turos.app/v1/filings/{accession_number}/export"
headers = {"x-api-key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'x-api-key': '<api-key>'}};
fetch('https://api.turos.app/v1/filings/{accession_number}/export', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{}{
"object": "error",
"id": "<string>",
"code": "<string>",
"type": "<string>",
"message": "<string>",
"requestId": "<string>",
"details": {},
"traceparent": "<string>",
"hint": "<string>",
"docsUrl": "<string>"
}Filings
Export filing
Export a selected filing as JSON by default, or request a derived Markdown, CSV, XLSX, DOCX, or PDF document with format. JSON returns the filing manifest; derived formats can be large and should retain the filing accession and source provenance. Derived exports do not replace the original filing as evidence.
GET
/
v1
/
filings
/
{accession_number}
/
export
Export filing
curl --request GET \
--url https://api.turos.app/v1/filings/{accession_number}/export \
--header 'x-api-key: <api-key>'import requests
url = "https://api.turos.app/v1/filings/{accession_number}/export"
headers = {"x-api-key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'x-api-key': '<api-key>'}};
fetch('https://api.turos.app/v1/filings/{accession_number}/export', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{}{
"object": "error",
"id": "<string>",
"code": "<string>",
"type": "<string>",
"message": "<string>",
"requestId": "<string>",
"details": {},
"traceparent": "<string>",
"hint": "<string>",
"docsUrl": "<string>"
}Query Parameters
Response
Successful response
The response is of type object.