---
title: "Replay data from a query directly without creating a recording."
method: POST
path: "/replays/query"
tags: ["recordings"]
---

# Replay data from a query directly without creating a recording.

`POST /replays/query`

## Request body

- object
  - `id` string — Replay ID
  - `task` string, required — ID of task
  - `query` string, required
  - `cluster` string
  - `recording-time` boolean
  - `clock` string

## Response `201`

Replay Started

- Replay
  - `link` Link — URI of resource.
    - `rel` string, required
    - `href` string, url, required
  - `id` string
  - `task` string
  - `recording` string
  - `recording-time` boolean
  - `clock` string
  - `error` string
  - `status` string
  - `progress` number

## Other responses

- `default` — A processing or an unexpected error.

## Changes

- **2016-05-18** (v1) `984bb9eb46e3` — 1 info
  - endpoint added
- **2016-05-03** (v1) `1d344321a0cc` — 1 breaking
  - api path removed without deprecation

[Change history](https://skmtc.dev/influxdata/apis/kapacitor/changes/replays/query/post.md)

---

[API](https://skmtc.dev/influxdata/apis/kapacitor.md) · [All operations](https://skmtc.dev/influxdata/apis/kapacitor/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/influxdata/kapacitor/revisions/796853de0228/schema)
