AI Glot websiteOpen AI Glot
ÜbersetzungenÜbersetzung erstellen
batches

Übersetzung erstellen

Send the file one of three ways: JSON with content (the file itself as UTF-8 text — text formats only, the simplest path for agents), JSON with file_url (HTTPS, fetched server-side, no redirects), or multipart/form-data with a file field (required for XLSX and ZIP). filename is optional: if omitted, a clean default name is generated and the format is inferred automatically from the content. Include instruction to get the full trust-gated plan back in the same response (takes some seconds); omit it to receive four grounded suggested_instructions and continue with the plan endpoint. Quality is chosen at approval, not here — the plan quotes both tiers. Per-format size limits are on /v1/account as entitlements.max_upload_bytes_by_format. The upload also appears in the web app.

POST/v1/batches

Erfordert batches:create. Das Erstellen einer Übersetzung ist kostenlos: Credits werden erst reserviert, wenn Sie einen Plan genehmigen.

Übertragungsweg für die Datei wählen

Es stehen drei Übertragungswege zur Verfügung. Die Wahl hängt vom Dateiformat ab, nicht von persönlichen Präferenzen.

ÜbertragungswegVerwendung fürHinweise
JSON mit contentJedes TextformatDie Datei selbst als UTF-8-Text. Der einfachste Weg für einen Agenten, der den Inhalt bereits im Arbeitsspeicher vorhält.
JSON mit file_urlBereits gehostete DateienNur HTTPS, serverseitig abgerufen. Weiterleitungen wird nicht gefolgt; geben Sie daher die finale URL an.
multipart/form-dataXLSX und ZIPErforderlich für Binärformate: Diese können nicht als JSON-Text übertragen werden.

filename ist optional, wird jedoch empfohlen. Das Format wird anhand der Dateiendung erkannt. Namen wie strings.xml und export.csv führen daher bei identischen Bytes zu unterschiedlichen Parsern.

Wie es weitergeht

Die Antwort enthält eine batch_id. Der weitere Ablauf ist stets derselbe:

  1. POST /v1/batches/{batch_id}/plan: Beschreiben Sie in eigenen Worten, was übersetzt werden soll.
  2. POST /v1/batches/{batch_id}/approve: Credits einlösen und Vorgang starten.
  3. GET /v1/batches/{batch_id}: Status abfragen, bis der Vorgang abgeschlossen ist.
  4. GET /v1/batches/{batch_id}/result: Ergebnis abrufen. Gibt einen signierten Link zurück, nicht die Datei selbst.

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.