Documentation Index
Fetch the complete documentation index at: https://docs.pathors.com/llms.txt
Use this file to discover all available pages before exploring further.
Request
GET https://api.pathors.com/v1/projects/{projectId}/knowledgebases/{knowledgebaseId}/query
Path Parameters
The knowledgebase ID to query
Bearer token using your developer key
Query Parameters
Maximum number of results to return. Defaults to 5.
Minimum relevance score (0–1) for chunks to be included. Defaults to 0.3.
Response
Returns an array of chunks ordered by relevance.
Unique identifier for the chunk
Length of the chunk content in characters
Whether the chunk participates in search
Example
curl "https://api.pathors.com/v1/projects/{projectId}/knowledgebases/kb_abc123/query?q=search_term&topK=5&scoreThreshold=0.3" \
-H "Authorization: Bearer dk_your_key"
[
{
"id": "chunk_abc123",
"content": "The product features include real-time analytics...",
"contentLength": 82,
"isEnabled": true
}
]