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.
How to read this changelog
This changelog documents all updates, improvements, and fixes to the Peec Customer API.Changelog Categories
- Breaking Changes: API changes that may require updates to your integration.
- Added: New features or capabilities.
- Changed: Updates to existing functionality that aren’t breaking.
- Deprecated: Features still available but planned for removal.
- Removed: Features removed from the API.
- Fixed: Bug fixes and corrections.
- Security: Updates addressing vulnerabilities or improving security.
Changelog
Added
domain_classificationfilter for Domains and URLs reports New filter on the Get Domains Report and Get URLs Report endpoints to narrow results by domain classification. Operators:in,not_in. Values: array ofCORPORATE,EDITORIAL,INSTITUTIONAL,OTHER,REFERENCE,UGC,COMPETITOR,OWN.url_classificationfilter for URLs Report New filter on the Get URLs Report endpoint to narrow results by URL classification. Operators:in,not_in. Values: array ofHOMEPAGE,CATEGORY_PAGE,PRODUCT_PAGE,LISTICLE,COMPARISON,PROFILE,ALTERNATIVE,DISCUSSION,HOW_TO_GUIDE,ARTICLE,OTHER.
Fixed
total_chat_countNow Respects Filters on Domains Report The Get Domains Report endpoint now applies request filters tototal_chat_count, so the denominator used forretrieval_rateandretrieved_percentagereflects the filtered scope.
Added
- Project Profile Endpoints New Get Project Profile and Set Project Profile endpoints for retrieving and updating the profile of a project.
retrieved_chat_countandtotal_chat_counton Domains Report The Get Domains Report endpoint now returnsretrieved_chat_count(distinct chats in which at least one URL from the domain was retrieved) andtotal_chat_count(total chats in scope for the result, used as the denominator forretrieval_rateandretrieved_percentage).
Added
order_byParameter on Report Endpoints The Get Brands Report, Get Domains Report, and Get URLs Report endpoints now accept an optionalorder_byarray to sort results by one or more fields. Each entry takes afieldand adirection(ascordesc, defaults todesc); multiple entries create a multi-key sort.- Brands report sortable fields:
visibility,visibility_count,mention_count,sentiment,position,share_of_voice. - Domains report sortable fields:
citation_rate,retrieval_count,citation_count. - URLs report sortable fields:
retrieval_count,retrievals,citation_count,citation_rate.
- Brands report sortable fields:
retrieval_countandcitation_counton Domains Report The Get Domains Report endpoint now returnsretrieval_count(total distinct URL retrievals from the domain across all chats) andcitation_count(total citations from the domain).retrieval_counton URLs Report The Get URLs Report endpoint now returnsretrieval_count— the total number of distinct chats that retrieved the URL.
Deprecated
retrievalson URLs Report Theretrievalsfield on Get URLs Report is deprecated. Useretrieval_countinstead.
Added
totalCounton List Endpoints The List Brands, List Chats, List Prompts, List Tags, List Topics, List Fanout Search Queries, and List Fanout Shopping Queries endpoints now return atotalCountfield — the total number of matching results across all pages, for building paginated experiences.
Added
- Get Brand Suggestions Endpoint New Get Brand Suggestions endpoint for listing AI-generated brand suggestions for your project.
- Accept Brand Suggestion Endpoint New Accept Brand Suggestion endpoint to accept a brand suggestion, converting it into a brand.
- Reject Brand Suggestion Endpoint New Reject Brand Suggestion endpoint to reject a brand suggestion, removing it from the project.
Deprecated
model_idfilters andmodel.idin responses Themodel_idfilter and themodel.idfield in responses are deprecated in favor of model channels. Amodel_idfilter is now resolved to its channel (e.g.gpt-4o→openai) and matches every result on that channel, regardless of the underlying model version. Themodel.idfield in responses now always reflects the channel’s current model, not the model that originally produced the result. Migrate tomodel_channel_idfilters and themodel_channelobject in responses for stable behavior as model IDs are introduced and renamed.
Added
- List Model Channels Endpoint New List Model Channels endpoint returning all available model channels with their current model, description, and active status.
model_channelson List Models Endpoint The List Models endpoint now returns amodel_channelsarray on each model, listing the channels it belongs to (a model can belong to more than one).model_channelon Chat Endpoints The List Chats and Get Chat endpoints now return amodel_channelobject. List Chats also accepts an optionalmodel_channel_idquery parameter for filtering.model_channelon Query Endpoints The List Fanout Search Queries and List Fanout Shopping Queries endpoints now return amodel_channelobject and supportmodel_channel_idas a filter.model_channel_idDimension and Filter on Report Endpoints The Get Brands Report, Get Domains Report, and Get URLs Report endpoints now supportmodel_channel_idas a dimension and filter, with an optionalmodel_channelobject in the response.
Added
namefield on List Models endpoint Model objects returned by List Models now include anamefield — a human-readable display name (e.g. ChatGPT, Perplexity).channel_titlefield on URLs report The Get URLs Report response now includes an optionalchannel_titlefield (e.g. YouTube channel name, subreddit).mentioned_brandsfield on Domains and URLs reports The Get Domains Report and Get URLs Report endpoints now return amentioned_brandsarray on each row — a list of brand objects mentioned alongside each domain/URL.mentioned_brand_idfilter for Domains and URLs reports New filter on the Get Domains Report and Get URLs Report endpoints to narrow results by which brands were mentioned in sources. Operators:in,not_in. Values: array of brand ID strings.mentioned_brand_countfilter for Domains and URLs reports New filter on the Get Domains Report and Get URLs Report endpoints to narrow results by the number of distinct brands mentioned. Operators:gt,gte,lt,lte. Value: integer >= 0.gapfilter for Domains and URLs reports New filter on the Get Domains Report and Get URLs Report endpoints to find sources where competitors are mentioned but your own brand is not — useful for identifying content gaps. Operators:gt,gte,lt,lte. Value: integer >= 0 (minimum number of competitor mentions).
Added
- Get Topic Suggestions Endpoint New Get Topic Suggestions endpoint for listing AI-generated topic suggestions for your project.
- Get Prompt Suggestions Endpoint New Get Prompt Suggestions endpoint for listing AI-generated prompt suggestions, with optional filtering by
topic_id. - Accept Topic Suggestion Endpoint New Accept Topic Suggestion endpoint to accept a topic suggestion, converting it into a regular topic.
- Reject Topic Suggestion Endpoint New Reject Topic Suggestion endpoint to reject a topic suggestion, removing it and its associated prompt suggestions.
- Accept Prompt Suggestion Endpoint New Accept Prompt Suggestion endpoint to accept a prompt suggestion, creating a new prompt from it.
- Reject Prompt Suggestion Endpoint New Reject Prompt Suggestion endpoint to reject a prompt suggestion, removing it from the suggestions list.
Added
- Update Prompt Endpoint New Update Prompt endpoint allowing you to assign tags and topics to prompts.
- Filter Parameters on Get Prompts Endpoint The Get Prompts endpoint now supports optional
topic_idandtag_idquery parameters, allowing you to filter prompts by topic and tags.
Added
- Prompt Management Endpoints New Create Prompt and Delete Prompt endpoints for managing prompts via the API.
- Brand Management Endpoints New Create Brand, Update Brand, and Delete Brand endpoints for managing brands via the API.
- Tag Management Endpoints New Create Tag, Update Tag, and Delete Tag endpoints for managing tags via the API.
- Topic Management Endpoints New Create Topic, Update Topic, and Delete Topic endpoints for managing topics via the API.
Added
chat_idDimension and Filter on Report Endpoints All report endpoints now supportchat_idas a dimension and filter.
Added
- Filter Parameters on Get Chats Endpoint The Get Chats endpoint now supports optional
brand_id,model_id, andprompt_idquery parameters, allowing you to filter chat results by brand, AI model, and prompt. is_ownProperty on Get Brands Endpoint The Get Brands endpoint now returns anis_ownproperty on each brand, allowing you to differentiate between your own brands and competitor brands.
Added
country_codeDimension and Filter on Report Endpoints All report endpoints now supportcountry_codeas a dimension and filter.- Retrieval Metrics on Domains Report The Get Domains Report endpoint now returns
retrieved_percentage,retrieval_rate, andcitation_ratemetrics. - Retrieval Metrics on URLs Report The Get URLs Report endpoint now returns
retrievalsandcitation_ratemetrics.
Deprecated
citation_avg,usage_count,usage_rateon Report Endpoints These metrics are deprecated and will eventually be removed in a future version. Use the new retrieval metrics instead.
Added
dateDimension on Report Endpoints The Get Brands Report, Get Domains Report, and Get URLs Report endpoints now supportdateas a dimension, enabling daily breakdowns of report data within a single API call.
Added
- Get Fanout Search Queries Endpoint New Get Fanout Search Queries endpoint for retrieving expanded search queries generated during chat conversations, enabling analysis of how AI models fan out user prompts into multiple search queries.
- Get Fanout Shopping Queries Endpoint New Get Fanout Shopping Queries endpoint for retrieving shopping-related queries and product data captured in AI model responses, enabling insights into product recommendations and shopping search behavior.
Breaking Changes
normalizedUrlremoved from URL Reports ThenormalizedUrlfield has been removed from the Get URLs Report endpoint. URLs in the response are now returned already normalized, making this field redundant.
Changed
- Significant Performance Improvements Report endpoints have been optimized for significantly improved response times across all report queries.
- Zero-Visibility Datapoints Included in Brands Report The Get Brands Report endpoint now returns datapoints for brand + dimension combinations even when they have 0 visibility. Previously, these combinations were omitted from the response.
Added
- Filters on Report Endpoints The Get Brands Report, Get Domains Report, and Get URLs Report endpoints now support a
filtersarray, allowing you to filter results bymodel_id,tag_id,topic_id,prompt_id,brand_id,domain, andurlusinginandnot_inoperators. share_of_voiceandmention_countadded to Brands Report The Get Brands Report endpoint now returnsshare_of_voiceandmention_countfields, providing additional brand performance metrics.
Added
- Fanout Search Queries in Get Chat API The Get Chat endpoint now returns fanout search queries, providing visibility into the expanded search queries generated during chat conversations.
- Shopping Products and Queries in Get Chat API The Get Chat endpoint now returns shopping products and their associated queries, enabling insights into product recommendations and shopping-related search behavior.
Added
- New aggregation attributes in Get Brands Report The Get Brands Report endpoint now returns additional attributes (
sentiment_sum,sentiment_count,position_count,position_sum,visibility_count,visibility_total) enabling more flexible aggregations and analytics calculations.
Added
- URL and Domain Classification field added The Get Domains Report and Get URLs Report endpoints now return a
classificationfield for each domain and URL, providing insights into content categories and types.
Added
- Project Status field added The Get Projects endpoint now returns a
statusfield for each project, enabling better visibility into project lifecycle and state.
Changed
- Pagination max limit increased The maximum pagination limit has been increased from 1,000 to 10,000 records per request, allowing for more efficient bulk retrieval.
Added
- Topics and Tags in Get Prompts API The Get Prompts endpoint now returns
tagsandtopicsfields for each prompt, allowing for better categorization and filtering of prompts.
Added
- Topics and Tags as Report Dimensions Topics and tags are now available as report dimensions in the API, enabling more granular filtering and analysis of report data.
- Prompt Volume in Get Prompts API The Get Prompts endpoint now returns a
volumefield, providing insight into prompt usage and frequency. - Mentioned Brands in Get Chat API The Get Chat endpoint now returns a
brands_mentionedfield, providing visibility into which brands are referenced in chat conversations.
