Get behavior signals over time
Changed onReturns how many spans fired each behavior per time bucket, or per polarity with group_by: polarity. minute buckets use exact range edges; larger buckets read the hourly rollup.
Request
- Base URLhttps://api.respan.ai
- URLhttps://api.respan.ai/api/pulses/behaviors/timeseries/
- AuthHTTP bearer
Request body
Example request
{
"start_time": "2026-09-24T00:00:00Z",
"end_time": "2026-10-01T00:00:00Z",
"environment": "prod",
"granularity": "hour",
"group_by": "behavior",
"behaviors": [
"refusal",
"instruction_miss"
]
}Response
Fired counts per bucket.
Example response
{
"granularity": "hour",
"group_by": "behavior",
"series": [
{
"bucket": "2026-09-30T14:00:00",
"behavior": "instruction_miss",
"polarity": "negative",
"fired_spans": 12
}
]
}Changes
- breaking
the
//response's property type changed fromstringto no type for status - info
api operation id
behaviors_getBehaviorTimeSeriesremoved and replaced withgetBehaviorTimeSeries - info
api tag
Behaviorsadded - info
api tag
behaviorsremoved - info
added to the
//response propertyallOflist for the response status - info
removed the
negativeenum value from the//response property for the response status - info
removed the
neutralenum value from the//response property for the response status - info
removed the
positiveenum value from the//response property for the response status
- breaking
- info
endpoint added
- info