The chart below describes the variables required by Itential Automation Gateway (IAG) to create an inventory device.
{automation gateway url}/app/apidocs endpoint for the specific inventory or integration in question.For inventory questions related to integrations such as Ansible or Nornir, see the official guides to learn how to effectively create that type of inventory.
For inventory questions related to IAG, you can refer to the built-in Swagger documentation by hovering the cursor over the menu icon to the right of Automation Gateway and clicking on the API Documentation - 2.0 link.

To create a native (internal) device inventory via GUI or API:
Select the appropriate device option from the dropdown list and click the Create button.

The internal inventory devices supported are: Aruba, ASA, BigIP, EOS, IOS, IOSXR, Junos, NXOS, SROS.
These are the minimum required variables used to connect a device. The ansible_network_os must be one of the supported inventory devices in the list above, and ansible_connection is set to network_cli.
For devices that are not supported, a Netmiko device is created. The following configurations are used.
Set the ansible_connection variable to local.
Set the provider variable to the following config:
If the connection to a device should fail, test the device connection and check for errors in the log.