Outcome
Read the selected workspace’s governed event name/version/purpose declarations.
Before you start
- Verify the exact identity, environment and approved organization with topolo whoami before discovering this action.
- Inspect the credential-scoped action and canonical resource discovery. Examples use synthetic resources; replace their handles only with separately verified targets.
- Validate the complete input and review the action plan. Mutation and organization-inventory actions require explicit confirmation; a successful shape check does not prove a runtime grant.
- Select a granted workspace through topolo resources. The CLI/MCP supplies canonical resource headers; workspace identity is not an arbitrary payload field.
Discover the target
topolo whoami --json
topolo apps get topolo-insights --json
topolo actions get app_topolo_insights.event_definitions.list --detail --json
topolo resources topolo-insights --json
Request
GET /api/event-definitions · permission workspace:read · read without mutation confirmation.
Inspect schemas and test this action in the signed action console. The complete field schema is also available through CLI/MCP action discovery.
Effects and scope
- Returns all scoped definitions without pagination; each row has id, eventName, version, nullable description, purpose, status and createdAt.
- Definitions remain in their original workspace during source transfer. A transferred source can require fresh target-workspace event registration.
Interpret the response
- Match exact eventName, version, active status and purpose before ingestion.
- Use eventName/version in an event; a definition id is not eventId or sourceKey.
Worked requests and responses
Actual exported Insights worker, all nine migrated D1 scripts and isolated local R2. Auth identity/grants/archive transport, queue delivery and Analytics Engine sink are synthetic; local queue processing is called explicitly. Notify and Nexus are disabled. No live website, provider, paid usage or deployed data erasure is tested. Successful and refused captures below are separate examples. A refused response is a boundary, not a successful task.
empty · success 1 · HTTP 200
Actual exported Insights worker, all nine migrated D1 scripts and isolated local R2. Auth identity/grants/archive transport, queue delivery and Analytics Engine sink are synthetic; local queue processing is called explicitly. Notify and Nexus are disabled. No live website, provider, paid usage or deployed data erasure is tested. Selected synthetic workspace: ws_insights_empty. Fixture handles authorize no live request.
Input · payload.json:
{}
CLI:
topolo actions validate app_topolo_insights.event_definitions.list --data @payload.json --json
topolo actions plan app_topolo_insights.event_definitions.list --data @payload.json --json
topolo actions call app_topolo_insights.event_definitions.list --data @payload.json --detail --json
MCP tool and arguments:
{
"tool": "topolo_read_action",
"arguments": {
"actionId": "app_topolo_insights.event_definitions.list",
"input": {}
}
}
Captured raw Worker result
{
"data": []
}
HTTP 200. Match exact eventName, version, active status and purpose before ingestion. Use eventName/version in an event; a definition id is not eventId or sourceKey.
CLI/MCP adds its transport envelope; CLI --detail retains the full action result.
workflow · success 2 · HTTP 200
Actual exported Insights worker, all nine migrated D1 scripts and isolated local R2. Auth identity/grants/archive transport, queue delivery and Analytics Engine sink are synthetic; local queue processing is called explicitly. Notify and Nexus are disabled. No live website, provider, paid usage or deployed data erasure is tested. Selected synthetic workspace: ws_insights_workflow. Fixture handles authorize no live request.
Input · payload.json:
{}
CLI:
topolo actions validate app_topolo_insights.event_definitions.list --data @payload.json --json
topolo actions plan app_topolo_insights.event_definitions.list --data @payload.json --json
topolo actions call app_topolo_insights.event_definitions.list --data @payload.json --detail --json
MCP tool and arguments:
{
"tool": "topolo_read_action",
"arguments": {
"actionId": "app_topolo_insights.event_definitions.list",
"input": {}
}
}
Captured raw Worker result
{
"data": [
{
"id": "a32f5fc3-8e6c-4a8e-9e08-a9d816aac661",
"eventName": "page.viewed",
"version": 2,
"description": null,
"purpose": "analytics",
"status": "active",
"createdAt": "2026-10-04T08:52:48.291Z"
},
{
"id": "d82104f5-0cfc-43ed-95bc-b22058f7cd52",
"eventName": "page.viewed",
"version": 1,
"description": "Synthetic page view",
"purpose": "analytics",
"status": "active",
"createdAt": "2026-10-04T08:52:48.256Z"
},
{
"id": "6ff42496-7568-4ea2-a2b9-86d4130f7873",
"eventName": "service.started",
"version": 1,
"description": null,
"purpose": "necessary",
"status": "active",
"createdAt": "2026-10-04T08:52:48.328Z"
}
]
}
HTTP 200. Match exact eventName, version, active status and purpose before ingestion. Use eventName/version in an event; a definition id is not eventId or sourceKey.
CLI/MCP adds its transport envelope; CLI --detail retains the full action result.
transferred · success 3 · HTTP 200
Actual exported Insights worker, all nine migrated D1 scripts and isolated local R2. Auth identity/grants/archive transport, queue delivery and Analytics Engine sink are synthetic; local queue processing is called explicitly. Notify and Nexus are disabled. No live website, provider, paid usage or deployed data erasure is tested. Selected synthetic workspace: ws_insights_target. Fixture handles authorize no live request.
Input · payload.json:
{}
CLI:
topolo actions validate app_topolo_insights.event_definitions.list --data @payload.json --json
topolo actions plan app_topolo_insights.event_definitions.list --data @payload.json --json
topolo actions call app_topolo_insights.event_definitions.list --data @payload.json --detail --json
MCP tool and arguments:
{
"tool": "topolo_read_action",
"arguments": {
"actionId": "app_topolo_insights.event_definitions.list",
"input": {}
}
}
Captured raw Worker result
{
"data": []
}
HTTP 200. Match exact eventName, version, active status and purpose before ingestion. Use eventName/version in an event; a definition id is not eventId or sourceKey.
CLI/MCP adds its transport envelope; CLI --detail retains the full action result.
permission-refusals · refusal 4 · HTTP 403
Actual exported Insights worker, all nine migrated D1 scripts and isolated local R2. Auth identity/grants/archive transport, queue delivery and Analytics Engine sink are synthetic; local queue processing is called explicitly. Notify and Nexus are disabled. No live website, provider, paid usage or deployed data erasure is tested. Selected synthetic workspace: ws_insights_merge. Fixture handles authorize no live request.
Input · payload.json:
{}
CLI:
topolo actions validate app_topolo_insights.event_definitions.list --data @payload.json --json
topolo actions plan app_topolo_insights.event_definitions.list --data @payload.json --json
Captured raw Worker result
{
"success": false,
"error": {
"code": "action_permission_required",
"message": "Action \"event_definitions.list\" requires permission \"workspace:read\".",
"action": "event_definitions.list"
}
}
HTTP 403. The credential lacks the declared action permission. Inspect credential-scoped discovery in the same approved context; workspace role does not replace the permission.
CLI/MCP adds its transport envelope; CLI --detail retains the full action result.
Verify the outcome
- Match exact eventName, version, active status and purpose before ingestion.
- Use eventName/version in an event; a definition id is not eventId or sourceKey.
Errors and recovery
action_permission_required(HTTP 403): The credential lacks the declared action permission. Inspect credential-scoped discovery in the same approved context; workspace role does not replace the permission.
Only observed refusals are listed. This does not promise that external dependencies or every invalid payload have been exhaustively exercised.
Recovery boundary
This action does not change Insights records. Resolve the reported identity, permission, workspace or source problem in the approved context, then repeat the same read. A read result is not permission to modify its resources.
Related actions
- app_topolo_insights.event_definitions.create: Register one versioned, purpose-bound event definition in the selected workspace.
- app_topolo_insights.events.ingest: Validate and enqueue a batch, returning per-event acceptance, duplicate and rejection outcomes.
Evidence and limits
Actual exported Insights worker, all nine migrated D1 scripts and isolated local R2. Auth identity/grants/archive transport, queue delivery and Analytics Engine sink are synthetic; local queue processing is called explicitly. Notify and Nexus are disabled. No live website, provider, paid usage or deployed data erasure is tested.