Skip to main content
GET
/
chats
/
{chat_id}
/
content
Get Chat
curl --request GET \
  --url https://api.peec.ai/customer/v1/chats/{chat_id}/content \
  --header 'X-API-Key: <api-key>'
{
  "id": "ch_61184892-36ad-4e1a-8178-3a83608f7711",
  "prompt": {
    "id": "pr_93f790de-5b7a-45ee-b782-61103c81f20d"
  },
  "model": {
    "id": "gpt-4o-search"
  },
  "model_channel": {
    "id": "openai-1"
  },
  "sources": [
    {
      "url": "https://peec.ai/blog#header",
      "urlNormalized": "peec.ai/blog",
      "domain": "peec.ai",
      "citationCount": 123,
      "citationPosition": 123
    }
  ],
  "brands_mentioned": [
    {
      "id": "kw_915e742b-396d-4a86-ad57-8bc84e8c2232",
      "name": "Peec AI",
      "position": 123
    }
  ],
  "messages": [
    {
      "role": "user",
      "content": "Example Prompt"
    },
    {
      "role": "assistant",
      "content": "Example Response"
    }
  ],
  "queries": [
    "best AI search tools 2026"
  ],
  "products": [
    {
      "name": "Peec AI Pro",
      "queries": [
        "buy Peec AI Pro online"
      ]
    }
  ],
  "features": [],
  "maps": [
    {
      "name": "J&F Drainage",
      "url": "https://www.google.com/maps/dir/?api=1&destination=53.850994%2C-3.009608"
    }
  ],
  "ads": [
    {
      "brandName": "Whoop",
      "url": "https://www.whoop.com/",
      "cards": [
        {
          "title": "Win Your Routine",
          "body": "Daily guidance for your goals",
          "imageUrl": "https://bzrcdn.openai.com/<hash>.png",
          "targetUrl": "https://join.whoop.com/chatgpt4/?utm_source=chatgpt&utm_medium=cpc"
        }
      ],
      "id": "697cd903185c819684793d8936700e6f",
      "adUnitType": "single_advertiser_ad_unit",
      "adsRequestId": "069eb308-ae3b-7ae5-8000-641914dcb9b0"
    }
  ]
}

Documentation Index

Fetch the complete documentation index at: https://docs.peec.ai/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

X-API-Key
string
header
required

Path Parameters

chat_id
string
required

Query Parameters

project_id
string

Required if using a company api key

Example:

"or_f45b94ba-5e35-4982-93ed-285e72ee14eb"

Response

Success

Success

id
string
required
Example:

"ch_61184892-36ad-4e1a-8178-3a83608f7711"

prompt
object
required
model
object
required
deprecated

Deprecated: use model_channel instead

model_channel
object
required
sources
object[]
required
brands_mentioned
object[]
required
messages
object[]
required
Example:
[
{
"role": "user",
"content": "Example Prompt"
},
{
"role": "assistant",
"content": "Example Response"
}
]
queries
string[]
required
products
object[]
required
features
enum<string>[]
required
Available options:
SHOPPING,
PRODUCT_COMPARISON,
IMAGE,
AD,
MAP,
WEB_SEARCH
maps
object[]
required
ads
object[]
required