Re-fetch the assessment's source archive
POST/api/v1/assessments/:assessment_id/source/refetch
Re-pull the assessment's recorded repository at the recorded ref.
Authorization: require_repository_for_assessment — caller must
have RBAC permission on the assessment AND the action is strictly
limited to the assessment's recorded connected VCS source repository.
Request
Responses
- 200
- 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.
Too many requests — rate limited. Retry after the window resets.
Internal server error — unexpected failure.