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

# Get Trails

`POST /trails`

## 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-09-26** `59dc5d25c40e` — 2 info
  - the `endDate` request property default value changed from `1790433728964` to `1790433752044`
  - the `startDate` request property default value changed from `1789742528964` to `1789742552044`
- **2026-09-26** `1baad142eb42` — 2 info
  - the `endDate` request property default value changed from `1790106015372` to `1790433728964`
  - the `startDate` request property default value changed from `1789414815372` to `1789742528964`
- **2026-09-25** `00b386a6eb1d` — 2 info
  - the `endDate` request property default value changed from `1790101652141` to `1790106015372`
  - the `startDate` request property default value changed from `1789410452141` to `1789414815372`
- **2026-09-23** `d5eff0b521f6` — 2 info
  - the `endDate` request property default value changed from `1790101652305` to `1790101652141`
  - the `startDate` request property default value changed from `1789410452305` to `1789410452141`
- **2026-09-22** `5a9e8140152b` — 2 info
  - the `endDate` request property default value changed from `1789568866941` to `1790101652305`
  - the `startDate` request property default value changed from `1788877666941` to `1789410452305`

[Full history](https://skmtc.dev/openreplay/apis/fastapi/changes/trails/post.md)

---

[API](https://skmtc.dev/openreplay/apis/fastapi.md) · [All operations](https://skmtc.dev/openreplay/apis/fastapi/llms.txt) · [OpenAPI document](https://skmtc.dev/openreplay/apis/fastapi/revisions/59dc5d25c40e?raw)
