curl --request GET \
--url https://api.orq.ai/v2/knowledge \
--header 'Authorization: Bearer <token>'{
"object": "list",
"data": [
{
"_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>"
}
}
}
],
"has_more": true
}Returns a list of your knowledge bases. The knowledge bases are returned sorted by creation date, with the most recent knowledge bases appearing first
curl --request GET \
--url https://api.orq.ai/v2/knowledge \
--header 'Authorization: Bearer <token>'{
"object": "list",
"data": [
{
"_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>"
}
}
}
],
"has_more": true
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
A limit on the number of objects to be returned. Limit can range between 1 and 50, and the default is 10
1 <= x <= 200A cursor for use in pagination. starting_after is an object ID that defines your place in the list. For instance, if you make a list request and receive 20 objects, ending with 01JJ1HDHN79XAS7A01WB3HYSDB, your subsequent call can include after=01JJ1HDHN79XAS7A01WB3HYSDB in order to fetch the next page of the list.
A cursor for use in pagination. ending_before is an object ID that defines your place in the list. For instance, if you make a list request and receive 20 objects, starting with 01JJ1HDHN79XAS7A01WB3HYSDB, your subsequent call can include before=01JJ1HDHN79XAS7A01WB3HYSDB in order to fetch the previous page of the list.
Was this page helpful?