---
title: "Get trace by run id"
method: GET
path: "/traces/by-run-id"
tags: ["Traces"]
---

# Get trace by run id

`GET /traces/by-run-id`

Resolves a trace from an agent run id.

## Query parameters

- `run_id` string

## Response `200`

Trace

- object
  - `id` string, required
  - `project_id` string, required
  - `service_name` string, nullable, required
  - `timestamp` string, date-time, nullable, required
  - `otel_trace_id` string, required
  - `ready` boolean, required

## Other responses

- `400` — Bad request
- `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)
