POST
/
api
/
v1
/
rag
/
refresh
curl -X POST https://api.ravan.ai/api/v1/rag/refresh \
  -H "X-Api-Key: YOUR_API_KEY" -H "Content-Type: application/json" \
  -d '{"org_id": "1268c1f0-19f3-47db-aefb-c16a7c3ace6e", "kb_id": "product_docs"}'
{ "success": true, "message": "Knowledge base refresh initiated" }

Authorizations

X-Api-Key
string
required
Your Agni API key.

Body

org_id
string
required
UUID of your organization.
kb_id
string
required
Knowledge base identifier to refresh.

Response

success
boolean
Whether the request succeeded.
message
string
Human-readable status message.
curl -X POST https://api.ravan.ai/api/v1/rag/refresh \
  -H "X-Api-Key: YOUR_API_KEY" -H "Content-Type: application/json" \
  -d '{"org_id": "1268c1f0-19f3-47db-aefb-c16a7c3ace6e", "kb_id": "product_docs"}'
{ "success": true, "message": "Knowledge base refresh initiated" }

Authorizations

X-Api-Key
string
header
required

Body

application/json
org_id
string
required
kb_id
string
required

Response

Successful response