Skip to main content

Arguments

articleId : Int! required

The ID of the article to retrieve.

Returns

KnowledgeDatabaseArticle

An article in the Knowledge Database.

Allowed Viewers

Customer Partner User Third party

Required Permissions

Can view knowledge database articles

Query Complexity

5

Examples

The example data in the variables and responses below are autogenerated values designed to resemble real inputs. They do not represent actual customer data, and in some cases may require additional validation.

Query

query KnowledgeDatabaseArticle($articleId: Int!) { knowledgeDatabaseArticle(articleId: $articleId) { archivedAt articleId articleType audience brands { ...KnowledgeDatabaseArticleBrandFragment } createdAt lastRefreshedAt status tags text title url } }

Variables

{ "articleId": 92201978 }

Response

{ "data": { "knowledgeDatabaseArticle": { "archivedAt": "1988-10-06T15:17:14.152701+00:00", "articleId": 90511200, "articleType": "COMPANY_BLOG", "audience": "INTERNAL", "brands": [KnowledgeDatabaseArticleBrand], "createdAt": "1971-08-03T00:07:49.770767+00:00", "lastRefreshedAt": "1983-01-05T04:39:52.471574+00:00", "status": "ACTIVE", "tags": "concern-once-technology-sometimes-someone", "text": "staff-effort-success-pull-bar", "title": "admit-address-sense-economic-body", "url": "person-general-attorney-city-month" } } }