OUR COMPANY
Bring Your Ideas to Life
Everything that you dreamed of can be brought to life exactly at the moment when you decide to win.
curl -X POST https://api.asi1.ai/v1/chat/completions \ -H "Content-Type: application/json" \ -H "Authorization: Bearer sk_bb5ab8989c6b4eef976337eeb8773ed8fdba0b7ef3a64642b2ef095f7a5e0d14" \ -d '{ "model": "asi1-mini", "messages": [ {"role": "user", "content": "What is agentic AI?"} ] }'
import requests, os url = "https://api.asi1.ai/v1/chat/completions" headers = { "Content-Type": "application/json", "Authorization": f"Bearer {os.getenv('sk_bb5ab8989c6b4eef976337eeb8773ed8fdba0b7ef3a64642b2ef095f7a5e0d14')}" } data = { "model": "asi1-mini", "messages": [{"role": "user", "content": "What is agentic AI?"}] } print(requests.post(url, headers=headers, json=data).json())
const url = 'https://api.asi1.ai/v1/chat/completions'; const headers = { 'Content-Type': 'application/json', Authorization: `Bearer ${process.env.sk_bb5ab8989c6b4eef976337eeb8773ed8fdba0b7ef3a64642b2ef095f7a5e0d14}`, }; const data = { model: 'asi1-mini', messages: [{ role: 'user', content: 'What is agentic AI?' }], }; const res = await fetch(url, { method: 'POST', headers, body: JSON.stringify(data), }); console.log((await res.json()).choices[0].message.content);