Skip to main content

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​

PackActionsCovers
Authentication & sessions12Sign-ins, sign-outs, MFA, password and email changes, and session revocation.
Users & organizations14User lifecycle, organizations, invitations and membership.
Roles & permissions11Roles, direct permission grants, groups, and refused authorizations.
API keys, apps & secrets15API keys, OAuth app grants, webhooks, integrations and secrets.
Settings & security policy5Settings, feature toggles, security policy and IP allowlists.
SSO, directory sync & domains11SSO connections, SCIM directories and verified domains.
Impersonation & support access6Staff impersonation, customer-granted support access, and break-glass access.
AI agents27Agent configuration, delegation, runs, tool calls, approvals, guardrails and knowledge sources.
MCP servers16MCP 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.
warning

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), reason and request_id are optional on every standard action.
  • Old and new values, and PII such as email addresses, go in data, not metadata.

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.name
  • gen_ai.tool.call.id
  • gen_ai.tool.type
  • gen_ai.request.model
  • gen_ai.provider.name
  • gen_ai.agent.version
  • gen_ai.conversation.id
  • gen_ai.prompt.name
  • mcp.resource.uri
  • mcp.protocol.version
  • error.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_uidClass
2004Detection Finding
3002Authentication
3004Entity Management
3006Group Management
3007User Management
3008Role Management
6002Application Lifecycle
6003API 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
}
}
]
}
]
}