Behaviors
Get behavior counts by dimension
Changed onSplits the spans where one behavior fired by a span field, such as model or customer. The signals panel uses it for its "By model" and "By customer" splits.
post/api/pulses/behaviors/grouped/
Request
- Base URLhttps://api.respan.ai
- URLhttps://api.respan.ai/api/pulses/behaviors/grouped/
- AuthHTTP bearer
Request body
Example request
{
"behavior": "instruction_miss",
"group_by": "model",
"start_time": "2026-09-24T00:00:00Z",
"end_time": "2026-10-01T00:00:00Z",
"environment": "prod",
"limit": 10
}Response
Fired counts per group.
Example response
{
"behavior": "instruction_miss",
"group_by": "model",
"groups": [
{
"group_value": "gpt-4o-mini",
"fired_spans": 61
}
]
}Changes
- breaking
request body became required
- info
api operation id
behaviors_getBehaviorBreakdownremoved and replaced withgetBehaviorBreakdown - info
api tag
Behaviorsadded - info
api tag
behaviorsremoved
- breaking
- info
endpoint added
- info