palbaseDocs

Palbase ai · API

POST/ai/workflows/runs/{run_id}/replay

Replay a workflow run from Step N

Clone a durable workflow run preserving memoized steps prior to the target step index or key.

Called by your server, with the project's secret key.

Path

run_idstring · requiredSource workflow run identifier

Request body

from_stepstring · optional
curl
curl -X POST "https://<your-ref>.palbase.studio/ai/workflows/runs/<run_id>/replay" \
  -H "apikey: $PALBASE_SECRET_KEY" \
  -H "content-type: application/json" \
  -d '{"from_step":"string"}'

Responses

200Workflow run reset from target step

400The request is malformed, or names what this module does not offer (the error names which)

401No valid credential

403A publishable key or a user's session: everything here is the project's server's, called with the secret key

404No such response, job or provider in this project

defaultAn error: the envelope names it (`error`) and explains it (`error_description`).

Operation ReplayWorkflowRun of ai's contract.