---
title: "Query Thread Traces"
method: GET
path: "/v2/threads/{thread_id}/traces"
tags: ["threads"]
---

# Query Thread Traces

`GET /v2/threads/{thread_id}/traces`

Retrieve all traces belonging to a specific thread within a project.
Returns trace data decoded from Arrow IPC format via the smithdb
QueryThreadTraces gRPC RPC.

## Query parameters

- `session_id` string, required
- `filter` string
- `select` string
- `limit` integer
- `cursor` string

## Response `200`

traces

- object

## Other responses

- `400` — Bad Request
- `403` — Forbidden
- `422` — Unprocessable Entity

---

[API](https://skmtc.dev/langchain-ai/apis/langsmith.md) · [All operations](https://skmtc.dev/langchain-ai/apis/langsmith/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/langchain-ai/langsmith/revisions/7bbcecd856b2/schema)
