---
title: "Get conversation spans (trace)"
method: POST
path: "/dashboard/api/conversation-spans"
tags: ["Conversations"]
---

# Get conversation spans (trace)

`POST /dashboard/api/conversation-spans`

## Request

- Base URL: `https://api.agnost.ai`
- URL: `https://api.agnost.ai/dashboard/api/conversation-spans`
- Auth: one of:
  - HTTP bearer and API key in header `x-org-id`
  - API key in header `x-api-key`

## Request body

- object
  - `conversation_id` string, uuid, required
  - `event_id` string, uuid: Optional. Filter to ancestors/descendants of this event

## Response `200`

Span hierarchy for the conversation

## Changes

- **2026-11-03** `a61431b48f36`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/agnost/apis/agnost-ai-api/changes/dashboard/api/conversation-spans/post.md)

---

[API](https://skmtc.dev/agnost/apis/agnost-ai-api.md) - [All operations](https://skmtc.dev/agnost/apis/agnost-ai-api/llms.txt) - [OpenAPI document](https://skmtc.dev/agnost/apis/agnost-ai-api/revisions/a61431b48f36?raw)
