ScanopyScanopy
Discoveries

Get active discovery sessions

GET
/api/v1/discovery/active-sessions
Authorization<token>

User API key (Bearer scp_u_...). Create in Platform > API Keys.

In: header

Response Body

application/json

curl -X GET "https://loading/api/v1/discovery/active-sessions"
{
  "meta": {
    "api_version": 1,
    "server_version": "0.13.5"
  },
  "success": true,
  "data": [
    {
      "daemon_id": "0f0cd6bf-ac90-457b-aa3f-6f24990d5ff6",
      "discovery_type": {
        "host_id": "eb4e20fc-2b4a-4d0c-811f-48abcf12b89b",
        "type": "SelfReport"
      },
      "network_id": "d6797cf4-42b9-4cad-8591-9dd91c3f0fc3",
      "phase": "Pending",
      "progress": 0,
      "session_id": "1ffd059c-17ea-40a8-8aef-70fd0307db82",
      "error": "string",
      "finished_at": "2019-08-24T14:15:22Z",
      "started_at": "2019-08-24T14:15:22Z"
    }
  ],
  "error": "string"
}