HTTP API Reference
Generated directly from api/openapi.yaml. Read requests bind to loopback only; mutating routes require the run’s Ometsuke-Token header (or authenticated operator role).
Actions
1 routesPOST/api/v1/actions/executeExecute an explicitly sealed response action on a process or container.Token / Seal
/api/v1/actions/executeExecute an explicitly sealed response action on a process or container.curl -X POST -H "Ometsuke-Token: $TOKEN" -H "Content-Type: application/json" http://127.0.0.1:7070/api/v1/actions/executeAgent
2 routesGET/api/v1/agentWhere the connection to the Tetragon agent stands.Read-only
/api/v1/agentWhere the connection to the Tetragon agent stands.`none` until a socket is known (neither `-tetragon` nor a socket kept by an earlier connect); `connecting` during the first dial; `connected` while its events are read; `reconnecting` after a dial failed or the stream ended, with `problem` saying why, while Ometsuke dials again after a pause of 1 second doubling to 30; `replay` when this instance reads a recording. The ledger is kept in every state.
curl -sS http://127.0.0.1:7070/api/v1/agentPOST/api/v1/agent/connectConnect to the Tetragon agent at a socket.Token / Seal
/api/v1/agent/connectConnect to the Tetragon agent at a socket.Opens the socket once and answers what is wrong when it cannot; once it answers, the socket is kept, so the next start connects to it again, and the connection replaces the one there was. Refused while this instance replays a recording, and while `-tetragon` set the socket.
curl -X POST -H "Ometsuke-Token: $TOKEN" -H "Content-Type: application/json" http://127.0.0.1:7070/api/v1/agent/connectAgent Proposals
1 routesGET/api/v1/proposals/policiesUnproven monitor-mode policy drafts submitted by MCP agents for human review.Read-only
/api/v1/proposals/policiesUnproven monitor-mode policy drafts submitted by MCP agents for human review.curl -sS http://127.0.0.1:7070/api/v1/proposals/policiesAlerts & Routing
5 routesGET/api/v1/alertsRead recent defensive alerts, per-channel receipts and delivery settings.Read-only
/api/v1/alertsRead recent defensive alerts, per-channel receipts and delivery settings.curl -sS http://127.0.0.1:7070/api/v1/alertsPOST/api/v1/alerts/{id}/email/resolveRecord the operator's verification of an uncertain SMTP delivery.Token / Seal
/api/v1/alerts/{id}/email/resolveRecord the operator's verification of an uncertain SMTP delivery.curl -X POST -H "Ometsuke-Token: $TOKEN" -H "Content-Type: application/json" http://127.0.0.1:7070/api/v1/alerts/{id}/email/resolve| Parameter | In | Type | Description |
|---|---|---|---|
| id* | path | string |
PUT/api/v1/alerts/channels/{channel}Configure one delivery channel for future alerts.Token / Seal
/api/v1/alerts/channels/{channel}Configure one delivery channel for future alerts.curl -X PUT -H "Ometsuke-Token: $TOKEN" -H "Content-Type: application/json" http://127.0.0.1:7070/api/v1/alerts/channels/{channel}| Parameter | In | Type | Description |
|---|---|---|---|
| channel* | path | string |
GET/api/v1/alerts/email/uncertainRead unresolved email receipts across the entire alert history, ordered by alert ID.Read-only
/api/v1/alerts/email/uncertainRead unresolved email receipts across the entire alert history, ordered by alert ID.curl -sS http://127.0.0.1:7070/api/v1/alerts/email/uncertain| Parameter | In | Type | Description |
|---|---|---|---|
| after | query | string |
PUT/api/v1/alerts/settingsConfigure webhook delivery for new alerts.Token / Seal
/api/v1/alerts/settingsConfigure webhook delivery for new alerts.curl -X PUT -H "Ometsuke-Token: $TOKEN" -H "Content-Type: application/json" http://127.0.0.1:7070/api/v1/alerts/settingsAuth & RBAC
1 routesGET/api/v1/auth/meRead the current caller identity, role and authentication source.Read-only
/api/v1/auth/meRead the current caller identity, role and authentication source.curl -sS http://127.0.0.1:7070/api/v1/auth/meAutonomy
2 routesGET/api/v1/autonomyRead the delegated directory, selected executables and observed policy effects.Read-only
/api/v1/autonomyRead the delegated directory, selected executables and observed policy effects.curl -sS http://127.0.0.1:7070/api/v1/autonomyPUT/api/v1/autonomyStart or stop observation, or seal one exact executable for socket rejection.Token / Seal
/api/v1/autonomyStart or stop observation, or seal one exact executable for socket rejection.curl -X PUT -H "Ometsuke-Token: $TOKEN" -H "Content-Type: application/json" http://127.0.0.1:7070/api/v1/autonomyCases & Decisions
7 routesGET/api/v1/decisionsWaiting and recently sealed cases.Read-only
/api/v1/decisionsWaiting and recently sealed cases.curl -sS http://127.0.0.1:7070/api/v1/decisionsGET/api/v1/decisions/{id}Route, evidence, explanation and seal for one case.Read-only
/api/v1/decisions/{id}Route, evidence, explanation and seal for one case.curl -sS http://127.0.0.1:7070/api/v1/decisions/{id}| Parameter | In | Type | Description |
|---|---|---|---|
| id* | path | string |
GET/api/v1/decisions/{id}/policy-draftBuild a monitor-first, unproven TracingPolicy draft from one case's evidence.Read-only
/api/v1/decisions/{id}/policy-draftBuild a monitor-first, unproven TracingPolicy draft from one case's evidence.curl -sS http://127.0.0.1:7070/api/v1/decisions/{id}/policy-draft| Parameter | In | Type | Description |
|---|---|---|---|
| id* | path | string |
POST/api/v1/decisions/{id}/questionsAsk the configured language model about the numbered evidence.Token / Seal
/api/v1/decisions/{id}/questionsAsk the configured language model about the numbered evidence.curl -X POST -H "Ometsuke-Token: $TOKEN" -H "Content-Type: application/json" http://127.0.0.1:7070/api/v1/decisions/{id}/questions| Parameter | In | Type | Description |
|---|---|---|---|
| id* | path | string |
GET/api/v1/decisions/{id}/recommendationsNon-binding recommendations submitted by MCP agents for one case.Read-only
/api/v1/decisions/{id}/recommendationsNon-binding recommendations submitted by MCP agents for one case.curl -sS http://127.0.0.1:7070/api/v1/decisions/{id}/recommendations| Parameter | In | Type | Description |
|---|---|---|---|
| id* | path | string |
POST/api/v1/decisions/{id}/sealRecord a human decision about a case.Token / Seal
/api/v1/decisions/{id}/sealRecord a human decision about a case.curl -X POST -H "Ometsuke-Token: $TOKEN" -H "Content-Type: application/json" http://127.0.0.1:7070/api/v1/decisions/{id}/seal| Parameter | In | Type | Description |
|---|---|---|---|
| id* | path | string |
GET/api/v1/decisions/overviewNewest cases waiting for a seal.Read-only
/api/v1/decisions/overviewNewest cases waiting for a seal.curl -sS http://127.0.0.1:7070/api/v1/decisions/overviewContextual AI Help
1 routesPOST/api/v1/assistAsk the configured language model about a bounded local snapshot.Token / Seal
/api/v1/assistAsk the configured language model about a bounded local snapshot.Only an explicit policy draft request may return a monitor-only watch suggestion. No policy is saved or loaded.
curl -X POST -H "Ometsuke-Token: $TOKEN" -H "Content-Type: application/json" http://127.0.0.1:7070/api/v1/assistCurated Catalog
3 routesGET/api/v1/catalog/graphsList curated decision graph templates shipped with Ometsuke.Read-only
/api/v1/catalog/graphsList curated decision graph templates shipped with Ometsuke.curl -sS http://127.0.0.1:7070/api/v1/catalog/graphsGET/api/v1/catalog/packsList curated monitor-first TracingPolicy starter packs.Read-only
/api/v1/catalog/packsList curated monitor-first TracingPolicy starter packs.curl -sS http://127.0.0.1:7070/api/v1/catalog/packsGET/api/v1/catalog/policiesList curated monitor-first TracingPolicy templates shipped with Ometsuke.Read-only
/api/v1/catalog/policiesList curated monitor-first TracingPolicy templates shipped with Ometsuke.curl -sS http://127.0.0.1:7070/api/v1/catalog/policiesDecision Graphs
6 routesGET/api/v1/graphsThe selected decision graph and recent answers.Read-only
/api/v1/graphsThe selected decision graph and recent answers.curl -sS http://127.0.0.1:7070/api/v1/graphs| Parameter | In | Type | Description |
|---|---|---|---|
| graph | query | string |
PUT/api/v1/graphs/{name}Seal and save a validated decision graph revision, hot-reloading active evaluators.Token / Seal
/api/v1/graphs/{name}Seal and save a validated decision graph revision, hot-reloading active evaluators.curl -X PUT -H "Ometsuke-Token: $TOKEN" -H "Content-Type: application/json" http://127.0.0.1:7070/api/v1/graphs/{name}| Parameter | In | Type | Description |
|---|---|---|---|
| name* | path | string |
GET/api/v1/graphs/{name}/replayPreview this graph on the newest 200 local ledger entries using recorded judgments.Read-only
/api/v1/graphs/{name}/replayPreview this graph on the newest 200 local ledger entries using recorded judgments.curl -sS http://127.0.0.1:7070/api/v1/graphs/{name}/replay| Parameter | In | Type | Description |
|---|---|---|---|
| name* | path | string |
GET/api/v1/graphs/{name}/sourceRead the editable YAML source and topology of a loaded decision graph.Read-only
/api/v1/graphs/{name}/sourceRead the editable YAML source and topology of a loaded decision graph.curl -sS http://127.0.0.1:7070/api/v1/graphs/{name}/source| Parameter | In | Type | Description |
|---|---|---|---|
| name* | path | string |
POST/api/v1/graphs/compareCompare two decision graphs, candidate YAML revisions, or threshold overrides on one ledger snapshot.Token / Seal
/api/v1/graphs/compareCompare two decision graphs, candidate YAML revisions, or threshold overrides on one ledger snapshot.curl -X POST -H "Ometsuke-Token: $TOKEN" -H "Content-Type: application/json" http://127.0.0.1:7070/api/v1/graphs/comparePOST/api/v1/graphs/validateValidate decision graph YAML syntax, graph structure, and CEL expressions without saving.Token / Seal
/api/v1/graphs/validateValidate decision graph YAML syntax, graph structure, and CEL expressions without saving.curl -X POST -H "Ometsuke-Token: $TOKEN" -H "Content-Type: application/json" http://127.0.0.1:7070/api/v1/graphs/validateDensity
1 routesGET/api/v1/densityCount entries per time bucket and severity.Read-only
/api/v1/densityCount entries per time bucket and severity.The window ends at the end of the bucket that holds the newest entry, so a replayed recording shows its own last minutes; with an empty ledger it ends now. `window_seconds` must be a whole multiple of `buckets`. With `realtime=true` the current server time anchors the window, including idle periods.
curl -sS http://127.0.0.1:7070/api/v1/density| Parameter | In | Type | Description |
|---|---|---|---|
| realtime | query | boolean | |
| window_seconds | query | integer | |
| buckets | query | integer |
Firewall
1 routesGET/api/v1/firewall/liveRead a real-time split snapshot of workloads, eBPF cgroup firewall gates, outbound flows and listening sockets.Read-only
/api/v1/firewall/liveRead a real-time split snapshot of workloads, eBPF cgroup firewall gates, outbound flows and listening sockets.curl -sS http://127.0.0.1:7070/api/v1/firewall/liveFirewall & Protection
4 routesGET/api/v1/egressRead workload identities, effective egress protection and observed attempts.Read-only
/api/v1/egressRead workload identities, effective egress protection and observed attempts.curl -sS http://127.0.0.1:7070/api/v1/egress| Parameter | In | Type | Description |
|---|---|---|---|
| target | query | string | |
| generation | query | string | |
| from | query | string | |
| until | query | string |
PUT/api/v1/egressStage or change one reviewed generation of a workload's egress control.Token / Seal
/api/v1/egressStage or change one reviewed generation of a workload's egress control.curl -X PUT -H "Ometsuke-Token: $TOKEN" -H "Content-Type: application/json" http://127.0.0.1:7070/api/v1/egressGET/api/v1/protectionRead the operator's response profile and eligible live policy loads.Read-only
/api/v1/protectionRead the operator's response profile and eligible live policy loads.curl -sS http://127.0.0.1:7070/api/v1/protectionPUT/api/v1/protectionStart or stop monitoring one proven policy load for an operator review proposal.Token / Seal
/api/v1/protectionStart or stop monitoring one proven policy load for an operator review proposal.curl -X PUT -H "Ometsuke-Token: $TOKEN" -H "Content-Type: application/json" http://127.0.0.1:7070/api/v1/protectionHardening
1 routesGET/api/v1/hardening/postureRead live CIS/KSPP Linux kernel sysctl and LSM lockdown posture checks (read-only).Read-only
/api/v1/hardening/postureRead live CIS/KSPP Linux kernel sysctl and LSM lockdown posture checks (read-only).curl -sS http://127.0.0.1:7070/api/v1/hardening/postureHealth & Audit
4 routesGET/api/v1/auditThe audit log, newest first.Read-only
/api/v1/auditThe audit log, newest first.Every seal a person gave and every act Ometsuke did by itself, at most the newest 500, newest first by time and then by `id`. The words are the server's; `target` and `reason` may hold event text, sent unchanged. The log is append-only: no operation changes or removes a record. An empty log answers `{"rows": []}`.
curl -sS http://127.0.0.1:7070/api/v1/auditGET/api/v1/audit/exportEvery record of the audit log, oldest first, as JSON lines.Read-only
/api/v1/audit/exportEvery record of the audit log, oldest first, as JSON lines.One `AuditRecord` per line, oldest first by time and then by `id`, streamed from one read of the log. IDs follow insertion order, which can differ from timestamp order. An empty log is an empty body. Clients must read to a successful end of the HTTP transfer before treating the export as complete.
curl -sS http://127.0.0.1:7070/api/v1/audit/exportGET/api/v1/healthWhere events are lost on their way here, what the kernel can do, and the agent.Read-only
/api/v1/healthWhere events are lost on their way here, what the kernel can do, and the agent.Not configured without an agent and while replaying. While Ometsuke reconnects it answers what was seen, with the ledger stage only. The stages Tetragon's metrics measure are listed only when `-tetragon-metrics` is set and its scrape answered; the summary says which is missing.
curl -sS http://127.0.0.1:7070/api/v1/healthGET/api/v1/health/overviewHealth's clause of the overview's sentence.Read-only
/api/v1/health/overviewHealth's clause of the overview's sentence.Empty without an agent, while replaying, and before the first connection.
curl -sS http://127.0.0.1:7070/api/v1/health/overviewHost DFIR & IOC
2 routesGET/api/v1/forensics/ioc-scanHunt built-in and custom IOCs (IPs, ports, SHA-256 hashes, patterns) across live ledger, memory, network flows and persistence artifacts.Read-only
/api/v1/forensics/ioc-scanHunt built-in and custom IOCs (IPs, ports, SHA-256 hashes, patterns) across live ledger, memory, network flows and persistence artifacts.curl -sS http://127.0.0.1:7070/api/v1/forensics/ioc-scan| Parameter | In | Type | Description |
|---|---|---|---|
| ips | query | string | Comma-separated IP addresses to match. |
| ports | query | string | Comma-separated TCP/UDP port numbers to match. |
| hashes | query | string | Comma-separated SHA-256 prefixes (min 12 hex chars) to match against running executables. |
| patterns | query | string | Comma-separated path or command substrings to match. |
| builtin | query | boolean | Include curated threat-intel rules (defaults to true). |
GET/api/v1/forensics/sweepRun a read-only Linux host DFIR sweep covering kernel taint, hidden PID cross-view, persistence vectors, SUID/SGID binaries and SHA-256 chain of custody.Read-only
/api/v1/forensics/sweepRun a read-only Linux host DFIR sweep covering kernel taint, hidden PID cross-view, persistence vectors, SUID/SGID binaries and SHA-256 chain of custody.curl -sS http://127.0.0.1:7070/api/v1/forensics/sweepIncidents
1 routesGET/api/v1/incidents/timelineCorrelate recent ledger observations into MITRE ATT&CK incident kill-chain timelines.Read-only
/api/v1/incidents/timelineCorrelate recent ledger observations into MITRE ATT&CK incident kill-chain timelines.curl -sS http://127.0.0.1:7070/api/v1/incidents/timelineInsights
1 routesGET/api/v1/insights/processCases related to one process.Read-only
/api/v1/insights/processCases related to one process.curl -sS http://127.0.0.1:7070/api/v1/insights/process| Parameter | In | Type | Description |
|---|---|---|---|
| exec_id* | query | string |
Kernel
1 routesGET/api/v1/kernel/liveRead a real-time split snapshot of Linux kernel-space threads, user-space processes, parent-child relationships, loaded modules and eBPF hook bridges.Read-only
/api/v1/kernel/liveRead a real-time split snapshot of Linux kernel-space threads, user-space processes, parent-child relationships, loaded modules and eBPF hook bridges.curl -sS http://127.0.0.1:7070/api/v1/kernel/liveLedger & Events
5 routesGET/api/v1/containersList the containers the ledger has seen.Read-only
/api/v1/containersList the containers the ledger has seen.Named containers first by name, then the unnamed by ID.
curl -sS http://127.0.0.1:7070/api/v1/containersGET/api/v1/containers/{id}/treeGet the process tree of a container.Read-only
/api/v1/containers/{id}/treeGet the process tree of a container.The tree holds at most 2000 processes, the most recently started; a process whose parent was left out is a root, and `truncated` says whether any were left out.
curl -sS http://127.0.0.1:7070/api/v1/containers/{id}/tree| Parameter | In | Type | Description |
|---|---|---|---|
| id* | path | string | The container, named as described above. |
GET/api/v1/entriesList entries, newest first.Read-only
/api/v1/entriesList entries, newest first.curl -sS http://127.0.0.1:7070/api/v1/entries| Parameter | In | Type | Description |
|---|---|---|---|
| kind | query | array | Keep only entries of these kinds. |
| min_severity | query | string | Keep only entries at or above this severity. |
| container | query | string | Keep only entries of processes in this container, named as described above; one that matches no stored container gives an empty page. |
| policy | query | string | Keep only entries recorded by this tracing policy. |
| node | query | string | Keep only entries recorded by this host node. |
| before | query | string | Opaque cursor; the `next` of a previous page. |
| limit | query | integer | Page size; the server picks one when absent. |
GET/api/v1/entries/{id}Get one entry with its process, container and lineage.Read-only
/api/v1/entries/{id}Get one entry with its process, container and lineage.curl -sS http://127.0.0.1:7070/api/v1/entries/{id}| Parameter | In | Type | Description |
|---|---|---|---|
| id* | path | string |
GET/api/v1/entries/{id}/insightThe reading attached to one entry.Read-only
/api/v1/entries/{id}/insightThe reading attached to one entry.curl -sS http://127.0.0.1:7070/api/v1/entries/{id}/insight| Parameter | In | Type | Description |
|---|---|---|---|
| id* | path | string |
Memory Forensics
2 routesGET/api/v1/memory/processesScan live Ring 3 processes for memory composition and virtual memory anomalies (RWX, memfd, anon-exec, deleted-exec).Read-only
/api/v1/memory/processesScan live Ring 3 processes for memory composition and virtual memory anomalies (RWX, memfd, anon-exec, deleted-exec).curl -sS http://127.0.0.1:7070/api/v1/memory/processesGET/api/v1/memory/processes/{pid}Read detailed VMA regions, RSS/PSS/Dirty/Anon/Swap breakdown, security posture and MITRE findings for one PID.Read-only
/api/v1/memory/processes/{pid}Read detailed VMA regions, RSS/PSS/Dirty/Anon/Swap breakdown, security posture and MITRE findings for one PID.curl -sS http://127.0.0.1:7070/api/v1/memory/processes/{pid}| Parameter | In | Type | Description |
|---|---|---|---|
| pid* | path | integer |
Model-usage
1 routesGET/api/v1/model-usageRead observed provider calls and local cost estimates for an inclusive UTC date range.Read-only
/api/v1/model-usageRead observed provider calls and local cost estimates for an inclusive UTC date range.curl -sS http://127.0.0.1:7070/api/v1/model-usage| Parameter | In | Type | Description |
|---|---|---|---|
| from | query | string | First UTC date (YYYY-MM-DD). |
| to | query | string | Last UTC date (YYYY-MM-DD). |
| protocol | query | string | Match one provider protocol. |
| model | query | string | Match one model ID. |
| operation | query | string | Match one operation. |
Nodes
4 routesGET/api/v1/nodesList managed fleet nodes reporting to this hub.Read-only
/api/v1/nodesList managed fleet nodes reporting to this hub.curl -sS http://127.0.0.1:7070/api/v1/nodesGET/api/v1/nodes/{id}Read one managed fleet node.Read-only
/api/v1/nodes/{id}Read one managed fleet node.curl -sS http://127.0.0.1:7070/api/v1/nodes/{id}| Parameter | In | Type | Description |
|---|---|---|---|
| id* | path | string |
GET/api/v1/nodes/{id}/policiesList desired TracingPolicy assignments for one node or all nodes.Read-only
/api/v1/nodes/{id}/policiesList desired TracingPolicy assignments for one node or all nodes.curl -sS http://127.0.0.1:7070/api/v1/nodes/{id}/policies| Parameter | In | Type | Description |
|---|---|---|---|
| id* | path | string |
POST/api/v1/nodes/{id}/policiesAssign a sealed TracingPolicy to one node or all nodes ("all").Token / Seal
/api/v1/nodes/{id}/policiesAssign a sealed TracingPolicy to one node or all nodes ("all").curl -X POST -H "Ometsuke-Token: $TOKEN" -H "Content-Type: application/json" http://127.0.0.1:7070/api/v1/nodes/{id}/policies| Parameter | In | Type | Description |
|---|---|---|---|
| id* | path | string |
Policies & Hardening
10 routesGET/api/v1/policiesList policies on the connected host.Read-only
/api/v1/policiesList policies on the connected host.curl -sS http://127.0.0.1:7070/api/v1/policiesGET/api/v1/policies/{name}Read a policy and its proof.Read-only
/api/v1/policies/{name}Read a policy and its proof.curl -sS http://127.0.0.1:7070/api/v1/policies/{name}| Parameter | In | Type | Description |
|---|---|---|---|
| name* | path | string |
GET/api/v1/policies/{name}/enforceRead the effect of enforcing the policy.Read-only
/api/v1/policies/{name}/enforceRead the effect of enforcing the policy.curl -sS http://127.0.0.1:7070/api/v1/policies/{name}/enforce| Parameter | In | Type | Description |
|---|---|---|---|
| name* | path | string | |
| protection_revision | query | string | Bind the preview to the selected active protection review and its original policy load. |
POST/api/v1/policies/{name}/enforceSeal a switch to enforce.Token / Seal
/api/v1/policies/{name}/enforceSeal a switch to enforce.curl -X POST -H "Ometsuke-Token: $TOKEN" -H "Content-Type: application/json" http://127.0.0.1:7070/api/v1/policies/{name}/enforce| Parameter | In | Type | Description |
|---|---|---|---|
| name* | path | string |
POST/api/v1/policies/{name}/watchSeal a return to watch mode.Token / Seal
/api/v1/policies/{name}/watchSeal a return to watch mode.curl -X POST -H "Ometsuke-Token: $TOKEN" -H "Content-Type: application/json" http://127.0.0.1:7070/api/v1/policies/{name}/watch| Parameter | In | Type | Description |
|---|---|---|---|
| name* | path | string |
POST/api/v1/policies/allowlist-draftSynthesize a fail-closed matchBinaries In + NoPost selector to suppress a benign binary false positive.Token / Seal
/api/v1/policies/allowlist-draftSynthesize a fail-closed matchBinaries In + NoPost selector to suppress a benign binary false positive.curl -X POST -H "Ometsuke-Token: $TOKEN" -H "Content-Type: application/json" http://127.0.0.1:7070/api/v1/policies/allowlist-draftPOST/api/v1/policies/loadSeal a load in watch mode.Token / Seal
/api/v1/policies/loadSeal a load in watch mode.curl -X POST -H "Ometsuke-Token: $TOKEN" -H "Content-Type: application/json" http://127.0.0.1:7070/api/v1/policies/loadGET/api/v1/policies/overviewRead the policy rows on Overview.Read-only
/api/v1/policies/overviewRead the policy rows on Overview.curl -sS http://127.0.0.1:7070/api/v1/policies/overviewPOST/api/v1/policies/packs/{id}/loadValidate and seal-load all policies in a curated starter pack in monitor mode.Token / Seal
/api/v1/policies/packs/{id}/loadValidate and seal-load all policies in a curated starter pack in monitor mode.curl -X POST -H "Ometsuke-Token: $TOKEN" -H "Content-Type: application/json" http://127.0.0.1:7070/api/v1/policies/packs/{id}/load| Parameter | In | Type | Description |
|---|---|---|---|
| id* | path | string |
POST/api/v1/policies/validateCheck the policy text against the pinned schema.Token / Seal
/api/v1/policies/validateCheck the policy text against the pinned schema.curl -X POST -H "Ometsuke-Token: $TOKEN" -H "Content-Type: application/json" http://127.0.0.1:7070/api/v1/policies/validateSession
1 routesPOST/api/v1/sessionCheck a console token, changing nothing.Token / Seal
/api/v1/sessionCheck a console token, changing nothing.Passes the guard that every request that changes something passes, and does nothing else: 204 says the `Ometsuke-Token` is this run's. The console asks it before it keeps the token of a link it was opened with, so a link with another token, opened by any page, never replaces one that works.
curl -X POST -H "Ometsuke-Token: $TOKEN" -H "Content-Type: application/json" http://127.0.0.1:7070/api/v1/sessionSettings & Budget
3 routesGET/api/v1/settingsRead the configuration in force, including where each credential came from.Read-only
/api/v1/settingsRead the configuration in force, including where each credential came from.curl -sS http://127.0.0.1:7070/api/v1/settingsGET/api/v1/settings/providersRead the current providers, key availability and daily spending controls.Read-only
/api/v1/settings/providersRead the current providers, key availability and daily spending controls.curl -sS http://127.0.0.1:7070/api/v1/settings/providersPUT/api/v1/settings/providersSave and apply provider changes for future requests.Token / Seal
/api/v1/settings/providersSave and apply provider changes for future requests.curl -X PUT -H "Ometsuke-Token: $TOKEN" -H "Content-Type: application/json" http://127.0.0.1:7070/api/v1/settings/providersStatus
1 routesGET/api/v1/statusThe top bar's readings.Read-only
/api/v1/statusThe top bar's readings.A reading without a source is absent, and the console says "not available". `tetragon` is the connection's state; `lost` counts the events lost since Ometsuke connected, as the 15-second sampler of Tetragon's metrics and of the stream saw them, and is absent while replaying or before the first connection. `host` is absent: the console takes it from the newest entry. `enforcing`, `budget` and `waiting` arrive with the policies and the decisions.
curl -sS http://127.0.0.1:7070/api/v1/statusThreat-signals
1 routesGET/api/v1/threat-signalsFind defensive review signals in a bounded local ledger sample.Read-only
/api/v1/threat-signalsFind defensive review signals in a bounded local ledger sample.curl -sS http://127.0.0.1:7070/api/v1/threat-signals