Archive API docs
    Jump to

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

    Input object

    CreateSocialProfileViewInput

    Input for the createSocialProfileView mutation.

    Fields

    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!] default []
    Custom-attribute conditions to narrow the filter set.
    displaySettings SocialProfileViewDisplaySettingsInput
    Which columns the Archive app shows for the view. Settings you leave out are true.
    filters JSON! required
    Opaque filter blob, stored and echoed back. socialProfiles(presetId:) applies it only with applyViewFilters: true; otherwise it narrows only by this view's customAttributeConditions and sort. Use customAttributeConditions to narrow which social profiles the view returns. Pass {} unless cloning an existing view verbatim.
    name String! required
    Display name for the new social profile view. Stored trimmed of surrounding whitespace and invisible characters and NFC-normalized; a blank, over-255-character or control-character name is a userError on input.name.
    showReportingStats Boolean default true
    Whether reporting stats should be surfaced. Defaults to true.
    sort JSON default []
    Sort directives applied when listing social profiles via this view. Defaults to []. 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).