Delta-pull all changed rows for the caller across sync-registered resources

Authenticate every request with Authorization: Bearer <token> — a JWT or API token.

Download OpenAPI JSON
Overview
GET/sync/pull

Delta-pull all changed rows for the caller across sync-registered resources

List pull.

Auth: bearerAuth — calls run as the authenticated user.

Parameters
  • cursorquery · optionalstring
  • limitquery · optionalinteger

    Max changes to return. Clamped server-side to 1..1000 regardless of the value supplied (non-finite or omitted values fall back to the default). Default 500.

Responses
200

Changes since the cursor, ordered by syncVersion

  • manifestSyncManifestEntry[]
  • changesSyncChange[]
  • cursorstring

    Opaque; echo back on the next pull

  • hasMoreboolean
Example
{
  "manifest": [
    {
      "resource": "string",
      "schemaVersion": 0
    }
  ],
  "changes": [
    {
      "resource": "string",
      "id": "string",
      "op": "upsert",
      "syncVersion": "string",
      "data": {}
    }
  ],
  "cursor": "string",
  "hasMore": true
}
400

Error

  • erroroptionalobject
Example
{
  "error": {
    "message": "string",
    "code": "string"
  }
}
401

Error

  • erroroptionalobject
Example
{
  "error": {
    "message": "string",
    "code": "string"
  }
}
410

Error

  • erroroptionalobject
Example
{
  "error": {
    "message": "string",
    "code": "string"
  }
}
Code examples
cURL
curl -X GET "https://api.agenticdeveloperhub.com/sync/pull" \
  -H "Authorization: Bearer YOUR_TOKEN"
JavaScript
const res = await fetch("https://api.agenticdeveloperhub.com/sync/pull", {
  method: "GET",
  headers: {
    "Authorization": "Bearer YOUR_TOKEN"
  },
});
const data = await res.json();