List Workflows

Hand off to an LLM

List workflows in the current environment.

Returns each workflow's current version, including its node graph and main node. Combine filters freely — they AND together.

Filtering

  • workflowIDs / workflowNames: exact-match identity filters.
  • displayName: case-insensitive substring match.
  • tags: returns workflows tagged with any of the supplied tags.
  • functionIDs / functionNames: returns only workflows that reference the named functions in any node. Useful for "which workflows depend on this function?" lookups before changing or deleting a function.

Pagination

Cursor-based with startingAfter and endingBefore (workflowIDs). Default limit 50, maximum 100.

GET
/v3/workflows
x-api-key<token>

Authenticate using API Key in request header

In: header

Query Parameters

limit?integer
Default50
Range1 <= value <= 100
workflowIDs?array<>
Items1 <= items
workflowNames?array<>
Items1 <= items
displayName?string
sortOrder?string
Default"asc"
Value in"asc" | "desc"
startingAfter?string
endingBefore?string
tags?array<>
Items1 <= items
functionIDs?array<>
Items1 <= items
functionNames?array<>
Items1 <= items

Response Body

application/json

curl -X GET "https://api.bem.ai/v3/workflows"
{
  "workflows": [
    {
      "id": "string",
      "name": "string",
      "versionNum": 0,
      "displayName": "string",
      "emailAddress": "string",
      "tags": [
        "string"
      ],
      "mainNodeName": "string",
      "nodes": [
        {
          "name": "string",
          "function": {
            "id": "string",
            "name": "string",
            "versionNum": 0
          },
          "metadata": {}
        }
      ],
      "edges": [
        {
          "sourceNodeName": "string",
          "destinationName": "string",
          "destinationNodeName": "string",
          "metadata": {}
        }
      ],
      "connectors": [
        {
          "connectorID": "string",
          "name": "string",
          "type": "paragon",
          "paragon": {
            "integration": "string",
            "configuration": {},
            "syncID": "string"
          }
        }
      ],
      "createdAt": "2019-08-24T14:15:22Z",
      "updatedAt": "2019-08-24T14:15:22Z",
      "audit": {
        "workflowCreatedBy": {
          "userActionID": "string",
          "userID": "string",
          "userEmail": "string",
          "apiKeyName": "string",
          "emailAddress": "string",
          "createdAt": "2019-08-24T14:15:22Z"
        },
        "workflowLastUpdatedBy": {
          "userActionID": "string",
          "userID": "string",
          "userEmail": "string",
          "apiKeyName": "string",
          "emailAddress": "string",
          "createdAt": "2019-08-24T14:15:22Z"
        },
        "versionCreatedBy": {
          "userActionID": "string",
          "userID": "string",
          "userEmail": "string",
          "apiKeyName": "string",
          "emailAddress": "string",
          "createdAt": "2019-08-24T14:15:22Z"
        }
      }
    }
  ],
  "totalCount": 0,
  "error": "string"
}

See also