Skip to main content
GET
JavaScript

Authorizations

Authorization
string
header
required

Your Moonbase API key.

Query Parameters

before
string

When specified, returns results starting immediately before the item identified by this cursor. Use the cursor value from the response's metadata to fetch the previous page of results.

after
string

When specified, returns results starting immediately after the item identified by this cursor. Use the cursor value from the previous response's metadata to fetch the next page of results.

limit
integer
default:20

Maximum number of items to return per page. Must be between 1 and 100. Defaults to 20 if not specified.

Required range: 1 <= x <= 100
type
object

Filter activities by type.

occurred_at
object

Filter activities by when they occurred.

constituent_entity_type
object

Filter activities by which entities were involved. Must be paired with constituent_entity_id.

constituent_entity_id
object

Filter activities by which entities were involved. Must be paired with constituent_entity_type.

constituent_relation
object

Filter activities by which entities were involved via specific relations. Must be paired with constituent_entity_type and constituent_entity_id.

Response

Successful response.

A set of results using cursor-based pagination.

type
string
required
Allowed value: "list"
data
Activity · object[]
required

An array of Activity items.

meta
object
required

Metadata about the pagination, including the cursors pointing to the previous and next pages.