Models: Q
QueueRule
Section titled “QueueRule”One version of a queue rule; the latest live one applies.
rule_id: str(ruleIdon the wire)project_id: str(projectIdon the wire)version: intname: strwhen: kindgi.client.QueueRuleWhensample: floatmax_open: int | None(maxOpenon the wire) (optional)corrector_group_id: str | None(correctorGroupIdon the wire) (optional)enabled: boolcreated_by: str | None(createdByon the wire) (optional)created_at: AwareDatetime(createdAton the wire)unregistered_at: AwareDatetime | None(unregisteredAton the wire) (optional)
QueueRuleGroupResult
Section titled “QueueRuleGroupResult”corrector_group_id: str | None(correctorGroupIdon the wire)corrections: intyes: int
QueueRulePage
Section titled “QueueRulePage”data: list[kindgi.client.QueueRule]has_more: bool(hasMoreon the wire)next_cursor: str | None(nextCursoron the wire) (optional)
QueueRulePatch
Section titled “QueueRulePatch”The fields to change; when is replaced whole.
name: str | None(optional)when: kindgi.client.QueueRuleWhen | None(optional)sample: float | None(optional)max_open: int | None(maxOpenon the wire) (optional)corrector_group_id: str | None(correctorGroupIdon the wire) (optional)enabled: bool | None(optional)
QueueRulePreview
Section titled “QueueRulePreview”considered: intmatched: int
QueueRuleResultGroup
Section titled “QueueRuleResultGroup”One rule version's runs of one agent version. added = open + corrected + dismissed + erased.
rule_version: int(ruleVersionon the wire)agent_version: str | None(agentVersionon the wire)added: intopen: intcorrected: intdismissed: interased: intskipped_by_cap: int(skippedByCapon the wire)corrections: intruns_with_corrections: int | None(runsWithCorrectionson the wire) (optional)yes_share: float | None(yesShareon the wire)by_group: list[kindgi.client.QueueRuleGroupResult](byGroupon the wire)
QueueRuleResults
Section titled “QueueRuleResults”rule_id: str(ruleIdon the wire)since: AwareDatetime | None(optional)groups: list[kindgi.client.QueueRuleResultGroup]
QueueRuleSpec
Section titled “QueueRuleSpec”A queue rule as written. It only lists runs: nothing here starts a model.
name: strwhen: kindgi.client.QueueRuleWhensample: float | None(optional)max_open: int | None(maxOpenon the wire) (optional)corrector_group_id: str | None(correctorGroupIdon the wire) (optional)enabled: bool | None(optional)
QueueRuleUnregisterResult
Section titled “QueueRuleUnregisterResult”rule_id: str(ruleIdon the wire)unregistered: bool
QueueRuleWhen
Section titled “QueueRuleWhen”Which of a project's runs a rule matches as they end. Every field narrows; absent fields don't. agentIds or flowIds, not both. Top-level runs only (an agent's own runs, not its turns as a flow's step); replays never match.
agent_ids: list[str] | None(agentIdson the wire) (optional)flow_ids: list[str] | None(flowIdson the wire) (optional)versions: list[str] | None(optional)status: list[Annotated[Union[Literal['completed', 'failed', 'cancelled'], str], <kindgi.client._open.OpenEnum object at 0x1073beed0>]] | None(optional)include_dry_runs: bool | None(includeDryRunson the wire) (optional)