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

    items

    Search and paginate archived items (social content) for the current workspace.

    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
    Cursor for fetching the next page of results.
    customAttributeConditions [CustomAttributeConditionInput!] default []
    Custom attribute filter conditions.
    filter ItemFilterInput default {}
    Filter criteria to narrow down results.
    first Int default 20
    Number of items to return (page size).
    presetId ID
    Filter preset ID. When provided, sorting, filter, and customAttributeConditions are ignored. Must reference a preset with accessor media_deck or collections; pass IDs returned by contentViews / collections queries. Unknown, cross-workspace, or wrong-accessor preset IDs raise a GraphQL error with extensions.code = "WRONG_VIEW_TYPE_FOR_ITEMS".
    sorting [ItemSortingInput!] default [{sortKey: TAKEN_AT, sortOrder: DESC}]
    Sorting instructions to apply to the result set.

    Returns

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

    edges [ItemEdge!]!
    List of edges with cursors.
    nodes [Item!]!
    List of items.
    pageInfo PageInfo!
    Pagination information.
    totalCount Int
    Total number of items available.