---
title: "Get an organization's beacon"
method: GET
path: "/v1/organizations/{organization_id}/beacons/{beacon_id}"
tags: ["organizations"]
---

# Get an organization's beacon

`GET /v1/organizations/{organization_id}/beacons/{beacon_id}`

## Request

- Base URL: `https://api.ethiack.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.ethiack.com/v1/organizations/{organization_id}/beacons/{beacon_id}`
- Auth: none declared

Return one beacon belonging to an organization.

The response includes the beacon's auth token and rathole
parameters, so it also needs ``beacon:read_credentials``.

Args:
    organization_id (int): Identifier of the organization.
    beacon_id (int): Primary key of the beacon.
    db (AsyncSession): Request-scoped database session.
    context (ActiveContext): Resolved caller identity and scope.

Returns:
    BeaconDetailResponse: The requested beacon.

## Path parameters

- `organization_id` integer, required
- `beacon_id` integer, required

## Response `200`

Successful Response

- BeaconDetailResponse: Full beacon representation for organization-scoped management. Extends the list item with the auth token and rathole connection parameters — never returned by the machine-facing :class:`BeaconResponse` nor by the list. ``beacon start`` re-reads them from here when its local state is gone, so they must stay on get and patch. Attributes: version (int): Beacon version (1=self-managed, 2=rathole-managed). beacon_token (str | None): Beacon authentication token. rathole_server (str | None): Rathole server hostname or IP. rathole_public_port (int | None): Rathole-allocated UDP port. rathole_control_port (int): Rathole control port; the same constant for every beacon.
  - `id` integer, required
  - `name` string, required
  - `status` integer, required
  - `last_seen` string, date-time, nullable, required
  - `created` string, date-time, required
  - `allowed_cidrs` string[], nullable
  - `dns_server` string, nullable
  - `interface_name` string, nullable
  - `version` integer, required
  - `beacon_token` string, nullable
  - `rathole_server` string, nullable
  - `rathole_public_port` integer, nullable
  - `rathole_control_port` integer, required: Rathole control port (always the default)

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/ethiack/apis/ethiack-api.md) - [All operations](https://skmtc.dev/ethiack/apis/ethiack-api/llms.txt) - [OpenAPI document](https://skmtc.dev/ethiack/apis/ethiack-api/revisions/4eaba89bfebf?raw)
