Skip to content

Add agent availability fields to Preview API spec#519

Merged
rotimiy merged 3 commits into
mainfrom
rotimiyemitan/add-agent-availability-fields
May 27, 2026
Merged

Add agent availability fields to Preview API spec#519
rotimiy merged 3 commits into
mainfrom
rotimiyemitan/add-agent-availability-fields

Conversation

@rotimiy
Copy link
Copy Markdown
Contributor

@rotimiy rotimiy commented May 26, 2026

Why?

The three boolean fields ai_chatbot_availability, ai_copilot_availability, and ai_sales_agent_availability were 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. Where fin_availability is now superseded, a deprecation note is added pointing to the new fields.

Generated with Claude Code

… 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>
@rotimiy rotimiy self-assigned this May 26, 2026
rotimiy and others added 2 commits May 26, 2026 17:45
…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>
Copy link
Copy Markdown
Contributor

@kilian-tennyson kilian-tennyson left a comment

Choose a reason for hiding this comment

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

LGTM

@rotimiy rotimiy merged commit 37c9a20 into main May 27, 2026
2 checks passed
@rotimiy rotimiy deleted the rotimiyemitan/add-agent-availability-fields branch May 27, 2026 08:54
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.

2 participants