Core App — TypeScript Objects
Auto-generated from source on 2026-10-30 15:00 UTC. Do not edit manually — run make spec to regenerate.
TypeScript interfaces and types — modules/fe/core/src/objects.
Account.tsx
interface Account
| Field | Type | Optional |
|---|
name | string | No |
Activity.tsx
interface ActivityEvent
| Field | Type | Optional |
|---|
resource_type | ActivityResourceType | No |
resource_id | string | No |
resource_name | `string | null` | Yes |
action | HistoryAction | No |
version_number | number | No |
changed_fields | string[] | No |
actor_user_id | `string | null` | Yes |
actor_name | `string | null` | Yes |
actor_email | `string | null` | Yes |
is_ai_generated | `boolean | null` | Yes |
generation_id | `string | null` | Yes |
generation | `GenerationRef | null` | Yes |
created_at | `string | null` | Yes |
interface ActivityEventList
| Field | Type | Optional |
|---|
total | number | No |
interface ActivityEventDetail extends ActivityEvent
| Field | Type | Optional |
|---|
children_snapshot | Record<string | Yes |
diff | { | Yes |
from_version | `number | null` | No |
to_version | number | No |
fields | FieldDiff[] | No |
children_diff | Record<string | No |
interface ActivityTypeCount
| Field | Type | Optional |
|---|
count | number | No |
interface ActivitySummary
| Field | Type | Optional |
|---|
created | number | No |
updated | number | No |
deleted | number | No |
ai_generated | number | No |
by_resource_type | ActivityTypeCount[] | No |
interface ActivityQuery
| Field | Type | Optional |
|---|
action | HistoryAction | Yes |
generated_only | boolean | Yes |
since | string | Yes |
search | string | Yes |
limit | number | Yes |
offset | number | Yes |
interface BackgroundEvent
| Field | Type | Optional |
|---|
kind | BackgroundKind | No |
trigger | BackgroundTrigger | No |
status | BackgroundStatus | No |
subject_type | `ActivityResourceType | null` | Yes |
subject_id | `string | null` | Yes |
subject_name | `string | null` | Yes |
summary | string | No |
detail | Record<string | Yes |
reference | Record<string | Yes |
error | `string | null` | Yes |
started_at | `string | null` | Yes |
finished_at | string | No |
duration_ms | `number | null` | Yes |
interface BackgroundEventList
| Field | Type | Optional |
|---|
total | number | No |
retention_days | `number | null` | Yes |
interface BackgroundQuery
| Field | Type | Optional |
|---|
since | string | Yes |
limit | number | Yes |
offset | number | Yes |
Agent.tsx
interface Agent extends Resource, AIGenerated, SystemManaged
| Field | Type | Optional |
|---|
description | string | Yes |
icon | `string | null` | Yes |
accent | `string | null` | Yes |
system_prompt | string | No |
tools | Record<string | Yes |
config | Record<string | Yes |
model_id | string | Yes |
clarify_scope | boolean | Yes |
cost_profile | string | Yes |
created_at | string | Yes |
interface CostProfileInfo
| Field | Type | Optional |
|---|
label | string | No |
description | string | No |
measured | boolean | No |
lighter_model | boolean | Yes |
lighter | `LighterModelPreview | null` | Yes |
interface LighterModelPreview
| Field | Type | Optional |
|---|
model_name | `string | null` | Yes |
display_name | `string | null` | Yes |
note | `string | null` | Yes |
interface AgentRepository
| Field | Type | Optional |
|---|
repository_id | string | No |
config | Record<string | Yes |
interface AgentSkillset
| Field | Type | Optional |
|---|
skillset_id | string | No |
config | Record<string | Yes |
| Field | Type | Optional |
|---|
toolkit_id | string | No |
config | Record<string | Yes |
interface ToolEntry
| Field | Type | Optional |
|---|
description | string | No |
category | `"general" | "specialist"` | No |
implementation | string | Yes |
schema | Record<string | Yes |
| Field | Type | Optional |
|---|
specialist | ToolEntry[] | No |
interface AgentMemory
| Field | Type | Optional |
|---|
user_id | string | No |
external_agent_id | `string | null` | No |
conversation_id | `string | null` | No |
memory_key | string | No |
content | string | No |
created_at | string | No |
kind | string | Yes |
evidence | `string | null` | Yes |
workspace | `string | null` | Yes |
expires_at | `string | null` | Yes |
superseded_at | `string | null` | Yes |
superseded_by | `string | null` | Yes |
confirmed_at | `string | null` | Yes |
recall_count | number | Yes |
last_recalled_at | `string | null` | Yes |
interface AgentContextKind
| Field | Type | Optional |
|---|
label | string | No |
description | string | No |
owner | string | No |
owner_label | string | No |
state | string | No |
summary | string | No |
facts | { label: string | No |
interface AgentContext
| Field | Type | Optional |
|---|
kinds | AgentContextKind[] | No |
AgentSetup.tsx
interface ProposalAgent
| Field | Type | Optional |
|---|
description | string | No |
icon | string | No |
accent | string | No |
system_prompt | string | No |
interface ProposedSkill
| Field | Type | Optional |
|---|
description | string | No |
tags | string[] | No |
graph_definition | Record<string | No |
interface ProposedKnowledgeStub
| Field | Type | Optional |
|---|
description | string | No |
source_type | string | No |
interface ProposedWorker
| Field | Type | Optional |
|---|
description | string | No |
role | string | No |
system_prompt | string | No |
base_worker | `string | null` | Yes |
tags | string[] | No |
interface ProposedRepository
| Field | Type | Optional |
|---|
description | string | No |
icon | string | No |
accent | string | No |
category | KnowledgeCategoryKey | Yes |
member_knowledge_ids | string[] | No |
member_proposed_knowledge_names | string[] | No |
interface ProposedSkillsetInfo
| Field | Type | Optional |
|---|
description | string | No |
member_skill_ids | string[] | No |
member_proposed_skill_names | string[] | No |
| Field | Type | Optional |
|---|
description | string | No |
member_mcp_server_ids | string[] | No |
interface ProposedRule
| Field | Type | Optional |
|---|
description | string | No |
layer | RuleLayer | No |
conditions | RuleCondition[] | No |
actions | RuleAction[] | No |
priority | number | No |
interface GenerationModelInfo
| Field | Type | Optional |
|---|
model_name | string | No |
ai_model_id | `string | null` | Yes |
interface GenerateAgentRequest
| Field | Type | Optional |
|---|
ai_model_id | `string | null` | Yes |
interface AgentGenerationProposal
| Field | Type | Optional |
|---|
reasoning | string | No |
selected_skills | Skill[] | No |
selected_knowledge | Knowledge[] | No |
selected_repositories | KnowledgeRepository[] | No |
selected_skillsets | Skillset[] | No |
selected_toolkits | Toolkit[] | No |
proposed_skills | ProposedSkill[] | No |
proposed_knowledge | ProposedKnowledgeStub[] | No |
proposed_workers | ProposedWorker[] | No |
proposed_repositories | ProposedRepository[] | No |
proposed_skillsets | ProposedSkillsetInfo[] | No |
proposed_toolkits | ProposedToolkitInfo[] | No |
proposed_rules | ProposedRule[] | No |
warnings | string[] | No |
model | GenerationModelInfo | No |
generation_id | string | No |
| Field | Type | Optional |
|---|
description | string | No |
tags | string[] | No |
graph_definition | Record<string | No |
| Field | Type | Optional |
|---|
description | string | No |
role | `string | null` | Yes |
system_prompt | string | No |
base_worker | `string | null` | Yes |
tags | string[] | No |
| Field | Type | Optional |
|---|
description | string | No |
icon | string | No |
accent | string | No |
category | KnowledgeCategoryKey | Yes |
knowledge_ids | string[] | No |
new_knowledge_names | string[] | No |
| Field | Type | Optional |
|---|
description | string | No |
skill_ids | string[] | No |
new_skill_names | string[] | No |
| Field | Type | Optional |
|---|
description | string | No |
mcp_server_ids | string[] | No |
| Field | Type | Optional |
|---|
description | string | No |
layer | RuleLayer | No |
conditions | RuleCondition[] | No |
actions | RuleAction[] | No |
priority | number | No |
interface CreateFromConfigRequest
| Field | Type | Optional |
|---|
ai_model_id | `string | null` | Yes |
generation_id | `string | null` | Yes |
existing_knowledge_ids | string[] | No |
existing_repository_ids | string[] | No |
existing_skillset_ids | string[] | No |
existing_toolkit_ids | string[] | No |
new_skills | NewSkillInput[] | No |
new_knowledge | NewKnowledgeInput[] | No |
new_workers | NewWorkerInput[] | No |
new_repositories | NewRepositoryInput[] | No |
new_skillsets | NewSkillsetInput[] | No |
new_toolkits | NewToolkitInput[] | No |
new_rules | NewRuleInput[] | No |
source_discovery_id | `string | null` | Yes |
interface GeneratedResourceRef
| Field | Type | Optional |
|---|
name | string | No |
type | `GeneratedResourceType | string` | No |
interface GeneratedResourcesResponse
| Field | Type | Optional |
|---|
total | number | No |
interface CreateFromConfigResponse
ChatCommand.tsx
| Field | Type | Optional |
|---|
request | `"required" | "optional"` | No |
complete | boolean | No |
interface ChatCommandTarget
| Field | Type | Optional |
|---|
slug | string | No |
name | string | No |
description | string | No |
built_in | boolean | No |
form | `ChatCommandForm | null` | Yes |
interface ChatCommandSpec
| Field | Type | Optional |
|---|
kind | string | No |
label | string | No |
description | string | No |
request_hint | string | No |
request_required | boolean | No |
usage | string | No |
targets | ChatCommandTarget[] | No |
interface ChatCommandCatalogue
interface ChatCommandRecord
| Field | Type | Optional |
|---|
action | string | No |
kind | string | No |
target_id | string | No |
target_name | string | No |
inputs | Record<string | Yes |
request | string | Yes |
Decision.tsx
interface RequestSection extends SectionBase
| Field | Type | Optional |
|---|
prompt | `string | null` | Yes |
command | Record<string | Yes |
attachments | `AttachmentRef[] | null` | Yes |
task | `string | null` | Yes |
inputs | Record<string | Yes |
interface AnswerSection extends SectionBase
| Field | Type | Optional |
|---|
outcome | `string | null` | Yes |
content | `string | null` | Yes |
outputs | Record<string | Yes |
stopped | boolean | Yes |
blocked_by | `string | null` | Yes |
error | `string | null` | Yes |
interface ConfigurationSection extends SectionBase
| Field | Type | Optional |
|---|
agent_id | `string | null` | Yes |
agent_name | `string | null` | Yes |
agent_version | `number | null` | Yes |
skill_id | `string | null` | Yes |
skill_name | `string | null` | Yes |
skill_version | `number | null` | Yes |
ai_model_id | `string | null` | Yes |
provider | `string | null` | Yes |
model_name | `string | null` | Yes |
cost_profile | `string | null` | Yes |
lighter_model | { answered?: boolean | Yes |
interface RulesSection extends SectionBase
| Field | Type | Optional |
|---|
events | GovernanceEvent[] | No |
outcomes | Record<string | No |
interface DecisionWebSearch
| Field | Type | Optional |
|---|
query | `string | null` | Yes |
report | `SearchReport | null` | Yes |
interface WebSourcesSection extends SectionBase
| Field | Type | Optional |
|---|
searches | DecisionWebSearch[] | No |
summary | `WebSearchSummary | null` | Yes |
interface QualityCheckSection extends SectionBase
| Field | Type | Optional |
|---|
outcome | `QualityOutcome | null` | Yes |
score | `number | null` | Yes |
critique | `string | null` | Yes |
gaps | string[] | No |
| Field | Type | Optional |
|---|
exchanges | HitlExchange[] | No |
pending | Record<string | Yes |
interface ReviewsSection extends SectionBase
| Field | Type | Optional |
|---|
flags | ReviewFlag[] | No |
interface DecisionOutcome
| Field | Type | Optional |
|---|
verdict | DecisionVerdict | No |
corrected_text | `string | null` | Yes |
label | `string | null` | Yes |
note | `string | null` | Yes |
source | `"answer" | "review"` | No |
review_flag_id | `string | null` | Yes |
actor_user_id | string | No |
actor_name | `string | null` | Yes |
created_at | string | No |
interface DecisionCaseRef
| Field | Type | Optional |
|---|
test_suite_id | string | No |
test_suite_name | `string | null` | Yes |
created_at | `string | null` | Yes |
interface OutcomeSection extends SectionBase
| Field | Type | Optional |
|---|
current | `DecisionOutcome | null` | Yes |
history | DecisionOutcome[] | No |
cases | DecisionCaseRef[] | No |
interface OutcomeCreate
| Field | Type | Optional |
|---|
corrected_text | string | Yes |
label | string | Yes |
note | string | Yes |
interface DecisionCaseCreate
| Field | Type | Optional |
|---|
redact_pii | boolean | Yes |
interface DecisionCaseCreated
| Field | Type | Optional |
|---|
redacted | Record<string | No |
interface DecisionLaneStep
| Field | Type | Optional |
|---|
role | string | No |
knowledge_bases | number | No |
queries | number | No |
found | number | No |
judged | number | No |
ruled_out | number | No |
out_of_window | number | No |
handed_on | number | No |
packed | `number | null` | Yes |
judge_failure | `string | null` | Yes |
failure | `string | null` | Yes |
interface DecisionStep
| Field | Type | Optional |
|---|
kind | string | No |
model_name | `string | null` | Yes |
provider | `string | null` | Yes |
input_tokens | `number | null` | Yes |
output_tokens | `number | null` | Yes |
duration_ms | `number | null` | Yes |
error | boolean | Yes |
output_preview | `string | null` | Yes |
tools | string[] | No |
history_turns_omitted | `number | null` | Yes |
lane | `DecisionLaneStep | null` | Yes |
interface StepsSection extends SectionBase
| Field | Type | Optional |
|---|
steps | DecisionStep[] | No |
interface DecisionModelCall
| Field | Type | Optional |
|---|
model_name | string | No |
model_display_name | `string | null` | Yes |
node | `string | null` | Yes |
kind | string | Yes |
purpose | `string | null` | Yes |
prompt_tokens | number | No |
completion_tokens | number | No |
cache_read_tokens | number | No |
cache_write_tokens | number | No |
reasoning_tokens | number | No |
latency_ms | `number | null` | Yes |
status | string | No |
error_detail | `string | null` | Yes |
estimated_cost_usd | `number | null` | Yes |
interface ModelCallsSection extends SectionBase
| Field | Type | Optional |
|---|
calls | DecisionModelCall[] | No |
interface DecisionCitation
| Field | Type | Optional |
|---|
source_type | string | No |
source | string | No |
title | string | No |
collection | `string | null` | Yes |
relevance_score | `number | null` | Yes |
| Field | Type | Optional |
|---|
created_at | `string | null` | Yes |
input_args | Record<string | Yes |
output | `string | null` | Yes |
truncated | boolean | Yes |
latency_ms | `number | null` | Yes |
status | string | No |
error_detail | `string | null` | Yes |
citations | DecisionCitation[] | No |
report | `SearchReport | null` | Yes |
| Field | Type | Optional |
|---|
calls | DecisionToolCall[] | No |
interface DecisionLedgerEntry
| Field | Type | Optional |
|---|
execution_type | `string | null` | Yes |
outcome | string | No |
input_tokens | number | No |
output_tokens | number | No |
estimated_cost_usd | `number | null` | Yes |
llm_calls | number | No |
unpriced_calls | number | No |
latency_ms | `number | null` | Yes |
interface CostSection extends SectionBase
| Field | Type | Optional |
|---|
entries | DecisionLedgerEntry[] | No |
cost_usd | `number | null` | Yes |
complete | boolean | No |
input_tokens | number | No |
output_tokens | number | No |
interface DecisionReadLog
| Field | Type | Optional |
|---|
reader_name | `string | null` | Yes |
access | string | No |
flag_id | `string | null` | Yes |
read_at | string | No |
interface ReadsSection extends SectionBase
| Field | Type | Optional |
|---|
reads | DecisionReadLog[] | No |
interface Decision
| Field | Type | Optional |
|---|
kind | DecisionKind | No |
access | DecisionAccess | No |
subject | `string | null` | Yes |
status | string | No |
started_at | `string | null` | Yes |
finished_at | `string | null` | Yes |
conversation_id | `string | null` | Yes |
message_id | `string | null` | Yes |
agent_id | `string | null` | Yes |
ai_model_id | `string | null` | Yes |
skill_id | `string | null` | Yes |
skill_run_id | `string | null` | Yes |
swarm_run_id | `string | null` | Yes |
swarm_task_id | `string | null` | Yes |
sections | DecisionSection[] | No |
Doc.tsx
interface Doc
interface Resource extends Doc
| Field | Type | Optional |
|---|
owner_organisation_id | `string | null` | Yes |
owner_project_id | `string | null` | Yes |
origin | `"own" | "inherited" | "required" | "built_in" | null` | Yes |
home_workspace | `string | null` | Yes |
interface AIGenerated
| Field | Type | Optional |
|---|
generation_id | `string | null` | Yes |
generated_by_agent_id | `string | null` | Yes |
interface SystemManaged
Governance.tsx
interface GovernanceEvent
| Field | Type | Optional |
|---|
owner_user_id | `string | null` | Yes |
rule_id | `string | null` | Yes |
rule_name | `string | null` | Yes |
rule_version | `number | null` | Yes |
layer | RuleLayer | No |
scope_type | `RuleScope | null` | Yes |
scope_id | `string | null` | Yes |
phase | GovernancePhase | No |
outcome | GovernanceOutcome | No |
enforced_in | GovernanceEnforcedIn | No |
actions | string[] | No |
detail | Record<string | No |
invocation_id | `string | null` | Yes |
execution_type | `string | null` | Yes |
conversation_id | `string | null` | Yes |
message_id | `string | null` | Yes |
agent_id | `string | null` | Yes |
ai_model_id | `string | null` | Yes |
created_at | `string | null` | Yes |
interface GovernanceGroup
| Field | Type | Optional |
|---|
occurred_at | `string | null` | Yes |
execution_type | `string | null` | Yes |
conversation_id | `string | null` | Yes |
message_id | `string | null` | Yes |
agent_id | `string | null` | Yes |
ai_model_id | `string | null` | Yes |
subject | `string | null` | Yes |
outcomes | Partial<Record<GovernanceOutcome | No |
events | GovernanceEvent[] | No |
interface GovernanceActivitySummary
| Field | Type | Optional |
|---|
applied | number | No |
no_change | number | No |
not_matched | number | No |
total | number | No |
interface GovernanceActivityList
| Field | Type | Optional |
|---|
total | number | No |
summary | GovernanceActivitySummary | No |
interface GovernanceActivityQuery
| Field | Type | Optional |
|---|
layer | RuleLayer | Yes |
phase | GovernancePhase | Yes |
outcome | GovernanceOutcome | Yes |
execution_type | string | Yes |
conversation_id | string | Yes |
days | number | Yes |
limit | number | Yes |
offset | number | Yes |
History.tsx
interface GenerationRef
| Field | Type | Optional |
|---|
flow | GenerationFlow | No |
status | GenerationStatus | No |
provider | `string | null` | Yes |
model_name | `string | null` | Yes |
created_at | `string | null` | Yes |
interface ProducedResource
| Field | Type | Optional |
|---|
resource_id | string | No |
name | `string | null` | Yes |
interface GenerationRun
| Field | Type | Optional |
|---|
flow | GenerationFlow | No |
status | GenerationStatus | No |
arguments | Record<string | No |
ai_model_id | `string | null` | Yes |
provider | `string | null` | Yes |
model_name | `string | null` | Yes |
target_resource_type | `string | null` | Yes |
target_resource_id | `string | null` | Yes |
warnings | `string[] | null` | Yes |
error | `string | null` | Yes |
actor_user_id | `string | null` | Yes |
actor_name | `string | null` | Yes |
created_at | `string | null` | Yes |
applied_at | `string | null` | Yes |
produced | ProducedResource[] | Yes |
interface VersionSummary
| Field | Type | Optional |
|---|
version_number | number | No |
action | HistoryAction | No |
actor_user_id | `string | null` | Yes |
actor_name | `string | null` | Yes |
actor_email | `string | null` | Yes |
actor_kind | VersionActorKind | Yes |
changed_fields | string[] | No |
is_ai_generated | `boolean | null` | Yes |
generation_id | `string | null` | Yes |
generation | `GenerationRef | null` | Yes |
created_at | `string | null` | Yes |
interface VersionList
| Field | Type | Optional |
|---|
total | number | No |
interface TextDiffLine
| Field | Type | Optional |
|---|
line | string | No |
interface FieldDiff
| Field | Type | Optional |
|---|
change_type | DiffChangeType | No |
old_value | unknown | No |
new_value | unknown | No |
text_diff | `TextDiffLine[] | null` | Yes |
interface ChildrenDiffEntry
| Field | Type | Optional |
|---|
removed | string[] | No |
interface DiffResponse
| Field | Type | Optional |
|---|
to_version | number | No |
fields | FieldDiff[] | No |
children_diff | Record<string | No |
interface ResourceHistorySource
| Field | Type | Optional |
|---|
toVersion | number | No |
fromVersion | `number | null` | Yes |
Industry.tsx
interface Industry extends Doc
| Field | Type | Optional |
|---|
created_at | string | Yes |
Knowledge.tsx
interface NodePropertyDef
| Field | Type | Optional |
|---|
label | string | No |
type | `"string" | "number" | "date" | "email" | "url"` | No |
required | boolean | No |
placeholder | string | No |
interface NodeTypeDefinition
| Field | Type | Optional |
|---|
display_name | string | No |
description | string | No |
category | string | No |
color | string | No |
property_schema | NodePropertyDef[] | No |
interface Knowledge extends Resource, AIGenerated, SystemManaged
| Field | Type | Optional |
|---|
name | string | No |
description | string | No |
source_type | string | No |
source_config | Record<string | No |
created_at | string | No |
interface KnowledgeRepository extends Resource, AIGenerated, SystemManaged
| Field | Type | Optional |
|---|
description | string | Yes |
category | KnowledgeCategoryKey | Yes |
icon | `string | null` | Yes |
accent | `string | null` | Yes |
knowledge_ids | string[] | No |
created_at | string | Yes |
can_change | boolean | Yes |
interface KnowledgeDocumentCounts
| Field | Type | Optional |
|---|
by_state | Record<string | No |
unrecorded | number | No |
pages | Record<string | No |
chunks | number | No |
size_bytes | number | No |
page_versions | number | No |
| Field | Type | Optional |
|---|
started_at | `string | null` | Yes |
finished_at | `string | null` | Yes |
pages_failed | number | No |
last_success_at | `string | null` | Yes |
cadence | `string | null` | Yes |
next_due_at | `string | null` | Yes |
interface KnowledgeStats
| Field | Type | Optional |
|---|
source_type | string | No |
items | number | No |
documents | KnowledgeDocumentCounts | No |
crawl | `KnowledgeCrawlFigures | null` | Yes |
last_updated_at | `string | null` | Yes |
repositories | { id: string | No |
interface UsageRanked
| Field | Type | Optional |
|---|
name | string | No |
answers | number | No |
is_system | boolean | Yes |
url | `string | null` | Yes |
knowledge_id | `string | null` | Yes |
interface KnowledgeUsage
| Field | Type | Optional |
|---|
since | string | No |
answers | number | No |
previous_answers | number | No |
daily | { day: string | No |
interface TrustSignalSpec
| Field | Type | Optional |
|---|
label | string | No |
description | string | No |
attention | boolean | No |
interface TrustFact
| Field | Type | Optional |
|---|
value | string | No |
ref_kind | `string | null` | Yes |
ref_id | `string | null` | Yes |
url | `string | null` | Yes |
at | `string | null` | Yes |
interface TrustResult
| Field | Type | Optional |
|---|
state | TrustState | No |
summary | string | No |
facts | TrustFact[] | No |
interface KnowledgeTrust
| Field | Type | Optional |
|---|
signals | TrustResult[] | No |
attention | string[] | No |
interface RepositoryStats
| Field | Type | Optional |
|---|
sources | number | No |
by_type | Record<string | No |
items | number | No |
documents_indexed | number | No |
documents_total | number | No |
attention_sources | number | No |
agents | number | No |
citations | number | No |
citations_daily | number[] | No |
retrieved | number | Yes |
last_updated_at | `string | null` | Yes |
interface RepositoryStatsDetail
| Field | Type | Optional |
|---|
sources | KnowledgeStats[] | No |
interface RepositoryTrust
| Field | Type | Optional |
|---|
summary | Record<string | No |
interface RecommendationKindSpec
| Field | Type | Optional |
|---|
label | string | No |
description | string | No |
section | string | No |
section_label | string | No |
interface RecommendationPrefill
| Field | Type | Optional |
|---|
from_turns | string[] | Yes |
agent_id | `string | null` | Yes |
agent_name | `string | null` | Yes |
repository_id | `string | null` | Yes |
repository_name | `string | null` | Yes |
knowledge_id | `string | null` | Yes |
knowledge_name | `string | null` | Yes |
tab | `string | null` | Yes |
url | `string | null` | Yes |
name | `string | null` | Yes |
refresh | `string | null` | Yes |
max_age_days | `number | null` | Yes |
interface RecommendationAction
| Field | Type | Optional |
|---|
label | string | No |
prefill | RecommendationPrefill | No |
interface KnowledgeRecommendation
| Field | Type | Optional |
|---|
section | string | No |
subject | { kind: string | No |
interface KnowledgeRecommendations
| Field | Type | Optional |
|---|
unavailable | Record<string | No |
can_change | boolean | No |
interface RecommendationDismissed
| Field | Type | Optional |
|---|
kind | string | No |
subject | string | No |
dismissed_at | string | No |
interface SourceMapKind
| Field | Type | Optional |
|---|
label | string | No |
description | string | No |
strength | number | No |
tau | number | No |
unit_one | `string | null` | Yes |
unit_many | `string | null` | Yes |
interface SourceMapExample
| Field | Type | Optional |
|---|
url | `string | null` | Yes |
interface SourceMapEvidence
| Field | Type | Optional |
|---|
count | number | No |
score | number | No |
contribution | number | No |
examples | SourceMapExample[] | No |
interface SourceMapNode
| Field | Type | Optional |
|---|
kind | SourceMapNodeKind | No |
ref_id | string | No |
label | string | No |
meta | Record<string | No |
interface SourceMapEdge
| Field | Type | Optional |
|---|
target | string | No |
kind | `"evidence" | "cited_by"` | No |
weight | number | No |
evidence | SourceMapEvidence[] | No |
interface SourceMap
| Field | Type | Optional |
|---|
edges | SourceMapEdge[] | No |
kinds | SourceMapKind[] | No |
summary | { | No |
sources | number | No |
connections | number | No |
suggestions | number | No |
isolated | number | No |
duplicates | number | No |
unavailable | Record<string | No |
interface RepositoryAgentGrant
| Field | Type | Optional |
|---|
name | string | No |
interface KnowledgeGraphNode
| Field | Type | Optional |
|---|
label | string | No |
name | string | No |
properties | Record<string | No |
x | `number | null` | Yes |
y | `number | null` | Yes |
interface KnowledgeGraphEdge
| Field | Type | Optional |
|---|
source_id | string | No |
target_id | string | No |
relationship | string | No |
properties | Record<string | No |
interface GraphData
| Field | Type | Optional |
|---|
edges | KnowledgeGraphEdge[] | No |
interface KnowledgeDocument
| Field | Type | Optional |
|---|
knowledge_id | string | No |
source_id | string | No |
folder_path | string | No |
document_metadata | { | Yes |
original_filename | string | Yes |
size_bytes | number | Yes |
mime_type | string | Yes |
stored_path | string | Yes |
folder_path | string | Yes |
index_status | DocumentIndexStatus | Yes |
index_error | string | Yes |
index_refusal | string | Yes |
index_hold_until | string | Yes |
chunk_count | number | Yes |
indexed_at | string | Yes |
source_url | string | Yes |
title | string | Yes |
publisher | string | Yes |
published | string | Yes |
interface ReindexResult
| Field | Type | Optional |
|---|
document_ids | string[] | No |
interface WebSourceConfig
| Field | Type | Optional |
|---|
scope | WebCrawlScope | No |
max_pages | number | No |
max_depth | number | No |
include | string[] | No |
exclude | string[] | No |
refresh | WebRefreshCadence | No |
use_sitemap | boolean | No |
skip_low_value | boolean | No |
follow_external | boolean | No |
max_external_pages | number | No |
feed_content | WebFeedContent | Yes |
max_age_days | `number | null` | Yes |
attribution | `string | null` | Yes |
licence_url | `string | null` | Yes |
interface KnowledgeCrawl
| Field | Type | Optional |
|---|
knowledge_id | string | No |
trigger | WebCrawlTrigger | No |
status | WebCrawlStatus | No |
actor_user_id | `string | null` | Yes |
started_at | string | No |
finished_at | `string | null` | Yes |
pages_fetched | number | No |
pages_new | number | No |
pages_changed | number | No |
pages_unchanged | number | No |
pages_failed | number | No |
pages_gone | number | No |
pages_expired | number | Yes |
usage | { | Yes |
calls | number | No |
prompt_tokens | number | No |
estimated_cost_usd | `number | null` | No |
unpriced_calls | number | No |
interface WebPage
| Field | Type | Optional |
|---|
url | string | No |
title | `string | null` | Yes |
status | WebPageStatus | No |
version_count | number | No |
last_fetched_at | `string | null` | Yes |
last_changed_at | `string | null` | Yes |
last_error | `string | null` | Yes |
index_status | `DocumentIndexStatus | null` | Yes |
first_seen_at | string | No |
origin | `"crawled" | "linked"` | Yes |
linked_from | { url: string | Yes |
interface WebGraphNode
| Field | Type | Optional |
|---|
url | string | No |
title | `string | null` | Yes |
status | WebPageStatus | No |
origin | `"crawled" | "linked"` | No |
host | string | No |
is_seed | boolean | No |
version_count | number | No |
depth | `number | null` | No |
unfollowed_links | number | No |
in_links | number | No |
out_links | number | No |
interface WebGraphEdge
| Field | Type | Optional |
|---|
target | string | No |
text | string | No |
kind | `"internal" | "external"` | No |
interface WebLinkGraph
| Field | Type | Optional |
|---|
edges | WebGraphEdge[] | No |
truncated | boolean | No |
interface WebPageVersion
| Field | Type | Optional |
|---|
document_id | string | No |
crawl_id | `string | null` | Yes |
version_number | number | No |
url | string | No |
title | `string | null` | Yes |
content_hash | string | No |
http_status | `number | null` | Yes |
fetched_at | string | No |
size_bytes | number | No |
has_html | boolean | No |
interface WebPageVersionContent
| Field | Type | Optional |
|---|
markdown | string | No |
interface WebPageVersionPreview
| Field | Type | Optional |
|---|
html | string | No |
truncated | boolean | No |
interface WebDiffLine
| Field | Type | Optional |
|---|
line | string | No |
interface WebPageDiff
| Field | Type | Optional |
|---|
to_version | WebPageVersion | No |
text_diff | WebDiffLine[] | No |
added_lines | number | No |
removed_lines | number | No |
interface WebCrawlPage
| Field | Type | Optional |
|---|
url | string | No |
title | `string | null` | Yes |
status | WebPageStatus | No |
origin | `"crawled" | "linked"` | Yes |
then | `WebPageVersion | null` | Yes |
now | WebPageVersion | No |
written | `WebCrawlWritten | null` | Yes |
since | WebPageSince | No |
interface WebCrawlPages
| Field | Type | Optional |
|---|
pages | WebCrawlPage[] | No |
expired_since | number | No |
KnowledgeSetup.tsx
interface GenerateKnowledgeRequest
| Field | Type | Optional |
|---|
from_turns | string[] | Yes |
ai_model_id | `string | null` | Yes |
want_repository | boolean | Yes |
category | KnowledgeCategoryKey | Yes |
interface KnowledgeGenerationStarted
| Field | Type | Optional |
|---|
status | GenerationStatus | No |
stage | GenerationStage | No |
interface GenerationProgress
| Field | Type | Optional |
|---|
found | number | Yes |
usable | number | Yes |
updated_at | string | Yes |
interface KnowledgeGenerationStatus
| Field | Type | Optional |
|---|
status | GenerationStatus | No |
stage | `GenerationStage | null` | Yes |
progress | GenerationProgress | No |
proposal | `KnowledgeGenerationProposal | null` | Yes |
error | `string | null` | Yes |
interface Candidate
| Field | Type | Optional |
|---|
url | string | No |
title | string | No |
host | string | No |
snippet | string | No |
published | `string | null` | Yes |
publisher | `string | null` | Yes |
content_type | `string | null` | Yes |
size_bytes | `number | null` | Yes |
interface ProposedKnowledge
| Field | Type | Optional |
|---|
description | string | No |
source_type | string | No |
pages | Candidate[] | No |
documents | Candidate[] | No |
scope | `WebCrawlScope | null` | Yes |
refresh | `WebRefreshCadence | null` | Yes |
interface KnowledgeGenerationProposal
| Field | Type | Optional |
|---|
repository_description | string | No |
category | KnowledgeCategoryKey | Yes |
icon | string | No |
accent | string | No |
reasoning | string | No |
selected_knowledge | Knowledge[] | No |
proposed_knowledge | ProposedKnowledge[] | No |
candidates | Candidate[] | No |
warnings | string[] | No |
model | GenerationModelInfo | No |
generation_id | string | No |
| Field | Type | Optional |
|---|
title | string | Yes |
publisher | string | Yes |
| Field | Type | Optional |
|---|
description | string | No |
source_type | string | No |
urls | string[] | Yes |
scope | `WebCrawlScope | null` | Yes |
refresh | `WebRefreshCadence | null` | Yes |
documents | DocumentImportInput[] | Yes |
interface CreateKnowledgeFromConfigRequest
| Field | Type | Optional |
|---|
repository_description | string | No |
repository_category | KnowledgeCategoryKey | Yes |
icon | string | No |
accent | string | No |
existing_knowledge_ids | string[] | No |
new_knowledge | NewKnowledgeInput[] | No |
generation_id | `string | null` | Yes |
interface CreateKnowledgeFromConfigResponse
| Field | Type | Optional |
|---|
created_knowledge_ids | string[] | No |
crawls_started | string[] | No |
imports_queued | number | No |
interface SourceToFill
| Field | Type | Optional |
|---|
name | string | No |
description | string | No |
source_type | `"web" | "file"` | No |
interface FindSourcesRequest
| Field | Type | Optional |
|---|
context | string | Yes |
for_generation_id | `string | null` | Yes |
ai_model_id | `string | null` | Yes |
interface FoundSource
| Field | Type | Optional |
|---|
name | string | No |
source_type | string | No |
pages | Candidate[] | No |
documents | Candidate[] | No |
scope | `WebCrawlScope | null` | Yes |
refresh | `WebRefreshCadence | null` | Yes |
interface FoundSources
| Field | Type | Optional |
|---|
candidates | Candidate[] | No |
warnings | string[] | No |
model | GenerationModelInfo | No |
generation_id | string | No |
interface FindSourcesStatus
| Field | Type | Optional |
|---|
status | GenerationStatus | No |
stage | `GenerationStage | null` | Yes |
progress | GenerationProgress | No |
proposal | `FoundSources | null` | Yes |
error | `string | null` | Yes |
interface ApplyFoundSourcesRequest
| Field | Type | Optional |
|---|
scope | `WebCrawlScope | null` | Yes |
refresh | `WebRefreshCadence | null` | Yes |
documents | DocumentImportInput[] | Yes |
interface ApplyFoundSourcesResponse
| Field | Type | Optional |
|---|
imports_queued | number | No |
skipped | { url: string | No |
interface ImportDocumentsResponse
| Field | Type | Optional |
|---|
skipped | { url: string | No |
MCPServer.tsx
interface MCPConfigField
| Field | Type | Optional |
|---|
label | string | No |
type | `"string" | "password" | "array" | "object"` | No |
description | string | No |
required | boolean | No |
default | unknown | No |
placeholder | string | No |
interface MCPServerTemplate
| Field | Type | Optional |
|---|
name | string | No |
description | string | No |
connection_type | MCPConnectionType | No |
icon_hint | string | No |
category | string | No |
config_fields | MCPConfigField[] | No |
tools_preview | string[] | No |
docs_url | string | No |
interface MCPServer
| Field | Type | Optional |
|---|
name | string | No |
description | string | Yes |
template_key | string | Yes |
connection_type | MCPConnectionType | No |
connection_config | Record<string | No |
tools_cache | `string[] | null` | Yes |
is_active | boolean | No |
owner_user_id | `string | null` | Yes |
owner_organisation_id | `string | null` | Yes |
owner_project_id | `string | null` | Yes |
created_at | string | No |
Model.tsx
interface ModelProvider
| Field | Type | Optional |
|---|
name | string | No |
display_name | string | No |
base_url | `string | null` | No |
is_enabled | boolean | No |
interface Model extends Doc
| Field | Type | Optional |
|---|
supports_effort | `boolean | null` | Yes |
inference_backend | `InferenceBackend | null` | Yes |
provider_id | string | No |
provider | ModelProvider | No |
model_name | string | No |
display_name | `string | null` | No |
description | `string | null` | No |
is_chat | boolean | No |
is_embedding | boolean | No |
is_vision | boolean | No |
is_available | boolean | No |
is_default | boolean | No |
is_recommended | boolean | No |
context_window | `number | null` | No |
max_output_tokens | `number | null` | No |
input_cost_per_token | `string | null` | No |
output_cost_per_token | `string | null` | No |
cache_read_cost_per_token | `string | null` | Yes |
cache_write_cost_per_token | `string | null` | Yes |
cache_write_1h_cost_per_token | `string | null` | Yes |
long_context_threshold | `number | null` | Yes |
long_context_input_multiplier | `string | null` | Yes |
long_context_output_multiplier | `string | null` | Yes |
data_region | `DataRegion | null` | No |
effort | `ModelEffort | null` | No |
latency | `ModelLatency | null` | No |
knowledge_cutoff | `string | null` | No |
config | Record<string | No |
created_at | string | Yes |
updated_at | string | Yes |
archived_at | `string | null` | Yes |
interface CitationLink
| Field | Type | Optional |
|---|
text | string | Yes |
title | string | Yes |
interface Citation
| Field | Type | Optional |
|---|
marker | `number | null` | Yes |
tool | string | No |
source | string | No |
title | string | No |
kind | CitationKind | Yes |
collection | string | Yes |
citation_id | string | Yes |
kb_name | string | Yes |
document_id | `string | null` | Yes |
page_number | `number | null` | Yes |
url | `string | null` | Yes |
fetched_at | `string | null` | Yes |
links | `CitationLink[] | null` | Yes |
via | `CitationLink[] | null` | Yes |
published | `string | null` | Yes |
author | `string | null` | Yes |
attribution | `string | null` | Yes |
licence_url | `string | null` | Yes |
interface MessageSegment
| Field | Type | Optional |
|---|
content | string | No |
sequence | number | No |
| Field | Type | Optional |
|---|
temperature | number | Yes |
output_format | string | Yes |
output_schema | string | Yes |
model_name | string | Yes |
provider | string | Yes |
rule | string | Yes |
hitl | HitlExchange[] | Yes |
command | ChatCommandRecord | Yes |
stopped | boolean | Yes |
type AttachmentRef
| Field | Type | Optional |
|---|
id | string | Yes |
mime_type | string | Yes |
type ChatMessage
| Field | Type | Optional |
|---|
invocation_id | `string | null` | Yes |
verdict | `DecisionVerdict | null` | Yes |
cost_usd | `number | null` | Yes |
unpriced_calls | number | Yes |
role | `"system" | "user" | "assistant"` | No |
content | string | No |
status | ChatMessageStatus | Yes |
citations | Citation[] | Yes |
sent_at | string | Yes |
segments | MessageSegment[] | Yes |
attachments | AttachmentRef[] | Yes |
meta | { | Yes |
token_count | number | Yes |
temperature | number | Yes |
output_format | string | Yes |
output_schema | string | Yes |
model_name | string | Yes |
provider | string | Yes |
rule | string | Yes |
hitl | HitlExchange[] | Yes |
command | ChatCommandRecord | Yes |
attachments | AttachmentRef[] | Yes |
eval_outcome | QualityOutcome | Yes |
eval_score | number | Yes |
lighter_model | LighterModelAnswer | Yes |
cost_profile | string | Yes |
cited_sources | Citation[] | Yes |
withheld | WithheldAnswer | Yes |
web_search | WebSearchSummary | Yes |
interface WithheldAnswer
| Field | Type | Optional |
|---|
rule_id | `string | null` | Yes |
rule_version | `number | null` | Yes |
review | boolean | Yes |
interface LighterModelAnswer
| Field | Type | Optional |
|---|
reason | string | Yes |
type PromptResponse
| Field | Type | Optional |
|---|
conversation_id | string | No |
output_tokens | number | Yes |
trace | `TraceEvent[] | null` | Yes |
stopped | boolean | Yes |
invocation_id | `string | null` | Yes |
cost_usd | `number | null` | Yes |
unpriced_calls | number | Yes |
withheld | `WithheldAnswer | null` | Yes |
web_search | `WebSearchSummary | null` | Yes |
interface RuleTraceEvent
| Field | Type | Optional |
|---|
rule_id | `string | null` | Yes |
action | string | No |
phase | `"input" | "output"` | No |
reviewer | string | Yes |
changed | boolean | Yes |
message | string | Yes |
redacted | Record<string | Yes |
interface RuleTraceEvaluation
| Field | Type | Optional |
|---|
rule_id | `string | null` | Yes |
rule_version | `number | null` | Yes |
layer | `RuleLayer | null` | Yes |
rule_type | `string | null` | Yes |
scope_type | `RuleScope | null` | Yes |
scope_id | `string | null` | Yes |
outcome | GovernanceOutcome | No |
actions | string[] | No |
detail | Record<string | No |
enforced_in | `"core" | "ai" | "both"` | Yes |
interface RuleTraceResult
| Field | Type | Optional |
|---|
evaluations | RuleTraceEvaluation[] | Yes |
events | RuleTraceEvent[] | Yes |
interface NodePlanResult
| Field | Type | Optional |
|---|
goal | string | No |
expected_output | string | No |
success_criteria | string | No |
interface TriageChoice
| Field | Type | Optional |
|---|
retrieval_type | string | No |
source | `"triage" | "fallback"` | No |
adjustments | string[] | Yes |
interface RetrievalReport
| Field | Type | Optional |
|---|
judge_failure | string | Yes |
degraded | string[] | Yes |
judged_out | number | Yes |
interface KnowledgeMixLane
| Field | Type | Optional |
|---|
role | string | No |
kb_ids | string[] | No |
share | number | No |
candidate_k | number | No |
judge_slots | number | No |
max_queries | number | No |
reason | string | No |
interface KnowledgeMix
| Field | Type | Optional |
|---|
modifiers | string[] | No |
lanes | KnowledgeMixLane[] | No |
scoped_out | { category: string | No |
interface KnowledgePlanResult
| Field | Type | Optional |
|---|
mix | `KnowledgeMix | null` | No |
lanes | { category: string | No |
interface LaneSearchResult
| Field | Type | Optional |
|---|
role | string | No |
kb_ids | string[] | No |
queries | string[] | No |
found | number | No |
judged | number | No |
ruled_out | number | No |
out_of_window | number | No |
handed_on | number | No |
judge_failure | string | No |
degraded | string[] | No |
timings_ms | Record<string | No |
error | string | No |
interface LanePacking
| Field | Type | Optional |
|---|
budget | number | No |
used | number | No |
packed | number | No |
spilled_in | number | No |
interface GraphPlanStage
| Field | Type | Optional |
|---|
node_ids | string[] | No |
optional | boolean | No |
is_system_stage | boolean | No |
fork | string | Yes |
branches | string[] | Yes |
join | string | Yes |
interface TraceEvent
| Field | Type | Optional |
|---|
node_id | string | No |
is_system_node | boolean | Yes |
output_preview | string | Yes |
tokens | { input: number | Yes |
interface NodeExecution
| Field | Type | Optional |
|---|
is_system_node | boolean | No |
streamingContent | string | No |
tools | { | No |
tool | string | No |
output_preview | string | No |
status | `"success" | "error"` | No |
params | Record<string | Yes |
report | SearchReport | Yes |
interface ConversationMessage
| Field | Type | Optional |
|---|
invocation_id | `string | null` | Yes |
verdict | `DecisionVerdict | null` | Yes |
cost_usd | `number | null` | Yes |
unpriced_calls | number | Yes |
role | `"system" | "user" | "assistant"` | No |
content | string | No |
status | ChatMessageStatus | Yes |
token_count | number | No |
sent_at | string | No |
conversation_id | string | No |
trace | `TraceEvent[] | null` | Yes |
segments | `MessageSegment[] | null` | Yes |
meta | { | Yes |
token_count | number | Yes |
temperature | number | Yes |
output_format | string | Yes |
output_schema | string | Yes |
model_name | string | Yes |
provider | string | Yes |
rule | string | Yes |
agent_version | number | Yes |
agent_id | string | Yes |
hitl | HitlExchange[] | Yes |
command | ChatCommandRecord | Yes |
stopped | boolean | Yes |
eval_outcome | QualityOutcome | Yes |
eval_score | number | Yes |
lighter_model | LighterModelAnswer | Yes |
cost_profile | string | Yes |
withheld | WithheldAnswer | Yes |
web_search | WebSearchSummary | Yes |
cited_sources | Citation[] | Yes |
interface Conversation
| Field | Type | Optional |
|---|
ai_model_id | `string | null` | No |
agent_id | `string | null` | No |
owner_user_id | `string | null` | Yes |
owner_organisation_id | `string | null` | Yes |
owner_project_id | `string | null` | Yes |
messages | ConversationMessage[] | No |
total_input_tokens | number | No |
total_output_tokens | number | No |
total_tokens | number | No |
cost_usd | `number | null` | Yes |
unpriced_calls | number | Yes |
created_at | string | No |
Organisation.tsx
interface AccessCatalogue
interface Organisation extends Doc
| Field | Type | Optional |
|---|
auth0_org_id | string | Yes |
cost_centre | `string | null` | Yes |
created_at | string | Yes |
role | `OrganisationRole | null` | Yes |
access | `AccessMap | null` | Yes |
interface OrganisationMember
| Field | Type | Optional |
|---|
name | `string | null` | No |
email | string | No |
picture | `string | null` | No |
role | OrganisationRole | No |
access | AccessMap | No |
joined_at | `string | null` | No |
is_you | boolean | No |
via | `string | null` | Yes |
interface OrganisationInvite
| Field | Type | Optional |
|---|
email | string | No |
role | OrganisationRole | No |
access | AccessMap | No |
status | InviteStatus | No |
created_by_user_id | `string | null` | No |
created_at | `string | null` | No |
expires_at | string | No |
accepted_at | `string | null` | No |
revoked_at | `string | null` | No |
interface CreatedInvite
| Field | Type | Optional |
|---|
token | string | No |
interface InvitePreview
| Field | Type | Optional |
|---|
target_id | string | No |
target_name | string | No |
role | OrganisationRole | No |
email | string | No |
for_you | boolean | No |
access | AccessMap | No |
invited_by | `string | null` | No |
status | InviteStatus | No |
expires_at | string | No |
interface InviteAccepted
| Field | Type | Optional |
|---|
target_id | string | No |
role | OrganisationRole | No |
already_member | boolean | No |
interface MembershipApi
| Field | Type | Optional |
|---|
updateMember | ( | No |
id | string | No |
userId | string | No |
change | { role?: OrganisationRole | No |
Project.tsx
interface Project extends Resource
| Field | Type | Optional |
|---|
description | string | Yes |
cost_centre | `string | null` | Yes |
created_at | string | Yes |
role | `"admin" | "member" | null` | Yes |
access | Record<string | Yes |
Review.tsx
interface ReviewFlag
| Field | Type | Optional |
|---|
owner_user_id | `string | null` | Yes |
kind | ReviewKind | Yes |
rule_id | `string | null` | Yes |
rule_name | `string | null` | Yes |
rule_version | `number | null` | Yes |
scope_type | `string | null` | Yes |
scope_id | `string | null` | Yes |
reviewer | `string | null` | Yes |
execution_type | `string | null` | Yes |
conversation_id | `string | null` | Yes |
agent_id | `string | null` | Yes |
ai_model_id | `string | null` | Yes |
invocation_id | `string | null` | Yes |
question | `string | null` | Yes |
excerpt | `string | null` | Yes |
withheld_text | `string | null` | Yes |
experiment_id | `string | null` | Yes |
batch_id | `string | null` | Yes |
status | ReviewStatus | No |
reviewed_by_user_id | `string | null` | Yes |
reviewed_at | `string | null` | Yes |
reviewer_note | `string | null` | Yes |
created_at | `string | null` | Yes |
expires_at | `string | null` | Yes |
interface ReviewFlagList
| Field | Type | Optional |
|---|
total | number | No |
interface ReviewSummary
| Field | Type | Optional |
|---|
reviewed | number | No |
dismissed | number | No |
total | number | No |
interface ReviewQuery
| Field | Type | Optional |
|---|
kind | ReviewKind | Yes |
q | string | Yes |
reviewer | string | Yes |
rule_id | string | Yes |
agent_id | string | Yes |
since | string | Yes |
limit | number | Yes |
offset | number | Yes |
Role.tsx
interface Role extends Doc
| Field | Type | Optional |
|---|
created_at | string | Yes |
Rule.tsx
interface RuleCondition
| Field | Type | Optional |
|---|
operator | ConditionOperator | No |
value | `string | boolean` | No |
interface RuleAction
interface Rule extends Resource, AIGenerated, SystemManaged
| Field | Type | Optional |
|---|
description | string | Yes |
layer | RuleLayer | No |
scope_type | RuleScope | No |
scope_id | string | Yes |
conditions | RuleCondition[] | No |
actions | RuleAction[] | No |
is_active | boolean | No |
priority | number | No |
summaries | string[] | Yes |
created_at | string | No |
updated_at | string | No |
based_on_rule_id | `string | null` | Yes |
based_on_version | `number | null` | Yes |
required_for_projects | boolean | Yes |
origin | `"own" | "inherited" | "required" | "built_in" | null` | Yes |
home_workspace | `string | null` | Yes |
can_change | boolean | Yes |
home_workspace_name | `string | null` | Yes |
interface RuleCreate
| Field | Type | Optional |
|---|
description | string | Yes |
layer | RuleLayer | No |
scope_type | RuleScope | No |
scope_id | string | Yes |
conditions | RuleCondition[] | No |
actions | RuleAction[] | No |
is_active | boolean | No |
priority | number | No |
owner_user_id | `string | null` | Yes |
owner_organisation_id | `string | null` | Yes |
owner_project_id | `string | null` | Yes |
based_on_rule_id | string | Yes |
required_for_projects | boolean | Yes |
interface RuleUpdate
| Field | Type | Optional |
|---|
name | string | Yes |
description | string | Yes |
layer | RuleLayer | Yes |
scope_type | RuleScope | Yes |
scope_id | string | Yes |
conditions | RuleCondition[] | Yes |
actions | RuleAction[] | Yes |
is_active | boolean | Yes |
priority | number | Yes |
interface RuleOperatorSpec
| Field | Type | Optional |
|---|
label | string | No |
description | string | No |
applies_to | RuleValueType[] | No |
operand | RuleValueType | No |
interface RuleFieldSpec
| Field | Type | Optional |
|---|
label | string | No |
description | string | No |
group | string | No |
value_type | RuleValueType | No |
phases | RulePhase[] | No |
options | string[] | No |
vocabulary | `string | null` | Yes |
operators | ConditionOperator[] | No |
interface RuleParamCondition
| Field | Type | Optional |
|---|
value | string | No |
interface RuleActionParamSpec
| Field | Type | Optional |
|---|
label | string | No |
value_type | RuleValueType | No |
description | string | No |
required | boolean | No |
default | unknown | No |
options | string[] | No |
resource | `string | null` | Yes |
vocabulary | `string | null` | Yes |
shown_when | `RuleParamCondition | null` | Yes |
item | `string | null` | Yes |
interface RuleVocabularyEntry
| Field | Type | Optional |
|---|
label | string | No |
description | string | Yes |
calendar | `boolean | null` | Yes |
interface RuleActionSpec
| Field | Type | Optional |
|---|
label | string | No |
description | string | No |
layer | RuleLayer | No |
enforced_in | RuleActionEnforcement | No |
params | RuleActionParamSpec[] | No |
interface RuleLayerSpec
| Field | Type | Optional |
|---|
label | string | No |
summary | string | No |
description | string | No |
position | number | No |
phase | RulePhase | No |
fields | RuleFieldSpec[] | No |
actions | RuleActionSpec[] | No |
interface RuleScopeSpec
| Field | Type | Optional |
|---|
label | string | No |
description | string | No |
specificity | number | No |
targets_resource | boolean | No |
plural | string | No |
interface RuleScopeTarget
| Field | Type | Optional |
|---|
label | string | No |
scope_type | RuleScope | No |
interface RuleScopeTargets
interface PiiKindSpec
| Field | Type | Optional |
|---|
label | string | No |
plural | string | No |
example | string | No |
note | string | No |
description | string | No |
region | string | No |
region_label | string | No |
category | string | No |
category_label | string | No |
default | boolean | No |
interface RuleCatalogue
| Field | Type | Optional |
|---|
scopes | RuleScopeSpec[] | No |
layers | RuleLayerSpec[] | No |
pii_kinds | PiiKindSpec[] | Yes |
quota_periods | RuleVocabularyEntry[] | Yes |
quota_shares | RuleVocabularyEntry[] | Yes |
quota_responses | RuleVocabularyEntry[] | Yes |
quota_reserves | RuleVocabularyEntry[] | Yes |
quota_alerts | RuleVocabularyEntry[] | Yes |
execution_types | RuleVocabularyEntry[] | Yes |
RuleSetup.tsx
interface GenerateRulesRequest
| Field | Type | Optional |
|---|
ai_model_id | `string | null` | Yes |
interface ProposedRule
| Field | Type | Optional |
|---|
description | string | No |
layer | RuleLayer | No |
scope_type | RuleScope | No |
scope_id | `string | null` | Yes |
scope_label | string | No |
conditions | RuleCondition[] | No |
actions | RuleAction[] | No |
priority | number | No |
is_active | boolean | No |
interface RulesGenerationProposal
| Field | Type | Optional |
|---|
proposed_rules | ProposedRule[] | No |
warnings | string[] | No |
model | GenerationModelInfo | No |
generation_id | string | No |
interface CreateRulesFromConfigRequest
| Field | Type | Optional |
|---|
generation_id | `string | null` | Yes |
interface CreateRulesFromConfigResponse
Skill.tsx
interface FieldSpec
| Field | Type | Optional |
|---|
type | FieldType | No |
description | string | Yes |
required | boolean | Yes |
default | unknown | Yes |
values | string[] | Yes |
items | FieldType | Yes |
interface NodeSlotInfo
| Field | Type | Optional |
|---|
description | string | No |
default_agent_name | string | No |
default_agent_display_name | string | No |
default_agent_role | string | No |
default_agent_description | string | No |
config_overrides | Record<string | No |
interface AvailableSkill
| Field | Type | Optional |
|---|
display_name | string | No |
description | string | No |
use_case | string | No |
tags | string[] | No |
nodes | NodeSlotInfo[] | No |
edges | string[][] | No |
start_node | string | No |
end_nodes | string[] | No |
graph_definition | Record<string | No |
interface AgentDefinition
| Field | Type | Optional |
|---|
display_name | string | No |
description | string | No |
role | string | No |
tags | string[] | No |
default_tools | Array<{ | No |
name | string | No |
type | string | No |
config | Record<string | No |
interface NodeConfigOverrides
| Field | Type | Optional |
|---|
temperature | number | Yes |
max_tokens | number | Yes |
effort | `"low" | "medium" | "high" | "xhigh" | "max"` | Yes |
tools_enabled | boolean | Yes |
provider | string | Yes |
model | string | Yes |
mcp_server_ids | string[] | Yes |
| Field | Type | Optional |
|---|
args | Record<string | No |
config | Record<string | Yes |
interface GraphNodeConfig
| Field | Type | Optional |
|---|
agent_name | string | Yes |
config_overrides | NodeConfigOverrides | Yes |
prompt_template | string | Yes |
input_keys | string[] | Yes |
tool | ToolNodeSpec | Yes |
operation | { op: TransformOp | Yes |
interface ConditionSpec
| Field | Type | Optional |
|---|
op | ConditionOp | Yes |
value | unknown | Yes |
all | ConditionSpec[] | Yes |
any | ConditionSpec[] | Yes |
not | ConditionSpec | Yes |
interface BranchSpec
| Field | Type | Optional |
|---|
target | string | No |
when | ConditionSpec | Yes |
description | string | Yes |
interface ConditionalEdgeConfig
| Field | Type | Optional |
|---|
default | string | Yes |
route_field | string | Yes |
route_keys | string[] | Yes |
edge_map | Record<string | Yes |
interface StateFieldSpec
| Field | Type | Optional |
|---|
default | unknown | Yes |
type | `FieldType | ""` | Yes |
interface InterfaceOutputSpec
| Field | Type | Optional |
|---|
from | string | Yes |
description | string | Yes |
interface SkillInterface
| Field | Type | Optional |
|---|
outputs | InterfaceOutputSpec[] | Yes |
interface GraphDefinition
| Field | Type | Optional |
|---|
edges | string[][] | No |
start_node | string | No |
end_nodes | string[] | No |
conditional_edges | Record<string | Yes |
state | Record<string | Yes |
interface | SkillInterface | Yes |
interface Skill extends AIGenerated, SystemManaged
| Field | Type | Optional |
|---|
name | string | No |
description | string | Yes |
tags | string[] | No |
graph_definition | Record<string | No |
owner_user_id | `string | null` | Yes |
owner_organisation_id | `string | null` | Yes |
owner_project_id | `string | null` | Yes |
created_at | string | No |
interface RunField extends FieldSpec
| Field | Type | Optional |
|---|
consumers | string[] | No |
interface RunSchema
| Field | Type | Optional |
|---|
requires_prompt | boolean | No |
complete | boolean | No |
interface CostDetailRow
| Field | Type | Optional |
|---|
model | string | No |
calls | number | No |
input_tokens | number | No |
output_tokens | number | No |
cost_usd | `number | null` | No |
unpriced_calls | number | No |
interface RunResponse
| Field | Type | Optional |
|---|
node_id | `string | null` | Yes |
approved | boolean | Yes |
feedback | string | Yes |
answers | Record<string | Yes |
answered_at | string | No |
answered_by | string | No |
| Field | Type | Optional |
|---|
args | Record<string | No |
output | `string | null` | No |
error | boolean | Yes |
interface SkillRunStep
| Field | Type | Optional |
|---|
kind | `"system" | "skill"` | No |
output | string | No |
truncated | boolean | No |
structured | Record<string | No |
error | boolean | No |
tool_calls | SkillRunToolCall[] | No |
input_tokens | number | No |
output_tokens | number | No |
interface SkillRunSummary
| Field | Type | Optional |
|---|
skill_id | `string | null` | No |
skill_name | string | No |
skill_version | `number | null` | No |
status | SkillRunStatus | No |
prompt | `string | null` | No |
inputs | Record<string | No |
error | `string | null` | No |
input_tokens | number | No |
output_tokens | number | No |
latency_ms | `number | null` | No |
cost_usd | `number | null` | No |
llm_calls | number | No |
unpriced_calls | number | No |
started_at | string | No |
finished_at | `string | null` | No |
interface SkillRun extends SkillRunSummary
| Field | Type | Optional |
|---|
interrupt | `RunPause | null` | No |
responses | `RunResponse[] | null` | No |
task | `string | null` | No |
output | `string | null` | No |
outputs | Record<string | No |
state | Record<string | No |
steps | `SkillRunStep[] | null` | No |
citations | Array<Record<string | No |
rule_trace | Array<Record<string | No |
warnings | `string[] | null` | No |
invocation_id | `string | null` | No |
interface SkillRunRefusal
| Field | Type | Optional |
|---|
fields | Record<string | No |
Skillset.tsx
interface Skillset extends Resource, AIGenerated, SystemManaged
| Field | Type | Optional |
|---|
description | string | Yes |
skill_ids | string[] | No |
created_at | string | Yes |
SkillsetSetup.tsx
interface GenerateSkillsetRequest
| Field | Type | Optional |
|---|
ai_model_id | `string | null` | Yes |
interface SkillsetGenerationProposal
| Field | Type | Optional |
|---|
description | string | No |
reasoning | string | No |
selected_skills | Skill[] | No |
proposed_skills | ProposedSkill[] | No |
warnings | string[] | No |
model | GenerationModelInfo | No |
generation_id | string | No |
interface CreateSkillsetFromConfigRequest
| Field | Type | Optional |
|---|
description | string | No |
generation_id | `string | null` | Yes |
existing_skill_ids | string[] | No |
new_skills | NewSkillInput[] | No |
interface CreateSkillsetFromConfigResponse
| Field | Type | Optional |
|---|
created_skill_ids | string[] | No |
| Field | Type | Optional |
|---|
description | string | No |
schema | Record<string | No |
| Field | Type | Optional |
|---|
description | string | Yes |
mcp_server_ids | string[] | No |
created_at | string | Yes |
| Field | Type | Optional |
|---|
ai_model_id | `string | null` | Yes |
| Field | Type | Optional |
|---|
description | string | No |
reasoning | string | No |
selected_mcp_servers | MCPServer[] | No |
warnings | string[] | No |
model | GenerationModelInfo | No |
generation_id | string | No |
| Field | Type | Optional |
|---|
description | string | No |
generation_id | `string | null` | Yes |
existing_mcp_server_ids | string[] | No |
Turn.tsx
| Field | Type | Optional |
|---|
attachments | AttachmentRef[] | Yes |
interface RunningTurn
| Field | Type | Optional |
|---|
kind | TurnKind | No |
target_id | string | No |
conversation_id | string | No |
status | TurnStatus | No |
started_at | string | No |
prompt | `string | null` | No |
meta | `RunningTurnMeta | null` | No |
stopping | boolean | No |
Worker.tsx
interface WorkerModelOverrides
| Field | Type | Optional |
|---|
model | string | Yes |
temperature | number | Yes |
max_tokens | number | Yes |
interface CustomWorker extends AIGenerated
| Field | Type | Optional |
|---|
name | string | No |
description | string | Yes |
base_worker | `string | null` | No |
role | `string | null` | No |
system_prompt | string | Yes |
tags | string[] | No |
model_overrides | `WorkerModelOverrides | null` | Yes |
tools_enabled | boolean | Yes |
mcp_server_ids | string[] | Yes |
input_schema | FieldSpec[] | Yes |
output_schema | FieldSpec[] | Yes |
definition_name | `string | null` | Yes |
owner_user_id | `string | null` | Yes |
owner_organisation_id | `string | null` | Yes |
owner_project_id | `string | null` | Yes |
created_at | string | No |
common/ResourceOwner.tsx
type ResourceOwner
| Field | Type | Optional |
|---|
id | string | No |
interfaces/graph/GraphAxis.tsx
interface GraphAxis
| Field | Type | Optional |
|---|
title | string | No |
range | Range | No |
interfaces/graph/LineGraph.tsx
interface Line
| Field | Type | Optional |
|---|
data | Point[] | No |
lineColor | string | Yes |
pointColor | string | Yes |
interface LineGraph
| Field | Type | Optional |
|---|
x_axis | GraphAxis | No |
y_axis | GraphAxis | No |
title | string | No |
interfaces/graph/Point.tsx
interface Point
| Field | Type | Optional |
|---|
y | number | No |
interfaces/number/Range.tsx
interface Range
| Field | Type | Optional |
|---|
max | number | No |
interfaces/number/Size.tsx
interface Size
| Field | Type | Optional |
|---|
height | number | No |
interfaces/number/Stat.tsx
interface Stat
| Field | Type | Optional |
|---|
unit | string | No |
interfaces/states/Severity.tsx
interface SeverityThresholds
| Field | Type | Optional |
|---|
warning | number | Yes |
ascending | boolean | No |
interface SeverityLambdas
| Field | Type | Optional |
|---|
lambda_warning | (val: any) => boolean | Yes |