QA fixture. Sentrabyte Endpoint is a made-up antivirus product used to test integrations. All data is synthetic.
Send your API token on every request: Authorization: Bearer <token>. Requests without a valid token get 401.
All endpoints are under /api/v1, answer JSON and are read-only.
Returns the account the token belongs to. Use it to check a token. Example: {"account":{"id":"acc-1","name":"..."},"api_version":"1"}
Lists malware detections, newest first.
limit (integer, 1-200, default 50)since (ISO 8601 UTC timestamp, optional): only detections first seen at or after this time{
"data": {
"detections": [
{
"detection_id": "string, unique",
"threat": { "name": "string", "category": "string" },
"risk": "info | low | medium | high | critical",
"first_seen": "ISO 8601 UTC timestamp",
"endpoint": { "id": "string", "hostname": "string, the computer name", "os": "string" },
"file": { "path": "string", "sha256": "string" },
"state": "detected | quarantined | removed | allowed"
}
],
"total": 0
}
}
Lists protected computers: {"data":{"endpoints":[{"id":"string","hostname":"string","last_seen":"ISO 8601","protection":"on | off"}]}}