Skip to main content
POST
/
api
/
v1
/
flow
/
{uuid}
/
undeploy
Undeploy — flip a deployed flow back to draft
curl --request POST \
  --url https://{subdomain}.mihu.ai/api/v1/flow/{uuid}/undeploy \
  --header 'Authorization: Bearer <token>'
{
  "success": true,
  "message": "Flow undeployed",
  "data": {
    "uuid": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "name": "<string>",
    "description": "<string>",
    "status": "draft",
    "created_at": "2023-11-07T05:31:56Z",
    "updated_at": "2023-11-07T05:31:56Z",
    "steps": [
      {
        "uuid": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
        "position": 123,
        "kind": "trigger",
        "status": "draft",
        "parent_step_uuid": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
        "branch_key": "true",
        "app": {
          "uid": "<string>",
          "name": "<string>",
          "icon": "<string>",
          "category": "builtin",
          "requires_connection": true
        },
        "trigger": {
          "key": "<string>",
          "name": "<string>"
        },
        "action": {
          "key": "<string>",
          "name": "<string>"
        },
        "agent": {
          "uuid": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
          "name": "<string>"
        },
        "app_connection": {
          "uuid": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
          "label": "<string>"
        },
        "config": {},
        "last_test": {
          "data": {}
        }
      }
    ]
  }
}

Documentation Index

Fetch the complete documentation index at: https://developers.mindhunters.ai/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

Use a Bearer token to access these API endpoints. Example: "Bearer {your-token}"

Path Parameters

uuid
string<uuid>
required

Response

Undeployed

success
boolean
Example:

true

message
string
Example:

"Flow undeployed"

data
object

A flow with its ordered step list (top-level + branch children flat).