Knowledge
List knowledge buckets
Lists the knowledge buckets of the app the API key belongs to, with the number of documents currently served from each. The key must be tied to an app; the app is taken from the key, never from the request.
Lists the knowledge buckets of the app the API key belongs to, with the number of documents currently served from each. The key must be tied to an app; the app is taken from the key, never from the request.
AuthorizationBearer <token>
Your API key as a bearer token.
In: header
Response Body
application/json
application/json
application/json
curl -X GET "https://example.com/knowledge/buckets"{
"buckets": [
{
"name": "string",
"served_documents": 0,
"flagged_content": "quarantine",
"personal_data": "ignore"
}
]
}{
"error": "Invalid API key",
"code": "INVALID_API_KEY",
"retryAfter": 0
}{
"error": "Invalid API key",
"code": "INVALID_API_KEY",
"retryAfter": 0
}