c.l.cladDocs

Types

Object, input, enum, and scalar types referenced by the API operations.

Object, input, enum, and scalar types referenced by the operations above. Fields marked ! are non-null.

List queries return a connection ({ edges { node } pageInfo }) — see Pagination. Mutations return a result payload that wraps the affected object plus an error field — see Errors. Those wrapper types are omitted below; the objects they wrap are documented here.

Objects

Account

A customer account (company) in the org's CRM.

FieldTypeDescription
arrAmountFloat
arrCadenceStringmonthly
channelNameString
companyNameString
contractNextRenewalStringNext upcoming renewal date, rolled forward by cadence.
contractNotesString
contractRenewalDateStringISO date of the contract anchor renewal.
contractSeatsInt
createdAtDateTime
customDataJSON
idID
lastActivityAtDateTime
logoUrlString
notesString
ownerIdIDProfile id of the account owner (org member), if any.
primaryDomainString
projectedArrFloatAnnualized ARR derived from amount x cadence.
tags[String!]
updatedAtDateTime

AccountView

A saved filter/view for the Accounts surface (org-wide).

FieldTypeDescription
configJSON
createdAtDateTime
createdByIDOpaque Profile id of the view's creator.
idID
isStarredBoolean
nameString
updatedAtDateTime

ApiKey

Metadata for a graph-native API key. The secret is only returned at mint time.

FieldTypeDescription
createdAtDateTime
expiresAtDateTime
idID
keyPrefixString
lastUsedAtDateTime
machineUserIdID
nameString
revokedAtDateTime
scopes[String!]

Article

A knowledge-base article.

FieldTypeDescription
collectionIdID
contentString
createdAtDateTime
idID
isAiGeneratedBoolean
publishedAtDateTime
slugString
statusArticleStatus
titleString
updatedAtDateTime
visibilityArticleVisibility

ArticleTemplate

A reusable starting-point template for new KB articles.

FieldTypeDescription
contentString
createdAtDateTime
createdByIDOpaque Profile id of the creator (null for machine-created templates).
idID
nameString
updatedAtDateTime

AutoResponseSettings

Org-level AI auto-response configuration.

