POST
/
api
/
workflows
curl --request POST \
  --url https://axis-production-2887.up.railway.app/api/workflows \
  --header 'Content-Type: application/json' \
  --data '{
  "name": "<string>",
  "description": "<string>",
  "tool_prompt": "<string>",
  "type": "<string>",
  "url": "<string>",
  "connector_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "ai_inputs": [],
  "human_inputs": []
}'
{}

Body

application/json
The workflow to create
name
string
required
Minimum length: 2
description
string
required
tool_prompt
string
required
type
string
required
url
string
required
connector_id
string
required
ai_inputs
object[]
human_inputs
object[]

Response

201 - application/json
The workflow has been successfully created.

The response is of type object.