Add agent availability fields to Preview API spec#519
Merged
Conversation
… and External Pages Adds ai_chatbot_availability, ai_copilot_availability, and ai_sales_agent_availability boolean fields to the Preview OpenAPI spec for: - Content Snippets: response schema, create/update request schemas, inline examples - Internal Articles: list_item schema, create/update request schemas, inline examples - Articles: create/update request schemas (response already had the fields) - External Pages: ai_sales_agent_availability added to response, create/update request schemas, and inline examples. Update request also gains ai_agent_availability and ai_copilot_availability (previously only had deprecated fin_availability). Companion to monolith PRs that added the implementation (already merged to master). Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
…recated The old integer fields coexist with the new boolean ai_chatbot_availability and ai_copilot_availability fields. Mark the old ones as deprecated to avoid confusion. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Both branches added the same three boolean fields — kept our more descriptive wording (includes "(Fin)" clarification). Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Why?
The three boolean fields
ai_chatbot_availability,ai_copilot_availability, andai_sales_agent_availabilitywere recently added to the underlying API implementation for Content Snippets, Internal Articles, Articles, and External Pages. This PR updates the Preview OpenAPI spec so the published documentation reflects those fields.How?
Add the three boolean fields to schema definitions and inline examples for the affected resources in
descriptions/0/api.intercom.io.yaml. Wherefin_availabilityis now superseded, a deprecation note is added pointing to the new fields.Generated with Claude Code