{
  "info": {
    "name": "Apilio — mcp.ai",
    "description": "REST API for the Apilio 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/apilio",
      "type": "string"
    },
    {
      "key": "apiKey",
      "value": "sk_live_...",
      "type": "string"
    }
  ],
  "item": [
    {
      "name": "apilio_get_boolean_variables",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/get/boolean/variables",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "get",
            "boolean",
            "variables"
          ]
        },
        "description": "Tool to fetch all boolean variables. Use when you need the full list of boolean variables and their current states.",
        "body": {
          "mode": "raw",
          "raw": "{}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "apilio_get_conditions",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/get/conditions",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "get",
            "conditions"
          ]
        },
        "description": "Retrieves all conditions from your Apilio account. Conditions are logic rules that evaluate to true or false based on variable values. Use this to list all available conditions, get their UUIDs for us",
        "body": {
          "mode": "raw",
          "raw": "{}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "apilio_get_logicblocks",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/get/logicblocks",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "get",
            "logicblocks"
          ]
        },
        "description": "Retrieves all logicblocks for the authenticated Apilio user. Logicblocks are the core automation logic units in Apilio that combine conditions and actions. Use this tool to list all available logicblo",
        "body": {
          "mode": "raw",
          "raw": "{}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "apilio_get_numeric_variables",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/get/numeric/variables",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "get",
            "numeric",
            "variables"
          ]
        },
        "description": "Retrieves all numeric variables from your Apilio account with their current values and metadata. Numeric variables in Apilio store numerical values (integers or decimals) that can be used in condition",
        "body": {
          "mode": "raw",
          "raw": "{}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "apilio_get_string_variables",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/get/string/variables",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "get",
            "string",
            "variables"
          ]
        },
        "description": "Tool to fetch all string variables. Use after authenticating the Apilio API.",
        "body": {
          "mode": "raw",
          "raw": "{}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "apilio_list_time_conditions",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/list/time/conditions",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "list",
            "time",
            "conditions"
          ]
        },
        "description": "Tool to fetch all time conditions of a user. Time conditions are conditions based on time, such as sunset/sunrise times, specific hours, or cron expressions. Use when you need to retrieve all time con",
        "body": {
          "mode": "raw",
          "raw": "{}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "apilio_list_tuya_conditions",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/list/tuya/conditions",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "list",
            "tuya",
            "conditions"
          ]
        },
        "description": "Tool to retrieve all Tuya conditions from your Apilio account. Use when you need to list all Tuya-based conditions (conditions based on Tuya/Smart Life device states), get their UUIDs for use in other",
        "body": {
          "mode": "raw",
          "raw": "{}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "apilio_list_variable_conditions",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/list/variable/conditions",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "list",
            "variable",
            "conditions"
          ]
        },
        "description": "Tool to retrieve all variable conditions from your Apilio account. Variable conditions are conditions based on the value of variables. Use when you need to list all available variable conditions, get ",
        "body": {
          "mode": "raw",
          "raw": "{}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    }
  ]
}