Flows
Create new flow with custom functions
post/flows/
Request body
Example request
{
"functions": {
"functions": [
{
"timeout": 60,
"url": "https://example.com/api/v1/function"
}
]
},
"input": "user input for first task in the flow",
"provider": "openai"
}Response
flow created successful
Example response
{
"data": {
"functions": {
"functions": [
{
"timeout": 60,
"url": "https://example.com/api/v1/function"
}
]
}
},
"status": "success"
}