Export artifact
curl --request GET \
--url https://api.turos.app/v1/artifacts/{artifact_id}/export \
--header 'x-api-key: <api-key>'import requests
url = "https://api.turos.app/v1/artifacts/{artifact_id}/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/artifacts/{artifact_id}/export', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"object": "artifact_export",
"artifactId": "<string>",
"format": "json",
"manifest": {
"object": "artifact_manifest",
"id": "<string>",
"artifactId": "<string>",
"kind": "<string>",
"status": "<string>",
"filename": "<string>",
"contentType": "<string>",
"storageMode": "local",
"objectKey": "<string>",
"byteLength": 1,
"lineCount": 1,
"checksumSha1": "<string>",
"filing": {},
"section": {},
"exportedFormats": [
"<string>"
],
"createdAt": "2023-11-07T05:31:56Z",
"entity": {},
"links": {},
"citation": {}
},
"artifact": {},
"download": {}
}{
"object": "error",
"id": "<string>",
"code": "<string>",
"type": "<string>",
"message": "<string>",
"requestId": "<string>",
"details": {},
"traceparent": "<string>",
"hint": "<string>",
"docsUrl": "<string>"
}Artifacts
Export artifact
Returns the saved artifact with its manifest for json or compact_json. With format=markdown, the response is a download envelope rather than inline markdown; follow its download details. Compact JSON is intentionally reduced and may truncate large content or arrays.
GET
/
v1
/
artifacts
/
{artifact_id}
/
export
Export artifact
curl --request GET \
--url https://api.turos.app/v1/artifacts/{artifact_id}/export \
--header 'x-api-key: <api-key>'import requests
url = "https://api.turos.app/v1/artifacts/{artifact_id}/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/artifacts/{artifact_id}/export', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"object": "artifact_export",
"artifactId": "<string>",
"format": "json",
"manifest": {
"object": "artifact_manifest",
"id": "<string>",
"artifactId": "<string>",
"kind": "<string>",
"status": "<string>",
"filename": "<string>",
"contentType": "<string>",
"storageMode": "local",
"objectKey": "<string>",
"byteLength": 1,
"lineCount": 1,
"checksumSha1": "<string>",
"filing": {},
"section": {},
"exportedFormats": [
"<string>"
],
"createdAt": "2023-11-07T05:31:56Z",
"entity": {},
"links": {},
"citation": {}
},
"artifact": {},
"download": {}
}{
"object": "error",
"id": "<string>",
"code": "<string>",
"type": "<string>",
"message": "<string>",
"requestId": "<string>",
"details": {},
"traceparent": "<string>",
"hint": "<string>",
"docsUrl": "<string>"
}