Behaviors
Get behavior summary
Changed onReturns how often each behavior fired in a time range, with totals and a rollup by polarity. Counts come from an hourly rollup refreshed every 10 minutes, so the range is widened to whole hours.
post/api/pulses/behaviors/
Request
- Base URLhttps://api.respan.ai
- URLhttps://api.respan.ai/api/pulses/behaviors/
- AuthHTTP bearer
Request body
Example request
{
"start_time": "2026-09-24T00:00:00Z",
"end_time": "2026-10-01T00:00:00Z",
"environment": "prod"
}Response
Behavior counts for the range.
Example response
{
"behaviors": [
{
"behavior": "instruction_miss",
"fired_spans": 143,
"classified_spans": 5210,
"polarity": "negative",
"is_builtin": true
}
],
"total_behaviors_tracked": 6,
"total_classified_spans": 5210,
"total_fired_spans": 1288,
"polarity_totals": {
"positive": 412,
"negative": 187,
"neutral": 960
},
"net_sentiment": 225
}Changes
- info
api operation id
behaviors_getBehaviorSummaryremoved and replaced withgetBehaviorSummary - info
api tag
Behaviorsadded - info
api tag
behaviorsremoved
- info
- info
endpoint added
- info