---
title: "Run sync using the workflow backfill loop (no Temporal)"
method: POST
path: "/pipelines/{id}/sync_workflow_test"
tags: ["Pipelines"]
---

# Run sync using the workflow backfill loop (no Temporal)

`POST /pipelines/{id}/sync_workflow_test`

Exercises the same backfill loop code that the Temporal workflow uses, but runs inline without a Temporal server. Useful for testing the full workflow logic end-to-end.

## Path parameters

- `id` string, required — Unique pipeline identifier (e.g. pipe_abc123).

## Query parameters

- `time_limit` number — Time limit per iteration (seconds)

## Response `200`

Backfill result with final eof and sync state

- object
  - `eof` object, required
  - `sync_state` object

## Other responses

- `404` — Pipeline not found

## Changes

- **2026-04-22** `d27c818295f0` — 1 warning
  - changed the pattern of the `path` request parameter `id` from `^[a-z][a-z0-9_-]*$` to `^[a-zA-Z][a-zA-Z0-9_-]*$`
- **2026-04-21** `c669c4f1f613` — 1 warning
  - deleted the `query` request parameter `state_limit`
- **2026-04-20** `ba67a7872a31` — 1 info
  - endpoint added
- **2026-04-02** `131345353e38` — 1 breaking
  - api path removed without deprecation

[Change history](https://skmtc.dev/stripe/apis/stripe-sync-service/changes/pipelines/:id/sync_workflow_test/post.md)

---

[API](https://skmtc.dev/stripe/apis/stripe-sync-service.md) · [All operations](https://skmtc.dev/stripe/apis/stripe-sync-service/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/stripe/stripe-sync-service/revisions/0fb02347c6cc/schema)
