AI Glot websiteOpen AI Glot
TraduzioniApprova il piano e traduci
batches

Approva il piano e traduci

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

Richiede il permesso batches:create. Questa è la chiamata che consuma i crediti. Tutte le operazioni precedenti (creazione, pianificazione, perfezionamento) sono gratuite.

Quanto costa

Il conteggio effettivo delle parole calcolato nel piano viene riservato al livello di qualità selezionato, per poi essere saldato in base al consumo reale al termine della traduzione.

QualitàCostoDisponibilità
standard1 credito per parolaTutti i piani
liteUn terzo delle parole, arrotondato per eccessoPiani a pagamento

Poiché il conteggio viene calcolato a partire dal file e non per stima, l’importo riservato corrisponde esattamente al valore mostrato nella risposta del piano. Se il saldo non è sufficiente a coprirlo, la chiamata fallisce con l’errore insufficient_credits e non viene riservato alcun credito.

Monitoraggio dell’avanzamento

La risposta restituisce lo stato di avanzamento iniziale, incluso estimated_seconds_remaining. Da questo momento in poi, effettua il polling tramite GET /v1/batches/{batch_id} anziché chiamare nuovamente l’endpoint di approvazione. Una seconda approvazione su una traduzione già in corso restituirà l’errore batch_not_awaiting_approval.

Il parametro custom_instructions applica istruzioni specifiche solo a questo batch, in aggiunta a qualsiasi glossario del workspace. Non modifica il piano, pertanto non influisce su ciò che viene tradotto, ma solo su come viene tradotto.

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.