Skip to content

List recorded activities

GET
/admin/activities

Lists what your instance’s own users have done, newest first: posts, comments, likes, follows, blocks, collection changes, direct messages, profile updates and federation shares. This is the activity log, not the audit log.

Each activity is written in the same transaction as the action it records, in the ActivityPub form federation uses. Activity received from other instances isn’t recorded here, so every row’s source is local. Sign-ins, settings changes and other admin actions go to the audit log instead (GET /admin/audit).

Payloads come back in full, including the text of direct messages, along with each activity’s to and cc addresses. Nothing fills in signature_value or signature_pubkey, so they’re always left out.

Rows are ordered by published_at, then id, newest first. Filters combine with AND; apart from since, each must match exactly. limit defaults to 50; below 1 counts as 1 and above 200 as 200. For the next page, pass next_cursor back as cursor; it’s left out on the last page. A cursor that can’t be decoded gets a 401 with invalid cursor, even though you’re signed in.

You need system.activities.read or system.admin.

activity_type
string

Only activities of this type, such as Create, Like, Follow or aa:Share. The match is exact and case-sensitive.

source
string

local, or a peer’s instance URL. Every recorded activity is local today, because activity from peers isn’t recorded.

actor_user_ref
integer format: int64

Only activities by this local user, given as their numeric user ref.

object_kind
string

Only activities about this kind of object: post, comment, asset, user, collection, workspace, brand_kit, message or activity.

since
string format: date-time

Only activities published at or after this time.

limit
integer
default: 50 >= 1 <= 200
cursor
string

Opaque pagination cursor from a prior response.

A page of activity rows.

object
items
required
Array<object>

One recorded activity. payload is the activity’s JSON body; the other fields are stored alongside it so the log can be filtered.

object
id
required
string format: uuid
activity_uri
required
string
activity_type
required
string
actor_uri
required
string
actor_user_ref

The local user who did it. Left out if no local user is recorded.

integer format: int64
nullable
object_uri
string
nullable
object_kind
string
nullable
object_local_id
string
nullable
target_uri
string
nullable
to
Array<string>
cc
Array<string>
payload
object
key
additional properties
any
signature_value

Not filled in today, so always left out.

string
nullable
signature_pubkey

Not filled in today, so always left out.

string
nullable
source
required

local for activity by this instance’s users, which today is every row.

string
published_at
required
string format: date-time
created_at
required
string format: date-time
next_cursor
string
nullable

Authentication required, missing, or invalid

object
error
required

Human-readable error summary

string
Example
the request could not be completed
Example
{
"error": "authentication required: sign in and retry with a valid session or API token"
}

Authenticated but missing required capabilities

object
error
required

Human-readable error summary

string
Example
the request could not be completed