cURL
curl --request POST \ --url https://api.nfig.ai/apis/request/workflow/step/run/<id> \ --header 'Content-Type: application/json' \ --header 'api-key: <api-key>' \ --data '{ "step": "<step>", "type": "<stepType>", "schema": { "<openapi-schema>" } }'
{ "stepId": "<string>", "jobTaskId": "<string>" }
Unique identifier for each workflow session
Step to be executted
"Go to amazon.com"
Whether it is an ASK or ACT method
ACT
ASK
"ACT"
open ai compatable schema for structured output
Create a workflow step run
Workflow executed step id
Workflow session job id