---
title: "View a global server"
method: GET
path: "/global_servers/{id}"
tags: ["Global Servers"]
---

# View a global server

`GET /global_servers/{id}`

## Request

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

Returns the full details of a single global server. For managed_vps servers the response includes a
`managed_vps` block (status, ip_address, region, size, ssh_key). The block is `null` when the underlying
managed resource does not exist yet (e.g. provisioning failed before it was created). Poll this endpoint to
track provisioning.

## Path parameters

- `id` string, required

## Response `200`

Success

- IdIdentifierNameObject
  - `id` integer
  - `identifier` string
  - `name` string
  - `protocol_type` string
  - `enabled` boolean
  - `managed_vps` object
    - `hosted_resource_identifier` string
    - `status` string
    - `ip_address` string
    - `region` string
    - `size` string
    - `ssh_key` object
      - `identifier` string
      - `title` string
      - `fingerprint` 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)
