AI Workflow Operations
Import AI Workflow
Quickstart
Inference API
AI Flows
AI Workflows API
AI Workflow Execution API
AI Workflow Operations
AI Workflow Templates API
Model Deployment
AI Workflow Operations
Import AI Workflow
Import an AI Workflow
POST
/
api
/
v1
/
{workflowID}
/
import
Copy
curl --request POST \
--url https://flows.eachlabs.ai/api/v1/{workflowID}/import \
--header 'Content-Type: application/json' \
--data '{
"workspace_id": "<string>",
"name": "<string>",
"description": "<string>",
"nodes_json": "<string>",
"edges_json": "<string>",
"inputs": [
{
"name": "<string>",
"type": "<string>",
"default_value": "<string>"
}
],
"steps": [
{
"id": "<string>",
"name": "<string>",
"type": "<string>",
"model_slug": "<string>",
"model_version": "<string>",
"params": {
"key": {}
}
}
]
}'
Copy
{
"status": "<string>",
"message": "<string>"
}
Body
application/json
Was this page helpful?
Copy
curl --request POST \
--url https://flows.eachlabs.ai/api/v1/{workflowID}/import \
--header 'Content-Type: application/json' \
--data '{
"workspace_id": "<string>",
"name": "<string>",
"description": "<string>",
"nodes_json": "<string>",
"edges_json": "<string>",
"inputs": [
{
"name": "<string>",
"type": "<string>",
"default_value": "<string>"
}
],
"steps": [
{
"id": "<string>",
"name": "<string>",
"type": "<string>",
"model_slug": "<string>",
"model_version": "<string>",
"params": {
"key": {}
}
}
]
}'
Copy
{
"status": "<string>",
"message": "<string>"
}