Retrieve a Host Metric

get

/api/v2/host_metrics/{id}/

Make GET request to this resource to retrieve a single host metric record containing the following fields:

  • id: Database ID for this host metric. (integer)
  • hostname: (string)
  • url: URL for this host metric. (string)
  • first_automation: When the host was first automated against (datetime)
  • last_automation: When the host was last automated against (datetime)
  • last_deleted: When the host was last deleted (datetime)
  • automated_counter: How many times was the host automated (integer)
  • deleted_counter: How many times was the host deleted (integer)
  • deleted: Boolean flag saying whether the host is deleted and therefore not counted into the subscription consumption (boolean)
  • used_in_inventories: How many inventories contain this host (integer)

Request

Supported Media Types
Path Parameters
Back to Top

Response

Supported Media Types

200 Response

Body ()
Root Schema : HostMetric
Type: object
Show Source
Back to Top