Viewing scan results

August 12, 2022

ID 189763

Scan results are viewed using the GET method.

Syntax

GET "<URI of the Sandbox server>/sandbox/v1/tasks/<task_id>"

Example

curl GET "https://api.example.com/sandbox/v1/tasks/c0999b05aca8ffd5692d4a13ad16281b"

Parameters

Parameter

Type

Description

task_id

string

Unique identifier of the task assigned when the object is submitted for scanning.

Returned value

Return code

Description

200

Scan result received. The following values are possible:

  • Processing: the scan is in progress.
  • Found: signs of malicious objects were detected.
  • Not found: signs of malicious objects were not detected.
  • Error: an error occurred during the scan.

400

Invalid request.

404

Scan results for the specified identifier not found.

500

Error while receiving scan results. The following reasons are possible:

  • No license key installed.
  • Unknown error.

503

Server unavailable. Try to connect to a different server or try again later.

504

Server timeout. Try to connect to a different server or try again later.

Did you find this article helpful?
What can we do better?
Thank you for your feedback! You're helping us improve.
Thank you for your feedback! You're helping us improve.