Skip to content

Dominant-cause histogram across excel zero-chunk attribution events

GET
/api/canvas/excel-zero-chunks/attribution
curl --request GET \
--url https://example.com/api/canvas/excel-zero-chunks/attribution \
--header 'Authorization: Bearer <token>'

Return the dominant_cause histogram.

Empty warehouse → {"distribution": []}. A malformed since_iso is absorbed by the service’s _safe_query (returns an empty list) rather than erroring — diagnostic surfaces degrade, they don’t crash.

since_iso
Any of:
string

Optional ISO-8601 UTC lower bound; omit for the full warehouse.

Successful Response

Media type application/json
Response Get Attribution Distribution Api Canvas Excel Zero Chunks Attribution Get
object
key
additional properties
any
Example generated
{}

Validation Error

Media type application/json
HTTPValidationError
object
detail
Detail
Array<object>
ValidationError
object
loc
required
Location
Array
msg
required
Message
string
type
required
Error Type
string
input
Input
ctx
Context
object
Example generated
{
"detail": [
{
"loc": [
"example"
],
"msg": "example",
"type": "example",
"input": "example",
"ctx": {}
}
]
}