# Apilio

Apilio is a home automation platform that enables users to connect and control smart devices from various brands, offering flexible automation through complex conditions, time constraints, and integrations with services like IFTTT and Tuya.

- **Category:** internet of things
- **Auth:** API_KEY, BASIC
- **Composio Managed App Available?** N/A
- **Tools:** 8
- **Triggers:** 0
- **Slug:** `APILIO`
- **Version:** 20260223_00

## Tools

### Get Boolean Variables

**Slug:** `APILIO_GET_BOOLEAN_VARIABLES`

Tool to fetch all boolean variables. Use when you need the full list of boolean variables and their current states.

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### Get Conditions

**Slug:** `APILIO_GET_CONDITIONS`

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 use in other operations, or check when conditions were last updated. No parameters required.

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### Get Logicblocks

**Slug:** `APILIO_GET_LOGICBLOCKS`

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 logicblocks with their UUIDs, names, active status, last evaluation results, and update timestamps.

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### Get Numeric Variables

**Slug:** `APILIO_GET_NUMERIC_VARIABLES`

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 conditions and logicblocks for automation. This action returns a complete list of all numeric variables including their names, current values, UUIDs, and last update timestamps. Use this when you need to: - View all numeric variables in your account - Check current values of numeric variables - Get UUIDs for numeric variables (needed for other operations) - Monitor when variables were last updated

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### Get String Variables

**Slug:** `APILIO_GET_STRING_VARIABLES`

Tool to fetch all string variables. Use after authenticating the Apilio API.

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### List Time Conditions

**Slug:** `APILIO_LIST_TIME_CONDITIONS`

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 conditions configured in the user's Apilio account.

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### List Tuya Conditions

**Slug:** `APILIO_LIST_TUYA_CONDITIONS`

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 operations, or check when conditions were last updated.

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### List Variable Conditions

**Slug:** `APILIO_LIST_VARIABLE_CONDITIONS`

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 their UUIDs for use in other operations, or check when they were last updated.

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |
