Allocation Reports (Beta)

Calendar-month tabular breakdowns that spread Archera premiums, rebates, savings, and commitment costs across accounts, services, or child orgs.

List available allocation reports

get

Catalog of allocation/showback reports a caller can fetch via GET /allocation-reports/<report_type>. Each entry declares the query parameters it accepts and the columns its rows will contain.

Path parameters
org_idstring · uuidRequired
Responses
400

Bad request

application/json
messagestringRequired
detailany · nullableOptional
codestring · nullableOptional
urlstring · nullableOptional
timestampstringRequired
typestringRequired
get
/beta/v1/org/{org_id}/allocation-reports

Fetch one allocation report

get

Returns one report's rows for the requested calendar month. Accepted query parameters and returned columns vary by report_type — call the list endpoint to discover them. Pass ?format=csv for a CSV download (default is JSON). Returns 404 for unknown or per-org-hidden reports, and 404 with code: period_not_available when the requested (year, month) isn't in this report's available periods — call the /periods endpoint to enumerate what is. marshmallow.ValidationError on bad query params is handled globally as a 400.

Path parameters
org_idstring · uuidRequired
report_typestring · min: 1Required
Responses
400

Bad request

application/json
messagestringRequired
detailany · nullableOptional
codestring · nullableOptional
urlstring · nullableOptional
timestampstringRequired
typestringRequired
get
/beta/v1/org/{org_id}/allocation-reports/{report_type}

List periods available for an allocation report

get

Returns the (year, month) periods this report can be queried for, given the supplied filter params (same shape as the get endpoint minus year/month — those are the dimensions being enumerated). Each entry has status: "finalized" for past months backed by an invoice, or "in_progress" for the current calendar month when the report's update_cadence is "daily". Sorted most-recent first.

Path parameters
org_idstring · uuidRequired
report_typestring · min: 1Required
Responses
400

Bad request

application/json
messagestringRequired
detailany · nullableOptional
codestring · nullableOptional
urlstring · nullableOptional
timestampstringRequired
typestringRequired
get
/beta/v1/org/{org_id}/allocation-reports/{report_type}/periods

Last updated

Was this helpful?