Is it possible to retrieve the published parameters set against a workspace within an automation, via the Rest API (v4) or another way?
I’ve had a quick look at the FME Flow REST API V4 endpoints but cannot see anything obvious.
Is it possible to retrieve the published parameters set against a workspace within an automation, via the Rest API (v4) or another way?
I’ve had a quick look at the FME Flow REST API V4 endpoints but cannot see anything obvious.
It seems undocumented, but try:
http://<hostname>/fmerest/v3/automations/workflows/<automation id>/components
Tested with FME 2024.2.3 and it seems to return all the details of the automation. For the published parameters, be prepared for FME-specific tag encodings like “<space><opencurly>” etc.
Thanks, I was specifically looking for a V4 option as we’re on 2025.1 and the v3 rest api is in its deprecation phase
I can get the workspaces that participate in an automation via
$(FME_SERVER_WEB_URL)/fmeapiv4/dependencies?id=<automation id>&type=automation
but this doesn’t give any information about parameters
I found this undocumented API by using the network tab of the browser developer tools. I suspect that you’ll be able to find the corresponding V4 endpoint by activing the network tab before opening an automation and scrolling through the requests made to the backend.
Found it:
$(FME_SERVER_WEB_URL)/fmeapiv4/automations/<automation id>/components
This endpoint returns all the components (triggers, actions, etc) of a given automation, as well as their individual settings, including workspace parameters.
Example:
json["nodes"][*]["parameters"]