Standard events
Standard events are recommended actions, grouped in packs, that a team installs instead of inventing
its own names. Each pack page lists every action with its targets, metadata and OCSF mapping, an
example POST /api/v0/events/ body, and the schema the action installs.
Packs
| Pack | Actions | Covers |
|---|---|---|
| Authentication & sessions | 12 | Sign-ins, sign-outs, MFA, password and email changes, and session revocation. |
| Users & organizations | 14 | User lifecycle, organizations, invitations and membership. |
| Roles & permissions | 11 | Roles, direct permission grants, groups, and refused authorizations. |
| API keys, apps & secrets | 15 | API keys, OAuth app grants, webhooks, integrations and secrets. |
| Settings & security policy | 5 | Settings, feature toggles, security policy and IP allowlists. |
| SSO, directory sync & domains | 11 | SSO connections, SCIM directories and verified domains. |
| Impersonation & support access | 6 | Staff impersonation, customer-granted support access, and break-glass access. |
| AI agents | 27 | Agent configuration, delegation, runs, tool calls, approvals, guardrails and knowledge sources. |
| MCP servers | 16 | MCP server registration, client authorization, sessions, tool, resource and prompt calls, and tool-definition drift. |
Install a pack
Team admins open Actions & Schemas → Add standard events in the app and tick the packs they want.
- Each new action is defined with its recommended target types and a published v1 schema.
- Actions the team already defines, active or retired, are left unchanged.
If the team has no definitions yet, installing a pack turns enforcement on: any action outside the
catalog is then refused with unknown_action. See Event definitions.
Installed actions enforce their target types. An extra type is refused with schema_validation_failed
on targets.<i>.type, and admins can edit the allowed target types afterwards.
Naming
Action names are <resource>.<past_tense_verb> with snake_case segments, for example
member.removed. Sub-systems carry a prefix: agent.run.started, mcp.tool.called.
Metadata conventions
- Every metadata value is a string.
source(ui,api,cli,scim,agent,mcp,system),reasonandrequest_idare optional on every standard action.- Old and new values, and PII such as email addresses, go in
data, notmetadata.
Agents acting for someone
When an AI agent acts, actor.type is agent. An agent doing an ordinary business action emits the
ordinary event, for example member.removed. The AI agents pack covers only agent
lifecycle, runs, tools, approvals, guardrails and knowledge.
actor.metadata.on_behalf_of_type and actor.metadata.on_behalf_of_id name the person or service the
agent acts for. They are optional, but every standard schema requires the two together.
{
"event": "member.removed",
"trail": "security",
"organization_id": "org_acme",
"actor": {
"type": "agent",
"id": "agt_01JA2SUPPORT",
"name": "Support assistant",
"metadata": {
"on_behalf_of_type": "user",
"on_behalf_of_id": "usr_01JA2MIKE"
}
},
"targets": [
{
"type": "member",
"id": "mem_01JA2JUBAL"
},
{
"type": "organization",
"id": "org_acme",
"name": "Acme Logistics"
},
{
"type": "user",
"id": "usr_01JA2JUBAL",
"name": "Jubal Harshaw"
}
],
"metadata": {
"role": "member",
"source": "agent"
}
}
Sending on_behalf_of_type without on_behalf_of_id is refused:
{
"error": {
"code": "schema_validation_failed",
"message": "'on_behalf_of_id' is a dependency of 'on_behalf_of_type'",
"field": "actor.metadata"
}
}
OpenTelemetry attribute names
Where OpenTelemetry already names a concept, the catalog uses its attribute name as the metadata key:
gen_ai.tool.namegen_ai.tool.call.idgen_ai.tool.typegen_ai.request.modelgen_ai.provider.namegen_ai.agent.versiongen_ai.conversation.idgen_ai.prompt.namemcp.resource.urimcp.protocol.versionerror.type
The definitions are in the OpenTelemetry GenAI and MCP attribute registries. Those attributes are at Development stability upstream. The catalog keeps the pinned names until a catalog change ships a new schema version.
OCSF mapping
Every action maps to an OCSF 1.9.0 class and activity, as class_uid and
activity_id. Failure outcomes also set status_id 2. activity_id 99 (Other) is a best fit, not
an exact match.
class_uid | Class |
|---|---|
| 2004 | Detection Finding |
| 3002 | Authentication |
| 3004 | Entity Management |
| 3006 | Group Management |
| 3007 | User Management |
| 3008 | Role Management |
| 6002 | Application Lifecycle |
| 6003 | API Activity |
Editing a standard schema
Installing a pack copies each schema into your catalog. The copy is yours: edit it like any custom schema; see Event definitions.
Read the catalog over the API
GET /api/v0/standard-events/ returns the catalog; it is documented at
/api/standard-events-list/. The catalog is the same for every team, any
key scope can read it, and it is not paginated.
curl -sS "https://api.santati.io/api/v0/standard-events/" -H "Authorization: Api-Key $SANTATI_API_KEY"
A trimmed response (each event also carries its schema):
{
"packs": [
{
"slug": "mcp",
"name": "MCP servers",
"description": "MCP server registration, client authorization, sessions, tool, resource and prompt calls, and tool-definition drift.",
"events": [
{
"action": "mcp.resource.read",
"description": "An MCP resource was read.",
"target_types": [
"mcp_server",
"mcp_session",
"resource"
],
"required_metadata": [
"mcp.resource.uri"
],
"optional_metadata": [
"source",
"reason",
"request_id"
],
"ocsf": {
"version": "1.9.0",
"class_uid": 6003,
"activity_id": 2,
"status_id": null
}
}
]
}
]
}