Skip to content

Developers · GraphQL

Activity-Feeds Mutations

Last updated 5 November 2026

Use the resources in this document to build GraphQL mutations for Activity-Feeds.

activity_create

Creates an Activity.

activity_create(
  payload: ActivityStreamsPayload!
): ActivityStreamsActivity

Arguments

Type

activity_delete_all

Delete all activities and clean up ALL feeds.

activity_delete_all(
  confirm: Boolean = false
): [ID]

Arguments

Type

The ID scalar type represents a unique identifier, often used to refetch an object or as a key for a cache. The ID type appears in a JSON response as a String; however, it is not intended to be human-readable. When expected as an input type, any string (such as ) or integer (such as ) input value will be accepted as an ID.

activity_publish

Add an activity to feeds.

activity_publish(
  at: ISO8601DateTime
  feed_type: String!
  ids: [ID]!
  uuid: ID!
): JSONDate

Arguments

Optional.

For example, User, UserPrivate, AuditLog, Images and Posts.

Type

Represents Date and time data expressed according to ISO 8601 format to which values are automatically converted.

activity_unpublish

Clean up feeds from selected activities.

activity_unpublish(
  record_id: ID
  related_to_object: ActiveRecordReference
  uuid: ID
): [ID]

Arguments

Finds the activities related to the record (for example {"id": "<record_id>"}) and removes them from all feeds.

Search for activities related to the Object, and then clean up all feeds from found activities.

Remove from feeds activity with UUID.

Type

The scalar type represents a unique identifier, often used to refetch an object or as a key for a cache. The ID type appears in a JSON response as a String; however, it is not intended to be human-readable. When expected as an input type, any string (such as ) or integer (such as ) input value will be accepted as an ID.

activity_unpublish_all

Clean up ALL feeds.

activity_unpublish_all(
  confirm: Boolean = false
): [ID]

Arguments

Type

The scalar type represents a unique identifier, often used to refetch an object or as a key for a cache. The ID type appears in a JSON response as a String; however, it is not intended to be human-readable. When expected as an input type, any string (such as ) or integer (such as ) input value will be accepted as an ID.

Reference

You may visit the following resources for more information: