Knowledge Vault
The Knowledge Vault API serves as a centralized hub for content, enabling you to store, manage, and organize brand-related assets such as text, documents, images, and other files, within structured brand kit folders.
Ingest Content Item
https://ai.contentstack.com/brand-kits/v1/knowledge-vault/The Ingest Content request stores textual content in a specified folder within the Knowledge Vault of a brand kit. It enriches the content with metadata such as title and tags for improved organization and retrieval.
To configure the permissions for your application via OAuth, include the brand-kits:manage scope.
Here’s an example of the Request Body for ingesting content:
{
"content": "ChatGPT, Google Gemini, Anthropic Claude, Perplexity AI, Jasper AI, Midjourney, DALL·E, Adobe Firefly, Canva AI, Runway ML, Pika Labs, ElevenLabs, Descript, GitHub Copilot, Amazon CodeWhisperer, Replit Ghostwriter, Microsoft Copilot, Notion AI, Zapier AI, HubSpot AI",
"_metadata": {
"title": "Popular AI Tools",
"tags": ["AI", "AI Tools", "AI New Users"]
}
}
{
"content": "ChatGPT, Google Gemini, Anthropic Claude, Perplexity AI, Jasper AI, Midjourney, DALL·E, Adobe Firefly, Canva AI, Runway ML, Pika Labs, ElevenLabs, Descript, GitHub Copilot, Amazon CodeWhisperer, Replit Ghostwriter, Microsoft Copilot, Notion AI, Zapier AI, HubSpot AI",
"_metadata": {
"title": "Popular AI Tools",
"tags": ["AI", "AI Tools", "AI New Users"]
}
}{
"message": "Your content will be ingested shortly",
"content": {
"uid": "cs**************",
"tokens": {
"count": 10060,
"remaining": 989940
}
}
}Update Content Item
https://ai.contentstack.com/brand-kits/v1/knowledge-vault/{content_uid}The Update Content request lets you update a specific content stored in the Knowledge Vault.
To configure the permissions for your application via OAuth, include the brand-kits:manage scope.
{
"content": "Contentstack is a headless CMS that enables flexible, scalable content management and omnichannel delivery across digital platforms."
"_metadata": {
"title": "Contentstack headless CMS",
}
}{
"message": "Your content will be updated shortly",
"content": {
"uid": "cs************de",
"tokens": {
"count": 2905,
"remaining": 99997095
}
}
}Delete Content Item
https://ai.contentstack.com/brand-kits/v1/knowledge-vault/{content_uid}The Delete Content request lets you delete a specific content stored in the Knowledge Vault.
To configure the permissions for your application via OAuth, include the brand-kits:manage scope.
{
"message": "Content deleted successfully"
}