Test the Vectorize AI API directly in your browser.
// JavaScript Example
const response = await fetch('https://api.vectorize.in/v1/chat', {
method: 'POST',
headers: {
'Authorization': 'Bearer YOUR_API_KEY',
'Content-Type': 'application/json'
},
body: JSON.stringify({
message: "Your message here",
conversation_id: "optional-conversation-id",
include_history: true
})
});
const data = await response.json();
console.log(data.response);