Archive API docs
    Jump to

    Narrow by kind with a prefix — q: queries, m: mutations, t: types, g: guides, f: fields and arguments.

    Jump to examples ↓
    Mutation

    refetchEngagementBulk

    Queue an engagement data refresh for the specified items, or for every item a filter matches.

    Arguments

    Object, input and enum types open in place — use + to reveal their fields. A type that is already open above the row stops at a ↻ circular marker, and anything nested past the depth limit links out to its own page instead.

    customAttributeConditions [CustomAttributeConditionInput!]
    Refresh every item matching these custom-attribute conditions (AND), as items(customAttributeConditions:) would list them. Combine with filter; omit itemIds.
    filter ItemFilterInput
    Refresh every item this filter matches, as items(filter:) would list them. Combine with customAttributeConditions; omit itemIds. More than 10000 matching items is a userError on ["filter"] and refreshes nothing.
    itemIds [ID!]
    IDs of items to refresh engagement data for. Items belonging to other workspaces are silently ignored. Instagram stories are automatically excluded. Omit it to refresh by filter / customAttributeConditions instead.

    Returns

    operationId ID
    Unique identifier of the background operation created to process the refresh. Null when no items were processable (all filtered or deduplicated). Use this ID to track operation progress.
    processedCount Int
    Number of items accepted and queued for engagement refresh. Credits are charged only for this count.
    skippedItemIds [ID!]
    IDs of items skipped because they are already enqueued in another active refresh operation for this workspace. Instagram stories are silently excluded and not listed here.
    userErrors [UserError!]!
    Errors that prevented the mutation from executing. Common error: insufficient credits.