Create
/api/v1/vector-storesCreates an empty vector store. Add documents with Add Document, then attach the store to an AI agent by putting its id in vectorStoreIds on an agentNode (AI Agent → Update Flow), and publish the agent.
Request
Authorization
Bearer Token
Provide your API token in the Authorization header. See Authentication to issue one.
Example:Authorization: Bearer ********************
namestringrequired1-200 characters.
descriptionstringoptionalUp to 1000 characters. For your own reference; the AI does not read it.
Responses
201Created
Created
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.
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
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