import requests
url = "https://api.diga.io/v1/knowledge/usage"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"used_bytes": 123,
"item_count": 123,
"limit_bytes": 123
}Get knowledge storage usage for the current company. Returns used bytes, limit bytes, and item count.
import requests
url = "https://api.diga.io/v1/knowledge/usage"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"used_bytes": 123,
"item_count": 123,
"limit_bytes": 123
}Documentation Index
Fetch the complete documentation index at: https://docs.diga.io/llms.txt
Use this file to discover all available pages before exploring further.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.