Ana içeriğe atla
post/v1/scans

Create a new scan

Accepts a URL + optional metadata. The scan runs asynchronously; stream progress via the `stream_url` or poll `result_url`.

İstek gövdesi

  • urlstring <uri>Zorunlu
  • site_typeanyOfOpsiyonel
  • depthintegerOpsiyonel
  • js_renderbooleanOpsiyonel
  • priorityenum (2)Opsiyonel
  • webhook_urlanyOfOpsiyonel
  • metadataobjectOpsiyonel

Yanıtlar

  • 202Successful Response
    • scan_idstringZorunlu
    • statusenum (5)Zorunlu
    • created_atstring <date-time>Zorunlu
    • estimated_duration_secondsintegerOpsiyonel
    • stream_urlstringZorunlu
    • result_urlstringZorunlu
    • cachedbooleanOpsiyonel
  • 422Validation Error
    • detailarrayOpsiyonel
POST /v1/scans | AIDE