Rebuild project search vectors in batch
POST
/api/v1/projects/{projectId}/graph-embeddings/reindex
const url = 'https://api.yggy.tech/api/v1/projects/example/graph-embeddings/reindex';const options = {method: 'POST', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url https://api.yggy.tech/api/v1/projects/example/graph-embeddings/reindex \ --header 'Authorization: Bearer <token>'Re-embeds stored graph vectors for this project on Azure Batch. Usually finishes within 24 hours. Lexical search stays available.
Authorizations
Section titled “Authorizations ”Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters ” projectId
required
string
Responses
Section titled “ Responses ”Reindex queued
Media type application/json
object
status
required
string
jobCount
required
integer
itemCount
required
integer
message
required
string
Example
{ "status": "queued"}Batch vector rebuild is not available
Media type application/json
object
success
required
boolean
error
required
object
message
required
string
code
required
string
details
Example
{ "success": false, "error": { "code": "INTERNAL_ERROR" }}Project not found
Media type application/json
object
success
required
boolean
error
required
object
message
required
string
code
required
string
details
Example
{ "success": false, "error": { "code": "INTERNAL_ERROR" }}