Artifact storage summary
curl --request GET \
--url https://api.turos.app/v1/artifacts/summary \
--header 'x-api-key: <api-key>'import requests
url = "https://api.turos.app/v1/artifacts/summary"
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/summary', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"object": "artifact_summary",
"orgId": "<string>",
"rows": [
{
"kind": "<string>",
"status": "<string>",
"storageMode": "local",
"totalBytes": 1,
"count": 1
}
],
"requestId": "<string>",
"traceparent": "<string>"
}{
"object": "error",
"id": "<string>",
"code": "<string>",
"type": "<string>",
"message": "<string>",
"requestId": "<string>",
"details": {},
"traceparent": "<string>",
"hint": "<string>",
"docsUrl": "<string>"
}Artifacts
Artifact storage summary
Groups the current organization’s persisted artifacts by stored kind, lifecycle status, and storage mode. Counts and byte totals describe stored records, not source-filing coverage or external object-store completeness.
GET
/
v1
/
artifacts
/
summary
Artifact storage summary
curl --request GET \
--url https://api.turos.app/v1/artifacts/summary \
--header 'x-api-key: <api-key>'import requests
url = "https://api.turos.app/v1/artifacts/summary"
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/summary', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"object": "artifact_summary",
"orgId": "<string>",
"rows": [
{
"kind": "<string>",
"status": "<string>",
"storageMode": "local",
"totalBytes": 1,
"count": 1
}
],
"requestId": "<string>",
"traceparent": "<string>"
}{
"object": "error",
"id": "<string>",
"code": "<string>",
"type": "<string>",
"message": "<string>",
"requestId": "<string>",
"details": {},
"traceparent": "<string>",
"hint": "<string>",
"docsUrl": "<string>"
}