---
title: "Show a hosted resource or hosted website"
method: GET
path: "/hosted_resources/{id}"
tags: ["Hosted Resources"]
---

# Show a hosted resource or hosted website

`GET /hosted_resources/{id}`

## Request

- Base URL: `https://sg.deployhq.com`
- URL: `https://sg.deployhq.com/hosted_resources/{id}`
- Auth: HTTP basic

Returns a hosted resource (managed VPS) or hosted website (static hosting)
based on the identifier. The `kind` field discriminates the response shape.

## Path parameters

- `id` string, required

## Response `200`

OK

- KindIdentifierNameObject
  - `kind` string
  - `identifier` string
  - `name` string
  - `status` string
  - `monthly_cost` unknown
  - `region` string
  - `size` string
  - `ip_address` string
  - `ssh_key` object
    - `identifier` string
    - `title` string
    - `public_key` string
    - `key_type` string
    - `fingerprint` string
    - `account` string
  - `subdomain` string
  - `spa_mode` boolean
  - `storage_bytes_total` integer
  - `active_deployment_uuid` string
  - `deployment_count` integer
  - `created_at` string
  - `updated_at` string

## Other responses

- `401`: You are not authorized to access this resource. You need to authenticate yourself first.
- `403`: You are not allowed to access this resource. You do not have the necessary permissions.
- `404`: The requested resource could not be found.
- `500`: An unexpected error occurred on the server. The server was unable to process the request.

---

[API](https://skmtc.dev/deployhq/apis/deployhq-api-interactive-documentation.md) · [All operations](https://skmtc.dev/deployhq/apis/deployhq-api-interactive-documentation/llms.txt) · [OpenAPI document](https://skmtc.dev/deployhq/apis/deployhq-api-interactive-documentation/revisions/830264ae58be?raw)
