| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
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>
| Back | FazBrowse Home | New Git URL |
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