Audits

List audits assigned to the authenticated auditor

GET
/audits/assigned

Returns audits assigned to the authenticated user (auditor_user_id), excluding COMPLETED. Supports optional search by audit name and filter by audit template framework. Requires Auditor role (team_members.role = Auditor). Audit managers receive 403.

Authorization

SupabaseBearer
AuthorizationBearer <token>

Supabase user access token (Authorization: Bearer JWT)

In: header

Query Parameters

search?string

Partial match against audit name (case-insensitive).

framework?string

Filter by audit template framework.

Response Body

application/json

application/json

curl -X GET "https://example.com/audits/assigned"
{}
Empty
{  "message": "string"}