Reference / Members

Export activity

export_activityocmgr activity exportGET /v1/export/activityADMIN

Export all activity matching the list_activity filters as CSV or JSON. Names and metadata only, never message text. Requires admin. Small exports are inline; larger exports return a server file path.

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.

format"csv" | "json"

CLI flags

--format <format>default csv

csv or json

--out <file>

Write the export to this file

Also in Members