Skip to content
HALOWERK

Text Tools

jsonfeed handoff upsert plan

Feed upsert plan classifies new, changed and previously seen items by stable ID. Use it when an agent needs synchronizing two observed pages.

POST https://text.halowerk.com/v1/jsonfeed-handoff-upsert-plan

Inputs

Fields of the published input schema
FieldTypeRequiredDescription
beforearrayYes
afterarrayYes
Show full input schema
{
  "type": "object",
  "properties": {
    "before": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "maxLength": 400,
            "minLength": 1
          }
        },
        "required": [
          "id"
        ]
      },
      "maxItems": 100,
      "minItems": 1
    },
    "after": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "maxLength": 400,
            "minLength": 1
          }
        },
        "required": [
          "id"
        ]
      },
      "maxItems": 100,
      "minItems": 1
    }
  },
  "required": [
    "before",
    "after"
  ],
  "additionalProperties": false
}

Open original schema

Published input example

{
  "before": [
    {
      "id": "us6000udhb",
      "date_published": "2026-11-25T18:07:59Z"
    }
  ],
  "after": [
    {
      "id": "us6000udhb",
      "date_published": "2026-11-25T18:07:59Z",
      "date_modified": "2026-11-25T18:50:40Z"
    },
    {
      "id": "us6000udfu",
      "date_published": "2026-11-25T16:23:53Z",
      "date_modified": "2026-11-25T16:46:56Z"
    }
  ]
}

Result & documentation

Show published result schema
{
  "type": "object",
  "required": [
    "measured_at",
    "source",
    "data",
    "limitations"
  ],
  "properties": {
    "measured_at": {
      "type": "string"
    },
    "source": {
      "type": "object",
      "required": [
        "reference",
        "retrieved_at"
      ],
      "properties": {
        "reference": {
          "type": "string"
        },
        "retrieved_at": {
          "type": "string"
        }
      }
    },
    "data": {
      "type": "object",
      "properties": {
        "insert": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "update": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "unchanged": {
          "type": "integer"
        },
        "absent": {
          "type": "integer"
        }
      },
      "required": [
        "insert",
        "update",
        "unchanged",
        "absent"
      ]
    },
    "limitations": {
      "type": "string"
    }
  }
}

Machine-readable documentation of this hub

Source of this page: the published HALOWERK catalog. Updated: 2026-12-05 UTC.

More endpoints in this hub

All endpoints in this hub →