How to return id from db in my case

i use this code for write embeddings in my database:
const res = await ConvexVectorStore.fromDocuments(splitDocs, embeddings, { ctx });

Logic my app is - get id some embedding and pass it in Langchain context . But i need get id its embeddings from db - variable res don`t give me this info. How to do this?
Was this page helpful?