Models: R
Reference
Section titled “Reference”name: strref: strversion: int
RefreshResult
Section titled “RefreshResult”session_token: str(sessionTokenon the wire)session_id: str(sessionIdon the wire)expires_at: AwareDatetime(expiresAton the wire)
RegisterEventTriggerBody
Section titled “RegisterEventTriggerBody”flow_id: str(flowIdon the wire)flow_version: str(flowVersionon the wire)config: kindgi.client.Config8label: str | None(optional)
RegisterGuardrailBody
Section titled “RegisterGuardrailBody”Guardrail spec. Validated server-side via @kindgi/guardrails.validateGuardrailSpec. Metadata-only registration: the check id must reference an implementation already available to the runtime.
id: strname: str | None(optional)description: str | None(optional)kind: strcheck: strconfig: dict[str, Any] | None(optional)action: kindgi.client.GuardrailActionseverity: Optional[Literal['info', 'warn', 'error', 'critical']](optional)scope: kindgi.client.GuardrailScope | None(optional)budget: kindgi.client.Budget | None(optional)judge_capabilities: dict[str, Any] | None(judgeCapabilitieson the wire) (optional)project_id: uuid.UUID(projectIdon the wire)
RegisterGuardrailResult
Section titled “RegisterGuardrailResult”guardrail_id: str(guardrailIdon the wire)
RegisterIdentityProviderResult
Section titled “RegisterIdentityProviderResult”provider_id: str(providerIdon the wire)
RegisterMCPEndpointBody
Section titled “RegisterMCPEndpointBody”endpoint_id: str(endpointIdon the wire)name: strtransport: Literal['stdio', 'http-sse', 'streamable-http']config: kindgi.client.Config3 | kindgi.client.Config4 | kindgi.client.Config5secret_ref: kindgi.client.MCPEndpointSecretRef | None(secretRefon the wire) (optional)instructions: str | None(optional)metadata: dict[str, Any] | None(optional)scope_kind: Literal['tenant', 'org', 'project'](scopeKindon the wire)scope_id: str | None(scopeIdon the wire) (optional)
RegisterMCPEndpointResult
Section titled “RegisterMCPEndpointResult”endpoint_id: str(endpointIdon the wire)
RegisterProviderBody
Section titled “RegisterProviderBody”metadata: kindgi.client.ProviderMetadataadapter_id: strsecret_ref: kindgi.client.SecretRef | None(optional)adapter_config: dict[str, str | float | bool] | None(optional)
RegisterProviderResult
Section titled “RegisterProviderResult”provider_id: str(providerIdon the wire)
RegisterReviewerBody
Section titled “RegisterReviewerBody”Register a reviewer for the caller's tenant. Idempotent w.r.t. (tenantId, userId) — re-registering rotates role/displayName rather than inserting a duplicate.
user_id: uuid.UUID(userIdon the wire)role: Literal['standard', 'senior', 'admin']display_name: str | None(displayNameon the wire) (optional)
RegisterScheduleBody
Section titled “RegisterScheduleBody”flow_id: str(flowIdon the wire)flow_version: str(flowVersionon the wire)config: kindgi.client.Config6label: str | None(optional)
RegisterToolBody
Section titled “RegisterToolBody”ToolManifest — Tool minus its runtime handler. Validated server-side via @kindgi/tools.validateToolManifest. Metadata-only registration: the handler is not uploaded and must already be available to the runtime.
id: strdescription: strversion: 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(mcpEndpointon 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(needsSpecon the wire) (optional)code_artifact_ref: kindgi.client.CodeArtifactRef1 | kindgi.client.CodeArtifactRef2 | None(codeArtifactRefon the wire) (optional)spec: kindgi.client.ToolSpec | None(optional)project_id: uuid.UUID(projectIdon the wire)
RegisterToolResult
Section titled “RegisterToolResult”tool_id: str(toolIdon the wire)
RegisterWebhookTriggerBody
Section titled “RegisterWebhookTriggerBody”flow_id: str(flowIdon the wire)flow_version: str(flowVersionon the wire)config: kindgi.client.Config10 | None(optional)hmac_secret_name: str(hmacSecretNameon the wire)label: str | None(optional)
ReinstateAgentVersionResult
Section titled “ReinstateAgentVersionResult”agent_id: str(agentIdon the wire)version: strwas_tombstoned: bool(wasTombstonedon the wire)
ReinstateEvalSuiteVersionResult
Section titled “ReinstateEvalSuiteVersionResult”suite_id: str(suiteIdon the wire)version: strwas_tombstoned: bool(wasTombstonedon the wire)
ReinstateFlowVersionResult
Section titled “ReinstateFlowVersionResult”flow_id: str(flowIdon the wire)version: strwas_tombstoned: bool(wasTombstonedon the wire)
ReinstatePolicyVersionResult
Section titled “ReinstatePolicyVersionResult”policy_id: str(policyIdon the wire)version: strwas_tombstoned: bool(wasTombstonedon the wire)
ReinstateToolVersionResult
Section titled “ReinstateToolVersionResult”tool_id: str(toolIdon the wire)version: strwas_tombstoned: bool(wasTombstonedon the wire)
ResumeRunBody
Section titled “ResumeRunBody”waitpoint_id: str(waitpointIdon the wire)value: Any | None(optional)
Retention
Section titled “Retention”keep_until: AwareDatetime | None(keepUntilon the wire) (optional)keep_days: int | None(keepDayson the wire) (optional)legal_hold: bool | None(legalHoldon the wire) (optional)
RetrievalHit
Section titled “RetrievalHit”fact: kindgi.client.Factscore: float | None(optional)
RetrievalIntent
Section titled “RetrievalIntent”types: list[str]scope: Literal['same-conversation', 'same-project', 'tenant']limit: int | None(optional)mode: Optional[Literal['keyword', 'semantic', 'both']](optional)
RetrieveIntent
Section titled “RetrieveIntent”Retrieval intent — mirrors RetrievalIntent from @kindgi/agents, widened for direct-HTTP use. mode: "list" returns a plain scoped list (no query). mode: "keyword" runs full-text search. mode: "semantic" runs vector similarity search — requires an embedding provider bound on the deployment; if unavailable, the route returns 400 bad-input. mode: "both" unions keyword + semantic results, dedup by fact id.
mode: Literal['list', 'keyword', 'semantic', 'both']query: str | None(optional)type: str | None(optional)scope: kindgi.client.FactScope | None(optional)limit: int | None(optional)embedding_model: str | None(embeddingModelon the wire) (optional)
RetrieveMemoryBody
Section titled “RetrieveMemoryBody”Retrieval intent — mirrors RetrievalIntent from @kindgi/agents, widened for direct-HTTP use. mode: "list" returns a plain scoped list (no query). mode: "keyword" runs full-text search. mode: "semantic" runs vector similarity search — requires an embedding provider bound on the deployment; if unavailable, the route returns 400 bad-input. mode: "both" unions keyword + semantic results, dedup by fact id.
mode: Literal['list', 'keyword', 'semantic', 'both']query: str | None(optional)type: str | None(optional)scope: kindgi.client.FactScope | None(optional)limit: int | None(optional)embedding_model: str | None(embeddingModelon the wire) (optional)
RetrieveMemoryResult
Section titled “RetrieveMemoryResult”results: list[kindgi.client.RetrievalHit]
max_attempts: int(maxAttemptson the wire)
ReviewDecision
Section titled “ReviewDecision”id: strapproval_id: uuid.UUID(approvalIdon the wire)reviewer_id: uuid.UUID(reviewerIdon the wire)decision: Literal['approve', 'reject', 'escalate', 'withdraw']rationale: str | None(optional)reviewer_role_at_decision: Literal['standard', 'senior', 'admin'](reviewerRoleAtDecisionon the wire)decided_at: AwareDatetime(decidedAton the wire)
ReviewDecisionKind
Section titled “ReviewDecisionKind”root: Literal['approve', 'reject', 'escalate', 'withdraw']
Reviewer
Section titled “Reviewer”Reviewer roster row. Deactivation is soft (audit trail survives offboarding). deactivatedAt present → reviewer no longer receives approvals.
id: uuid.UUIDtenant_id: uuid.UUID(tenantIdon the wire)user_id: uuid.UUID(userIdon the wire)role: Literal['standard', 'senior', 'admin']display_name: str | None(displayNameon the wire) (optional)created_at: AwareDatetime(createdAton the wire)deactivated_at: AwareDatetime | None(deactivatedAton the wire) (optional)
ReviewerCollectionPage
Section titled “ReviewerCollectionPage”data: list[kindgi.client.Reviewer]next_cursor: str | None(nextCursoron the wire) (optional)has_more: bool(hasMoreon the wire)
RevokeSessionsResult
Section titled “RevokeSessionsResult”user_id: str(userIdon the wire)revoked_count: int(revokedCounton the wire)
RevokeSigningKeyBody
Section titled “RevokeSigningKeyBody”reason: str | None(optional)
RevokeSigningKeyResult
Section titled “RevokeSigningKeyResult”key_id: str(keyIdon the wire)revoked: bool
RevokeTokenResult
Section titled “RevokeTokenResult”token_id: uuid.UUID(tokenIdon the wire)revoked: Literal[True]
RollbackProposalBody
Section titled “RollbackProposalBody”reason: str
RollbackProposalResult
Section titled “RollbackProposalResult”proposal_id: uuid.UUID(proposalIdon the wire)rolled_back_at: AwareDatetime(rolledBackAton the wire)
RotationStatus
Section titled “RotationStatus”rotation_id: uuid.UUID(rotationIdon the wire)status: Literal['pending', 'succeeded', 'failed']started_at: AwareDatetime(startedAton the wire)updated_at: AwareDatetime(updatedAton the wire)new_version_id: int | None(newVersionIdon the wire) (optional)old_version_id: int | None(oldVersionIdon the wire) (optional)error: str | None(optional)
id: uuid.UUIDtenant_id: uuid.UUID(tenantIdon the wire)project_id: uuid.UUID | None(projectIdon the wire) (optional)flow_id: str(flowIdon the wire)flow_version: str(flowVersionon the wire)status: Literal['pending', 'running', 'suspended', 'completed', 'failed', 'cancelled']dry_run: bool(dryRunon the wire)created_at: AwareDatetime(createdAton the wire)updated_at: AwareDatetime(updatedAton the wire)completed_at: AwareDatetime | None(completedAton the wire) (optional)failure_message: str | None(failureMessageon the wire) (optional)output: Any | None(optional)parent_run_id: uuid.UUID | None(parentRunIdon the wire) (optional)parent_node_id: str | None(parentNodeIdon the wire) (optional)public_access_token: str | None(publicAccessTokenon the wire) (optional)public_access_token_expires_at: AwareDatetime | None(publicAccessTokenExpiresAton the wire) (optional)
RunCollectionPage
Section titled “RunCollectionPage”data: list[kindgi.client.Datum]next_cursor: str | None(nextCursoron the wire) (optional)has_more: bool(hasMoreon the wire)
RunEvent
Section titled “RunEvent”event_id: str(eventIdon the wire)run_id: str(runIdon the wire)tenant_id: str(tenantIdon the wire)timestamp: AwareDatetimekind: Literal['run.queued', 'run.started', 'run.step-started', 'run.step-completed', 'run.step-failed', 'run.step-retry-scheduled', 'run.iteration-started', 'run.iteration-completed', 'run.tool-invoked', 'run.tool-result', 'run.model-token', 'run.artifact-produced', 'run.guardrail-violated', 'run.wait-suspended', 'run.wait-resumed', 'run.approval-requested', 'run.approval-completed', 'run.completed', 'run.failed', 'run.cancelled']sequence: int | None(optional)node_id: str | None(nodeIdon the wire) (optional)payload: Any | None(optional)
RunFinishedEvent
Section titled “RunFinishedEvent”id: strtype: Literal['run.finished']created_at: AwareDatetime(createdAton the wire)data: kindgi.client.Data
root: str
RunJournalPage
Section titled “RunJournalPage”data: list[kindgi.client.Datum1]has_more: bool(hasMoreon the wire)
RunProgress
Section titled “RunProgress”A run's progress: status and timing, without its input, output, failure message or tenant. Safe to show in a browser.
id: uuid.UUIDflow_id: str(flowIdon the wire)flow_version: str(flowVersionon the wire)status: Literal['pending', 'running', 'suspended', 'completed', 'failed', 'cancelled']created_at: AwareDatetime(createdAton the wire)updated_at: AwareDatetime(updatedAton the wire)completed_at: AwareDatetime | None(completedAton the wire) (optional)parent_run_id: uuid.UUID | None(parentRunIdon the wire) (optional)
RunProgressEvent
Section titled “RunProgressEvent”A run event without its payload: what happened, on which node, when.
event_id: str(eventIdon the wire)run_id: str(runIdon the wire)timestamp: AwareDatetimekind: strsequence: intnode_id: str | None(nodeIdon the wire) (optional)
RunStatus
Section titled “RunStatus”root: Literal['pending', 'running', 'suspended', 'completed', 'failed', 'cancelled']
RuntimeLimits
Section titled “RuntimeLimits”Sandbox-enforced resource caps at dispatch. Optional additive field.
mem_mb: int(memMBon the wire)cpu_ms: int(cpuMson the wire)