Skip to content

HighLevel: Knowledge base schemas

32 HighLevel schemas with complete fields and constraints.

← Knowledge base operations · All schemas

Create a new FAQ inside knowledge base — request body — body

FieldTypePresenceDescription and constraints
$objectRoot
answerstringRequired within parentfaq answer as a string
knowledgeBaseIdstringRequired within parentknowledge base ID as string
locationIdstringRequired within parentlocation ID as string
questionstringRequired within parentfaq question as a string

Create a new FAQ inside knowledge base — response body

FieldTypePresenceDescription and constraints
$objectRoot
faqJSONRequired within parentCreated FAQ details
faq (allOf 1)ModelAll variants applyExpand Get all FA Qs by knowledge base with pagination support — response body — faqs item
successbooleanRequired within parentSuccess status of the operation

Referenced models: Get all FA Qs by knowledge base with pagination support — response body — faqs item

Create a new knowledge base (max 15 knowledge bases per location) — request body — body

FieldTypePresenceDescription and constraints
$objectRoot
descriptionstringOptional
locationIdstringRequired within parent
namestringRequired within parent

Create a new knowledge base (max 15 knowledge bases per location) — response body

FieldTypePresenceDescription and constraints
$objectRoot
dataJSONRequired within parentCreated knowledge base details
data (allOf 1)ModelAll variants applyExpand Create a new knowledge base (max 15 knowledge bases per location) — response body — data created At, deleted, id, kb Metadata, location Id, name, name Lower Case, updated At
successbooleanRequired within parentSuccess status of the operation

Referenced models: Create a new knowledge base (max 15 knowledge bases per location) — response body — data created At, deleted, id, kb Metadata, location Id, name, name Lower Case, updated At

Create a new knowledge base (max 15 knowledge bases per location) — response body — data created At, deleted, id, kb Metadata, location Id, name, name Lower Case, updated At

FieldTypePresenceDescription and constraints
$objectRoot
createdAtstringRequired within parentDate when knowledge base was created
deletedbooleanRequired within parentWhether the knowledge base is deleted
idstringRequired within parentKnowledge base ID
kbMetadataobjectRequired within parentKnowledge base metadata
locationIdstringRequired within parentLocation ID
namestringRequired within parentKnowledge base name
nameLowerCasestringRequired within parentKnowledge base name in lowercase
updatedAtstringRequired within parentDate when knowledge base was last updated

Delete a knowledge base — response body

FieldTypePresenceDescription and constraints
$objectRoot
successbooleanRequired within parent

Delete an existing knowledge base FAQ — response body

FieldTypePresenceDescription and constraints
$objectRoot
successbooleanRequired within parentSuccess status of the delete operation

Delete trained pages — request body — body

FieldTypePresenceDescription and constraints
$objectRoot
knowledgeBaseIdstringRequired within parentknowledge base ID as string
locationIdstringRequired within parentlocation ID as string
urlIdsarrayRequired within parentList of trained urls ids ( fetched from the Get all trained page links by knowledge base endpoint)
urlIds[]stringEach item

Delete trained pages — response body

FieldTypePresenceDescription and constraints
$objectRoot
successbooleanRequired within parentIndicates if the operation was successful

Get all FA Qs by knowledge base with pagination support — response body

