Skip to main content
POST
GetCoverageSummary

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
selections
NamedSelection · object[]

The candidate sets to count: 1 to 20, with distinct keys.

Required array length: 1 - 20 elements
freshness
enum<string>

Where the answer is computed from. Defaults to the recomputed membership.

FRESHNESS_LIVE re-resolves every definition once for the whole request, not once per selection, so several selections cost little more than one.

Available options:
FRESHNESS_UNSPECIFIED,
FRESHNESS_CACHED,
FRESHNESS_LIVE

Response

200 - application/json

Success

summaries
CoverageSummary · object[]

One entry per requested selection, in the order they were requested.

membersComputedAt
string<date-time> | null

When the recomputation behind these totals last ran to completion — the start of the most recent successful pass over the workspace's overlays.

Absent under FRESHNESS_LIVE, and absent when the workspace has no overlay of a readable kind, or none has been computed yet.

Examples:

"2023-01-15T01:30:15.01Z"

"2024-12-25T12:00:00Z"