Skip to content
Dark MatterDark Matter

Lifecycle Events Resource

event:// URI scheme for fetching lifecycle event data via MCP.

Overview

The event:// resource exposes Dark Matter lifecycle event data to MCP clients. Lifecycle events track changes to positions over time (e.g., transfers, encumbrances, distributions). The resource is read-only; clients fetch events by ID or list them filtered by position, portfolio, or time range. The LLM can use this data to answer questions about position history and audit trails.

URI format

event://[event_id]
event://?position_id=...&portfolio_id=...&from=...&to=...&limit=...&cursor=...

Without a path, the resource lists events. With an event ID in the path, it returns a single event. The base URI is event://.

Query parameters

ParameterTypeDescription
position_idstringFilter by position
portfolio_idstringFilter by portfolio
fromISO8601Start of time range
toISO8601End of time range
limitnumberMax results (default 50, max 100)
cursorstringPagination cursor

All parameters are optional. Time range uses created_at by default.

Response format

The resource returns JSON. For a single event: the full event object (id, type, position_id, payload, created_at, etc.). For a list: { "data": [...], "next_cursor": "..." }. The schema matches the DMTR API lifecycle event object.

Examples

  • event://evt_abc123 — Fetch event by ID
  • event://?position_id=pos_xyz&limit=10 — List events for a position
  • event://?portfolio_id=port_456&from=2026-01-01&to=2026-03-13 — Events in portfolio for date range
Edit this page on GitHub

Last reviewed: March 13, 2026

Was this page helpful?