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 ↓
    Query

    socialProfileViews

    List saved Social Profile Views for the current workspace, most-recently-updated first. Pair with socialProfiles(presetId:) to fetch a view's social profiles. Returns at most 1000 rows; this field is not paginated.

    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.

    filter SocialProfileViewFilterInput default {}
    Optional filter criteria. When omitted or empty, returns the current workspace's social-profile views.

    Returns

    Returns [SocialProfileView!]!.

    createdAt DateTimeWithZone!
    When the view was created.
    customAttributeConditions JSON!
    Custom-attribute conditions narrowing the filter set, as stored: operator and type hold the lowercase stored values (e.g. "is_not_empty", "text_list"), not the FilterOperator / CustomAttributeType names. The view create and update mutations accept this list back unchanged as customAttributeConditions when it is passed through variables, so a view can be cloned verbatim.
    filters JSON!
    Opaque filter blob, stored and echoed back but not applied when reading the view: socialProfiles(presetId:) narrows only by this view's customAttributeConditions and sort. Use customAttributeConditions to filter which social profiles the view returns.
    group ViewGroup
    Group this view belongs to, or null when the view is ungrouped. Populated by moveSocialProfileViewToGroup.
    id ID!
    Unique identifier of this saved view. Use the returned id with socialProfiles(presetId:) to fetch the view's social profiles.
    name String!
    Display name of the view.
    showReportingStats Boolean!
    Whether reporting stats are surfaced in the UI for this view.
    sort JSON!
    Sort directives applied when listing social profiles via this view. Each entry is { field, direction }: field is one of media_items_taken_at_max, followers_count, source_tracking, source_content, source_tracking_until, source_last_pulled_at, account_name; direction is ASC or DESC (case-insensitive).
    updatedAt DateTimeWithZone!
    When the view was last updated.