---
title: "retrieve the current proxy / mock operating mode"
method: GET
path: "/mockserver/mode"
tags: ["control"]
---

# retrieve the current proxy / mock operating mode

`GET /mockserver/mode`

## Request

- Base URL: `http://localhost:1080`
- URL: `http://localhost:1080/mockserver/mode`
- Auth: none declared

returns the current operating mode and whether unmatched requests are proxied

## Response `200`

current mode returned

- object
  - `mode` 'SIMULATE' | 'SPY' | 'CAPTURE'
  - `proxyUnmatchedRequests` boolean

---

[API](https://skmtc.dev/mock-server/apis/mockserver-api.md) · [All operations](https://skmtc.dev/mock-server/apis/mockserver-api/llms.txt) · [OpenAPI document](https://skmtc.dev/mock-server/apis/mockserver-api/revisions/9239b693996e?raw)
