{
  "info": {
    "name": "EnforcedFlow — mcp.ai",
    "description": "REST API for the EnforcedFlow MCP. Set {{apiKey}} to a workspace key (sk_live_…) created at https://mcp.ai/settings/api-keys.",
    "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json"
  },
  "auth": {
    "type": "bearer",
    "bearer": [
      {
        "key": "token",
        "value": "{{apiKey}}",
        "type": "string"
      }
    ]
  },
  "variable": [
    {
      "key": "baseUrl",
      "value": "https://api.mcp.ai/api/enforcedflow",
      "type": "string"
    },
    {
      "key": "apiKey",
      "value": "sk_live_...",
      "type": "string"
    }
  ],
  "item": [
    {
      "name": "enforcedflow_get_group_fields",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/get/group/fields",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "get",
            "group",
            "fields"
          ]
        },
        "description": "Get detailed routing-field configuration and metadata field names for one round-robin group.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"group_id\": 0\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "enforcedflow_list_group_agents",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/list/group/agents",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "list",
            "group",
            "agents"
          ]
        },
        "description": "List agents in a round-robin group, optionally filtering by active status, with metadata and configured field values.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"active\": false,\n  \"group_id\": 0\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "enforcedflow_list_groups",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/list/groups",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "list",
            "groups"
          ]
        },
        "description": "List round-robin groups accessible to the connected account, including group IDs and summary routing-field requirements.",
        "body": {
          "mode": "raw",
          "raw": "{}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "enforcedflow_select_next_agent",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/select/next/agent",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "select",
            "next",
            "agent"
          ]
        },
        "description": "Select the next available agent for a round-robin group using optional configured criteria. This advances the group's round-robin routing state and may consume one routing request from the account's m",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"criteria\": {},\n  \"group_id\": 0\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "enforcedflow_upsert_group_agent",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/upsert/group/agent",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "upsert",
            "group",
            "agent"
          ]
        },
        "description": "Update the first agent matching a filter, or create an agent when the filter matches none. A missing or empty filter always creates an agent. Use a precise, stable filter because any filter miss takes",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"data\": {},\n  \"filter\": {},\n  \"group_id\": 0\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    }
  ]
}