curl --request GET \
--url https://api.orq.ai/v2/knowledge/{knowledge_id} \
--header 'Authorization: Bearer <token>'{
"_id": "<string>",
"created": "<string>",
"key": "<string>",
"domain_id": "<string>",
"updated": "<string>",
"model": "<string>",
"description": "<string>",
"path": "Default",
"created_by_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"updated_by_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"type": "internal",
"retrieval_settings": {
"retrieval_type": "hybrid_search",
"top_k": 5,
"threshold": 0,
"rerank_config": {
"rerank_model": "<string>",
"top_k": 5,
"rerank_threshold": 0.5
},
"agentic_rag_config": {
"model": "<string>"
}
}
}Retrieve a knowledge base with the settings.
curl --request GET \
--url https://api.orq.ai/v2/knowledge/{knowledge_id} \
--header 'Authorization: Bearer <token>'{
"_id": "<string>",
"created": "<string>",
"key": "<string>",
"domain_id": "<string>",
"updated": "<string>",
"model": "<string>",
"description": "<string>",
"path": "Default",
"created_by_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"updated_by_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"type": "internal",
"retrieval_settings": {
"retrieval_type": "hybrid_search",
"top_k": 5,
"threshold": 0,
"rerank_config": {
"rerank_model": "<string>",
"top_k": 5,
"rerank_threshold": 0.5
},
"agentic_rag_config": {
"model": "<string>"
}
}
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Unique identifier of the knowledge base
Knowledge base retrieved
The unique identifier of the knowledge base.
The creation date of the knowledge base.
The unique key of the knowledge base.
The project/domain ID of the knowledge base.
The last update date of the knowledge base.
The embeddings model used for the knowledge base.
The description of the knowledge base.
Entity storage path in the format: project/folder/subfolder/...
The first element identifies the project, followed by nested folders (auto-created as needed).
With project-based API keys, the first element is treated as a folder name, as the project is predetermined by the API key.
"Default"
internal The retrieval settings for the knowledge base. If not provider, Hybrid Search will be used as a default query strategy.
Show child attributes
Was this page helpful?