Reference / Members

List activity

list_activityocmgr activityGET /v1/activityREAD

What people have been doing: one member’s activity or the whole workspace’s, newest or oldest first. Filter first contributions or exclude handled threads; request daily for local calendar counts. Include routing_draft for create_routing_rule inputs with correctly translated activity versus actor tags and a list of conditions that cannot be carried over. Each event says who (which account), where (source and a reference such as a channel, repo or URL), what kind of event, and when. Message and post text is never returned — Datum does not store it — so this answers "who is active, where" and not "what did they say". While OCMGR_LINKS=on, a conversion credited to a tracked link carries attribution; link clicks are never activity.

Parameters

member_idstring (uuid)

One member’s activity. Omit to read the whole workspace’s. Merged ids are followed.

filtersobject

Narrow the stream; combines with AND.

tone"positive" | "neutral" | "negative" | "mixed" | "unclear"[]up to 5

Any of these tones. A label under 0.5 confidence is unclear and is selected only by unclear, never by its raw label.

segmentstring

Current segment membership, by id or name.

actor_tagsstring[]

Actor tags, any-of by name or id; distinct from activity tags.

tagsstring[]

Activity thread tags, any-of by name or id; distinct from actor_tags.

exclude_activity_tagsstring[]up to 20

Exclude threads with any active tag by name (case-insensitive) or id. Unknown tags exclude nothing.

first_contributionboolean

First observed initiated event across the member’s current identities; team and erased history excluded. false selects everything else.

source"self" | "github" | "slack" | "discourse" | "vanilla" | "bevy" | "gainsight-cc" | "gradual" | "bettermode" | "circle" | "flarum" | "verint" | "dev" | "stackoverflow" | "meetup" | "luma" | "discord" | "generic" | "csv" | "enrichment"

Only events from this source.

typestring

Only this event type, as the connector names it: message, commit, post, ….

teamboolean

false drops the workspace’s own staff from the feed, which is what the community’s activity means; true is the team’s own activity alone; omit it for everybody.

initiated_by_memberboolean

true drops reactions, likes, stars, forks and account-state events — the things somebody did *to* somebody else’s thing — leaving what people started.

organisationstring

Only the activity of people in this organisation, by key ("domain:acme.io", "github:acme") or id.

needs_replyboolean

true is only the questions nobody has answered: the root of a thread, from outside the team, somewhere a person can go and answer it, of a question type (message, topic, issue, discussion, …), older than the workspace’s reply window, with nothing landed after it — exactly the rows needsReply marks with include:["status"]. false is everything else.

titlestring

Only events whose thread **title** contains this, case-insensitively — a pull request’s, an issue’s, a topic’s. Titles only: message text is not stored (ADR 0007), so there is nothing else to search, and this never matches what somebody said.

sincestring (date-time)

Only events at or after this instant (ISO 8601).

untilstring (date-time)

Exclusive upper bound; must be later than since.

sort"newest" | "oldest"

Event order; defaults to newest. Cursors belong to one sort.

tzstring

IANA time zone for daily counts; default UTC.

daysinteger1–90

Daily buckets ending today in tz; 1–90, default 30.

include"actor" | "status" | "totals" | "daily" | "routing_draft"[]

Extra columns, each one grouped query for the whole page: "actor" (the person’s name, title, organisation and tags), "status" (pending review items, and whether a question has gone unanswered past the workspace’s reply window), "totals" (the header’s two counts), and "daily" (zero-filled local calendar days, ignoring since/until, needs_reply, first_contribution and exclude_activity_tags). Status also includes firstContribution.

limitinteger1–200

How many rows to return, 1–200. Defaults to 25. Ask for what you will read.

cursorstring

The nextCursor from a previous page of this same call. Opaque — pass it back unchanged, never construct one.

memberIdstring (uuid)

Alias for member_id; use either spelling.

CLI flags

--segment <id>

Current segment membership, by id or name

--actor-tag <name...>

Actor tags, any-of by name or id

--tag <name...>

Activity thread tags, any-of by name or id

--exclude-activity-tag <name...>

Exclude threads carrying any of these tags; unknown tags exclude nothing

--first-contribution

Only first observed contributions, across current identities, excluding team

--no-first-contribution

Exclude first observed contributions; omit both switches for all activity

--until <date>

Only events before this date (exclusive)

--sort <order>

newest (default) or oldest; cursors belong to one order

--tz <zone>

Daily calendar time zone (IANA, default UTC)

--days <n>

Daily buckets, 1–90 (default 30)

--member <id>

One member's activity

--source <kind>

Only this source: self, github, slack, discourse, vanilla, bevy, gainsight-cc, gradual, bettermode, circle, flarum, verint, dev, stackoverflow, meetup, luma, discord, generic, csv, enrichment

--type <type>

Only this event type, e.g. message, commit, post

--since <date>

Only events at or after this date

--no-team

Leave the workspace’s own staff out of the feed

--only-team

Only the workspace’s own staff

--initiated

Only what people started: no reactions, likes, stars or forks, and no joins, memberships or account changes

--no-initiated

Include passive activity, including in busiest threads

--organisation <key>

Only people in this organisation (key or id)

--tone <labels...>

Activity tone: positive, neutral, negative, mixed, or unclear (a label under half sure)

--needs-reply

Only unanswered questions: a thread root from outside the team, past the reply window, with nothing since

--title <text>

Only events whose thread title contains this (titles only, never message text)

--totals

Also count every event and the ones in the last 28 days

--include <group...>

Actor and status are included by default. Extra groups: totals, daily, routing_draft (copy current filters into a routing rule)

--limit <n>

Page size (default 25, max 200)

--cursor <cursor>

Continue from a previous page (opaque)

Also in Members