import requests
url = "https://eu.app.clarifeye.ai/api/v1/projects/{project_id}/list-knowledge/"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://eu.app.clarifeye.ai/api/v1/projects/{project_id}/list-knowledge/', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));curl --request GET \
--url https://eu.app.clarifeye.ai/api/v1/projects/{project_id}/list-knowledge/ \
--header 'Authorization: Bearer <token>'{
"store_map": "<string>",
"store_map_axes_mode": "default",
"cohesion_guide": "<string>",
"document_count": 123,
"artifacts": [
{
"slug": "<string>",
"title": "<string>",
"semantic_type": "<string>",
"technical_type": "<string>",
"group": "<string>",
"purpose": "<string>",
"content": "<unknown>",
"content_overview": "<unknown>"
}
]
}{
"error": "Authentication credentials were not provided."
}{
"error": "You do not have permission to perform this action."
}{
"error": "Not found."
}List knowledge artifact catalog
Catalog overview for a knowledge store: store_map (<axes> and a <plan> of the
path tree; cohesion_guide is a deprecated alias), document_count
(number of active documents in the library), plus artifacts[] (one row
per in-scope artifact with slug, title, semantic_type, technical_type, group,
purpose, and either full LIST content or a LIST content_overview summary).
Knowledge Store tags/objects are served separately by library-tags-objects.
import requests
url = "https://eu.app.clarifeye.ai/api/v1/projects/{project_id}/list-knowledge/"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://eu.app.clarifeye.ai/api/v1/projects/{project_id}/list-knowledge/', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));curl --request GET \
--url https://eu.app.clarifeye.ai/api/v1/projects/{project_id}/list-knowledge/ \
--header 'Authorization: Bearer <token>'{
"store_map": "<string>",
"store_map_axes_mode": "default",
"cohesion_guide": "<string>",
"document_count": 123,
"artifacts": [
{
"slug": "<string>",
"title": "<string>",
"semantic_type": "<string>",
"technical_type": "<string>",
"group": "<string>",
"purpose": "<string>",
"content": "<unknown>",
"content_overview": "<unknown>"
}
]
}{
"error": "Authentication credentials were not provided."
}{
"error": "You do not have permission to perform this action."
}{
"error": "Not found."
}Authorizations
Use Authorization: Bearer <token>. The token is either a user token / OAuth access
token, or a service-account API key (cfk_...). A key is valid on every endpoint and
acts as its service account, an organization member with per-store permissions.
Refused keys answer 403 with Invalid API key., API key revoked.,
API key expired. or API key disabled..