Find cross-source temporal event sequences
Find ordered event types within windowDays for the same non-null company or person selected by grain. Person grain joins personal and company-associated history for one human; company graph is incompatible. Ownership/personId filters apply to both sides. One earliest sequence per owner.
Request
- Base URLhttp://localhost:3009
- AuthHTTP bearer
Query parameters
The event type that happens first (e.g., 'stripe_charge.refunded').
The event type that happens after (e.g., 'slack_message').
Maximum days between events (default 7).
Filter first event by source.
Filter second event by source.
Only consider first events on or after this date.
Only consider second events on or before this date.
Maximum results to return.
Number of results to skip for pagination.
Root entity id or domain.
Required when graphRoot is supplied.
Filter events stamped with this human; merged IDs resolve to their survivor.
person selects sole-person events; company selects company-associated events; omit for both. Filters before pagination/counts. Personal ownership conflicts with entityId/company graph.
Join events within one company or human, retaining each event's actual owner IDs.
Response
Event sequences matching the criteria
Example response
{
"data": [
{
"firstEvent": {
"id": "01HXYZ123456789ABCDEFGH",
"source": "slack",
"eventType": "message",
"summary": "Customer asked about pricing in #acme-corp"
},
"secondEvent": {
"id": "01HXYZ123456789ABCDEFGH",
"source": "slack",
"eventType": "message",
"summary": "Customer asked about pricing in #acme-corp"
}
}
],
"pagination": {
"total": 150,
"limit": 50,
"totalIsLowerBound": true
}
}Changes
No recorded changes to this operation across all 1 revision of this API.