Ziwako Docs
Ziwako AI (Mayele)Référence APIKnowledge

Upload & index a knowledge document

POST
/knowledge/documents

Authorization

AccessToken
AuthorizationBearer <token>

In: header

Request Body

multipart/form-data

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

curl -X POST "https://example.com/knowledge/documents"
{  "type": "string",  "code": "string",  "message": "string",  "status": 0,  "data": {    "documentId": "string",    "status": "string"  }}