Skip to content

Add content_segment_ids to article schemas (Preview)#485

Open
dylan-teehan-skc wants to merge 1 commit intomainfrom
dt/add-content-segment-ids-to-articles-preview
Open

Add content_segment_ids to article schemas (Preview)#485
dylan-teehan-skc wants to merge 1 commit intomainfrom
dt/add-content-segment-ids-to-articles-preview

Conversation

@dylan-teehan-skc
Copy link
Copy Markdown

Why?

API consumers need to control which audiences Fin AI Agent and Copilot will serve an article to. Content segment associations exist on articles in the product but weren't exposed through the public API.

How?

Add content_segment_ids (array of integer IDs) to article response schemas, request schemas, and inline response examples in the Preview spec. On create, segments are assigned by ID. On update, the field uses an absent-vs-null pattern — omitting it leaves segments unchanged, sending [] clears them.

Generated with Claude Code

Adds audience targeting field (content_segment_ids) to article response
schemas, request schemas, and inline examples in the Preview API spec.
When set, only users matching these audiences will be served the article
by Fin AI Agent and Copilot.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@dylan-teehan-skc dylan-teehan-skc self-assigned this May 7, 2026
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.

1 participant