Skip to main content
This section documents the citationPills data returned by the Microsoft Copilot endpoint. Citation pills are part of the Copilot response — no separate API call is needed. For use cases, pricing context, and copy-paste examples, see the Copilot sources API page on the product site.

Example request

This produces a response containing the citationPills array documented below.

Overview

Copilot streams citation events alongside its answer text. Consecutive citation events are grouped into one visible chip; the result.citationPills array exposes those chips denormalized: each entry is one (pill, source) pair carrying a per-source label (the source’s own title from the citation event), a citationPillId that groups entries from the same chip, and the per-source url/domain/description/position. When a pill cites N sources, the array contains N entries sharing the same citationPillId but carrying different per-source label, url, and domain. Group by citationPillId to recover the pill-level structure. The field is omitted from result when the answer has no pills.

Citation pill structure

Response example