{{define "content"}}

Integrations

External sources feeding observations into minds. Everything ingested is data: tagged with source, trust and reference, never obeyed.

{{$admin := .Principal.User.Role.AtLeast "administrator"}}
{{if .Data.Integrations}}{{range .Data.Integrations}}{{end}}
NameKindMindTrustStatusLast runIngested
{{.Name}}{{.Kind}}{{index $.Data.MindNames .MindID}}{{.Trust}} {{.Status}}{{with .LastError}} {{trunc . 40}}{{end}}{{if .LastRunAt}}{{ago .LastRunAt}}{{else}}never{{end}}{{.IngestedCount}} {{if and ($.Principal.User.Role.AtLeast "operator") (ne .Kind "webhook")}}
{{end}}
{{else}}

No integrations yet.

{{end}}
{{if $admin}}

Add integration

{{end}}
{{end}}