Create a chat and ask AI for three deliverables: industry overview, stakeholder analysis, and key challenges.
curl -X POST https://api.chatgrid.ai/v1/boards/{boardId}/chats \ -H "Authorization: Bearer YOUR_API_KEY" \ -H "Content-Type: application/json" \ -d '{"name": "Onboarding Analysis"}'curl -X POST https://api.chatgrid.ai/v1/boards/{boardId}/chats/{chatId}/messages \ -H "Authorization: Bearer YOUR_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "content": "Based on the client materials and industry report on this board, generate:\n1. Industry Overview: trends, market dynamics, regulatory landscape\n2. Stakeholder Analysis: key executives and their likely priorities\n3. Key Challenges: top 5 challenges this client faces\nBe specific to this client, not generic.", "stream": false }'
ChatGrid fetches each URL, extracts readable content (stripping navigation and boilerplate), and stores it as a document. Vectorization chunks documents into ~500-token segments and embeds them with pgvector. When the AI generates the analysis, it searches across all vectorized content to find relevant passages from both the client’s website and the industry report, producing a response grounded in real data rather than generic knowledge. The batch node endpoint creates all zone nodes atomically in a single transaction.