---
title: "Get Trails"
method: POST
path: "/trails"
tags: ["traces", "trails"]
---

# Get Trails

`POST /trails`

## Request

- Base URL: `https://api.openreplay.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.openreplay.com/trails`
- Auth: HTTP bearer

## Request body

- TrailSearchPayloadSchema
  - `limit` integer
  - `page` integer
  - `startDate` integer
  - `endDate` integer
  - `userId` integer, nullable
  - `query` string, nullable
  - `action` string, nullable
  - `order` 'ASC' | 'DESC'

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

## Changes

- **2026-10-30** `e5aaadb82e0a`: 2 info
  - the `endDate` request property default value changed from `1793375857557` to `1793375963229`
  - the `startDate` request property default value changed from `1792684657557` to `1792684763229`
- **2026-10-29** `6e71ee3c6be5`: 2 info
  - the `endDate` request property default value changed from `1793375857560` to `1793375857557`
  - the `startDate` request property default value changed from `1792684657560` to `1792684657557`
- **2026-10-29** `c68dae85aba2`: 2 info
  - the `endDate` request property default value changed from `1793375962804` to `1793375857560`
  - the `startDate` request property default value changed from `1792684762804` to `1792684657560`
- **2026-10-29** `8b6da6dc26a3`: 2 info
  - the `endDate` request property default value changed from `1793188497974` to `1793375962804`
  - the `startDate` request property default value changed from `1792497297974` to `1792684762804`
- **2026-10-27** `91e1b03f5550`: 2 info
  - the `endDate` request property default value changed from `1793188497927` to `1793188497974`
  - the `startDate` request property default value changed from `1792497297927` to `1792497297974`

[Operation history](https://skmtc.dev/openreplay/apis/openreplay-api/changes/trails/post.md)

---

[API](https://skmtc.dev/openreplay/apis/openreplay-api.md) - [All operations](https://skmtc.dev/openreplay/apis/openreplay-api/llms.txt) - [OpenAPI document](https://skmtc.dev/openreplay/apis/openreplay-api/revisions/e5aaadb82e0a?raw)
