Documentation Index
Fetch the complete documentation index at: https://www.plain.com/docs/llms.txt
Use this file to discover all available pages before exploring further.
Using TypeScript? Check out our GraphQL SDK for a fully typed client.
List help centers
query getHelpCenters($first: Int = 50, $after: String) {
helpCenters(first: $first, after: $after) {
edges {
node {
id
type
publicName
internalName
domainSettings {
domainName
customDomainName
}
isDeleted
publishedAt {
iso8601
}
}
}
pageInfo {
hasNextPage
endCursor
}
}
}
Get a help center by ID
query getHelpCenter($id: ID!) {
helpCenter(id: $id) {
id
type
publicName
internalName
description
domainSettings {
domainName
customDomainName
customDomainNameVerifiedAt {
iso8601
}
}
isChatEnabled
publishedAt {
iso8601
}
}
}
{
"id": "hc_01HXXXXXXXXXXXXXXXXXXXXXXX"
}
Get a help center article by ID
query getHelpCenterArticle($id: ID!) {
helpCenterArticle(id: $id) {
id
title
description
icon
contentHtml
slug
status
articleGroup {
id
name
slug
}
}
}
{
"id": "hca_01HXXXXXXXXXXXXXXXXXXXXXXX"
}
Get a help center article by slug
slug is unique within a help center.
query getHelpCenterArticleBySlug($helpCenterId: ID!, $slug: String!) {
helpCenterArticleBySlug(helpCenterId: $helpCenterId, slug: $slug) {
id
title
description
contentHtml
slug
status
}
}
{
"helpCenterId": "hc_01HXXXXXXXXXXXXXXXXXXXXXXX",
"slug": "getting-started"
}