Bu sayfayı kendi dilinde görüntüleyebilirsin.Değiştir
Du kannst diese Seite in deiner Sprache ansehen.Wechseln
Puedes ver esta página en tu idioma.Cambiar
Tu peux consulter cette page dans ta langue.Changer
Puoi vedere questa pagina nella tua lingua.Cambia
Je kunt deze pagina in je eigen taal bekijken.Wisselen
Możesz zobaczyć tę stronę w swoim języku.Zmień
Du kan se den här sidan på ditt eget språk.Byt
Você pode ver esta página no seu idioma.Trocar
आप यह पेज अपनी भाषा में देख सकते हैं।बदलें
Kamu bisa melihat halaman ini dalam bahasamu.Ganti
이 페이지를 사용하는 언어로 볼 수 있어요.바꾸기
このページはあなたの言語で表示できます。切り替える
يمكنك عرض هذه الصفحة بلغتك.تغيير
New here?

We use cookies

Cookies and browser storage help this site work and, if you allow it, measure how it is used. You can at any time. Learn more in our cookie policy.

Developers

Bring the assistant to your app, your MCP client or your website. Every door costs the same as the chat app.

POST/api/v1/conversations

Start a conversation: { text, locale?, model?, tools? } — use tools to create images, video, music or speech.

tools
Real request: the message cost is charged to your credits. (1 credit)
Code
curl -X POST "https://bilgisam.com/api/v1/conversations" \
  -H "Authorization: Bearer sk_..." \
  -H "Content-Type: application/json" \
  -d '{"text":"…","locale":"en"}'

Response body

The response will appear here.

Documentation

REST API

JSON in, JSON out. Answers are written in the background: send a message, then read the conversation until `pending` is false.

  • POST/api/v1/conversationsStart a conversation: { text, locale?, model?, tools? } — use tools to create images, video, music or speech.
  • POST/api/v1/conversations/{id}Add a message: { text, locale?, model?, tools? }
  • GET/api/v1/conversations/{id}Latest messages and the `pending` state
  • GET/api/v1/conversationsYour recent conversations
  • GET/api/v1/creditsYour remaining credits
  • GET/api/v1/toolsAvailable tools and their credit costs
curl -X POST https://bilgisam.com/api/v1/conversations \
  -H "Authorization: Bearer sk_..." \
  -H "Content-Type: application/json" \
  -d '{"text": "Merhaba", "locale": "en"}'
# → {"id": "…"}  — read the answer a few seconds later
curl https://bilgisam.com/api/v1/conversations/{id} -H "Authorization: Bearer sk_..."

Optional fields: instructions (system instructions for this turn, up to 20,000 characters; send them with every request), private (true → 402 needs-private if your plan doesn’t allow private chats). API answers don’t use thinking (model reasoning): fast and fixed-cost.

Errors: 401 invalid key · 402 not enough credits or Pro required · 409 previous answer in progress or consent required · 429 rate limit.