post
/v1/scansCreate a new scan
Accepts a URL + optional metadata. The scan runs asynchronously; stream progress via the `stream_url` or poll `result_url`.
Request body
urlstring <uri>Requiredsite_typeanyOfOptionaldepthintegerOptionaljs_renderbooleanOptionalpriorityenum (2)Optionalwebhook_urlanyOfOptionalmetadataobjectOptionalprofileenum (2)OptionalWhich check suite a scan asks for. Profile is orthogonal to ``site_type``: a "content" site can be scanned with the AI Agent-Ready suite *or* the SEO suite, and each suite weights its categories differently. Adding a profile is intentionally cheap — the registry filters by check class attribute so we never have to maintain a parallel inventory. Yeni bir profile eklemek için: bu enum'a satır ekle, ilgili check sınıflarının ``profiles`` frozenset'ine yeni profili koy. Frontend tarafında ``apps/web/src/lib/profiles.ts`` registry'sine de ekleme şart (UI route klasörü + i18n key'leri için).
seo_keywordsarrayOptionalseo_target_countryanyOfOptionalseo_competitorsarrayOptional
Responses
- 202Successful Response
scan_idstringRequiredstatusenum (5)Requiredcreated_atstring <date-time>Requiredestimated_duration_secondsintegerOptionalstream_urlstringRequiredresult_urlstringRequiredcachedbooleanOptional
- 422Validation Error
detailarrayOptional