Skip to content

AgentGovernanceDecisionsOptions

AgentGovernanceDecisionsOptions = PaginationOptions & { agentId?: string; endTime?: Date; evaluatorResult?: AgentGovernanceVerdict; hook?: string; policyId?: string; violationsOnly?: boolean; }

Options for the governance decisions query — optional filters plus pagination.

Type Declaration

agentId?

optional agentId: string

Filter on a single agent by its project key.

endTime?

optional endTime: Date

Inclusive upper bound for the query window. Defaults to now when omitted.

evaluatorResult?

optional evaluatorResult: AgentGovernanceVerdict

Filter on the verdict.

hook?

optional hook: string

Filter on the governance hook.

policyId?

optional policyId: string

Filter on a single policy ID.

violationsOnly?

optional violationsOnly: boolean

When true, restrict to violations (deny verdicts).