Bundled engagement insights (acceptance + time-to-approval + brush usage)
GET
/api/canvas/{deal_id}/engagement/insights
const url = 'https://example.com/api/canvas/example/engagement/insights?days=30';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url 'https://example.com/api/canvas/example/engagement/insights?days=30' \ --header 'Authorization: Bearer <token>'Return a bundled response combining three slower rollups.
Bundles instead of three separate calls because the round-trip to the warehouse is the bottleneck, not the per-query DuckDB work. Each sub-result may be None independently (sub-cohort below threshold).
Authorizations
Section titled “Authorizations ”Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters ” deal_id
required
Deal Id
string
Query Parameters
Section titled “Query Parameters ” days
Days
integer
Responses
Section titled “ Responses ”Successful Response
Media type application/json
Response Get Bundled Insights Api Canvas Deal Id Engagement Insights Get
object
key
additional properties
any
Example generated
{}Validation Error
Media type application/json
HTTPValidationError
object
detail
Detail
Array<object>
ValidationErrorobject
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": {} } ]}