Start a free static-analysis scan with no project
POST/api/v1/assessments/sast-scan
Scan a repository without creating a project for it first.
The project-bound twin lives at POST /projects/{id}/sast-scan and is
paced by that project's cooldown claim. This one has no project to key a
claim on, so the org's monthly quota paces it instead.
Every check runs before any state mutation, and none of them touches the ledger: a free scan spends nothing on either path.
Request
Responses
- 202
- 400
- 401
- 403
- 404
- 409
- 422
- 429
- 500
Successful Response
Bad request — malformed input or failed validation.
Missing, expired, or invalid credentials.
Authenticated but not authorized for this resource. Note: cross-organization reads return 404, not 403.
Resource not found, or hidden for tenant-enumeration safety (the caller lacks permission to know whether the resource exists).
Conflict — the current resource state does not allow this operation (e.g. assessment already started, email already in use).
Semantic validation failure — request shape was valid but contents were not.
The month's free scans are used up
Internal server error — unexpected failure.