Start assessment for project
POST/assessments/projects/:projectPid
Creates a project assessment, locks org credits for the run, and dispatches RiskAssessmentWorkflow. Requires project contributor scope and a billable org (assertCanRunAssessment). Returns 202 with assessmentPid and workflowRunId. May return 402 or 403 billing errors when credits are insufficient, the trial has expired, or billing is inactive.
Request
Responses
- 202
- 401
- 402
- 403
- 404
- 422
- 503
Success
air/UnauthorizedError
air/InsufficientCreditsError | air/TrialExpiredError
air/ForbiddenError | air/BillingInactiveError | air/SeatLimitExceededError | air/FeatureNotAvailableError
NotFound
air/SchemaValidationError
air/AuthUnavailableError