LemuAI

Create Test Run

Execute a workflow without placing a real phone call

Creates a test execution of the workflow. No outbound call is placed — this is useful for validating agent behavior, checking prompt outputs, and testing tool integrations before going live.

POST/api/v1/workflow/{workflow_id}/runs

Parameters#

NameLocated inTypeRequiredDescription
workflow_idpathintegerYes—

Request body#

FieldTypeRequiredDescription
modestringYes—
namestringYes—

Example request body:

{
  "mode": "string",
  "name": "Example Name"
}

Responses#

200 — Successful Response

{
  "id": 0,
  "workflow_id": 0,
  "name": "Example Name",
  "mode": "string",
  "created_at": "2026-01-15T10:30:00Z",
  "definition_id": 0,
  "initial_context": {}
}

404 — Not found

422 — Validation Error

{
  "detail": [
    {
      "loc": [
        "string"
      ],
      "msg": "string",
      "type": "string"
    }
  ]
}

© 2026 LemuAI. Built with our own docs platform.