---
title: "Get Connection"
method: GET
path: "/v1/connections/{connection_id}"
tags: ["connections"]
---

# Get Connection

`GET /v1/connections/{connection_id}`

## Request

- Base URL: `https://api.cyberdesk.io`
- URL: `https://api.cyberdesk.io/v1/connections/{connection_id}`
- Auth: HTTP bearer

Get a specific connection by ID.

The connection must belong to a machine owned by the authenticated organization.

## Path parameters

- `connection_id` string, uuid, required

## Response `200`

Successful Response

- ConnectionResponse: Connection response schema
  - `websocket_id` string, required
  - `ip_address` string, nullable
  - `user_agent` string, nullable
  - `id` string, uuid, required
  - `machine_id` string, uuid, required
  - `connected_at` string, date-time, required
  - `disconnected_at` string, date-time, nullable, required
  - `last_ping` string, date-time, required
  - `status` 'connected' | 'disconnected' | 'error', required

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/cyberdesk-hq/apis/cyberdesk-cloud.md) - [All operations](https://skmtc.dev/cyberdesk-hq/apis/cyberdesk-cloud/llms.txt) - [OpenAPI document](https://skmtc.dev/cyberdesk-hq/apis/cyberdesk-cloud/revisions/5579352ae05e?raw)
