Invoke an externally-exposed swarm script
Runs the script bound to this endpoint and returns a JSON envelope { ok, result, error, durationMs } (HTTP 200) once execution is reached. Auth/routing failures use 401 (bad/missing bearer) and 404 (unknown or disabled endpoint). Optional X-Swarm-Timeout-Ms header (default 60000, clamped 1000–300000) sets the wall-clock timeout.
Path parameters
Response
Script executed — see ok in the envelope
Changes
Changed in 1 of the 104 revisions of this API.4
- ○
added the media type
application/jsonfor the response with the statusresponse-media-type-added
- ○
added the media type
application/jsonfor the response with the statusresponse-media-type-added
- ○
added the media type
application/jsonfor the response with the statusresponse-media-type-added
- ○
added the media type
application/jsonfor the response with the statusresponse-media-type-added
- ○