---
title: "retrieve the current server clock status"
method: GET
path: "/mockserver/clock"
tags: ["control"]
---

# retrieve the current server clock status

`GET /mockserver/clock`

## Request

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

Returns the current instant, epoch milliseconds, and whether the clock is frozen.

## Response `200`

current clock status returned

- ClockStatus: clock status response
  - `currentInstant` string, date-time: the current server clock instant
  - `currentEpochMillis` integer: the current server clock time as epoch milliseconds
  - `frozen` boolean: true if the clock is currently frozen

---

[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)
