Skip to main content
GET
Get tasks that serve as evidence for a policy, grouped by control

Authorizations

X-API-Key
string
header
required

API key for authentication

Headers

X-Organization-Id
string

Organization ID (required for session auth, optional for API key auth)

Path Parameters

id
string
required

Policy ID

Example:

"pol_abc123def456"

Response

Evidence tasks retrieved successfully

data
object[]
required

One entry per control mapped to the policy — the tasks are grouped by control, not returned as a flat list. A task mapped to two controls appears in both groups.

count
number
required

Number of DISTINCT tasks across all groups — deduplicated, so it can be smaller than the sum of the group lengths.

Example:

2

authType
enum<string>
required

How the request was authenticated

Available options:
api-key,
session
authenticatedUser
object

Authenticated user information (only present for session auth)