English
English
Appearance
English
English
Appearance
https://api.repliz.com/public/knowledgeRetrieve every knowledge of the account owner, newest first. A knowledge is information about your business, such as products, prices, shipping, or answers to common questions, that the AI reads before it writes a reply. Set it up once and put its _id in knowledgeIds of any AI reply, on any account, content automation, or template. See Limit and Knowledge.
Authorization: Basic Base64(AccessKey:SecretKey)) or Bearer token from Login with Replizknowledge:read| Field | Type | Description |
|---|---|---|
_id | string | ID of the knowledge, used in knowledgeIds. |
name | string | Name of the knowledge. |
description | string | What it is about, "" when not set. |
chars | number | Characters of its sources that are ready. |
sourceCount | number | How many sources it has, in any status. |
createdAt | string | When it was created. |
updatedAt | string | When it or one of its sources last changed. |
An account can have up to 100 knowledge, and all of them together hold up to 5,000,000 characters.
curl -X GET "https://api.repliz.com/public/knowledge" \
-H "Authorization: Basic $(echo -n 'YOUR_ACCESS_KEY:YOUR_SECRET_KEY' | base64)"import axios from 'axios';
const response = await axios.get('https://api.repliz.com/public/knowledge', {
auth: {
username: 'YOUR_ACCESS_KEY',
password: 'YOUR_SECRET_KEY',
},
});
console.log(response.data);const credentials = btoa('YOUR_ACCESS_KEY:YOUR_SECRET_KEY');
const response = await fetch('https://api.repliz.com/public/knowledge', {
headers: {
Authorization: `Basic ${credentials}`,
},
});
const data = await response.json();
console.log(data);{
"docs": [
{
"_id": "680affa5ce12f2f72916f67e",
"name": "Product catalog",
"description": "Prices, stock and shipping",
"chars": 18250,
"sourceCount": 3,
"userId": "680affa5ce12f2f72916f600",
"createdAt": "2026-11-14T03:00:00.000Z",
"updatedAt": "2026-11-14T03:05:00.000Z",
"__v": 0
}
]
}{
"code": 401,
"message": "unauthorized"
}