Skip to main content
POST
/
v1
/
workflows
/
generate
Generate Workflow
curl --request POST \
  --url https://api.example.com/v1/workflows/generate \
  --header 'Content-Type: application/json' \
  --data '
{
  "description": "<string>",
  "workflow_type": "<string>",
  "indicator_types": []
}
'
{
  "data": {
    "generated_code": "<string>",
    "suggested_name": "<string>",
    "suggested_documentation": "<string>",
    "warnings": []
  },
  "meta": {}
}

Body

application/json

Request body for POST /v1/workflows/generate.

description
string
required
workflow_type
string | null
indicator_types
string[]

Response

Successful Response

data
WorkflowGenerateResponse · object
required

Response for POST /v1/workflows/generate.

meta
Meta · object