AI Glot websiteOpen AI Glot
REST APIAuthentication and scopes

Authentication and scopes

Authenticate AI Glot API requests with workspace keys or OAuth tokens, choose minimum scopes and rotate credentials without exposing secrets.

Send a workspace API key or OAuth access token as a bearer credential:

Authorization header
Authorization: Bearer aig_live_••••••••

Never place a credential in a query string. URLs are copied into logs, browser history and referrer headers.

Workspace API keys

An admin creates keys in Settings → API. The complete secret is shown once; AI Glot stores only a protected hash. Up to 10 keys may be active in a workspace.

Create an API key dialog

Create a named key and choose its scopes

Use a separate named key for each integration. Rotate by creating the replacement, updating the integration, confirming the old key is quiet, then revoking it.

OAuth tokens

The CLI and compatible MCP clients can use OAuth 2.1. OAuth is recommended for a person because the connection records who approved it and respects that member’s access ceiling. API keys remain the right fit for CI and backend services.

Launch scopes

ScopeAllows
account:readWorkspace identity, plan, capabilities, limits and credit summary
usage:readUsage totals and time buckets
batches:readList translations, inspect progress and download completed results
batches:writeRename, archive or restore translations
glossaries:readList and retrieve glossaries
glossaries:writeCreate, update, replace or delete glossaries

A missing scope returns 403 insufficient_scope. Future scope names may already exist internally, but they do not imply that upload, batch creation or webhooks are available in v1.

Member ceiling

Workspace admins can limit developer access for members. An OAuth client receives the intersection of what it requested and what the approving member may use. Reconnecting with a broader request cannot bypass a read-only ceiling.

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.