Skip to main content

Squillify development is paused indefinitely. Read why, and discover what this experiment achieved. Read the story

MicroSkills Reference

Sync Checkpoint Validator

integration.sync_checkpoint_validate

ProductionBounded custom (Class B)Deterministicstrictinstantv1.0.0
No network

Overview

You send a checkpoint with version, sourceId, cursorType OFFSET TIMESTAMP or OPAQUE, cursor, issuedAt and optional watermark and partitionCursors. Optional expectedSourceId, expectedVersion, expectedCursorType and an explicit now check expiry without a wall clock. secretCursor defaults to false; the cursor is fingerprinted, never echoed. This does not contact a source or advance the cursor.

A checkpoint from the wrong source silently skips or duplicates a sync.

Reliability

Deterministic checks; now is caller-supplied. CHECKPOINT_INVALID — trigger: a malformed instant or missing version; retryable: no; next: send ISO-8601 instants.

Context footprint

Fingerprint and diagnostics only. A successful call costs 1 execution credit.

When to use it

When a portable checkpoint must be checked before the next incremental pull.

When you need to contact the source or advance the cursor.

Scope

Note
Validates a portable incremental-sync checkpoint without contacting the source.

Non-goals

  • Does not contact a source
  • Does not advance a cursor
  • Does not read a wall clock

Properties

IdempotentRetry safeStreaming supportedFile input supportedRequires external service

Capabilities

validation

Cost & billing

Flat rate per invocation

MetercallsBillable onsuccessCost per call1 credit

File handling

Accepts file_refProduces file_refMax input2 MB

How we handle your data

Sensitive input, safe output
What this means

This skill may receive sensitive content, but it does not target sensitive data and returns only a structured non-sensitive result.

Squillify guarantees
  • Runs inside Squillify
  • This skill runs inside Squillify.
  • Payloads are not sent to an external service by this skill.
  • Squillify does not permanently store submitted payloads.
  • Telemetry records metadata only, not submitted content.
  • Submitted payloads are not used for training.
  • Submitted payloads are not reviewed by humans.
  • This skill does not target sensitive data.
  • The response does not contain submitted content.
Your responsibility

Squillify does not determine whether submitted content is sensitive. Your application is responsible for deciding what data it is allowed to submit. Your application is responsible for securing the response.

Read the Microskill Data Handling Policy

Input schema

FieldTypeRequiredDescription
checkpointobjectYesClosed portable checkpoint with version, source, cursor type, cursor, issuedAt and optional watermarks.
expectedSourceIdstringNoOptional expected source id. Omit it to skip.
expectedVersionintegerNoOptional minimum version. Omit it to skip.
expectedCursorTypestringNoOptional expected cursor type. Omit it to skip.
nowstringNoOptional ISO-8601 now. Omit it to skip future checks.
secretCursorbooleanNoWhether the cursor is secret. Omit it for false.

Output schema

FieldTypeRequiredDescription
validbooleanYesTrue when no ERROR diagnostic was raised.
secretCursorbooleanYesWhether the cursor was treated as secret.
checkpointobjectYesClosed normalized checkpoint metadata with a cursor fingerprint and no raw cursor.
diagnosticsarrayYesBounded array of 0 through 500 closed findings, each with code, severity, message, path, source and details.

API contract

POST /v1/execute
curl
curl -sS -X POST "$BASE/v1/execute" -H "Authorization: Bearer $KEY" -H 'Content-Type: application/json' -d '{"skillKey":"integration.sync_checkpoint_validate","input":{"checkpoint":{"version":1,"sourceId":"crm","cursorType":"OFFSET","cursor":"1","issuedAt":"2026-08-27T00:00:00Z"}}}'
Integrations
TypeScript SDK
import { Squillify } from "@squillify/sdk";

const sq = new Squillify({ apiKey: process.env.SQUILLIFY_API_KEY });

const { output } = await sq.execute("integration.sync_checkpoint_validate", {"checkpoint":{"cursor":"100","sourceId":"crm","cursorType":"OFFSET","issuedAt":"2026-08-27T00:00:00Z","version":1}});

Errors

CodeHTTPRetryableDescription
VALIDATION_ERROR400NoThe request payload failed schema validation.
UNAUTHORIZED401NoMissing or invalid API key.
SKILL_NOT_ACCESSIBLE403NoThe API key is not granted access to this skill.
SKILL_NOT_AVAILABLE_FOR_PLAN403NoThis skill is not included in your current plan.
PLAN_ELIGIBILITY_UNAVAILABLE503YesPlan eligibility could not be decided. Retry after backoff.
SKILL_NOT_FOUND404NoThe requested skill or version does not exist.
TENANT_RATE_LIMITED429YesRequest rate limit exceeded. Retry after backoff.
QUOTA_EXCEEDED429YesPlan quota exhausted. Retryable once the quota period resets.
EXECUTION_TIMEOUT504YesExecution exceeded the allowed time budget.
CHECKPOINT_INVALID400NoThe request payload failed this skill's input validation.

Other limits

LimitValue
Recommended inline bytes32 KiB

Limitations

  • Does not contact a source
  • Does not advance a cursor
  • Does not read a wall clock
  • Fetching the next page
  • Storing the checkpoint

How to call

POST /v1/execute (requires authentication)

Request bodyjson
{
  "skillKey": "integration.sync_checkpoint_validate",
  "input": {
    "checkpoint": {
      "cursor": "100",
      "sourceId": "crm",
      "cursorType": "OFFSET",
      "issuedAt": "2026-08-27T00:00:00Z",
      "version": 1
    }
  }
}

Examples

A matching OFFSET checkpoint is valid

Inputjson
{
  "checkpoint": {
    "cursor": "100",
    "sourceId": "crm",
    "cursorType": "OFFSET",
    "issuedAt": "2026-08-27T00:00:00Z",
    "version": 1
  }
}
Expected outputjson
{
  "valid": true,
  "diagnostics": [],
  "secretCursor": false,
  "checkpoint": {
    "version": 1,
    "sourceId": "crm",
    "cursorType": "OFFSET",
    "issuedAt": "2026-08-27T00:00:00Z",
    "cursorFingerprint": "ad5736686512"
  }
}
Tip
The cursor is fingerprinted and valid is true.

expectedSourceId mismatch is invalid

Inputjson
{
  "expectedSourceId": "billing",
  "checkpoint": {
    "cursor": "100",
    "sourceId": "crm",
    "cursorType": "OFFSET",
    "issuedAt": "2026-08-27T00:00:00Z",
    "version": 1
  }
}
Expected outputjson
{
  "valid": false,
  "diagnostics": [
    {
      "code": "SOURCE_MISMATCH",
      "severity": "ERROR",
      "message": "checkpoint.sourceId does not match expectedSourceId.",
      "path": "/checkpoint/sourceId",
      "source": "squillify",
      "details": {}
    }
  ],
  "secretCursor": false,
  "checkpoint": {
    "version": 1,
    "sourceId": "crm",
    "cursorType": "OFFSET",
    "issuedAt": "2026-08-27T00:00:00Z",
    "cursorFingerprint": "ad5736686512"
  }
}
Tip
SOURCE_MISMATCH makes valid false.
  • Reject a checkpoint issued after the supplied now
  • Fingerprint a secret cursor

Avoid for

  • Fetching the next page
  • Storing the checkpoint

Composable with

Safety & privacy

  • Runs without calling any external service.
  • Your payloads are never stored permanently.
  • Telemetry captures metadata only — never your payload contents.
  • We never train models on your payloads.
  • No human reviews your payloads.

Tags

validationintegration