Skip to main content
Each item in the API response becomes a bucket object. The item’s JSON body is stored as the object blob.

Overview

Mixpeek polls a JSON endpoint on a schedule. On each run it:
  1. Calls the URL in source_path with the configured method and headers.
  2. Reads the array of items at items_path.
  3. Creates one bucket object per item, keyed on item_id_field.
  4. Skips items whose ID already exists, unless you set skip_duplicates to false.

Prerequisites

  • An endpoint that returns JSON or newline-delimited JSON.
  • An array of items, at the root or at a nested path.
  • A field on each item that is unique and stable.

Configuration

Connection-level fields

Sync-level fields

Leave items_path unset when the response is a bare array. Set it to hits for {"hits": [...]}.

Setup

1

Create the storage connection

2

Create a sync on your bucket

3

Verify the connection

cURL

Incremental sync

Set item_modified_field to a timestamp field. Mixpeek stores the highest value it has seen and requests only newer items on the next run. Without it, every run reads the full response. Deduplication still applies, so repeated items do not create repeated objects.

RSS

Sync RSS and Atom feeds.

Sync configuration

Sync modes, reconciliation, and scheduling.