FieldTypeDescription
enabledBoolean
ignoredAccountIds[ID!]Accounts whose issues never receive auto-responses.
kbScopeJSONKnowledge-base scope: { mode: all
promptString

Collection

A knowledge-base collection (folder) grouping articles.

FieldTypeDescription
createdAtDateTime
descriptionString
iconString
idID
nameString
updatedAtDateTime

Contact

A contact (end user) in the org's CRM, optionally linked to an account.

FieldTypeDescription
accountIdID
avatarUrlString
createdAtDateTime
customDataJSON
emailString
idID
nameString
updatedAtDateTime

CustomField

A custom-field (metadata) definition for accounts or contacts.

FieldTypeDescription
defaultValueString
descriptionString
fieldKeyString
fieldTypeCustomFieldType
idID
labelString
optionsJSON
positionInt
widthInt

FeaturedArticle

An explicitly pinned help-center homepage article. Unavailable pins remain listed so clients can preserve or reorder them.

FieldTypeDescription
collectionIdID
idID
isAvailableBooleanWhether the article is currently eligible to render publicly: published, public, listed, and in an included collection.
isUnlistedBoolean
positionIntZero-based manual homepage position.
slugString
statusArticleStatus
titleString
unavailableReasonStringStable reason the retained pin is hidden, or null when available.
updatedAtDateTime
visibilityArticleVisibility

FeaturedArticleCandidate

Lightweight metadata for a live article eligible for a new homepage pin.

FieldTypeDescription
collectionIdID
currentPositionIntCurrent zero-based pin position, or null when the article is not pinned.
idID
slugString
titleString
updatedAtDateTime

Issue

A support issue (ticket) in an organization's inbox.

FieldTypeDescription
accountAccountThe linked CRM account, if any. Requires accounts:read.
accountIdIDOpaque Account id this issue is linked to, if any.
assignedToIDOpaque Profile id of the assigned org member, if any.
contactContactThe linked CRM contact (requester), if any. Requires contacts:read.
contactIdIDOpaque Contact id of the requester, if linked.
createdAtDateTime
followers[Profile!]Org members following this issue. Requires members:read.
idID
intakeSourceString
isSpamBoolean
isTrashedBoolean
lastMessageAtDateTime
lastMessagePreviewString
manualTeamIds[ID!]Opaque Team ids assigned directly on this issue (excludes account-inherited teams).
messagesMessageConnectionThread messages for this issue, oldest first (cursor-paginated).
priorityIssuePriority
statusIssueStatus
subjectString
tags[String!]
teamIds[ID!]Opaque Team ids routed to this issue (manual assignments merged with teams inherited from the linked account).
ticketNumberInt
updatedAtDateTime

MachineUser

A non-human API principal (service account) that owns API keys.

FieldTypeDescription
createdAtDateTime
idID
isActiveBoolean
nameString
publicDisplayNameString

Member

An organization membership (a person + their role in the org).

FieldTypeDescription
createdAtDateTime
idID
profileProfile
profileIdID
roleString

Message

A single message in an issue's thread (inbound or outbound).

FieldTypeDescription
attachmentsJSON
bodyString
createdAtDateTime
directionString
externalMessageIdString
idID
isInternalBoolean
senderAvatarUrlString
senderNameString
senderTypeString

Node

An object with a globally unique opaque ID (Relay global object identification).

FieldTypeDescription
idIDGlobally unique opaque id.

Profile

A person's profile (org member / team member).

FieldTypeDescription
availabilityString
avatarUrlString
displayNameString
emailString
idID

SlaPolicy

An SLA policy (evaluation order = priorityOrder ascending). Read-only in API v1.

FieldTypeDescription
conditionJsonJSON
createdAtDateTime
descriptionString
idID
isActiveBoolean
isDefaultBoolean
nameString
priorityFilter[String!]Issue priorities this policy applies to (null = all).
priorityOrderInt
scheduleIdIDOpaque SupportHoursSchedule id the timers run against (null = 24/7).
scopeString
teamIdIDOpaque Team id when the policy is team-scoped.
updatedAtDateTime
versions[SlaPolicyVersion!]Version history, newest first (versions[0] is in force).

SlaPolicyVersion

An immutable version of an SLA policy's timing targets.

FieldTypeDescription
createdAtDateTime
firstResponseMinutesInt
idID
nextResponseMinutesInt
pauseOnStatuses[String!]
prebreachMinutesInt
resolutionMinutesInt
versionNumberInt

SupportHoursHoliday

FieldTypeDescription
holidayDateStringISO date (YYYY-MM-DD).
idID
nameString

SupportHoursInterval

FieldTypeDescription
dayOfWeekInt0 = Sunday … 6 = Saturday.
endTimeString
idID
startTimeStringHH:MM (schedule timezone).

SupportHoursSchedule

A business-hours schedule SLA timers can run against. Read-only in API v1.

FieldTypeDescription
createdAtDateTime
holidays[SupportHoursHoliday!]
idID
intervals[SupportHoursInterval!]
isDefaultBoolean
nameString
timezoneString

Tag

A workspace tag applied to issues and accounts.

FieldTypeDescription
colorString
createdAtDateTime
idID
nameString

Team

A team within an organization.

FieldTypeDescription
createdAtDateTime
idID
members[TeamMember!]
nameString
updatedAtDateTime

TeamMember

FieldTypeDescription
idID
profileProfile

WebhookDelivery

One delivery attempt record for an event → endpoint pair (debug surface).

FieldTypeDescription
attemptCountInt
createdAtDateTime
eventIdStringConsumer-side dedupe key (also the clad-webhook-id header).
eventTypeString
idID
lastAttemptAtDateTime
lastErrorString
nextAttemptAtDateTime
payloadJSON
responseStatusInt
statusStringpending

WebhookEndpoint

A customer-registered webhook receiver. The signing secret is returned exactly once (create/rotate) and never readable again.

FieldTypeDescription
createdAtDateTime
descriptionString
events[String!]Subscribed event types ("*" = all).
idID
isActiveBoolean
updatedAtDateTime
urlString

Widget

A web chat widget's configuration (the product-platform surface: toggles, theme, launcher, features).

FieldTypeDescription
aiJSON
allowedOrigins[String!]
createdAtDateTime
enabledBoolean
featuresJSON
idID
identityJSON
isDefaultBoolean
launcherJSON
localeString
nameString
routingJSON
themeJSON
updatedAtDateTime

WidgetForm

A structured intake form rendered by the web widget.

FieldTypeDescription
createdAtDateTime
descriptionString
enabledBoolean
fieldsJSON
idID
nameString
slugString
updatedAtDateTime

WorkspaceSettings

Org-level workspace toggles: email signature, trash retention, reactions behavior.

FieldTypeDescription
emailSignatureString
issueClosedAutoArchiveDaysIntAuto-archive closed issues out of the Closed column after N days (null = never; 7, 14, 30, or 90). Display-only; archived issues stay in search, analytics, and AI context.
issueTrashAutoClearDaysIntAuto-clear trashed issues after N days (null = never; 30 or 90).
reactionsChangeStatusBoolean

Input objects

CreateAccountInput

FieldTypeDescription
arrAmountFloat
arrCadenceStringmonthly
companyNameString!
contractNotesString
contractRenewalDateStringISO date (YYYY-MM-DD).
contractSeatsInt
customDataJSON
logoUrlString
notesString
ownerIdIDProfile id of the org member who owns this account.
primaryDomainString
tags[String!]

CreateAccountViewInput

FieldTypeDescription
configJSON
isStarredBoolean
nameString!

CreateApiKeyInput

FieldTypeDescription
expiresAtDateTime
machineUserIdID!
nameString
scopes[String!]!

CreateArticleInput

FieldTypeDescription
collectionIdID
contentString
slugString
statusArticleStatus
titleString!
visibilityArticleVisibility

CreateArticleTemplateInput

FieldTypeDescription
contentString
nameString!

CreateCollectionInput

FieldTypeDescription
descriptionString
iconString
nameString!

CreateContactInput

FieldTypeDescription
accountIdID
customDataJSON
emailString
nameString!

CreateCustomFieldInput

FieldTypeDescription
defaultValueString
descriptionString
entityCustomFieldEntity!
fieldTypeCustomFieldType!
labelString!
optionsJSON
positionIntColumn position; defaults to the end.
widthInt

CreateIssueInput

FieldTypeDescription
accountIdID
bodyString!
contactIdID
externalIdString
idempotencyKeyString
priorityIssuePriority
requesterEmailString
requesterNameString
subjectString!
tags[String!]

CreateMachineUserInput

FieldTypeDescription
nameString!
publicDisplayNameString

CreateTagInput

FieldTypeDescription
colorString
nameString!

CreateWebhookEndpointInput

FieldTypeDescription
descriptionString
events[String!]Event types to subscribe to; omit or ["*"] for all.
urlString!HTTPS receiver URL.

CreateWidgetFormInput

FieldTypeDescription
descriptionString
enabledBoolean
fieldsJSONArray of field definitions.
nameString!
slugString!Lowercase letters/numbers/hyphens; unique per org.

DeleteCustomFieldInput

FieldTypeDescription
entityCustomFieldEntity!
idID!

ReplaceFeaturedArticlesInput

The complete ordered homepage pin set. Omitted prior pins are unpinned; an empty list restores automatic recency.

FieldTypeDescription
articleIds[ID!]!Up to 6 unique opaque Article ids in the desired order.

ReplyToIssueInput

FieldTypeDescription
bodyString!
isInternalBoolean
issueIdID!

UpdateAccountInput

FieldTypeDescription
arrAmountFloat
arrCadenceStringmonthly
companyNameString
contractNotesString
contractRenewalDateStringISO date (YYYY-MM-DD); null to clear.
contractSeatsInt
customDataJSONMerged into existing custom data (per-key set; pass a null value to clear a key; pass null to clear all user-defined keys). Clad-reserved system keys (merge/integration metadata) are ignored on write and survive a clear.
idID!
logoUrlString
notesString
ownerIdIDProfile id of the org member who owns this account; null to clear.
primaryDomainString
tags[String!]

UpdateAccountViewInput

FieldTypeDescription
configJSON
idID!
isStarredBoolean
nameString

UpdateArticleInput

FieldTypeDescription
collectionIdID
contentString
idID!
slugString
statusArticleStatus
titleString
visibilityArticleVisibility

UpdateArticleTemplateInput

FieldTypeDescription
contentString
idID!
nameString

UpdateAutoResponseInput

FieldTypeDescription
enabledBoolean
ignoredAccountIds[ID!]Account ids whose issues never receive auto-responses.
kbScopeJSON{ mode: all
promptString

UpdateCollectionInput

FieldTypeDescription
descriptionStringExplicit null clears the description.
iconStringExplicit null resets to the default icon.
idID!
nameString

UpdateContactInput

FieldTypeDescription
accountIdID
customDataJSON
emailString
idID!
nameString

UpdateCustomFieldInput

FieldTypeDescription
defaultValueStringnull clears.
descriptionStringnull clears.
entityCustomFieldEntity!
fieldTypeCustomFieldType
idID!
labelString
optionsJSON
positionIntColumn position (drag-order).
widthIntnull clears (falls back to default width).

UpdateTagInput

FieldTypeDescription
colorString
idID!
nameString

UpdateWebhookEndpointInput

FieldTypeDescription
descriptionStringnull clears.
events[String!]
idID!
isActiveBoolean
urlString

UpdateWidgetFormInput

FieldTypeDescription
descriptionString
enabledBoolean
fieldsJSON
idID!
nameString
slugString

UpdateWidgetInput

FieldTypeDescription
aiJSON
allowedOrigins[String!]
enabledBoolean
featuresJSON
idID!
identityJSON
launcherJSON
localeString
nameString
routingJSON
themeJSON

UpdateWorkspaceSettingsInput

FieldTypeDescription
emailSignatureStringSignature appended to outbound email replies; null to clear.
issueClosedAutoArchiveDaysIntnull = never, 7, 14, 30, or 90.
issueTrashAutoClearDaysIntnull = never, 30, or 90.
reactionsChangeStatusBoolean

Enums

ArticleStatus

draft · published

ArticleVisibility

ai_agent_only · customer · internal · public

CustomFieldEntity

account · contact

CustomFieldType

boolean · date · datetime · multi_select · number · select · text · url · user

InboxTarget

all · following · my · spam · trash

IssuePriority

high · low · normal · urgent

IssueSortKey

createdAt · updatedAt

IssueStatus

closed · new · on_customer · on_hold · on_you

Scalars

  • DateTime — Custom scalar.
  • JSON — Custom scalar.