Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
curl --request DELETE \
--url https://api.pawa-ai.com/v1/store/knowledge-base/{id} \
--header 'Authorization: Bearer <token>'
{
"success": true,
"message": "Knowledge base created successfully",
"data": {
"id": 21,
"name": "WCF Knowledge Base",
"kbReferenceId": "kb-5d76835d-fe3e-4793-b0d6-f2e1a668eb5d",
"description": "This is a knowledge base for WCF, it contains information about various concerns about Workers Compesation Fund., it is used to answer questions about WCF",
"status": "ACTIVE",
"createdAt": "2025-08-04T16:35:37.522Z",
"updatedAt": "2025-08-04T16:35:37.522Z"
}
}
This endpoint used to delete the knowledge base by id.
curl --request DELETE \
--url https://api.pawa-ai.com/v1/store/knowledge-base/{id} \
--header 'Authorization: Bearer <token>'
{
"success": true,
"message": "Knowledge base created successfully",
"data": {
"id": 21,
"name": "WCF Knowledge Base",
"kbReferenceId": "kb-5d76835d-fe3e-4793-b0d6-f2e1a668eb5d",
"description": "This is a knowledge base for WCF, it contains information about various concerns about Workers Compesation Fund., it is used to answer questions about WCF",
"status": "ACTIVE",
"createdAt": "2025-08-04T16:35:37.522Z",
"updatedAt": "2025-08-04T16:35:37.522Z"
}
}
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.