---
title: "Changes to Genai Spans Query"
method: POST
path: "/agents/spans/query"
---

# Changes to Genai Spans Query

`POST /agents/spans/query`

> Every recorded change to this operation, newest first.

## Timeline

Changed in 2 of 31 revisions.

- **2026-10-22** `f7643c49bf2e`: 4 info
- **2026-10-16** `dd89fadfe4e4`: 1 info

## Changes

- **2026-10-22** `f7643c49bf2e`: 4 info
  - added the required property `spans/items/main_agent_id` to the response with the `200` status
  - added the required property `spans/items/main_agent_name` to the response with the `200` status
  - added the required property `spans/items/response_time_to_first_chunk` to the response with the `200` status
  - added the required property `spans/items/workflow_name` to the response with the `200` status
- **2026-10-16** `dd89fadfe4e4`: 1 info
  - endpoint added

---

[Operation](https://skmtc.dev/wandb/apis/fastapi/docs/agents/spans/query/post.md) - [API](https://skmtc.dev/wandb/apis/fastapi.md) - [Page](https://skmtc.dev/wandb/apis/fastapi/changes/agents/spans/query/post)
