Bu sayfayı kendi dilinde görüntüleyebilirsin.Değiştir
You can view this page in your own language.Switch
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
आप यह पेज अपनी भाषा में देख सकते हैं।बदलें
Kamu bisa melihat halaman ini dalam bahasamu.Ganti
이 페이지를 사용하는 언어로 볼 수 있어요.바꾸기
このページはあなたの言語で表示できます。切り替える
يمكنك عرض هذه الصفحة بلغتك.تغيير
É novo por aqui?

Usamos cookies

Cookies e o armazenamento do navegador fazem este site funcionar e, se você permitir, medem como ele é usado. Você pode a qualquer momento. Saiba mais na nossa política de cookies.

Desenvolvedores

Leve o assistente para seu app, seu cliente MCP ou seu site. Em todo lugar custa o mesmo que no chat.

POST/api/v1/conversations

Iniciar conversa: { text, locale?, model?, tools? } — com tools gere imagens, vídeo, música ou fala.

tools
Requisição real: a mensagem é cobrada dos seus créditos. (1 crédito)
Código
curl -X POST "https://bilgisam.com/api/v1/conversations" \
  -H "Authorization: Bearer sk_..." \
  -H "Content-Type: application/json" \
  -d '{"text":"…","locale":"pt"}'

Corpo da resposta

A resposta aparecerá aqui.

Documentação

API REST

JSON na entrada e na saída. As respostas são escritas em segundo plano: envie a mensagem e leia a conversa até `pending` ser false.

  • POST/api/v1/conversationsIniciar conversa: { text, locale?, model?, tools? } — com tools gere imagens, vídeo, música ou fala.
  • POST/api/v1/conversations/{id}Adicionar mensagem: { text, locale?, model?, tools? }
  • GET/api/v1/conversations/{id}Últimas mensagens e estado `pending`
  • GET/api/v1/conversationsSuas conversas recentes
  • GET/api/v1/creditsSeus créditos restantes
  • GET/api/v1/toolsFerramentas disponíveis e custos
curl -X POST https://bilgisam.com/api/v1/conversations \
  -H "Authorization: Bearer sk_..." \
  -H "Content-Type: application/json" \
  -d '{"text": "Merhaba", "locale": "pt"}'
# → {"id": "…"}  — leia a resposta alguns segundos depois
curl https://bilgisam.com/api/v1/conversations/{id} -H "Authorization: Bearer sk_..."

Campos opcionais: instructions (instruções de sistema para este turno, até 20.000 caracteres; envie em cada requisição), private (true → 402 needs-private se seu plano não permitir conversas privadas). As respostas da API não usam raciocínio (thinking): rápidas e de custo fixo.

Erros: 401 chave inválida · 402 créditos insuficientes ou requer Pro · 409 resposta anterior em andamento ou consentimento necessário · 429 limite de taxa.