Customer Flow

List customer flows

Returns a paginated list of customer flows with their agents, expectations, happy path and edge cases. The step graph is the one field omitted: reading it walks the project's whole step graph, so it comes back from the single-flow endpoint instead. Customer flows are how a project describes what to test; they replace the older simulation scenarios.

get/v1/customer-flow

Query parameters

limitinteger
afterstring
searchTextstring
type'SCRIPTED' | 'IMPROV' | 'VOICEMAIL'
includeSystem'true' | 'false'

Response

List of customer flows

Example response

{
  "data": [
    {
      "happyPath": {
        "personaOverride": {
          "backstoryPrompt": "A busy professional calling during lunch break",
          "properties": {
            "age": 35,
            "zipCode": "94105",
            "occupation": "Software Engineer"
          }
        }
      },
      "edgeCases": [
        {
          "personaOverride": {
            "backstoryPrompt": "A busy professional calling during lunch break",
            "properties": {
              "age": 35,
              "zipCode": "94105",
              "occupation": "Software Engineer"
            }
          }
        }
      ]
    }
  ]
}

Changes