---
title: "Finds a Link Server for this Link Agent"
method: GET
path: "/link/agents/{id}/server"
tags: ["LinkAgent"]
---

# Finds a Link Server for this Link Agent

`GET /link/agents/{id}/server`

## Path parameters

- `id` string, required

## Response `200`

Connection details about the link server

- LinkServerConnection — Contains information that the Link Agent should use to connect to a Link Server
  - `link_server_id` string, required — The ID of the Link Server
  - `host` string, required — The Link Server host (hostname or IP address) for SSL connections
  - `port` integer, required — The Link Server port for SSL connections
  - `fqdn` string — The fully qualified domain name of the Link Server
  - `client_certificate` string, required — The serialized client certificate to use when connecting to the server
  - `server_fingerprint` string, required — The fingerprint of the server that should be expected when connecting
  - `server_public_key` string — The public key of the server

## Other responses

- `204` — Request for Link Server is acknowledged, but the server is not ready for connections yet
- `400` — Invalid or missing parameter
- `401` — User not authenticated
- `403` — User not authorized
- `404` — Link Agent not found
- `default` — Unknown error

---

[API](https://skmtc.net/mabl/apis/mabl-api.md) · [All operations](https://skmtc.net/mabl/apis/mabl-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/mabl/mabl-api/revisions/d0fc0114da66/schema)
