Skip to content

Get agent vital signs

GET
/api/v1/agents/{role}/vitals

Return performance vital signs for the specified agent role.

Authorizations

Parameters

Path Parameters

role
required

The agent role identifier

string

The agent role identifier

Responses

200

Successful Response

Wrapper response for GET /agents/{role}/vitals.

Attributes: data: The vitals payload.

object
data
required

Agent vital signs for GET /agents/{role}/vitals.

Attributes: agent_role: The agent role identifier. tasks_completed: Total completed tasks in the latest period. tasks_failed: Total failed tasks in the latest period. avg_execution_time_seconds: Average task execution time. acceptance_rate: Fraction of recommendations accepted by the user. outcome_accuracy: Fraction of predicted outcomes that matched reality. tokens_used: Total tokens consumed in the latest period. cost_usd: Total cost in USD for the latest period. period_start: ISO timestamp of the period start. period_end: ISO timestamp of the period end.

object
acceptance_rate
Any of:
number
agent_role
required
string
avg_execution_time_seconds
Any of:
number
cost_usd
number
outcome_accuracy
Any of:
number
period_end
Any of:
string
period_start
Any of:
string
tasks_completed
integer
tasks_failed
integer
tokens_used
integer

422

Validation Error

object
detail
Array<object>
object
ctx
object
input
loc
required
Array
msg
required
string
type
required
string