VocalDocscontracts 1.65.0

AgentPoliciesEvaluateResult

The result of a dry run of one hook of an Agent version (1.47.0): what happens there for this context before a caller meets it.

An object with 9 fields.

Fields

FieldTypeRequiredDescription
actionsarray of PolicyActionyesThe matched actions that apply after conflict resolution, in evaluation order. A Policy that applies by failing closed has no parameters and is named in policies only.
agent_idAgentIdyes
elapsed_usnumberyesThe evaluation time in microseconds, as the engine measured it (a measurement of this run, never a budget).
engine_versionstringyes
hookHookPointyes
object"agent_policies_evaluation"yes
policiesarray of AgentPolicyEvaluationyesEvery Policy of the hook, at most 50 (a target), in evaluation order.
terminal_policy_idPolicyId or nullyesThe Policy whose terminal action won the hook, or null.
versionintegeryesThe Agent version.

Used by

The operations whose parameters, request body or responses name this shape directly.