Skip to main content
GET
/
api
/
v1
/
context
/
knowledge
List knowledge documents
curl --request GET \
  --url http://localhost:3000/api/v1/context/knowledge \
  --cookie nut-session=
{
  "success": true,
  "data": {
    "documents": [
      {
        "filename": "<string>",
        "title": "<string>",
        "content": "<string>",
        "tags": [
          "<string>"
        ],
        "createdAt": "2023-11-07T05:31:56Z",
        "updatedAt": "2023-11-07T05:31:56Z"
      }
    ]
  }
}

Authorizations

nut-session
string
cookie
required

Session cookie authentication

Query Parameters

q
string

Search query

Response

List of knowledge documents

success
boolean
required
data
object