---
title: "Get a trace by id"
method: GET
path: "/api/v1/projects/{projectId}/traces/{traceId}"
tags: ["Telemetry read"]
---

# Get a trace by id

`GET /api/v1/projects/{projectId}/traces/{traceId}`

Returns all spans and correlated logs for the given trace.

## Path parameters

- `projectId` string, uuid, required
- `traceId` string, required

## Response `200`

OK

- object — ClickHouse rows. Shape mirrors what the dashboard /explore/* endpoints return.

## Other responses

- `400` — Malformed input
- `401` — Missing / wrong-type / revoked token
- `404` — Resource not found in this org

---

[API](https://skmtc.net/superlog/apis/superlog-management-api.md) · [All operations](https://skmtc.net/superlog/apis/superlog-management-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/superlog/superlog-management-api/revisions/2f60b7ba8dc6/schema)
