---
title: "Search traces by conversation ID"
method: GET
path: "/api/agent-observability/v1/traces/by-conversation"
tags: ["traces"]
---

# Search traces by conversation ID

`GET /api/agent-observability/v1/traces/by-conversation`

Build a term filter automatically using attributes.gen_ai.conversation.id.keyword and return the original OpenSearch response body.

## Query parameters

- `conversation_id` string, required

## Response `200`

Raw OpenSearch search response

- string

## Other responses

- `400` — Bad Request
- `405` — Method Not Allowed
- `500` — Internal Server Error
- `504` — Gateway Timeout

---

[API](https://skmtc.dev/kweaver-ai/apis/agent-observability-api.md) · [All operations](https://skmtc.dev/kweaver-ai/apis/agent-observability-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/kweaver-ai/agent-observability-api/revisions/7892b1b0bb52/schema)
