Detail
/api/v1/vector-stores/{id}Returns a vector store with its indexing progress. After adding documents, poll this until documents.inProgress is 0. Documents that are still being indexed are not searchable yet.
Request
Authorization
Bearer Token
Provide your API token in the Authorization header. See Authentication to issue one.
Example:Authorization: Bearer ********************
idstringrequiredVector store ID (
vs_...).Example:vs_6ae7fb336d6c8191842d074ec05637f1
Responses
200OK
OK
requestIdstringrequiredUnique ID for this request. Quote it when reporting a problem.
dataobjectrequiredChild attributes
idstringrequiredVector store ID (
vs_...). Use it invectorStoreIdson anagentNode(AI Agent → Update Flow).namestringrequireddescriptionstring | nullrequireddocumentCountintegerrequiredDocuments attached to the store.
createdAtstring | nullrequiredISO 8601.
statusstring | nullrequiredin_progresswhile documents are being indexed,completedwhen all are searchable. Null if the store's status could not be read.Allowed values:"in_progress", "completed", "expired", null
documentsobject | nullrequiredIndexing progress per document state.
Child attributes
inProgressintegerrequiredStill being indexed. Poll until this is 0.
completedintegerrequiredIndexed and searchable.
failedintegerrequiredCould not be indexed (e.g. an empty or unreadable file). Remove and re-add them.
cancelledintegerrequiredtotalintegerrequired
usageBytesinteger | nullrequiredStorage used by the indexed documents.
400Invalid body or parameters, e.g. an empty name or a malformed ID.
Invalid body or parameters, e.g. an empty name or a malformed ID.
messagestringrequired
401API key missing, invalid, revoked or expired.
API key missing, invalid, revoked or expired.
messagestringrequired
404No vector store with this ID in your workspace.
No vector store with this ID in your workspace.
messagestringrequired
429Rate limit reached. Retry after a short pause.
Rate limit reached. Retry after a short pause.
messagestringrequired
502The AI agent service is temporarily unavailable. Retry shortly.
The AI agent service is temporarily unavailable. Retry shortly.
messagestringrequired