v1

latestOpenAPI 3.0.02026-07-26866217.8 KB
Knowledge Base

Create Knowledge Base

Create a new knowledge base entry for the HostGPT automation assistant. The entry defines AI content and the property/channel scope where it applies.

post/knowledge_bases

Request body

titlestring

Optional title for the knowledge base entry.

is_enableboolean required

Whether the entry is enabled.

Response

The knowledge base entry has been created successfully.

request_idstring required

Unique identifier for the request.

error_codeinteger required

Numeric error code representing the status of the response. A value of 200 indicates success. <br> See the Error Codes section for more information.

error_msgstring required

Message detailing the status of the response.

Example response

{
  "error_msg": "Done."
}