Run a check now
POST
Scan now for a paid check (code, app), even when nothing changed and with its routine off: limit_usd (5 to 300, default 25) is the most this scan spends from credits (send the limit you showed); returns the new scan's run_id (201), and 409 CONFLICT while a scan of that kind is queued or running. Check now for a free check (dependencies, deploy, secrets): queued on Syndai's servers at no cost, answered 202 {queued: true}; its findings appear on the Findings page. Owners and admins only for a free check (403 otherwise). 400 for an unknown kind.
CustomerApiKeyheader
AuthorizationBearer <API Key>Customer API key sent as a bearer token
repository_id*stringFormat
uuidkind*stringcustomer_id?|nullapplication/json- body
limit_usd?numberRange
5 <= value <= 300Default
25Document created, URL follows
application/json- response
run_id*stringFormat
uuidcurl -X POST 'https://api.syndai.ai/api/v1/external/coding/repositories/497f6eca-6276-4993-bfeb-53cbbbba6f08/scans/string/run' \ -H 'Content-Type: application/json' \ -d '{}'Example Response
{ "run_id": "dded282c-8ebd-44cf-8ba5-9a234973d1ec"}