Skip to content

Models: G

View as Markdown

The approval a passing pin waits for.

  • role: Union[Literal['standard', 'senior', 'admin'], str]
  • count: int
  • separate_approver: bool (separateApprover on the wire)

One of a gate's checks, as the pin records it.

  • name: str
  • passed: bool
  • message: str
  • value: float | str | None (optional)
  • threshold: float | str | None (optional)
  • case_ids: list[str] | None (caseIds on the wire) (optional)
  • secret: str
  • root: kindgi.client.OidcIdentityProviderConfig | kindgi.client.SamlIdentityProviderConfig | kindgi.client.GetIdentityProviderResultUnrecognized

A kind this client doesn't know yet, from a newer runtime: the object as it came, every field kept.

  • kind: str
  • arguments: dict[str, str] | None (optional)
  • messages: list[kindgi.client.MCPPromptMessage]
  • id: str
  • project_id: uuid.UUID | None (projectId on the wire) (optional)
  • name: str | None (optional)
  • description: str | None (optional)
  • kind: str
  • check: str
  • config: dict[str, Any] | None (optional)
  • action: kindgi.client.GuardrailAction
  • severity: Optional[Annotated[Union[Literal['info', 'warn', 'error', 'critical'], str], <kindgi.client._open.OpenEnum object at 0x107dd6b90>]] (optional)
  • scope: kindgi.client.GuardrailScope | None (optional)
  • at: Optional[Annotated[Union[Literal['before-tool', 'after-tool', 'model-step', 'final-answer'], str], <kindgi.client._open.OpenEnum object at 0x107dd6b90>]] (optional)
  • sees: Optional[Annotated[Union[Literal['turn', 'conversation'], str], <kindgi.client._open.OpenEnum object at 0x107dd6b90>]] (optional)
  • budget: kindgi.client.Budget | None (optional)
  • judge_capabilities: dict[str, Any] | None (judgeCapabilities on the wire) (optional)
  • on_violation: str (on-violation on the wire)
  • retry: kindgi.client.Retry | None (optional)
  • escalate_to: str | None (escalateTo on the wire) (optional)
  • compensate_with: str | None (compensateWith on the wire) (optional)

A turn the guardrail blocked: its run, never its answer.

  • run_id: uuid.UUID (runId on the wire)
  • at: AwareDatetime
  • agent_id: str (agentId on the wire)
  • agent_version: str (agentVersion on the wire)
  • data: list[kindgi.client.Guardrail]
  • next_cursor: str | None (nextCursor on the wire) (optional)
  • has_more: bool (hasMore on the wire)

How many of a guardrail's checks came to each outcome: one check per answer it judged. A guardrail judges a turn's final answer. In a turn with a retry guardrail, its halt and retry guardrails judge each answer, so a turn that sent answers back counts a check of those for each.

  • passed: int
  • violated: int
  • blocked: int
  • errored: int
  • guardrail_id: str (guardrailId on the wire)
  • from_: AwareDatetime (from on the wire)
  • to: AwareDatetime
  • counts: kindgi.client.GuardrailOutcomeCounts
  • by_agent_version: list[kindgi.client.GuardrailOutcomesByAgentVersion] (byAgentVersion on the wire)
  • recent_blocked: list[kindgi.client.GuardrailBlockedRun] (recentBlocked on the wire)
  • recorded_since: AwareDatetime | None (recordedSince on the wire) (optional)

The counts on one agent version's turns.

  • agent_id: str (agentId on the wire)
  • agent_version: str (agentVersion on the wire)
  • passed: int
  • violated: int
  • blocked: int
  • errored: int
  • when: Optional[Annotated[Union[Literal['always', 'ci-only', 'runtime-only'], str], <kindgi.client._open.OpenEnum object at 0x107dd6b90>]] (optional)
  • agents: list[str] | None (optional)
  • flows: list[str] | None (optional)
  • tenants: list[str] | None (optional)
  • tools: list[kindgi.client.GuardrailToolMatch] | None (optional)
  • root: str