---
title: "Retrieve a mock for current connection settings."
method: GET
path: "/api/connection"
---

# Retrieve a mock for current connection settings.

`GET /api/connection`

## Response `200`

OK

- object
  - `current` ConnCurrent
    - `baudrate` integer, nullable
    - `port` string, nullable
    - `printerProfile` string
    - `state` 'Operational' | 'Printing' | 'Pausing' | 'Paused' | 'Cancelling' | 'Error' | 'Offline'
  - `options` ConnOptions
    - `ports` string[]
    - `baudrates` integer[]
    - `printerProfiles` object[]
      - `id` string
      - `name` string

## Other responses

- `403` — Unauthorized

## Changes

- **2021-02-22** `30eda14983ed` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/prusa3d/apis/prusalink-web/changes/api/connection/get.md)

---

[API](https://skmtc.dev/prusa3d/apis/prusalink-web.md) · [All operations](https://skmtc.dev/prusa3d/apis/prusalink-web/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/prusa3d/prusalink-web/revisions/30eda14983ed/schema)
