POST
/
knowledge-base
/
v1
/
submissions

Authorizations

asapp-api-id
string
header
required
asapp-api-secret
string
header
required

Body

application/json

A proposal for creating a new article or updating an existing one in the Knowledge Base.

additionalInstructions
object[]

Specific instructions to ensure responses are relevant and address exceptions.

articleId
string

The unique identifier for the article being updated.

content
string

The article content in plain text, expected to be in English and limited to 200,000 Unicode characters. This will be refined during submission. Required for new articles.

Required string length: 1 - 200000
metadata
object[]

Additional key-value pairs related to the article.

queryExamples
string[]

Examples of customer questions related to the article, such as "Why is my bill so high?". Defaults to an empty list if not provided.

title
string

The proposed title of the article, which will be refined automatically. This is required for new articles.

Required string length: 1 - 256
url
string

A reference URL for the article, used for informational purposes only.

Response

201 - application/json

Information about a successfully submitted proposal to update an article in the Knowledge Base.

additionalInstructions
object[]

Specific instructions to ensure responses are relevant and address exceptions.

articleId
string

The unique identifier for the article related to the submission.

content
string

The article content, either original or refined.

id
string

The unique identifier for the submission.

metadata
object[]

Additional key-value pairs related to the article.

queryExamples
string[]

Examples of customer questions related to the article. Defaults to an empty array if not provided.

status
enum<string>

The current status of the submission.

Available options:
PENDING_REVIEW,
ACCEPTED,
REJECTED
submittedAt
string

The timestamp when the submission was created.

title
string

The article title, either original or refined.

url
string

The reference URL of the article. Defaults to an empty string if not provided.