Skip to content

feat: Add ai_topics schema to conversation response#385

Merged
niall-trinder merged 2 commits intomainfrom
niall/add-ai-topics-schema
Mar 11, 2026
Merged

feat: Add ai_topics schema to conversation response#385
niall-trinder merged 2 commits intomainfrom
niall/add-ai-topics-schema

Conversation

@niall-trinder
Copy link
Copy Markdown
Contributor

Why?

PR intercom/intercom#473877 adds a new ai_topics structured field to the Conversation API response, containing AI-generated topics and subtopics. The public OpenAPI spec needs to document this new field.

How?

Adds ai_topics, ai_topic, and ai_subtopic component schemas to the unstable spec and references ai_topics (nullable) in the conversation schema.

Generated with Claude Code

niall-trinder and others added 2 commits February 25, 2026 16:15
Add ai_topics, ai_topic, and ai_subtopic component schemas to document
the new AI-generated topic/subtopic data on conversation responses.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
…_topics

ai_subtopic.id is always present, and ai_topics returns {} not null.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@niall-trinder niall-trinder marked this pull request as ready for review March 9, 2026 17:03
@niall-trinder niall-trinder requested review from a team and misterbyrne March 11, 2026 10:28
Copy link
Copy Markdown

@neil-peirce neil-peirce left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Best to get a review from the code owners here to be sure it's correct.

@niall-trinder niall-trinder merged commit 5b01fc5 into main Mar 11, 2026
3 checks passed
@niall-trinder niall-trinder deleted the niall/add-ai-topics-schema branch March 11, 2026 15:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants