---
title: "GET /v1beta/{tenantId}/host/hosts/{hostId}"
method: GET
path: "/v1beta/{tenantId}/host/hosts/{hostId}"
tags: ["Host"]
---

# GET /v1beta/{tenantId}/host/hosts/{hostId}

`GET /v1beta/{tenantId}/host/hosts/{hostId}`

## Request

- Base URL: `https://localhost:50040`
- URL: `https://localhost:50040/v1beta/{tenantId}/host/hosts/{hostId}`
- Auth: HTTP basic

Get details about the host

## Response `200`

OK

- HostRespSpec: Host is a consumer of volume from storage.
  - `id` string
  - `createdAt` string, date-time
  - `updatedAt` string, date-time
  - `tenantId` string
  - `hostName` string
  - `osType` string
  - `accessMode` string
  - `ip` string
  - `port` string
  - `username` string
  - `availabilityZones` string[]
  - `initiators` object[]
    - `portName` string
    - `protocol` 'iscsi' | 'fibre_channel' | 'nvmeof'

## Other responses

- `400`: BadRequest
- `401`: NotAuthorized
- `403`: Forbidden
- `404`: The resource does not exist
- `500`: An unexpected error occured.

## Changes

- **2019-11-22** `a41e1157d0e7`: 1 warning
  - added the new `nvmeof` enum value to the `allOf[subschema #2]/initiators/items/protocol` response property for the response status `200`
- **2019-11-20** `c535972853d1`: 1 info
  - endpoint added
- **2019-11-20** `64d46542013a`: 1 breaking
  - api path removed without deprecation
- **2019-11-19** `9e15ae7f15d8`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/sodafoundation/apis/soda-api/changes/v1beta/:tenantId/host/hosts/:hostId/get.md)

---

[API](https://skmtc.dev/sodafoundation/apis/soda-api.md) - [All operations](https://skmtc.dev/sodafoundation/apis/soda-api/llms.txt) - [OpenAPI document](https://skmtc.dev/sodafoundation/apis/soda-api/revisions/62ce0f6c94b4?raw)
