pipeline_inputs
Arraypipeline_inputs
field in the request body. The pipeline_inputs
field should contain an array of objects, where each object has an input_name
that matches your Input node’s name and a value
containing the data you want to pass to that Input node.
pipeline_inputs
query parameter as a URL-encoded string.
pipeline_inputs
is a URL-encoded string equivalent to the following JSON body:
https://api.gumloop.com/api/v1/start_pipeline
will return a run_id
and a URL that links to the flow run.
Here is an example of the response:
run_id
to poll a separate endpoint to get information about the ongoing run like the status, logs, and outputs when it is completed.
In order to poll, make a GET
request to https://api.gumloop.com/api/v1/get_pl_run
with run_id
as a query parameter.
Here is an example of a GET request with cURL, Python, and JavaScript and their outputs:
Request with cURL
log
, state
, and outputs
.
log
: Contains a running log of each node and the activities within it.
state
: One of “STARTED”, “RUNNING”, “TERMINATED”, “FAILED” or “DONE”.
outputs
: A JSON object with key-value pair where the key is the output name
and the value is the output value
. This will only be populated when your pipeline reaches a “DONE” state and you have named output nodes in your pipeline.