Learn how to add Knowledge Base articles programmatically using the API
submission
. A submission is the attempt to import an article. It will still need to be reviewed and published like any other imported article.
To create a submission, you need to specify:
title
: The title of the articlecontent
: The content of the articleurl
, metadata
, and queryExamples
. More information can be found in the API Reference.url
and metadata
:
id
of the submission and the status
of the submission.
ACCEPTED
and you will see it within the ASAPP AI-Console UI.
You can also update the article after it has been published by creating another submission with the same articleId
.
500 - Internal Server Error
500
code, there is an issue with the server. Wait and try again.If the error persists, contact your ASAPP Team.400 - Bad Request
400
code usually means missing required parameters.Recheck your request body and try again.401 - Unauthorized
413 - Request Entity Too Large