Settings & System

Platform configuration and system health

Agent Integration

Stored in browser localStorage

Enter the VITE_LOCAL_API_KEY from the TrustChain Agent backend (trust-chain.ai). This allows the AI panel to call docker_agent tools (bash, file ops, streaming).

LLM API Key

Stored in browser localStorage

Enter your OpenRouter or OpenAI API key. This enables the AI agent to process queries and generate responses.

Platform Admin API Key

localStorage only — не коммитить

Ключ из TRUSTCHAIN_PLATFORM_API_KEY для вызовов/api/admin/stats и прочих защищённых маршрутов. Не используйте NEXT_PUBLIC_* для секретов.

System Health

Checking…

Platform Configuration

API Endpoint

https://app.trust-chain.ai/api

Agent Panel

https://trust-chain.ai/panel

Default Cert Validity

1 hour (short-lived)

PKI Organization

TrustChain Platform

Certificate Type

X.509 v3 with custom OIDs

Log Storage

Merkle tree, append-only

Trust Anchor

Pinned Root CA + Platform CA intermediate

Enrollment Mode

Prefer external Ed25519 public key ownership

Security Notes

Production deployments should configure backend admin auth explicitly viaTRUSTCHAIN_PLATFORM_API_KEYorTRUSTCHAIN_API_KEYS.

Секреты не задаются черезNEXT_PUBLIC_*. В UI сохраните ключ вtc_platform_admin_api_keyили проксируйтеX-Platform-API-Key на сервере.

New agent enrollment supportspublic_key_b64so Platform can issue a certificate without taking custody of the agent private key.

API Reference

Open Swagger →
POST/api/agents/registerRegister new agent or sub-agent; supports external public key enrollment
GET/api/agentsList all agents
GET/api/agents/statsDashboard statistics
GET/api/agents/{id}Agent details
GET/api/agents/{id}/sub-agentsList sub-agents
DELETE/api/agents/{id}Decommission + cascade revocation
POST/api/ca/issueIssue certificate (supports external public key enrollment)
POST/api/ca/revokeRevoke certificate
GET/api/ca/hierarchyFull PKI hierarchy tree
GET/api/log/entriesLog entries (with pagination)
GET/api/log/verifyVerify log integrity
GET/api/log/merkle-rootCurrent Merkle root
GET/api/pub/root-caDownload Root CA trust anchor
GET/api/pub/caDownload Platform intermediate CA
GET/api/pub/crlDownload current CRL