Skip to main content
GET
List Events

Authorizations

Authorization
string
header
required

A Turtle API key (sk_...) as a bearer token.

Path Parameters

organizationId
string<uuid>
required
Example:

"248df4b7-aa70-47b8-a036-33ac447e668d"

Query Parameters

poll
boolean

Read as a poll: oldest first from the cursor, events ingested within the last 10s held back, and nextCursor on every page that has events — where the next poll resumes; an empty page means caught up, keep the cursor you sent. Off by default: newest first, like every other listing.

entityType
string

With entityId: only the events these entities hold now — cited by their applied writes and not retracted since. Not combinable with poll.

entityId
string<uuid>[] | null

The entities whose events to list, all of the one entityType; repeat to OR. Requires entityType.

Maximum array length: 100
conversationAddress
string[] | null

Only events in these conversations — an event's conversation.address (a Gmail thread id, a Slack channel, a Telegram chat id); repeat to OR. With sort=occurred, the conversation as it was read.

Maximum array length: 100
externalId
string[] | null

Only events with these ids at their source — an event's externalId, or the refExternalId of a reply or reaction that points at it; repeat to OR.

Maximum array length: 100
senderAddress
string[] | null

Only events this sender spoke — by an event's sender.address (a Telegram user id, a Slack id, an email) or a handle the sender carries (a Telegram @username, a Slack profile email); case-blind, the @ optional; repeat to OR.

Maximum array length: 100

Only events that hold every word, in any order, case-blind, % and _ matched as written: the channel, the sender, a message's text, a mail's subject and body, a meeting's title, summary, description, overview and notes, a doc's title and text.

Maximum string length: 200
channel
string[] | null

Only events from these channels (gmail, calendar, drive, geminiNotes, telegram, slack, wallets, documenso, fireflies, webhook); repeat to OR.

Maximum array length: 10
organizationId
string<uuid>[] | null

Only events in conversations where someone affiliated with these organizations was seen, as sender or named in an event, as the address book knows them now; repeat to OR.

Maximum array length: 100
occurredAfter
null | string<date-time>

Only events that happened at or after this instant (RFC3339).

occurredBefore
null | string<date-time>

Only events that happened before this instant (RFC3339). With occurredAfter, a window.

backfill
null | boolean

true = only events read back from history when a part of an account started being sensed (its last two weeks, once); false = only events heard as they happened. Omitted = both. With poll, each side is its own feed with its own cursor; backfill and feed are the filters a poll takes.

feed
string

With poll: only the events of this feed (see /feeds), on whichever side of backfill the poll reads, in context and in remaining too. A feed only narrows the log; it never holds an event the sensors did not keep, nor finds one the caller may not read. Omitted = the whole log. A name the organization has no feed under is a 404.

Maximum string length: 40
Pattern: ^(?:[a-z0-9]+(?:-[a-z0-9]+)*)?$
sort
enum<string>

ingested (default) = newest recorded first; occurred = newest happened first, which is how a conversation reads — a source can deliver late, and an email's date is its sender's.

Available options:
ingested,
occurred
count
boolean

Also answer how many events match the filter in all, over every page. With poll, remaining instead: how many the feed still holds past this page, on its side of backfill.

context
integer

With poll: for each conversation on the page, up to this many of its events from before the page (before the cursor) — the newest n, oldest first — in context, never among events; the page and its cursor are unchanged. A calendar's events bring none: what came before them there is other meetings. 0 (default) = none; at most 10.

Required range: 0 <= x <= 10
since
null | string<date-time>

With poll, to start it: events ingested at or after this instant (RFC3339), oldest first. A cursor resumes a poll; send one of them.

mark
boolean

With poll: this is the poller's own read of its feed, and the cursor sent is where it stands. The server keeps a copy of it, and when it polled, for GET /poll-marks; the poll itself never reads it. Off by default, so a look at the feed moves no mark. Only the agent tier's credential marks; any other is refused.

limit
integer

Page size; default 25.

Required range: 1 <= x <= 100
cursor
string

Opaque cursor from the previous page's nextCursor; omit for the first page.

Response

OK

context
object[]
events
object[] | null
nextCursor
string
remaining
null | integer
total
null | integer