POST /api/repeats
POST /api/repeats
POST /api/repeats
POST /api/repeatsContract#
{name,repeat:{bodyDefinitionId,bodyDefinitionVersion,carryInput,resultOutput,stopOutput,indexInput?,maxIterations}}; 201 new node. Name 1–100 characters; iterations 1–1,000. The exact pinned subflow needs identical carry/result types and a separate boolean stop output.
Request#
{
"path": [],
"query": [],
"body": []
}Response#
{
"statuses": [
201
],
"fields": []
}Guard#
Trusted-host Host/Origin boundary; per-route revision, version and validation checks apply.
Use this endpoint#
The base URL is your own ONF host, for example http://localhost:4310. Read HTTP API usage for request bodies, revision guards, accepted-run behavior and errors.
A source-registered route is not a promise that every real provider or every input combination has been tested. Use agent safety when an operation can run code or change external systems.
Source provenance
Reviewed against maintained source and topic documentation on 23 October 2026. This is a source snapshot; installed versions and provider access may differ.
server/control-flow.ts