# > Host prototype object

The following objects are directly related to the `hostprototype` API.

### Host prototype

The host prototype object has the following properties.

|Property|Type|Description|
|--------|----|-----------|
|hostid|string|*(readonly)* ID of the host prototype.|
|**host**<br>(required)|string|Technical name of the host prototype.|
|name|string|Visible name of the host prototype.<br><br>Default: `host` property value.|
|status|integer|Status of the host prototype.<br><br>Possible values are:<br>0 - *(default)* monitored host;<br>1 - unmonitored host.|
|templateid|string|*(readonly)* ID of the parent template host prototype.|
|tls\_connect|integer|Connections to host.<br><br>Possible values are:<br>1 - *(default)* No encryption;<br>2 - PSK;<br>4 - certificate.|
|tls\_accept|integer|Connections from host.<br><br>Possible bitmap values are:<br>1 - *(default)* No encryption;<br>2 - PSK;<br>4 - certificate.|
|tls\_issuer|string|Certificate issuer.|
|tls\_subject|string|Certificate subject.|
|tls\_psk\_identity|string|PSK identity. Required if either `tls_connect` or `tls_accept` has PSK enabled.|
|tls\_psk|string|The preshared key, at least 32 hex digits. Required if either `tls_connect` or `tls_accept` has PSK enabled.|

### Host prototype inventory

The host prototype inventory object has the following properties.

|Property|Type|Description|
|--------|----|-----------|
|inventory\_mode|integer|Host prototype inventory population mode.<br><br>Possible values are:<br>-1 - disabled;<br>0 - *(default)* manual;<br>1 - automatic.|

### Group link

The group link object links a host prototype with a host group and has
the following properties.

|Property|Type|Description|
|--------|----|-----------|
|group\_prototypeid|string|*(readonly)* ID of the group link.|
|**groupid**<br>(required)|string|ID of the host group.|
|hostid|string|*(readonly)* ID of the host prototype|
|templateid|string|*(readonly)* ID of the parent template group link.|

### Group prototype

The group prototype object defines a group that will be created for a
discovered host and has the following properties.

|Property|Type|Description|
|--------|----|-----------|
|group\_prototypeid|string|*(readonly)* ID of the group prototype.|
|**name**<br>(required)|string|Name of the group prototype.|
|hostid|string|*(readonly)* ID of the host prototype|
|templateid|string|*(readonly)* ID of the parent template group prototype.|
