Search assessments, findings, and reports
GET/api/v1/search
Global search across assessments, findings, and reports for the caller's organization.
Runs the three searches in parallel using the database text indexes with a regex substring fallback when the query is too short or the text index is missing.
- Scope required:
assessments:read. - Rate-limit tier:
search(60 req/min per user). - RBAC: results are filtered through
get_accessible_assessment_idsmembers and managers only see assessments assigned to them. - Response totals are per-type capped at
limit; combined total is therefore up to3 * limit.
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.