FieldTypePresenceDescription and constraints
$objectRoot
countJSONRequired within parent
count (anyOf 1)numberAlternativeTotal count of all FAQs in the knowledge base
count (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
faqsarrayRequired within parentArray of FAQ objects
faqs[]ModelEach itemExpand Get all FA Qs by knowledge base with pagination support — response body — faqs item
hasMorebooleanOptionalWhether there are more FAQs available
lastFaqIdstringOptionalLast FAQ ID for pagination (use as lastFaqId in next request)

Referenced models: Get all FA Qs by knowledge base with pagination support — response body — faqs item

Get all FA Qs by knowledge base with pagination support — response body — faqs item

FieldTypePresenceDescription and constraints
$objectRoot
answerstringRequired within parentFAQ answer
createdAtstringRequired within parentDate when FAQ was created
deletedbooleanRequired within parentWhether the FAQ is deleted
idstringRequired within parentFAQ ID as string
knowledgeBaseIdstringRequired within parentKnowledge base ID
locationIdstringRequired within parentLocation ID
questionstringRequired within parentFAQ question
questionLowerCasestringRequired within parentFAQ question in lowercase
trainedUrlIdstringRequired within parentTrained URL ID
updatedAtstringRequired within parentDate when FAQ was last updated

Get all knowledge bases for a location by location Id (paginated) — response body

FieldTypePresenceDescription and constraints
$objectRoot
dataJSONRequired within parentPaginated knowledge bases data
data (allOf 1)ModelAll variants applyExpand Get all knowledge bases for a location by location Id (paginated) — response body — data active Count, has More, knowledge Bases, last Knowledge Base Id
successbooleanRequired within parentSuccess status of the operation

Referenced models: Get all knowledge bases for a location by location Id (paginated) — response body — data active Count, has More, knowledge Bases, last Knowledge Base Id

Get all knowledge bases for a location by location Id (paginated) — response body — data active Count, has More, knowledge Bases, last Knowledge Base Id

FieldTypePresenceDescription and constraints
$objectRoot
activeCountJSONRequired within parent
activeCount (anyOf 1)numberAlternativeTotal count of all active knowledge bases
activeCount (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
hasMorebooleanRequired within parentWhether there are more knowledge bases available
knowledgeBasesarrayRequired within parentArray of knowledge bases
knowledgeBases[]ModelEach itemExpand Get all knowledge bases for a location by location Id (paginated) — response body — data active Count, has More, knowledge Bases, last Knowledge Base Id knowledge Bases item
lastKnowledgeBaseIdstringOptionalID of the last knowledge base in this page (use for next page request)

Referenced models: Get all knowledge bases for a location by location Id (paginated) — response body — data active Count, has More, knowledge Bases, last Knowledge Base Id knowledge Bases item

Get all knowledge bases for a location by location Id (paginated) — response body — data active Count, has More, knowledge Bases, last Knowledge Base Id knowledge Bases item

FieldTypePresenceDescription and constraints
$objectRoot
createdAtstringRequired within parentDate when knowledge base was created
idstringRequired within parentKnowledge base ID
namestringRequired within parentKnowledge base name

Get all trained page links by knowledge base — response body

FieldTypePresenceDescription and constraints
$objectRoot
countJSONRequired within parent
count (anyOf 1)numberAlternativeTotal count of URLs in the knowledge base
count (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
urlsarrayRequired within parentArray of crawled URLs with their details
urls[]ModelEach itemExpand Get all trained page links by knowledge base — response body — urls item

Referenced models: Get all trained page links by knowledge base — response body — urls item

Get all trained page links by knowledge base — response body — urls item

FieldTypePresenceDescription and constraints
$objectRoot
contentstringRequired within parentURL to the stored content file
contentEditedByUserbooleanRequired within parentWhether the content was edited by user
idstringRequired within parentUnique identifier for the URL
knowledgeBaseIdstringRequired within parentKnowledge base ID this URL belongs to
locationIdstringRequired within parentLocation ID associated with this URL
statusstringRequired within parentCurrent processing status of the URL
Known values: Pending, Processing, Successful, Failed, Existing, Restricted, Cancelled, Aborted, Training
titlestringRequired within parentTitle of the webpage
updatedAtstringRequired within parentLast updated timestamp
urlstringRequired within parentThe actual URL that was crawled

Get crawling status for the latest operation — response body

FieldTypePresenceDescription and constraints
$objectRoot
dataJSONRequired within parentDetailed crawling status data
data (allOf 1)ModelAll variants applyExpand Get crawling status for the latest operation — response body — data aggregate, operation Details
successbooleanRequired within parentIndicates if the operation was successful

Referenced models: Get crawling status for the latest operation — response body — data aggregate, operation Details

Get crawling status for the latest operation — response body — data / aggregate, operationDetails / operationDetails / mode: Exact, Path, Domain

FieldTypePresenceDescription and constraints
$objectRoot
__vJSONRequired within parent
__v (anyOf 1)numberAlternativeVersion field
__v (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
_idstringRequired within parentOperation unique identifier
createdAtstringRequired within parentOperation creation timestamp
discoveredUrlsCountJSONRequired within parent
discoveredUrlsCount (anyOf 1)numberAlternativeNumber of URLs discovered
discoveredUrlsCount (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
knowledgeBaseIdstringRequired within parentKnowledge base ID
locationIdstringRequired within parentAssociated location ID
modestringRequired within parentCrawling mode used
Known values: Exact, Path, Domain
robotsFileDatastringOptionalRobots.txt file content
statusstringRequired within parentCurrent operation status
Known values: Pending, Processing, Successful, Failed, Existing, Restricted, Cancelled, Aborted, Training
trainedUrlsCountJSONRequired within parent
trainedUrlsCount (anyOf 1)numberAlternativeNumber of URLs successfully trained
trainedUrlsCount (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
updatedAtstringRequired within parentLast update timestamp
urlstringRequired within parentBase URL being crawled

Get crawling status for the latest operation — response body — data aggregate, operation Details

FieldTypePresenceDescription and constraints
$objectRoot
aggregatearrayRequired within parentAggregated crawling results by status
aggregate[]ModelEach itemExpand Get crawling status for the latest operation — response body — data aggregate, operation Details aggregate item
operationDetailsJSONRequired within parentDetailed operation information
operationDetails (allOf 1)ModelAll variants applyExpand Get crawling status for the latest operation — response body — data / aggregate, operationDetails / operationDetails / mode: Exact, Path, Domain

Referenced models: Get crawling status for the latest operation — response body — data aggregate, operation Details aggregate item, Get crawling status for the latest operation — response body — data / aggregate, operationDetails / operationDetails / mode: Exact, Path, Domain

Get crawling status for the latest operation — response body — data aggregate, operation Details aggregate item

FieldTypePresenceDescription and constraints
$objectRoot
_idstringRequired within parentStatus grouping identifier
Known values: Pending, Processing, Successful, Failed, Existing, Restricted, Cancelled, Aborted, Training
recordsarrayRequired within parentArray of records for this status
records[]ModelEach itemExpand Get crawling status for the latest operation — response body — data aggregate, operation Details aggregate item records item

Referenced models: Get crawling status for the latest operation — response body — data aggregate, operation Details aggregate item records item

Get crawling status for the latest operation — response body — data aggregate, operation Details aggregate item records item

FieldTypePresenceDescription and constraints
$objectRoot
errorJSONOptionalError details (for failed records)
error (allOf 1)ModelAll variants applyExpand Get crawling status for the latest operation — response body — data aggregate, operation Details aggregate item records item error message, name, options, response, stack, status
idstringRequired within parentUnique record identifier
titlestringOptionalPage title (for successful/pending records)
urlstringRequired within parentURL being crawled

Referenced models: Get crawling status for the latest operation — response body — data aggregate, operation Details aggregate item records item error message, name, options, response, stack, status

Get crawling status for the latest operation — response body — data aggregate, operation Details aggregate item records item error message, name, options, response, stack, status

FieldTypePresenceDescription and constraints
$objectRoot
messagestringRequired within parentError message
namestringRequired within parentError name/type
optionsobjectOptionalAdditional options (nullable)
responsestringRequired within parentError response message
stackstringRequired within parentError stack trace
statusJSONRequired within parent
status (anyOf 1)numberAlternativeHTTP status code
status (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$

Get knowledge base by ID — response body

FieldTypePresenceDescription and constraints
$objectRoot
dataJSONRequired within parentKnowledge base details
data (allOf 1)ModelAll variants applyExpand Get knowledge base by ID — response body — data created At, deleted, id, is Default, kb Metadata, location Id, name, name Lower Case, updated At
successbooleanRequired within parentSuccess status of the operation

Referenced models: Get knowledge base by ID — response body — data created At, deleted, id, is Default, kb Metadata, location Id, name, name Lower Case, updated At

Get knowledge base by ID — response body — data created At, deleted, id, is Default, kb Metadata, location Id, name, name Lower Case, updated At

FieldTypePresenceDescription and constraints
$objectRoot
createdAtstringRequired within parentDate when knowledge base was created
deletedbooleanRequired within parentWhether the knowledge base is deleted
idstringRequired within parentKnowledge base ID
isDefaultbooleanOptionalWhether the knowledge base is default or not
kbMetadataJSONRequired within parentKnowledge base metadata with content counts
kbMetadata (allOf 1)ModelAll variants applyExpand Get knowledge base by ID — response body — data created At, deleted, id, is Default, kb Metadata, location Id, name, name Lower Case, updated At kb Metadata faqs, files, rich Text, tables, urls, web Searches
locationIdstringRequired within parentLocation ID
namestringRequired within parentKnowledge base name
nameLowerCasestringRequired within parentKnowledge base name in lowercase
updatedAtstringRequired within parentDate when knowledge base was last updated

Referenced models: Get knowledge base by ID — response body — data created At, deleted, id, is Default, kb Metadata, location Id, name, name Lower Case, updated At kb Metadata faqs, files, rich Text, tables, urls, web Searches

Get knowledge base by ID — response body — data created At, deleted, id, is Default, kb Metadata, location Id, name, name Lower Case, updated At kb Metadata faqs, files, rich Text, tables, urls, web Searches

FieldTypePresenceDescription and constraints
$objectRoot
faqsJSONRequired within parent
faqs (anyOf 1)numberAlternativeNumber of FAQs in the knowledge base
faqs (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
filesJSONRequired within parent
files (anyOf 1)numberAlternativeNumber of files in the knowledge base
files (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
richTextJSONRequired within parent
richText (anyOf 1)numberAlternativeNumber of rich text documents in the knowledge base
richText (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
tablesJSONRequired within parent
tables (anyOf 1)numberAlternativeNumber of tables in the knowledge base
tables (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
urlsJSONRequired within parent
urls (anyOf 1)numberAlternativeNumber of URLs in the knowledge base
urls (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
webSearchesJSONRequired within parent
webSearches (anyOf 1)numberAlternativeNumber of web searche configs in the knowledge base
webSearches (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$

Start crawling and discover pages for training — request body — body

FieldTypePresenceDescription and constraints
$objectRoot
knowledgeBaseIdstringRequired within parentknowledge base ID as string
locationIdstringRequired within parentLocation ID as string
optionstringRequired within parentMode as string
One of: Exact, Path, Domain
urlstringRequired within parentWebsite URL as string

Start crawling and discover pages for training — response body

FieldTypePresenceDescription and constraints
$objectRoot
dataJSONRequired within parentData containing operation details
data (allOf 1)ModelAll variants applyExpand Start crawling and discover pages for training — response body — data operation Id, status, url
successbooleanRequired within parentIndicates if the operation was successful

Referenced models: Start crawling and discover pages for training — response body — data operation Id, status, url

Start crawling and discover pages for training — response body — data operation Id, status, url

FieldTypePresenceDescription and constraints
$objectRoot
operationIdstringRequired within parentOperation ID for tracking the discovery process
statusstringRequired within parentCurrent status of the website discovery operation
Known values: Pending, Processing, Successful, Failed, Existing, Restricted, Cancelled, Aborted, Training
urlstringRequired within parentThe URL being discovered/crawled

Train discovered website pages and ingest into the knowledge base — request body — body

FieldTypePresenceDescription and constraints
$objectRoot
knowledgeBaseIdstringRequired within parentknowledge base id
locationIdstringRequired within parentLocation ID as string
operationIdstringRequired within parentoperation id as string
urlIdsarrayRequired within parentList of Object ids of the discovered urls
urlIds[]stringEach item

Update a knowledge base — request body — body

FieldTypePresenceDescription and constraints
$objectRoot
descriptionstringOptionalfield to update the description of the knowledge base
namestringOptionalfield to update the name of the knowledge base

Update an existing knowledge base FAQ — request body — body

FieldTypePresenceDescription and constraints
$objectRoot
answerstringRequired within parentfaq answer as a string
questionstringRequired within parentfaq question as a string

Update an existing knowledge base FAQ — response body

FieldTypePresenceDescription and constraints
$objectRoot
successbooleanRequired within parentSuccess status of the update operation

Report an issue with this page

Necessary

Required for sign-in, security, authorization, and remembering your choices.

Always active

Analytics

Helps us understand which product and documentation features are useful.

Performance diagnostics

Uses performance tracing and privacy-masked session replay to diagnose problems.

You can change these choices at any time from Cookie settings.