DocsSet up LatentOps, connect agent runtime checks, enforce decisions, and operate the dashboard.
Get started/Operate

Monitor checks, incidents, policies, and audit evidence.

Run LatentOps as an operator workflow with live dashboard data, incident review, policy ownership, audit exports, and production readiness checks.

Documentation Index

Use the sections in the left rail to move from quickstart to API, integrations, and production operations.

Hosted APIhttps://api.latentops.spaceAPI
15

Dashboard

The dashboard reads the same event stream as the API. If it is empty, send a check with log_event: true using a key for the selected workspace.

Overview

Decision mix, risk trend, mean risk, intervention count, and onboarding status.

Checks

Every pre-tool-call review with prompt, tool, arguments, decision, score, and evidence.

Incidents

Blocked or escalated checks that need operator review, resolution, or policy follow-up.

Models

Provider, model, framework, environment, latency, token usage, and model-run traces.

Policies

Policy activity, custom rule matches, action classes, and audit-ready evidence.

Benchmarks

Run monitor comparisons, inspect false positives and false negatives, and review risk-type coverage.

Settings

Workspace profile, API keys, provider keys, billing, team, audit, admin, SSO, and RBAC entitlements.

bash
curl "https://api.latentops.space/v1/dashboard/live?limit=120" \
  -H "X-API-Key: lo_your_tenant_key_here"
16

Benchmarks

The Benchmarks dashboard compares deterministic text-only, action-context, activation-only, and hybrid runtime monitors on controlled tool-risk datasets. Use it to inspect recall, F1, false positives, false negatives, latency, case evidence, and risk-type coverage before making stronger monitor claims.

Dataset

Choose AgentRiskBench v0.1, hard negatives, or the mixed preview dataset. Each run is bounded to 10-500 cases.

Policy

Run balanced, strict, or permissive policy settings to see how intervention thresholds affect monitor quality.

Monitor table

Compare text-only, action-context, activation-only, and hybrid monitors by accuracy, recall, F1, false positives, false negatives, and latency.

Case review

Inspect the first scored cases with labels, expected decisions, hybrid risk scores, decisions, and evidence.

Risk coverage

Group results by risk type so teams can see which risky cases are caught and where misses remain.

Responsible claims

Use these results for controlled pre-tool-call monitor comparisons, not claims about universal safety or true model intent.

Dashboard pathOpen Dashboard > Benchmarks, choose dataset, limit, and policy, then run the comparison.
bash
python scripts/run_benchmark_results.py --limit 120 --out reports/benchmark_results.json

curl "https://api.latentops.space/v1/benchmarks/datasets" \
  -H "X-API-Key: lo_your_tenant_key_here"

curl "https://api.latentops.space/v1/benchmarks/results?dataset=agentriskbench_v0_1&limit=120&policy=balanced" \
  -H "X-API-Key: lo_your_tenant_key_here"
17

Incidents

Incidents are created when runtime checks need operator attention, especially block and escalate decisions. Review the tool, arguments, decision, score, evidence, policy matches, related runtime event, routing owner, queue, SLA, and approval state before resolving.

Routed queue

Each incident can carry owner, queue, SLA, sensitivity, and tool category metadata.

Approval actions

Escalations start as pending approval. Operators can approve or reject from the dashboard or API.

Resolution trail

Open incidents can be resolved after false positive, legitimate block, policy, workflow, or security review.

Resolve after reviewfalse positive | legitimate block | policy change | workflow change | security follow-up
18

Policies

Policies convert risky behavior into warnings, blocks, and escalations. Start with balanced, then add rules for destructive shell commands, protected branches, secret exposure, infrastructure paths, production config, deployment commands, database migrations, and repeated failures.

Template drafts

Use built-in templates for engineering, support, finance, cloud, and external messaging workflows.

YAML import/export

Keep policy packs in source control, import them as drafts, and export saved versions from the dashboard or API.

Rule evidence

Published policies attach matched rule evidence to checks, incidents, and audit exports.

Approval path

Draft, test, publish, and review policy changes before production enforcement depends on them.

Production ownershipSecurity and platform teams should review production policy changes.
19

Audit exports

Export evidence for security reviews, procurement reviews, incident retrospectives, customer trust conversations, and internal AI governance.

bash
curl "https://api.latentops.space/v1/reports/audit.md" \
  -H "X-API-Key: lo_your_tenant_key_here"
20

Deployment

Hosted workspaces use the LatentOps managed API. Enterprise private deployments should configure API auth, Postgres, allowed origins, provider key encryption, SSO/SAML, RBAC, retention, alerting, and readiness checks.

bash
LATENTOPS_REQUIRE_API_KEY=true
LATENTOPS_ADMIN_API_KEY=change-me
LATENTOPS_STORE_BACKEND=postgres
DATABASE_URL=postgres://...
LATENTOPS_ALLOWED_ORIGINS=https://latentops.space,https://app.your-company.example
LATENTOPS_PROVIDER_KEY_ENCRYPTION_SECRET=use-a-long-random-secret
NEXT_PUBLIC_APP_URL=https://latentops.space
LATENTOPS_API_BASE=https://api.latentops.space
Readiness probesUse /health for liveness and /ready for load balancers.
21

Troubleshooting

Most integration issues are key scope, workspace selection, API base, event logging, provider model IDs, or policy evidence. Start here before changing code.

Empty dashboard

Confirm X-API-Key is present, belongs to the selected workspace, log_event is true, and filters are not hiding events.

401 or 403

Check the tenant key, revoked key state, session cookie, workspace membership, and plan entitlement.

Provider model error

For managed live calls, use current OpenAI or Anthropic model IDs, verify provider key access, and read the returned provider status.

502 from local web proxy

Start the FastAPI backend, verify LATENTOPS_API_BASE, and check that the API base matches your deployment.

Unexpected blocks

Inspect policy evidence, protected paths, production flags, failed-test context, and repeated action history.

Secrets handling

Store tenant and provider keys in a secret manager. Never commit keys or expose them in frontend code.