Skip to main content
POST
List
This endpoint is in preview: it may change without notice until it becomes part of a stable version.

Body

application/json
indemnity_ids
string<snowflake>[]
required

The indemnities disabled, not valid over the date range, or restricted to teams that are not reported on are left out.

resource_ids
string<snowflake>[]
required

The resources the caller cannot view the indemnities of over the date range are left out.

date_range
string<local-date-interval>
required
Example:

"2019-11-11/2019-12-12"

team_ids
string<snowflake>[]

Defaults to, and is limited to, every team the caller can view the indemnities of. The indemnities and resources outside these teams are left out, but the values count every team of the indemnity, even on an instance that scopes indemnities by team in the indemnity report.

Response

200 - application/json
indemnity_id
string<snowflake>
required
Example:

"872815618512410358"

resource_id
string<snowflake>
required
Example:

"872815618512410358"

total
object | null
required

Null when no value could be computed over the date range.

daily_values
object[]
required

Only the days the indemnity was computed on, without zero filling.