Saltar al contenido principal
GET
/
v1
/
knowledge
/
item
List Knowledge Items
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
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Query Parameters

after
string<uuid> | null
before
string<uuid> | null
limit
integer
default:50
Rango requerido: 1 <= x <= 1000
order
enum<string>
default:desc
Opciones disponibles:
asc,
desc
status
enum<string> | null
Opciones disponibles:
indexing,
uploaded,
error
category
string | null
extension
enum<string> | null
Opciones disponibles:
file

Body

application/json

Response

Successful Response

data
KnowledgeItemResponse · object[]
required
first_id
string<uuid> | null
required
last_id
string<uuid> | null
required
has_more
boolean
required