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

    socialProfiles

    List and paginate social profiles for the current workspace. Pass presetId (a Social Profile View id from socialProfileViews / socialProfileView) to drive results off the view's stored conditions and sort. Otherwise narrow with filter.

    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.

    after String default null
    Opaque cursor for fetching the next page. Pass the pageInfo.endCursor from a previous response. Per-node edge cursors are not valid here. Pagination has no page-depth cap, so every page of a large workspace stays reachable; under the default sort each page resumes after the previous page's last profile, so a deep page costs about the same as the first.
    applyViewFilters Boolean default false
    When true and presetId is set, also narrow by the view's stored filters blob, the way the app's Social Profiles page does: handles (accountNames), creator ids, platform, item and content types, engagement, follower count, verified, publication date, posting activity, tags and sources. Other stored keys and unreadable values are ignored. Has no effect without presetId. Defaults to false.
    customAttributeConditions [CustomAttributeConditionInput!] default []
    Conditions on the custom attributes of the creator linked to each profile, AND-ed with filter. Same input and rules as creators(customAttributeConditions:); a condition the search cannot evaluate returns extensions.code = "UNSUPPORTED_CUSTOM_ATTRIBUTE_CONDITION".
    filter SocialProfileFilterInput default {}
    Filter criteria to narrow down results (e.g. by platform, handle, follower count, posting activity, tags or sources), matching the workspace Social Profiles page.
    first Int default 20
    Number of social profiles to return (page size).
    presetId ID default null
    Saved Social Profile View ID. When provided, inline filter and customAttributeConditions are ignored; the view's stored customAttributeConditions and sort drive the result set. The view's stored filters blob is applied only with applyViewFilters: true; otherwise a view whose only narrowing lives in filters returns the whole workspace. Accepts IDs returned by socialProfileViews / socialProfileView. Non-Social-Profile-View IDs raise with extensions.code = "WRONG_VIEW_TYPE"; cross-workspace or unknown IDs raise with extensions.code = "NOT_FOUND".

    Returns

    A paginated connection of SocialProfile nodes. See Pagination for the connection shape.

    edges [SocialProfileEdge!]!
    List of edges with cursors.
    nodes [SocialProfile!]!
    List of social profiles.
    pageInfo PageInfo!
    Pagination information.
    totalCount Int
    Total number of items available.