Search through all files in data folders shared with the API Key

Search through all files in data folders shared with the API Key.

POST https://api.langdock.com/knowledge/search

Description

Search across all files in data folders that are shared with the API key.

Example (cURL)

curl
curl --request POST \
  --url https://api.langdock.com/knowledge/search \
  --header 'Authorization: <authorization>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "query": "API Documentation"
}
'

Headers

  • Authorization (string, required) API key as Bearer token. Format: "Bearer YOUR_API_KEY"

  • Content-Type: application/json

circle-info

Make sure your Authorization header includes the "Bearer " prefix followed by your API key.

Body (application/json)

  • query (string, required) The search query.

Example:

Response

  • 200 Successfully found search result

chevron-rightNoteshashtag

This endpoint returns search results for files in data folders shared with the API key. Ensure your request includes the proper Authorization header and Content-Type.