---
title: "Get thread trace neighbors"
method: GET
path: "/traces/{trace_id}/thread-neighbors"
tags: ["Traces"]
---

# Get thread trace neighbors

`GET /traces/{trace_id}/thread-neighbors`

Returns previous and next ready traces from the same thread.

## Path parameters

- `trace_id` string, required

## Response `200`

Thread neighbors

- object
  - `prev_trace_id` string, nullable, required
  - `next_trace_id` string, nullable, required

## Other responses

- `404` — Not found

---

[API](https://skmtc.dev/uselemma/apis/lemma-platform-api.md) · [All operations](https://skmtc.dev/uselemma/apis/lemma-platform-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/uselemma/lemma-platform-api/revisions/5242165d7015/schema)
