Skip to main content
GET
/
api
/
v1
/
rag
/
knowledgebases
List Knowledge Bases
curl --request GET \
  --url https://api.ravan.ai/api/v1/rag/knowledgebases \
  --header 'X-Api-Key: <api-key>'
{
  "success": true,
  "message": "<string>",
  "data": [
    {
      "id": "<string>",
      "name": "<string>",
      "org_id": "<string>",
      "document_count": 123,
      "created_at": "<string>"
    }
  ]
}

Authorizations

X-Api-Key
string
required
Your Agni API key used to authenticate the request. Pass it in the X-Api-Key header. Find or rotate it from your Ravan AI account settings.

Query Parameters

org_id
string
required
The organization ID that owns the resource. Use the organization ID from your Agni account.

Response

success
boolean
Whether the request succeeded.
message
string
Human-readable status message.
data
array
Array of knowledge base objects.

Authorizations

X-Api-Key
string
header
required

Query Parameters

org_id
string
required

Organization ID

Response

200 - application/json

Successful response

success
boolean
message
string
data
object[]