# API Reference: CAPE sandbox malware analysis agent ## API Details CAPE API: POST /apiv2/tasks/create/file, GET /apiv2/tasks/view/{id}, GET /apiv2/tasks/report/{id} ## Installation ```bash pip install requests ``` ## Libraries | Library | Use | |---------|-----| | `requests` | requests | ## Authentication | Method | Header | |--------|--------| | Bearer Token | `Authorization: Bearer ` | | API Key | `X-API-Key: ` | ## Output Format ```json {"timestamp": "ISO-8601", "target": "URL", "findings": [], "risk_level": "HIGH"} ```