import requests
url = "http://localhost:3000/v1/knowledge/item/"
payload = ["<string>"]
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.get(url, json=payload, headers=headers)
print(response.text){
"data": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"extension": "file",
"status": "indexing",
"url": "<string>",
"tags": [],
"category": "<string>"
}
],
"first_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"last_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"has_more": true
}List knowledge items with optional filtering
import requests
url = "http://localhost:3000/v1/knowledge/item/"
payload = ["<string>"]
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.get(url, json=payload, headers=headers)
print(response.text){
"data": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"extension": "file",
"status": "indexing",
"url": "<string>",
"tags": [],
"category": "<string>"
}
],
"first_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"last_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"has_more": true
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
1 <= x <= 1000asc, desc indexing, uploaded, error file Successful Response
Mostrar atributos secundarios
Unique identifier for the knowledge item
Name of the knowledge item
Type/extension of the knowledge item
file Current status of the knowledge item
indexing, uploaded, error URL where the item is stored
Optional list of tags associated with the item
Optional category classification of the item