AI Glot websiteOpen AI Glot
TraduçõesAprovar o plano e traduzir
batches

Aprovar o plano e traduzir

Spends credits: the plan's measured word count at the chosen quality (standard: 1 word = 1 credit; lite: a third, rounded up) is reserved and settled at completion. Returns the initial progress with estimated_seconds_remaining — poll the translation with GET from here.

POST/v1/batches/{batch_id}/approve

Requer batches:create. Esta é a chamada que consome créditos. Todas as etapas anteriores (criação, planejamento, refinamento) são gratuitas.

Quanto custa

A contagem de palavras apurada no plano é reservada na qualidade escolhida e depois liquidada de acordo com o consumo real quando a tradução for concluída.

QualidadeCustoDisponibilidade
standard1 crédito por palavraTodos os planos
liteUm terço das palavras, arredondado para cimaPlanos pagos

Como a contagem é medida diretamente a partir do arquivo em vez de estimada, a reserva corresponde exatamente ao número exibido na resposta do plano. Se o saldo não for suficiente para cobri-lo, a chamada falhará com insufficient_credits e nada será reservado.

Em seguida, faça polling

A resposta retorna o progresso inicial, incluindo estimated_seconds_remaining. A partir daí, faça polling em GET /v1/batches/{batch_id} em vez de chamar a aprovação novamente. Uma segunda aprovação em uma tradução em andamento falhará com batch_not_awaiting_approval.

O campo custom_instructions aplica orientações exclusivamente a este lote, sobrepondo-se a qualquer glossário do workspace. Ele não altera o plano, portanto não pode mudar o que será traduzido, apenas a forma como será traduzido.

Use these docs with your AI tools

An AI agent can read this documentation directly. You do not need an account or an API key. Everything here is public and read-only.

Query these docs via MCP

Recommended

Add this server to Claude, Claude Code, Cursor, Mistral, or any tool that supports MCP. Your agent can then search AI Glot Docs documentation and read it in full, instead of answering from memory.

https://ai-glot.com/docs/mcp
  • searchFind the passages that answer a question.
  • fetchRead one page in full, as Markdown.
  • list_pagesSee every page in this documentation.

Query these docs over HTTP

The same tools also work as plain web requests. Use this for scripts, or for any tool that does not support MCP. There is one endpoint per tool. Arguments go in the query string, and the answer comes back as JSON.

https://ai-glot.com/docs/api/docs/search?query=custom+domain

Read the OpenAPI description. It is built from the same definitions as the tools, so it always matches what the endpoints do.

Read these docs as Markdown

Add .md to any page URL to get its Markdown source. You can also send the headerAccept: text/markdown to the page URL itself.

To read the whole documentation in one file, open llms-full.txt. For a short index of every page, open llms.txt.