Hub REST API
Loops
The Loops operations of the Hub REST API (1 operation).
For BuildersOpen-source podSynap CloudGenerated from Synap-core/backend@c31e261ab (main)
POST
bearerAuthheader
AuthorizationBearer <API key>Pod API key (Bearer) issued via /api/hub/setup/agent or pod admin tooling. Browser/web clients may use the X-Session-Token header instead. See GET /api/hub/auth/status to introspect the calling key.
application/json- body
definition?templateKey?stringparams?workspaceId?stringFormat
uuidApplied loop (created + proposed resources)
application/json- response
loopKey*stringcreated*proposals*array<string>curl -X POST 'https://pod.example.com/api/hub/loops/apply' \ -H 'Content-Type: application/json' \ -d '{}'Example Response
{ "loopKey": "string", "created": { "playbooks": [ { "property1": null, "property2": null } ], "triggers": [ { "property1": null, "property2": null } ] }, "proposals": [ "string" ]}