Skip to content

Models: T

  • id: str
  • tenant_id: str (tenantId on the wire)
  • org_id: str | None (orgId on the wire) (optional)
  • name: str
  • slug: str
  • description: str | None (optional)
  • created_at: str (createdAt on the wire)
  • updated_at: str (updatedAt on the wire)
  • data: list[kindgi.client.Team]
  • has_more: bool (hasMore on the wire)
  • next_cursor: str | None (nextCursor on the wire) (optional)
  • team_id: str (teamId on the wire)
  • user_id: str (userId on the wire)
  • role: Literal['member', 'admin']
  • joined_at: str (joinedAt on the wire)
  • data: list[kindgi.client.TeamMembership]
  • has_more: bool (hasMore on the wire)
  • next_cursor: str | None (nextCursor on the wire) (optional)
  • name: str | None (optional)
  • slug: str | None (optional)
  • description: str | None (optional)
  • org_id: str | None (orgId on the wire) (optional)
  • name: str
  • slug: str
  • description: str | None (optional)
  • org_id: str | None (orgId on the wire) (optional)
  • id: uuid.UUID
  • name: str
  • slug: str
  • created_at: AwareDatetime (createdAt on the wire)
  • updated_at: AwareDatetime (updatedAt on the wire)
  • data: list[kindgi.client.TenantConfigEntry]
  • has_more: bool (hasMore on the wire)
  • next_cursor: str | None (nextCursor on the wire) (optional)
  • tenant_id: str (tenantId on the wire)
  • kind: Literal['env', 'config', 'secret']
  • key: str
  • value: str
  • sensitive: bool
  • revision: int
  • updated_at: str (updatedAt on the wire)
  • from_: AwareDatetime (from on the wire)
  • to: AwareDatetime
  • id: str
  • description: str
  • version: str | None (optional)
  • input: dict[str, Any]
  • output: dict[str, Any]
  • needs: list[kindgi.client.ToolNeed] | None (optional)
  • effects: list[kindgi.client.ToolEffect] | None (optional)
  • transport: Optional[Literal['auto', 'native', 'mcp']] (optional)
  • mcp_endpoint: str | None (mcpEndpoint on the wire) (optional)
  • metadata: dict[str, Any] | None (optional)
  • mutating: bool | None (optional)
  • sandbox: Optional[Literal['none', 'context-isolated', 'strict']] (optional)
  • limits: kindgi.client.RuntimeLimits | None (optional)
  • network: kindgi.client.NetworkPolicy1 | kindgi.client.NetworkPolicy2 | None (optional)
  • needs_spec: kindgi.client.TypedNeeds | None (needsSpec on the wire) (optional)
  • code_artifact_ref: kindgi.client.CodeArtifactRef1 | kindgi.client.CodeArtifactRef2 | None (codeArtifactRef on the wire) (optional)
  • spec: kindgi.client.ToolSpec | None (optional)
  • id: str
  • version: str | None (optional)
  • tool_id: str (toolId on the wire)
  • invocation_id: str (invocationId on the wire)
  • data: list[kindgi.client.Tool]
  • next_cursor: str | None (nextCursor on the wire) (optional)
  • has_more: bool (hasMore on the wire)
  • kind: Literal['reads', 'writes', 'deletes', 'network', 'spawns-run', 'emits-event', 'external-side-effect', 'sensitive-data-egress']
  • resource: str | None (optional)
  • notes: str | None (optional)
  • max_retries: int | None (maxRetries on the wire) (optional)
  • retry_on: list[Literal['invalid-arguments', 'unknown-tool', 'tool-error']] | None (retryOn on the wire) (optional)
  • name: str
  • optional: bool | None (optional)

Typed tool reference. version is a semver range (npm-style: 1.2.3 exact pin, ^1.2.3 compatible-updates, ~1.2.3 patch-updates-only, >=1.0.0 <2.0.0 explicit range). Dispatch resolves the range to a concrete active version via semver.maxSatisfying at run start. No implicit "latest" — every tool ref names both id and range.

  • id: str
  • version: str
  • env_name: str (envName on the wire)
  • name: str
  • root: kindgi.client.HttpToolSpec
  • data: list[kindgi.client.ToolVersionRow]
  • next_cursor: str | None (nextCursor on the wire) (optional)
  • has_more: bool (hasMore on the wire)
  • id: str
  • description: str
  • version: str | None (optional)
  • input: dict[str, Any]
  • output: dict[str, Any]
  • needs: list[kindgi.client.ToolNeed] | None (optional)
  • effects: list[kindgi.client.ToolEffect] | None (optional)
  • transport: Optional[Literal['auto', 'native', 'mcp']] (optional)
  • mcp_endpoint: str | None (mcpEndpoint on the wire) (optional)
  • metadata: dict[str, Any] | None (optional)
  • mutating: bool | None (optional)
  • sandbox: Optional[Literal['none', 'context-isolated', 'strict']] (optional)
  • limits: kindgi.client.RuntimeLimits | None (optional)
  • network: kindgi.client.NetworkPolicy1 | kindgi.client.NetworkPolicy2 | None (optional)
  • needs_spec: kindgi.client.TypedNeeds | None (needsSpec on the wire) (optional)
  • code_artifact_ref: kindgi.client.CodeArtifactRef1 | kindgi.client.CodeArtifactRef2 | None (codeArtifactRef on the wire) (optional)
  • spec: kindgi.client.ToolSpec | None (optional)
  • unregistered_at: AwareDatetime | None (unregisteredAt on the wire) (optional)
  • key_id: str (keyId on the wire)
  • algorithm: Optional[Literal['ed25519']] (optional)
  • public_key: str (publicKey on the wire)
  • label: str | None (optional)

A public key the tenant trusts to sign deployments (POST /v1/deployments). A revoked key stays readable, with revokedAt, so the deployments it signed can be audited; it verifies no new ones.

  • key_id: str (keyId on the wire)
  • tenant_id: uuid.UUID (tenantId on the wire)
  • algorithm: Literal['ed25519']
  • public_key: str (publicKey on the wire)
  • label: str | None (optional)
  • created_at: AwareDatetime (createdAt on the wire)
  • revoked_at: AwareDatetime | None (revokedAt on the wire) (optional)
  • revoked_reason: str | None (revokedReason on the wire) (optional)
  • data: list[kindgi.client.TrustedSigningKey]
  • next_cursor: str | None (nextCursor on the wire) (optional)
  • has_more: bool (hasMore on the wire)
  • max_steps: int | None (maxSteps on the wire) (optional)
  • max_cost_usd: float | None (maxCostUsd on the wire) (optional)
  • max_wall_ms: int | None (maxWallMs on the wire) (optional)

Typed discriminated needs (env / secrets / config / capabilities / bindings). Optional additive field.

  • env: dict[str, dict[str, Any]] | None (optional)
  • secrets: dict[str, dict[str, Any]] | None (optional)
  • config: dict[str, dict[str, Any]] | None (optional)
  • capabilities: list[kindgi.client.Capability5] | None (optional)
  • bindings: list[kindgi.client.Binding] | None (optional)