Skip to content

Models: D

  • nodes: list[kindgi.client.Node]
  • edges: list[kindgi.client.Edge]
  • run: kindgi.client.FinishedRun
  • endpoint_id: str (endpointId on the wire)
  • id: uuid.UUID
  • tenant_id: uuid.UUID (tenantId on the wire)
  • project_id: uuid.UUID | None (projectId on the wire) (optional)
  • flow_id: str (flowId on the wire)
  • flow_version: str (flowVersion on the wire)
  • status: Literal['pending', 'running', 'suspended', 'completed', 'failed', 'cancelled']
  • dry_run: bool (dryRun on the wire)
  • created_at: AwareDatetime (createdAt on the wire)
  • updated_at: AwareDatetime (updatedAt on the wire)
  • completed_at: AwareDatetime | None (completedAt on the wire) (optional)
  • failure_message: str | None (failureMessage on the wire) (optional)
  • output: Any | None (optional)
  • parent_run_id: uuid.UUID | None (parentRunId on the wire) (optional)
  • parent_node_id: str | None (parentNodeId on the wire) (optional)
  • public_access_token: str | None (publicAccessToken on the wire) (optional)
  • public_access_token_expires_at: AwareDatetime | None (publicAccessTokenExpiresAt on the wire) (optional)
  • sequence: int
  • kind: str
  • node_id: str | None (nodeId on the wire) (optional)
  • payload: Any | None (optional)
  • timestamp: AwareDatetime | str

An API key: a service account in its tenant. Never includes the secret.

  • token_id: uuid.UUID (tokenId on the wire)
  • role: Literal['admin', 'member']
  • capabilities: list[kindgi.client.Capability]
  • label: str | None (optional)
  • project_id: uuid.UUID | None (projectId on the wire) (optional)
  • created_by: str | None (createdBy on the wire) (optional)
  • created_at: AwareDatetime (createdAt on the wire)
  • expires_at: AwareDatetime | None (expiresAt on the wire) (optional)
  • revoked_at: AwareDatetime | None (revokedAt on the wire) (optional)
  • last_used_at: AwareDatetime | None (lastUsedAt on the wire) (optional)
  • blob_id: str (blobId on the wire)
  • tenant_id: uuid.UUID (tenantId on the wire)
  • name: str
  • content_type: str (contentType on the wire)
  • size: int
  • hash: str
  • tags: dict[str, str]
  • owner_run_id: uuid.UUID | None (ownerRunId on the wire) (optional)
  • created_at: AwareDatetime (createdAt on the wire)
  • id: str
  • tenant_id: str (tenantId on the wire)
  • timestamp: AwareDatetime
  • actor_subject: str (actorSubject on the wire)
  • on_behalf_subject: str | None (onBehalfSubject on the wire) (optional)
  • action: str
  • resource: str
  • outcome: Literal['allowed', 'denied']
  • reason: str
  • failing: str | None (optional)
  • evidence: dict[str, Any] | None (optional)
  • correlation_id: str | None (correlationId on the wire) (optional)
  • run_id: str | None (runId on the wire) (optional)
  • latency_ms: float | None (latencyMs on the wire) (optional)
  • blob_id: str (blobId on the wire)
  • deleted: bool
  • data: list[kindgi.client.DeploymentRecord]
  • next_cursor: str | None (nextCursor on the wire) (optional)
  • has_more: bool (hasMore on the wire)
  • tools: list[kindgi.client.Tool1]
  • guardrails: list[kindgi.client.Guardrail1]
  • agents: list[kindgi.client.Agent1]
  • flows: list[kindgi.client.Flow1]
  • tools: int
  • guardrails: int
  • agents: int
  • flows: int
  • deployment_id: str (deploymentId on the wire)
  • tenant_id: uuid.UUID (tenantId on the wire)
  • image_ref: str (imageRef on the wire)
  • image_digest: str (imageDigest on the wire)
  • artifact_version: str (artifactVersion on the wire)
  • index_hash: str (indexHash on the wire)
  • signer_key_id: str (signerKeyId on the wire)
  • signer_public_key: str (signerPublicKey on the wire)
  • signature: str
  • published_at: AwareDatetime (publishedAt on the wire)
  • activated_at: AwareDatetime (activatedAt on the wire)
  • primitives: kindgi.client.DeploymentPrimitiveCounts
  • contents: kindgi.client.DeploymentContents
  • image_ref: str (imageRef on the wire)
  • artifact_version: str (artifactVersion on the wire)
  • index_hash: str (indexHash on the wire)
  • signer_key_id: str (signerKeyId on the wire)
  • signer_public_key: str (signerPublicKey on the wire)
  • signature: str
  • published_at: AwareDatetime (publishedAt on the wire)
  • env_name: str (envName on the wire)
  • secrets: list[kindgi.client.Secrets | kindgi.client.Secrets1]
  • resolved: int
  • added: int
  • references: list[kindgi.client.Reference]
  • primitive: Literal['tool', 'guardrail', 'agent', 'flow']
  • index: int
  • id: str | None (optional)
  • path: str
  • message: str

Draft a fix proposal for (agentId, agentVersion). The supervisor context comes from the X-Supervisor-Id header; the caller supplies the target agent + change payload + supporting evidence. Duplicate proposals (same (supervisor, fingerprint) in a non-terminal state) short-circuit to the pre-existing row and set X-Proposal-Deduped: true on the response.

  • agent_id: str (agentId on the wire)
  • agent_version: str (agentVersion on the wire)
  • tier: Literal['prompt', 'retrieval', 'tool-config']
  • change: dict[str, Any]
  • pattern_refs: list[kindgi.client.PatternRef] (patternRefs on the wire)
  • hypothesis: str
  • proposer_rule_id: str (proposerRuleId on the wire)
  • dataset_id: str (datasetId on the wire)
  • dataset_version: str (datasetVersion on the wire)
  • criterion: kindgi.client.Criterion | kindgi.client.Criterion1
  • proposal: kindgi.client.FixProposal
  • passed: bool