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
| Field | Type | Required | Description |
|---|---|---|---|
actions | array of PolicyAction | yes | The 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_id | AgentId | yes | |
elapsed_us | number | yes | The evaluation time in microseconds, as the engine measured it (a measurement of this run, never a budget). |
engine_version | string | yes | |
hook | HookPoint | yes | |
object | "agent_policies_evaluation" | yes | |
policies | array of AgentPolicyEvaluation | yes | Every Policy of the hook, at most 50 (a target), in evaluation order. |
terminal_policy_id | PolicyId or null | yes | The Policy whose terminal action won the hook, or null. |
version | integer | yes | The Agent version. |
Used by
The operations whose parameters, request body or responses name this shape directly.