The completed event occurs once the scan process has been completed and the scan finished successfully.
Successful scans provide you all the output information from the scan process.

status
integer
The current status of the scan. Possible values: 0 (Success), 1 (Error), 2 (CreditsChecked), 3 (Indexed)
developerPayload
string
The developer payload that was provided in the submit method.
<= 512 characters
scannedDocument
object
General information about the scanned document.
results
object
A list of all the results that were found.
notifications
object
A list of all the notifications that were found.
alerts
array[object]
A list of scan alerts that were detected in the scan. See more about Alert Types.

Example

{
  "status": 0,
  "developerPayload": "Custom developer payload",
  "scannedDocument": {
    "scanId": "string",
    "totalWords": 0,
    "totalExcluded": 0,
    "credits": 0,
    "creationTime": "string",
    "metadata": {
      "finalUrl": "string",
      "canonicalUrl": "string",
      "author": "string",
      "organization": "string",
      "filename": "string",
      "publishDate": "string",
      "creationDate": "string",
      "lastModificationDate": "string"
    }
  },
  "results": {
    "internet": [
      {
        "id": "string",
        "title": "string",
        "introduction": "string",
        "matchedWords": 0,
        "url": "string",
        "metadata": {
          "finalUrl": "string",
          "canonicalUrl": "string",
          "author": "string",
          "organization": "string",
          "filename": "string",
          "publishDate": "string",
          "creationDate": "string",
          "lastModificationDate": "string"
        }
      }
    ],
    "database": [
      {
        "id": "string",
        "title": "string",
        "introduction": "string",
        "matchedWords": 0,
        "scanId": "string",
        "metadata": {
          "finalUrl": "string",
          "canonicalUrl": "string",
          "author": "string",
          "organization": "string",
          "filename": "string",
          "publishDate": "string",
          "creationDate": "string",
          "lastModificationDate": "string"
        }
      }
    ],
    "batch": [
      {
        "id": "string",
        "title": "string",
        "introduction": "string",
        "matchedWords": 0,
        "scanId": "string",
        "metadata": {
          "finalUrl": "string",
          "canonicalUrl": "string",
          "author": "string",
          "organization": "string",
          "filename": "string",
          "publishDate": "string",
          "creationDate": "string",
          "lastModificationDate": "string"
        }
      }
    ],
    "repositories": [
      {
        "id": "string",
        "title": "string",
        "introduction": "string",
        "matchedWords": 0,
        "repositoryId": "string",
        "scanId": "string",
        "metadata": {
          "finalUrl": "string",
          "canonicalUrl": "string",
          "author": "string",
          "organization": "string",
          "filename": "string",
          "publishDate": "string",
          "creationDate": "string",
          "lastModificationDate": "string",
          "submittedBy": "string"
        }
      }
    ],
    "internalAIData": [
      {
        "id": "string",
        "title": "string",
        "introduction": "string",
        "matchedWords": 0,
        "identicalWords": 0,
        "similarWords": 0,
        "paraphrasedWords": 0,
        "totalWords": 0
      }
    ],
    "score": {
      "identicalWords": 0,
      "minorChangedWords": 0,
      "relatedMeaningWords": 0,
      "aggregatedScore": 0
    }
  },
  "downloadableReport": {
    "status": "Success = 0",
    "report": "string"
  },
  "notifications": {
    "alerts": [
      {
        "category": 2,
        "code": "string",
        "title": "string",
        "message": "string",
        "helpLink": "string",
        "severity": 0,
        "additionalData": "string"
      }
    ]
  }
}

Next Steps

Webhooks Overview

Learn about the different types of webhooks and how to handle them.

Export Method

Learn how to export scan results, including new plagiarism results.

How to Display Scan Reports

Understand how to present new results to your users effectively.

Scan Alerts

Explore the full list of scan alerts and their meanings.