Organizeactivity
GET/users/{user_id}/activity
List another person's activity, filtered to what the caller can see
list_user_activity
user:read
A token needs theuser:readscope: Read user profilesGranted bymcp_agent,mcp_agent_write,read_api,write_api.Every operation this scope unlocksFiltered across resources
x-gitmoap-isolation: {"kind":"cross_resource_filtered"}
Paginated
Pass thenext_tokena page returns to get the next one.
What the person did, newest first, but only where the caller could look anyway: work in a group or repository the caller cannot see is left out, and without signing in only public work shows. An unknown user is not found; a user whose work the caller cannot see gives an empty page. The window defaults to the last 30 days and may span at most 366.
Parameters
Path
- user_idUserId (string · uuid)The subject's user id
Query
- domainstringoptionalComma-separated activity domains
- fromstringoptionalRFC-3339 start of the window
- tostringoptionalRFC-3339 end of the window
- limitinteger · int32optionalPage size (1-50, default 20)
- next_tokenstringoptionalPagination cursor
- actorstringoptionalIgnored here: this feed is already one person's activity
Responses
200The subject's activity in scopes the caller can viewapplication/json
itemsarray of object
- domainActivityDomain (string)
- event_idActivityEventId (string · uuid)
- kindActivityKind (string)
- metadataobjectBounded free-form detail; the shape varies by
kindand is documented per event. - occurred_atstringWhen it happened. A feed is ordered by this.
scopeActivityScope
- The ActivityScope schema
- full_pathstring
- idstring
- typeScopeTypegrouprepository
actorActorSummary or nulloptionalWho did it. Absent when the platform did — a pipeline nobody triggered, a scheduled action.
- The ActorSummary schema
- emailstring
- idstring
- usernamestring
- avatar_urlstring or nulloptional
subjectActivitySubject or nulloptional
- The ActivitySubject schema
- iidinteger · int64 or nulloptionalThe subject's number, as it is now — a work item that has moved since shows its new number.
- titlestring or nulloptionalThe subject's title: its current title while it exists, the title it had at the time once it has been deleted. Absent when neither is known.
- uidIssueUid (string · uuid) or nulloptionalThe subject's permanent identifier, for a work item.
- next_tokenstring or nulloptional
200 exampleSynthesized example
{
"items": [
{
"domain": "domain-ed38",
"event_id": "3e10eaab-02e4-465f-b349-2f46b71d815b",
"kind": "kind-3044",
"metadata": {},
"occurred_at": "2026-10-15T06:12:28Z",
"scope": {
"full_path": "acme/payments-api",
"id": "id-b086",
"type": "group"
}
}
],
"next_token": "next-token-a701"
}
400Unknown domain or malformed windowapplication/json
Error codes
- BAD_REQUESTThe request is malformed: a parameter or a body field is not a well-formed value of its type
errorErrorBody
- The ErrorBody schema
- codestringThe coarse category, tied to the status:
NOT_FOUND,CONFLICT,INSUFFICIENT_SCOPE. Every error has one; the API reference's error catalogue lists them all. - messagestringWhat went wrong, for a person. Written to be read, not parsed: match on
reasonorcode. - fieldstring or nulloptionalOn a
400that refused one field's value, the field, as its JSON path:email,items[0].name. Put the message under that input. Absent on every other error. - reasonstring or nulloptionalThe specific code, when the error has one:
LAST_ORGANIZATION_OWNER,BRANCH_PROTECTED. The message starts with it too. Match on this when it is present, and oncodeotherwise. - required_scopestring or nulloptionalThe scope the access token was missing, on
INSUFFICIENT_SCOPE. - violationsanyoptionalPresent on the structured-validation errors (
PROVIDER_VALIDATION_FAILEDper-node,PIPELINE_VALIDATION_FAILEDDAG): a JSON array of the offending elements, so a caller can fix every one in a single round-trip. Absent (omitted) on every other error.
400 exampleSynthesized example
{
"error": {
"code": "code-72a0",
"message": "Draw the region map from operation density"
}
}
401Unauthenticated — no credential, or an invalid oneapplication/json
Error codes
- UNAUTHORIZEDNo credential was sent, or the one sent is invalid, expired or revoked
errorErrorBody
- The ErrorBody schema
- codestringThe coarse category, tied to the status:
NOT_FOUND,CONFLICT,INSUFFICIENT_SCOPE. Every error has one; the API reference's error catalogue lists them all. - messagestringWhat went wrong, for a person. Written to be read, not parsed: match on
reasonorcode. - fieldstring or nulloptionalOn a
400that refused one field's value, the field, as its JSON path:email,items[0].name. Put the message under that input. Absent on every other error. - reasonstring or nulloptionalThe specific code, when the error has one:
LAST_ORGANIZATION_OWNER,BRANCH_PROTECTED. The message starts with it too. Match on this when it is present, and oncodeotherwise. - required_scopestring or nulloptionalThe scope the access token was missing, on
INSUFFICIENT_SCOPE. - violationsanyoptionalPresent on the structured-validation errors (
PROVIDER_VALIDATION_FAILEDper-node,PIPELINE_VALIDATION_FAILEDDAG): a JSON array of the offending elements, so a caller can fix every one in a single round-trip. Absent (omitted) on every other error.
401 exampleSynthesized example
{
"error": {
"code": "code-b2dd",
"message": "Stream pipeline status into the run header"
}
}
403Forbidden — the caller's access level or token scope is insufficientapplication/json
Error codes
- FORBIDDENYou are signed in but may not do this here;
reasonnames the permission or the rule that refused it - INSUFFICIENT_SCOPEThe access token lacks the scope this operation needs;
required_scopenames it - PERMISSION_REQUIREDYou need a permission you do not hold here; the message names it
errorErrorBody
- The ErrorBody schema
- codestringThe coarse category, tied to the status:
NOT_FOUND,CONFLICT,INSUFFICIENT_SCOPE. Every error has one; the API reference's error catalogue lists them all. - messagestringWhat went wrong, for a person. Written to be read, not parsed: match on
reasonorcode. - fieldstring or nulloptionalOn a
400that refused one field's value, the field, as its JSON path:email,items[0].name. Put the message under that input. Absent on every other error. - reasonstring or nulloptionalThe specific code, when the error has one:
LAST_ORGANIZATION_OWNER,BRANCH_PROTECTED. The message starts with it too. Match on this when it is present, and oncodeotherwise. - required_scopestring or nulloptionalThe scope the access token was missing, on
INSUFFICIENT_SCOPE. - violationsanyoptionalPresent on the structured-validation errors (
PROVIDER_VALIDATION_FAILEDper-node,PIPELINE_VALIDATION_FAILEDDAG): a JSON array of the offending elements, so a caller can fix every one in a single round-trip. Absent (omitted) on every other error.
403 exampleSynthesized example
{
"error": {
"code": "code-6db0",
"message": "Pin a page's payload to the build that rendered it"
}
}
404No such userapplication/json
Error codes
- NOT_FOUNDThe resource does not exist — or exists and you cannot see it: a private resource you have no access to answers exactly as an absent one does
errorErrorBody
- The ErrorBody schema
- codestringThe coarse category, tied to the status:
NOT_FOUND,CONFLICT,INSUFFICIENT_SCOPE. Every error has one; the API reference's error catalogue lists them all. - messagestringWhat went wrong, for a person. Written to be read, not parsed: match on
reasonorcode. - fieldstring or nulloptionalOn a
400that refused one field's value, the field, as its JSON path:email,items[0].name. Put the message under that input. Absent on every other error. - reasonstring or nulloptionalThe specific code, when the error has one:
LAST_ORGANIZATION_OWNER,BRANCH_PROTECTED. The message starts with it too. Match on this when it is present, and oncodeotherwise. - required_scopestring or nulloptionalThe scope the access token was missing, on
INSUFFICIENT_SCOPE. - violationsanyoptionalPresent on the structured-validation errors (
PROVIDER_VALIDATION_FAILEDper-node,PIPELINE_VALIDATION_FAILEDDAG): a JSON array of the offending elements, so a caller can fix every one in a single round-trip. Absent (omitted) on every other error.
404 exampleSynthesized example
{
"error": {
"code": "code-4410",
"message": "Stream pipeline status into the run header"
}
}
CLI
gitmoap activity list-user-activity
- --user-ididThe subject's user id
- --actorstringoptionalIgnored here: this feed is already one person's activity
- --domainstringoptionalComma-separated activity domains
- --fromstringoptionalRFC-3339 start of the window
- --limitnumberoptionalPage size (1-50, default 20)
- --next-tokenstringoptionalPagination cursor
- --tostringoptionalRFC-3339 end of the window