- LeadStageHistoryEntry
Browse queries, mutations, and types in the schema reference. For authentication, endpoint URLs, and domain guides, see the API Overview.
A category with its nested child categories included.
Unique code identifier.
The category title.
Description of what this category covers.
Articles directly in this parent category.
Icon identifier.
User ID of the creator.
When this category was created.
User ID of the last modifier.
When this category was last modified.
Parent category ID (for deeper nesting).
The first topic this category belongs to.
Users who have authored articles in this category.
Count of articles, optionally filtered by status.
Nested child categories.
{ "_id": "Example String", "code": "Example String", "title": "Example String", "description": "Example String", "articles": [ { "__typename": "KnowledgeBaseArticle" } ], "icon": "Example String", "createdBy": "Example String", "createdDate": "Example Custom Scalar", "modifiedBy": "Example String", "modifiedDate": "Example Custom Scalar", "parentCategoryId": "Example String", "firstTopic": { "__typename": "KnowledgeBaseTopic" }, "authors": [ { "__typename": "User" } ], "numOfArticles": 40, "childrens": [ { "__typename": "KnowledgeBaseCategory" } ] }
A single search result hit from the knowledge base vector search.
The article ID that matched.
Relevance score (higher is better).
Additional metadata about the match.
Highlighted text snippet showing the matching content.
{ "id": "Example String", "score": 40, "metadata": "Example Custom Scalar", "highlight": "Example String" }
Results from a knowledge base semantic search query.
The original search query.
Total number of matching results.
The search result hits, ordered by relevance.
Source citations for the results.
{ "query": "Example String", "totalResults": 40, "results": [ { "__typename": "KnowledgeBaseSearchHit" } ], "citations": [ "Example Custom Scalar" ] }
A knowledge base topic — the top-level organizational unit. Topics are associated with a brand and contain categories of articles. They can be styled with custom colors and background images.
Unique code identifier for programmatic access.
The topic title.
Description of the topic.
Categories within this topic.
URL of the background image for the topic page.
ISO language code for the topic content (e.g. 'en', 'ar').
User ID of the topic creator.
When this topic was created.
User ID of the last modifier.
When this topic was last modified.
Top-level parent categories within this topic.
{ "_id": "Example String", "code": "Example String", "title": "Example String", "description": "Example String", "categories": [ { "__typename": "KnowledgeBaseCategory" } ], "workspace": { "__typename": "Workspace" }, "color": "Example String", "backgroundImage": "Example String", "languageCode": "Example String", "createdBy": "Example String", "createdDate": "Example Custom Scalar", "modifiedBy": "Example String", "modifiedDate": "Example Custom Scalar", "parentCategories": [ { "__typename": "KnowledgeBaseParentCategory" } ] }
Paginated list of knowledge base topics.
The list of topics for the current page.
Pagination metadata.
{ "data": [ { "__typename": "KnowledgeBaseTopic" } ], "pagination": { "__typename": "PaginationInfo" } }
Single entry in a lead's stage-change history.
{ "stageCode": "Example String", "at": "Example Custom Scalar", "byUserId": "Example String", "note": "Example String" }
{ "latitude": 40, "longitude": 40, "name": "Example String", "address": "Example String" }
{ "lat": 40, "lng": 40, "description": "Example String" }
{ "fieldId": "Example String", "logicOperator": "Example String", "logicValue": "Example Custom Scalar" }
Threading and forwarding context for a message.
The message ID this is replying to.
Whether this message was forwarded.
User IDs mentioned in this message.
{ "replyTo": "Example String", "isForwarded": true, "mentions": [ "Example String" ] }
Delivery status tracking for a message.
Delivery status: 'sending', 'sent', 'delivered', 'seen', 'failed'.
Error message if delivery failed.
{ "status": "Example String", "error": "Example String" }