Skip to content

Commit e2fa331

Browse files
authored
Add AI agent availability boolean fields to article schemas in Preview spec (#495)
Add ai_chatbot_availability, ai_copilot_availability, and ai_sales_agent_availability to article_content and article_list_item schemas in the Preview OpenAPI spec (descriptions/0/). - article_content: fields propagate to translated_content per-locale objects - article_list_item: fields appear at top-level article responses - Updated inline response examples for 5 article endpoints Source: intercom/intercom#508483
1 parent cc7763e commit e2fa331

1 file changed

Lines changed: 42 additions & 0 deletions

File tree

descriptions/0/api.intercom.io.yaml

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1249,6 +1249,9 @@ paths:
12491249
created_at: 1734537283
12501250
updated_at: 1734537283
12511251
url: http://help-center.test/myapp-64/en/articles/39-this-is-the-article-title
1252+
ai_chatbot_availability: true
1253+
ai_copilot_availability: true
1254+
ai_sales_agent_availability: true
12521255
schema:
12531256
"$ref": "#/components/schemas/article_list"
12541257
'401':
@@ -1311,6 +1314,9 @@ paths:
13111314
created_at: 1734537288
13121315
updated_at: 1734537288
13131316
url: http://help-center.test/myapp-68/en/articles/42-thanks-for-everything
1317+
ai_chatbot_availability: true
1318+
ai_copilot_availability: true
1319+
ai_sales_agent_availability: true
13141320
schema:
13151321
"$ref": "#/components/schemas/article"
13161322
'400':
@@ -1426,6 +1432,9 @@ paths:
14261432
created_at: 1734537292
14271433
updated_at: 1734537292
14281434
url: http://help-center.test/myapp-74/en/articles/45-this-is-the-article-title
1435+
ai_chatbot_availability: true
1436+
ai_copilot_availability: true
1437+
ai_sales_agent_availability: true
14291438
schema:
14301439
"$ref": "#/components/schemas/article"
14311440
'404':
@@ -1510,6 +1519,9 @@ paths:
15101519
created_at: 1734537297
15111520
updated_at: 1734537298
15121521
url: http://help-center.test/myapp-80/en/articles/48-christmas-is-here
1522+
ai_chatbot_availability: true
1523+
ai_copilot_availability: true
1524+
ai_sales_agent_availability: true
15131525
schema:
15141526
"$ref": "#/components/schemas/article"
15151527
'404':
@@ -1687,6 +1699,9 @@ paths:
16871699
created_at: 1734537306
16881700
updated_at: 1734537306
16891701
url:
1702+
ai_chatbot_availability: true
1703+
ai_copilot_availability: true
1704+
ai_sales_agent_availability: true
16901705
highlights: []
16911706
pages:
16921707
type: pages
@@ -19389,6 +19404,18 @@ components:
1938919404
example:
1939019405
- 1
1939119406
- 2
19407+
ai_chatbot_availability:
19408+
type: boolean
19409+
description: Whether the article is available for AI Chatbot.
19410+
example: true
19411+
ai_copilot_availability:
19412+
type: boolean
19413+
description: Whether the article is available for AI Copilot.
19414+
example: true
19415+
ai_sales_agent_availability:
19416+
type: boolean
19417+
description: Whether the article is available for AI Sales Agent.
19418+
example: true
1939219419
internal_article_list:
1939319420
title: Internal Articles
1939419421
type: object
@@ -19600,6 +19627,21 @@ components:
1960019627
nullable: true
1960119628
description: The ID of the folder this article belongs to, or null if not in a folder.
1960219629
example: 6
19630+
ai_chatbot_availability:
19631+
type: boolean
19632+
description: Whether the article is available for AI Chatbot. For multilingual
19633+
articles, this will be the value of the default language's content.
19634+
example: true
19635+
ai_copilot_availability:
19636+
type: boolean
19637+
description: Whether the article is available for AI Copilot. For multilingual
19638+
articles, this will be the value of the default language's content.
19639+
example: true
19640+
ai_sales_agent_availability:
19641+
type: boolean
19642+
description: Whether the article is available for AI Sales Agent. For multilingual
19643+
articles, this will be the value of the default language's content.
19644+
example: true
1960319645
internal_article_list_item:
1960419646
title: Internal Articles
1960519647
type: object

0 commit comments

Comments
 (0)