Question

Is there a way to tie an index back to a specific knowledge base or knowledge base source?

Knowledgebase indeices have.names like “ed247ef6-8ab8-11ef-bf8f-4e013e2ddde4” in the OpenSearch database. Is there any easy way to tell which indices belong to which knowledgebases and especially if any were left behind from a knowledgebase that was already deleted?


Submit an answer


This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Accepted Answer

The index name is in the knowledgebase URL

https://cloud.digitalocean.com/gen-ai/knowledge-bases/{index name is here}

Bobby Iliev
Site Moderator
Site Moderator badge
May 2, 2025

Hey @setec,

Good question, I was wondering the same thing when poking around the OpenSearch data.

From what I’ve seen, the index names in OpenSearch are just UUIDs, and I haven’t found an obvious way to map those directly back to a specific knowledge base or source from the UI or API. I think if you look at the timestamps or patterns in the names, you might be able to line them up with when you added certain sources, but that’s kind of guesswork.

Not sure if the system is supposed to clean up old indices when you delete a knowledge base, but I wouldn’t count on it 100%. Could be worth asking support if there’s a safe way to check for or clean up orphaned ones: https://do.co/support

If I find anything more concrete, I’ll share it here.

- Bobby

Become a contributor for community

Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.

DigitalOcean Documentation

Full documentation for every DigitalOcean product.

Resources for startups and SMBs

The Wave has everything you need to know about building a business, from raising funding to marketing your product.

Get our newsletter

Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.

New accounts only. By submitting your email you agree to our Privacy Policy

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.