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

Example request

This produces a response containing the sources array documented below.

Overview

Sources are references extracted from ChatGPT’s sources modal. They follow the common sources structure with additional ChatGPT-specific fields.
Sources in ChatGPT

ChatGPT-specific source fields

Example response with sources

ChatGPT doesn’t provide sources for certain promptsWhen web search is triggered but no sources are available, the sources field will return an empty array.