Integrate and use Blaxel agents in your applications and communication platforms.
const response = await fetch("https://run.blaxel.ai/YOUR-WORKSPACE/agents/YOUR-AGENT", { method: "POST", headers: { "Content-Type": "application/json", "Authorization": `Bearer <YOUR_API_KEY>` }, body: JSON.stringify({ inputs: "Hello, world!" }) }); const data = await response.text(); console.log(data);
Was this page helpful?