Skip to content

Activity stream events

Use this page to parse the activity stream in your SIEM. Each agent event the console lists becomes one OCSF 1.1.0 API Activity event. To turn the stream on, see Send events to your SIEM. The events streamed are those each agent reports, which depends on the agent: see Control levels.

FieldValue
Classclass_uid 6003, class name API Activity
Activityactivity_id 99, with the kind label below as the activity name
Typetype_uid 600399
Event idmetadata.uid, one id per event, the same on every re-send. Deduplicate on it
Profilesmetadata.profiles holds the cloud profile; the cloud object names OpenLatch as the provider
TimeWhen the agent reported the event, in epoch milliseconds
Severityseverity_id, from the table below
Operationapi.operation: the tool name, or the kind label when the event has no tool
IdentityThe user and the host at the time of the action. With Hash personal data on, they leave as keyed hashes
Decisionolverdict, olverdictshadow, olmode, olpolicyid and olpolicyruleid under unmapped.openlatch, only on events that carry an OpenLatch decision
Agentagent_id and platform under unmapped.openlatch, from the agent record. platform is the agent platform, for example claude-code. agent_type carries the same value and is deprecated: parse platform
Sessionsession_id under unmapped.openlatch
Console linkconsole_url under unmapped.openlatch: the event in the console

Verdicts leave in upper case: ALLOW, ASK, BLOCK, OPTIMIZE.

Event typesKind label
pre_tool_useTool Call
post_tool_use, post_tool_use_failure, post_tool_batchTool Result
user_prompt_submitPrompt Submit
session_startSession Start
session_end, session_shutdown, stop, interruptSession End
subagent_startSub-Agent Start
subagent_stopSub-Agent Stop
permission_requestPermission Request: the agent’s own permission prompt, never an OpenLatch Ask
notification, message_displayNotification
ai.openlatch.economics.usageModel Usage
Configuration eventsConfig Change
Client lifecycle eventsClient Lifecycle
ai.openlatch.security.tamper_detectedTamper Detected
ai.openlatch.security.tamper_healedTamper Healed
ai.openlatch.decision.resolvedDecision Resolved

Any other type the console lists takes the last part of its name, each word capitalized.

Eventseverity_id
Block under Enforce4
Ask under Enforce3
Monitor, would-have Block3
Optimize under Enforce; Monitor, would-have Ask or Optimize2
Allow, and every event that carries no decision1

With Send prompt text and tool input on, each event carries content under unmapped.openlatch:

FieldValue
Prompt textScrubbed of secrets and e-mail addresses, capped at 2 KB, with a flag when it was cut and a flag when it was withheld because a secret remained
Tool inputThe tool’s arguments, with sensitive keys replaced by [REDACTED] and file contents and replacement text dropped, then scrubbed and capped the same way

With content off, a prompt event carries only prompt_length, never its text. Tool responses, file contents and command output never leave OpenLatch. Each event stays under 8 KB; content is trimmed first.