---
title: "List all hosted resources and hosted websites"
method: GET
path: "/hosted_resources"
tags: ["Hosted Resources"]
---

# List all hosted resources and hosted websites

`GET /hosted_resources`

## Request

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

Returns both managed VPS resources (hosted_resource) and static hosting sites
(hosted_website) for the authenticated account. The `kind` field discriminates;
type-specific fields are populated accordingly.

## Response `200`

OK

- object[]
  - `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.
- `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)
