Skip to content

Get trust score history for all agent roles

GET
/api/v1/agents/trust/timeline
curl --request GET \
--url 'https://api.ultimateteam.ai/api/v1/agents/trust/timeline?days=90' \
--header 'X-API-Key: <X-API-Key>'

Return trust score history for all agent roles within the requested window. Ordered by agent_role ASC, computed_at ASC for chart rendering. Autonomy levels are returned as recorded; history is not recomputed.

days
Days
integer
default: 90

Successful Response

Media typeapplication/json
Response Get Trust Timeline Api V1 Agents Trust Timeline Get
Array<object>
AgentTrustScore

Per-agent-role trust score. Named AgentTrustScore to avoid collision with existing TrustScore Pydantic model (per-action-type, line 192).

object
action
Action
string
default: none
agent_role
required
Agent Role
string
approval_rate
required
Approval Rate
number
autonomy_level_after
required
Autonomy Level After
integer
autonomy_level_before
Any of:
integer
calibration_delta
required
Calibration Delta
number
computed_at
required
Computed At
string format: date-time
decision_count
required
Decision Count
integer
outcome_accuracy
required
Outcome Accuracy
number
override_inverted
required
Override Inverted
number
tenant_id
required
Tenant Id
string format: uuid
trust_score
required
Trust Score
number
window_days
Window Days
integer
default: 30
window_end
required
Window End
string format: date-time
window_start
required
Window Start
string format: date-time
Example
[
{
"action": "none",
"window_days": 30
}
]

Validation Error

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