Saltar al contenido principal
GET
/
v1
/
knowledge
/
item
/
{id}
Get Knowledge Item
import requests

url = "http://localhost:3000/v1/knowledge/item/{id}"

headers = {"Authorization": "Bearer <token>"}

response = requests.get(url, headers=headers)

print(response.text)
{
  "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "name": "<string>",
  "extension": "file",
  "status": "indexing",
  "url": "<string>",
  "tags": [],
  "category": "<string>"
}

Authorizations

Authorization
string
header
required

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

Path Parameters

id
string<uuid>
required

Response

Successful Response

id
string<uuid>
required

Unique identifier for the knowledge item

name
string
required

Name of the knowledge item

extension
enum<string>
required

Type/extension of the knowledge item

Opciones disponibles:
file
status
enum<string>
required

Current status of the knowledge item

Opciones disponibles:
indexing,
uploaded,
error
url
string
required

URL where the item is stored

tags
string[] | null

Optional list of tags associated with the item

category
string | null

Optional category classification of the item