# m7gtw > m7gtw is a self-hosted AI gateway in Go: one OpenAI-compatible API for every provider, with routing, budgets, guardrails, costed traces and evaluations, run on your own infrastructure. The documentation is at https://m7gtw.com/docs/; every page has a Markdown twin. ## Site - [m7gtw home](https://m7gtw.com/index.md): what the gateway does, the benchmark against other gateways, the quickstart, editions and FAQ - [m7gtw em português](https://m7gtw.com/pt-br/index.md): the same page in Brazilian Portuguese - [Terms of Service](https://m7gtw.com/terms.md): terms of the website, the docs, m7 ai and the contact form - [Privacy](https://m7gtw.com/privacy.md): what the site collects (analytics, the contact form, m7 ai) - [Contact](mailto:contact@m7gtw.com): contact@m7gtw.com - [OpenAPI specification](/docs/openapi.yaml): the complete API contract - [API reference](/docs/api.md): the contract rendered by area, with every operation and schema - [The whole documentation in one file](/docs/llms-full.txt) ## Get started - [Overview](/docs/start/overview.md): A company that adopts AI soon has several teams calling several providers: one uses OpenAI, another Anthropic, a third an open model in its own cloud. Each o... - [Quickstart](/docs/start/quickstart.md): In about ten minutes you run m7gtw on your machine with Docker Compose, make a first call through it, sign in to the console, create a key for an app and fin... - [Concepts](/docs/start/concepts.md): The vocabulary that appears in the console, the API and the configuration YAML. - [How it works](/docs/start/how-it-works.md): What happens to a request, from the moment it arrives until the response goes back to the app. Each stage exists only if its flag is on. - [Support and contact](/docs/start/support.md): Where to look when something does not work, and how to reach the people behind m7gtw. ## Features › Providers and models - [Providers and models](/docs/features/feature-providers.md): Switching providers, or using several at once, shouldn't require changing your apps' code. In m7gtw, apps call an alias (chat-default, summary, embeddings),... - [Model registry and public Hub](/docs/features/model-registry.md): The registry distinguishes published external facts from your installation's routable aliases. Model catalog is privileged advisory discovery; Configured rou... - [Public hub: MCP servers, agents and skills](/docs/features/public-hub.md): The public hub at /hub lists what the operator explicitly shares: model aliases (see publish a safe alias card) and, with this feature, MCP servers, A2A agen... - [Model aliases](/docs/features/model-aliases.md): Clients keep the model names they were written with. When the operator renames a model, standardizes names (for example anthropic-claude-sonnet-4-6) or moves... - [Public model research catalog](/docs/features/public-model-research.md): Open /registry to research original public model listings and their provider offers. It is part of the same gateway binary. It is separate from /hub, which p... - [Public provider research](/docs/features/provider-research.md): Use /registry/providers to browse original public providers, published model endpoints and their model/service rate listings. Open a provider for its origina... - [Compare public model listings](/docs/features/model-comparison.md): Open /registry/compare to select up to six original public model/service groups and inspect their offers side by side. Selection order is preserved in a shar... - [Compare workload base costs](/docs/features/workload-comparison.md): Use /registry/calculator to compare the same billable-unit workload across original public offers. Choose the complete applicable source catalog or one to si... - [Public general capability research](/docs/features/general-quality.md): /registry/quality presents the complete original general Epoch Capabilities Index (ECI) snapshot without an administrative login. It is a separately authoriz... - [Coding and reported value benchmarks](/docs/features/coding-value-benchmarks.md): The public research registry distinguishes general capability, task resolution and source-reported value. General ECI remains in its original points scale. C... - [Model lifecycle, source history and RSS](/docs/features/model-history.md): The public registry can show source-declared deprecations/replacements and changes between original catalog revisions. A catalog edit can be a correction, a... - [Attributed model rankings](/docs/features/model-rankings.md): The Model catalog contains a separate external benchmark view. Its implemented source profile is the Epoch Capabilities Index (ECI), a composite general-capa... - [Providers](/docs/features/providers.md): A provider is a connection to an AI service: OpenAI, Anthropic, Bedrock in your AWS account, a vLLM on your network. The gateway ships 129 presets, connectio... - [Local inference](/docs/features/local-inference.md): Local inference puts model servers you host behind the gateway as pools of replicas. You say where the replicas are, or let the gateway start them, and it do... - [Local inference with llama.cpp](/docs/features/local-inference-llama-cpp.md): llama.cpp serves GGUF models through llama-server. On a Mac with Apple Silicon it uses the GPU through Metal; anywhere it also runs on the CPU alone. This pa... - [Local inference with MLX](/docs/features/local-inference-mlx.md): MLX is Apple's array framework for Apple Silicon; mlx_lm.server serves MLX models with an OpenAI-compatible API. It always runs on the Apple GPU, so an MLX p... - [Local inference with Ollama](/docs/features/local-inference-ollama.md): Ollama serves models from its own model store with an OpenAI-compatible API under /v1. This page sets up a local inference pool the gateway starts and superv... - [Local inference with vLLM on NVIDIA](/docs/features/local-inference-vllm.md): vLLM serves models on NVIDIA GPUs from the image vllm/vllm-openai. This page covers the three ways to put it behind a local inference pool: replicas the gate... - [Network policy per provider](/docs/features/provider-network.md): Use providers.network when one connection needs a different CA, client certificate or proxy from the global upstream network. Each connection keeps its own T... - [Native provider passthrough](/docs/features/passthrough.md): A passthrough alias exposes an operator-selected native provider action through the gateway. The gateway authenticates the caller and the provider, applies t... - [Provider credential pools](/docs/features/provider-credentials.md): A provider can retain one legacy API key or declare a pool of named static credentials. The gateway keeps a stable primary credential for account-bound opera... - [Capabilities and routes](/docs/features/capabilities.md): A capability is something a model (alias) can do: chat, generate an image, transcribe audio. You declare the capabilities of each alias, and the gateway acce... - [Speech](/docs/features/speech.md): POST /v1/audio/speech turns text into audio. The request is the OpenAI speech request (model, input, voice, and optionally response_format, speed and instruc... - [File inputs and file slicing](/docs/features/file-inputs.md): Gemini reads documents, spreadsheets, images, audio and video as part of a request, and bills only the part of a file it is told to read: a page range of a P... - [Protocol translation](/docs/features/protocol-translation.md): Clients speak four API dialects: OpenAI Chat Completions, OpenAI Responses, Anthropic Messages and Google Gemini GenerateContent. Providers speak six: those... - [Prompt caching for Claude](/docs/features/prompt-caching.md): Claude reads a prompt prefix from its cache only up to a point the request marks with cache_control. A cached read costs a tenth of the input price or less,... - [Decisions](/docs/features/decisions.md): Decision models answer typed questions about a text: "is the customer asking for a refund?" (yes/no), "what is the tone?" (choice), "how urgent is it, from 1... ## Features › Routing and resilience - [Routing and resilience](/docs/features/feature-routing.md): Providers go down, slow down and change their prices. With more than one target per alias, the gateway chooses where to send each request and tries another o... - [Weights and per-target capacity](/docs/features/routing-and-admission.md): Two tools for when you have more than one target for the same model: - [Cost, occupancy, tags and semantic fallbacks](/docs/features/routing-strategies.md): Four ways to decide which target serves a request, beyond the declared order and weights: - [Conditional target routing](/docs/features/conditional-routing.md): Use targets.when to restrict which upstream connections may serve an alias for an authenticated key, its team and admitted usage tags. Conditions narrow dest... - [Context window check before dispatch](/docs/features/context-window-check.md): A prompt longer than a model's context window is refused by the provider, but only after the gateway has sent it: the request travels, the provider answers 4... - [Automatic routing](/docs/features/auto-routing.md): An "auto" alias decides, for each request, which model serves it. A coding question goes to the coding model, math goes to the reasoning model, simple conver... - [Latency routing](/docs/features/latency-routing.md): With two targets for the same model, the gateway can prefer the one that is responding faster right now. It learns from its own traffic: it measures how long... - [Adaptive routing](/docs/features/adaptive-routing.md): With two or more targets for one alias, the gateway can order them by how healthy each provider connection and its keys have been on its own recent traffic:... - [Canary routing](/docs/features/canary-routing.md): A canary sends a share of an alias's traffic to one new target while the rest stays on the targets you trust, keeps each key or session on its side, can copy... - [Destination health and circuit breakers](/docs/features/resilience.md): Use passive circuits to stop repeatedly calling a failing destination. Add explicit active checks when a provider supplies a suitable health or metadata endp... - [Circuit breaker policy management](/docs/features/resilience-management.md): Adjust the circuit breaker threshold and duration from the console or the API, without editing YAML or restarting. The change applies to all replicas. Flag:... - [Stream timeouts](/docs/features/stream-timeouts.md): Bound a streaming operation without cutting a healthy answer at the ordinary request timeout. The stream_timeouts flag is disabled by default. Enable it expl... - [Inference retries](/docs/features/inference-retries.md): A transient 429 or 503 does not have to become an error for the client. For chat, Messages, Responses, embeddings, moderations and rerank, the gateway can re... - [Request parameter policy](/docs/features/request-parameter-policy.md): An alias often needs the same request parameters on every call: a reasoning model that should think at minimal effort unless the app asks for more, a cheaper... ## Features › Costs and pricing - [Costs and pricing](/docs/features/feature-costs.md): Without controls, AI cost only shows up on the next month's invoice. The gateway finds each model's price on its own, estimates the cost of each call and can... - [Advisory cost calculator](/docs/features/cost-calculator.md): Estimate the base model rate for a stated quantity before sending a request. The calculator performs no inference, reserves no budget, writes no ledger and n... - [Automatic pricing](/docs/features/automatic-pricing.md): You don't need to enter the price of every model. The gateway reads the public catalogs (the community cost map, models.dev, OpenRouter, DeepInfra), cross-ch... - [Service-tier pricing](/docs/features/service-tier-pricing.md): OpenAI bills one request at the price of the service tier that served it. The same model costs a different amount at the standard (default) tier, at priority... - [Valuation: the cost of each call](/docs/features/usage-valuation.md): Each recorded request gets an estimated cost in dollars, calculated with the price at that moment and the tokens the provider reported. The price is frozen i... - [Display currency](/docs/features/display-currency.md): The gateway counts, budgets and enforces in USD, always. With fx_display, the console and the report and analytics responses can also show amounts in another... - [Prompt compression](/docs/features/prompt-compression.md): An alias can compact the Chat prompts it receives before they reach the provider, conservatively: extra empty lines in prose and exact repeated messages. It... - [Budgets and TPM](/docs/features/budgets-and-tpm.md): Reserve capacity before a call reaches the provider, then settle against the usage it reports: - [Attribution, TPD and budget alerts](/docs/features/quota-governance.md): Additions to budgets and TPM, under the same flags: - [Protected budget and TPM profiles](/docs/features/quota-protocols.md): A budget is only reliable if the gateway can measure what the call consumed. That is why each type of call has a profile: what the request must carry for the... - [Financial reconciliation](/docs/features/quota-finance.md): Budgets reserve up front and settle afterwards, with what the provider reports. Sometimes the settlement does not happen: a timeout, a crash, a truncated res... - [Provider cost connectors](/docs/features/billing-connectors.md): A cost connector reads a provider's organization cost report directly, with an administrative credential you supply, and imports it into the financial reconc... - [Optimization insights](/docs/features/optimization-insights.md): Optimization insights explain what the gateway's cost features did and where more could be saved, with evidence you can check: the sample, the window, the ex... - [Native billing imports](/docs/features/native-billing-imports.md): Compare what the gateway estimated with what the provider charged. You export the cost report from OpenAI, Anthropic or Google Cloud Billing, paste it into t... - [Video with a budget (Runway)](/docs/features/quota-video.md): Generating video takes minutes and is billed per second. With quota_video, the gateway also enforces budgets on asynchronous video generation with Runway Gen... - [Manual price book](/docs/features/pricing.md): Automatic pricing covers most models. For the rest, such as an open source model on a provider that does not publish a price, or a contract with its own rate... - [Price book management](/docs/features/price-book-management.md): Edit the manual price book from the console or the API, with a revision history and a revert to the YAML at any time. Flag: price_book_management, which requ... - [Catalog review and price archive](/docs/features/catalog-review.md): With catalog_review, nothing the gateway reads from a public catalog or a provider's model list takes effect by itself. You import a catalog as a draft, revi... ## Features › Access and governance - [Access and governance](/docs/features/feature-access.md): Every app needs its own credential, every team its own ceiling, and every change an author. The gateway separates who calls the API (virtual keys) from who a... - [Keys, teams and roles](/docs/features/access-control.md): The gateway separates two things: - [Custom permission ceilings](/docs/features/custom-roles.md): Give a named console user a smaller, explicit set of actions while preserving the user's existing built-in role and team boundaries. A financial reader can s... - [Request rate limits](/docs/features/rate-limits.md): Rate policies cap admitted inference requests. They do not count tokens, estimate cost or grant access to a model. Budgets and TPM cover those separate limit... - [SSO login (OIDC)](/docs/features/oidc.md): Optional federated MFA policy adds signed assurance and login-time freshness checks to configured legacy or named providers. SSO by itself is not MFA. Polici... - [Multiple OIDC login providers](/docs/features/oidc-providers.md): A separate federated MFA catalog can require signed context/method proof and authentication freshness for an existing profile. It does not add fields to the... - [Google and Microsoft console login](/docs/features/oidc-vendors.md): Use named OIDC providers to offer Google and Microsoft Entra ID beside other corporate login buttons. They reuse the gateway's server-side authorization-code... - [Require MFA proof from a federated identity provider](/docs/features/federated-mfa.md): Use an explicit assurance policy to require stronger authentication on a configured OIDC or SAML console login. The gateway verifies signed proof from the id... - [Native console MFA](/docs/features/native-mfa.md): Native MFA adds a second factor after the console's first factor: an authenticator-app code (TOTP, RFC 6238), a passkey (WebAuthn), or a one-time recovery co... - [Group-restricted OIDC login](/docs/features/oidc-groups.md): Only people in the right IdP groups get into the console. With oidc_group_policy, the gateway reads the groups claim from the ID token and denies login to an... - [Logout with SSO](/docs/features/oidc-logout.md): Two logout directions for those who sign in to the console through SSO: - [SSO login (SAML)](/docs/features/saml.md): Optional federated MFA policy requests an exact authentication context and checks the returned class and optional authentication freshness inside the selecte... - [Just-in-time user provisioning](/docs/features/jit-provisioning.md): With federated_jit, the first OIDC or SAML login of a person who has no local user creates one, as long as the identity is on an allowlist. The new user wait... - [Invitations by e-mail](/docs/features/invitation-email.md): With invitation_email, a console invitation can go straight to the invitee over SMTP. The message carries only the single-use invitation link: never an API k... - [IdP groups to team membership](/docs/features/idp-team-sync.md): With idp_team_sync, exact group IDs from your identity provider decide part of each user's team memberships: an OIDC claim, a SAML attribute or SCIM groups.... - [Provisioning with SCIM](/docs/features/scim.md): The IdP (Entra ID, Okta, authentik, Keycloak with an extension) creates and deactivates console users on its own. When someone leaves the company and is deac... - [Organizations](/docs/features/organizations.md): An organization sits above teams: a business unit, a customer, a subsidiary. It defines a model ceiling that applies to every key of every one of its teams,... - [Organization admins](/docs/features/organization-admins.md): With organization_admins, the gateway runs in a multi-tenant mode: the org_admin console role administers exactly one organization and nothing outside it. Wi... - [Feature plans for teams and organizations](/docs/features/entitlements.md): Plans add a feature ceiling to authorization. They never grant a role, route scope, model, membership or provider credential. Operational flags enable the in... - [Key expiry, tags and lifecycle policy](/docs/features/key-policy.md): A key can have no expiration, an explicitly selected duration or an absolute UTC deadline. Creation and rotation default to Never. An operator policy can lim... - [Key rotation](/docs/features/key-rotation.md): Change a virtual key's secret without taking applications down. The gateway issues a new secret, and the old one keeps working during an overlap window you c... - [Disable and trash](/docs/features/disable-and-trash.md): Disabling is the everyday, reversible action for managed keys, teams and console users: the object stops working at once and comes back unchanged when you en... - [Managed credential cache](/docs/features/managed-key-cache.md): The optional managed credential cache reduces repeated authentication lookups for previously verified managed bearer keys. It keeps bounded private snapshots... - [Key owners and workloads](/docs/features/identity-ownership.md): Every key can have an owner: a console user or a workload (agent, job, service) on the same team. That way, when a cost spike shows up or a key leaks, you kn... - [JWT for inference](/docs/features/jwt-inference.md): Instead of distributing virtual keys, your applications can call the gateway with a JWT access token issued by your identity provider. The gateway checks the... - [Usage tags](/docs/features/usage-tags.md): Tag each request with an environment, application, or cost center, and then filter and group usage and cost by those tags. The client sends the tags in a hea... - [Attribution groups](/docs/features/attribution-groups.md): An attribution group is a financial grouping of one team's traffic: an application, a harness (a coding agent or batch runner), a repository or any custom gr... - [Customer portal](/docs/features/customer-portal.md): The customer portal is for an operator that sells AI usage to its own customers. The operator registers customer organizations, their customer teams and memb... - [Content capture](/docs/features/content-capture.md): By default the gateway keeps no prompt and no answer: logs, traces, request events and the request log carry metadata only. Some operators must keep what the... - [Data governance: legal holds, audit retention, tamper evidence and end-user deletion](/docs/features/data-governance.md): Three controls decide how long the gateway keeps evidence, and what it erases on request: ## Features › Guardrails - [Guardrails](/docs/features/feature-guardrails.md): A prompt with a customer's CPF, an API key pasted by mistake or a toxic response should not go out, or come back, unchecked. Guardrails inspect text before i... - [Guardrails](/docs/features/guardrails.md): Guardrails inspect text before it goes to the provider and, if you want, the answer before it goes back to the app. They mask what is sensitive (a CPF become... - [Judge guardrails](/docs/features/judge-guardrails.md): A judge guardrail uses one of your evaluators as a guardrail: before the request reaches the provider (input) or before the answer reaches the app (output),... - [Extensions](/docs/features/extensions.md): Extensions let an operator add small pieces of logic to the gateway - today a custom guardrail - without changing the gateway itself and without giving that... ## Features › Cache - [Cache](/docs/features/feature-cache.md): Repeated questions cost the same every time. The cache returns the answer already obtained without calling the provider. It is isolated so that one team neve... - [Exact cache for embeddings and moderation](/docs/features/exact-cache.md): Indexing the same documents again, or moderating the same text twice, doesn't have to cost another call. The exact cache returns the response already obtaine... - [Chat answer cache](/docs/features/semantic-cache.md): A chat question that was already answered can come back from the cache, without calling the provider. The comparison is exact or, with an embeddings alias, b... ## Features › Observability - [Observability](/docs/features/feature-observability.md): When something goes wrong, the question is always the same: what happened to this call? The gateway records every request with its request_id and W3C trace,... - [Logs, traces and metrics](/docs/features/observability.md): When a user says "the response was slow" or "it failed", you need to find that request and see what happened: which model, which provider, how many attempts,... - [Traces and the span store](/docs/features/traces.md): The gateway already times and prices every step of a request: the routing decision, each provider attempt, the cache lookup, each guardrail and each MCP tool... - [Trace explorer](/docs/features/trace-explorer.md): The Traces screen answers two questions about the traffic the gateway serves: which requests behaved a certain way, and what happened inside one of them. It... - [Sessions and end users](/docs/features/sessions-and-users.md): Two more scopes of the Traces screen group the traffic the way people think about a product: by conversation and by customer. Sessions lists the traces that... - [Agent usage](/docs/features/agent-usage.md): The Agent usage page shows the agents that call models through the gateway: how much each is used, how fast it answers, what it costs and how often it fails,... - [Query language and saved views](/docs/features/query-language.md): The gateway has one query language. You write the same string in the Traces screen, in the Request logs screen, in the filter of an evaluator rule and in an... - [Application spans over OTLP](/docs/features/otlp-ingest.md): The gateway already records its own spans for every request: routing, provider attempts, cache, guardrails, tools. Your application knows the rest of the sto... - [Public trace, evaluation and evaluator API](/docs/features/public-trace-api.md): The console reads traces, results and evaluators with a session. Code outside the console (a CI job, an external evaluator, a notebook) reads them with a key... - [Agent runs recognized from traffic](/docs/features/agent-recognition.md): A coding agent makes dozens of model calls for one thing its user asked. In the request log they are dozens of unrelated rows. With agent_recognition the gat... - [Request audit events](/docs/features/request-events.md): An audit or billing pipeline needs one record per request, with a shape that does not change between releases: which key called which model, which provider a... - [Response headers for clients](/docs/features/response-headers.md): Every inference answer carries X-Request-Id, traceparent and X-Gateway-Provider, and a provider's Retry-After on 429 and 503. An application that paces itsel... - [Provider request labels](/docs/features/provider-request-labels.md): The gateway already says who spent what: the request log, the reports and the budgets are broken down by organization, team and key. The cloud bill is not. V... - [Analytics](/docs/features/analytics-experience.md): Who consumed what, how much, how it changed and what needs investigating, right in the console, without Grafana. Analytics reads the usage events recorded in... - [Analytics store](/docs/features/analytics-store.md): PostgreSQL is the gateway's database and stays the source of truth for usage, money, quotas, receipts, identity and configuration. On large deployments, usag... - [Saved analytics views and dashboards](/docs/features/analytics-saved-views.md): A saved view keeps a set of analytics filters, a time range and up to eight dashboard widgets under your own console identity, so you can reopen the same sli... - [Custom dashboards](/docs/features/dashboards.md): A dashboard is a page you build yourself: charts of the gateway's metrics over time, single figures and notes, laid out in the order you choose. You keep it... - [External usage connectors](/docs/features/external-usage.md): An external usage connector reads a provider's own usage report, which includes traffic that did not pass through this gateway: a coding tool billed to an AP... - [m7 ai](/docs/features/ask-ai.md): Most questions about a gateway are a filter and a group-by away: "how much did each team spend on each model per hour yesterday?", "which keys got the most 4... - [Analytics export](/docs/features/analytics-export.md): Take the usage summary into a spreadsheet or your monthly report: the same view you see in Analytics, as CSV. Flag: analytics_export, which requires usage_an... - [Alerts](/docs/features/alerting.md): Send alerts when a team crosses a budget threshold, a guardrail blocks a request, an MCP server fails its health check, or someone creates or revokes a key.... - [Alert rules](/docs/features/alert-rules.md): Alert rules watch the request log and the stored spans for the conditions you call critical, such as a burst of 5xx answers on one model, a guardrail blockin... - [Durable receipts](/docs/features/durable-usage.md): Normal usage recording is best effort: if the database fails midway, an event can be lost. With durable receipts, the gateway writes a receipt to PostgreSQL... - [Durable queues and dead letters](/docs/features/durable-queues.md): Durable queues hold background work that must survive a restart, a crash or a failing destination. A job is a PostgreSQL row: the gateway confirms it only af... - [Usage in streams](/docs/features/stream-usage.md): In streamed (SSE) responses, the provider can report usage in a finishing chunk or terminal event; it is not necessarily the last SSE event. With stream_usag... - [Metadata retention](/docs/features/metadata-retention.md): Usage events grow forever if nobody deletes them. Retention removes, in small batches and without getting in the way of inference, the usage events older tha... ## Features › Evals, prompts and Playground - [Evals, prompts and Playground](/docs/features/feature-evals.md): Switching models or changing a prompt without measuring is a gamble. The gateway includes the full evaluation cycle: datasets, experiments, judges and human... - [Evals](/docs/features/evals.md): Before you switch models or prompts, prove that the change is an improvement. Evals run a dataset against a model and a prompt, score the responses with judg... - [Evaluators](/docs/features/evaluators.md): An evaluator is a judge the gateway runs for you: a model call (an LLM judge or a decision model), your own JavaScript function (a code evaluator), or a read... - [Evaluation results on spans, traces and sessions](/docs/features/evaluation-results.md): With evaluation results on, every score the gateway stores, whether an LLM judge wrote it, a code evaluator, a reviewer, your application through the API or... - [Judge calls as linked, labelled traffic](/docs/features/evaluation-tracing.md): A judge is a model call the gateway makes for you. With evaluation tracing on, that call stops being an anonymous request among your application's: - [Experiments as traces and regression suites](/docs/features/experiment-traces.md): An experiment item is one trace: the item's model call and every judge that scored it, nested, with the cost of each from the request log. Datasets keep a ve... - [Agent evaluations](/docs/features/agent-evaluations.md): An agent evaluation answers one question with numbers: which agent configuration or model solves your tasks most often, and at what cost per solved task. You... - [Evaluation metrics and the Quality view](/docs/features/evaluation-metrics.md): With features.evaluation_metrics on, every evaluation result is also a metric. The gateway counts it on /metrics and in the OTLP metrics push, the analytics... - [Evaluation monitors](/docs/features/evaluation-monitors.md): A monitor watches one number about a team's evaluations and tells a channel when it crosses a threshold and when it recovers: an evaluator's pass rate fallin... - [Route experiments](/docs/features/route-experiments.md): A canary already splits an alias's traffic between a stable side and a canary side. A route experiment scores the two sides with one of your evaluators: for... - [Wasted spend and failure insights](/docs/features/failure-insights.md): Usage → Insights answers two questions about a time range: what did we pay for nothing, and what keeps failing. Both are queries over what the gateway alread... - [Topics](/docs/features/topics.md): Topics answers the question a request log cannot: what is all this traffic about? The gateway reads finished traces (or sessions, or coding-agent runs), has... - [Human review](/docs/features/human-review.md): People are the reference a judge is measured against. This page shows how to put traffic in front of reviewers, collect what they think, see where they disag... - [Prompt registry](/docs/features/prompt-registry.md): Keep your product's prompts in one place, with versions, explicit publishing and history. A prompt has messages with variables ({{input}}), an owner (the tea... - [Delegate prompt authoring and publication](/docs/features/prompt-delegation.md): Give an existing team's named members explicit rights to author drafts, publish reviewed revisions or revert/delete prompts. Delegation does not create users... - [Enforced system prompt](/docs/features/enforced-system-prompt.md): Attach a reviewed prompt registry publication to a Chat alias with models.system_prompt. The gateway applies it even when the client does not request a templ... - [Playground](/docs/features/playground.md): Try a model right in the console: chat, compare up to three models side by side with the same question, generate an image or audio, ask a decision model type... ## Features › MCP and agents - [MCP and agents](/docs/features/feature-mcp-agents.md): Agents call tools and other agents, and every tool is a door into your systems. The gateway puts MCP servers and A2A agents behind the same access control as... - [MCP tools](/docs/features/mcp-execution.md): Every MCP tool is a door into your systems: internal search, tickets, databases. The gateway puts MCP servers behind the same access control as models. A key... - [MCP ingress](/docs/features/mcp-ingress.md): The MCP ingress makes the gateway an MCP server. Any MCP client that speaks protocol revision 2025-11-25 over Streamable HTTP (an IDE, an agent framework, th... - [MCP protocol revision 2026-07-28](/docs/features/mcp-protocol-2026-07-28.md): MCP revision 2026-07-28 makes the protocol stateless: there is no initialize handshake and no session; every request carries its protocol version and client... - [MCP composition](/docs/features/mcp-composition.md): Composition publishes one governed MCP endpoint, /v1/mcp, over several upstream MCP servers. A client configures a single server and sees, under one session,... - [MCP execution trail](/docs/features/mcp-execution-audit.md): The execution trail keeps one durable PostgreSQL record for every authorized MCP operation: each tool listing and each tool call, through the REST tool facad... - [Scheduled MCP health and discovery](/docs/features/mcp-scheduled-health.md): MCP health checks run when an administrator presses Check health. Scheduled checks run the same reachability and tool discovery in the background, for the se... - [MCP discovery history](/docs/features/mcp-discovery-history.md): A console-managed MCP server (MCP execution) is executable only through tools an administrator approved from a recorded snapshot of its tool list. Every test... - [MCP delegation](/docs/features/mcp-delegation.md): Two delegated workflows let teams take part in MCP administration without gaining trust or grants: team administrators propose MCP servers for review, and ea... - [MCP credential reuse](/docs/features/mcp-credential-reuse.md): With per-user OAuth, each user connects their own account on every MCP server that acts as them. When several MCP servers sit behind the same authorization s... - [Per-user static MCP credentials](/docs/features/mcp-user-credentials.md): Some MCP servers authenticate each person with their own API key rather than an OAuth grant. With this feature a console user stores their own key for such a... - [MCP token exchange](/docs/features/mcp-token-exchange.md): An agent or other workload often calls tools for an end user: the tool's server must see the user, with only the rights the call needs, and must know it came... - [MCP tool search](/docs/features/mcp-tool-search.md): An agent with access to many MCP servers should not load every tool definition into its context. Tool search answers one question instead: which of the tools... - [MCP code mode](/docs/features/mcp-code-mode.md): Code mode lets an agent use many MCP tools without putting every tool definition in the model's context. Instead of a full listing, the client gets three bou... - [OpenAPI tools](/docs/features/mcp-openapi-tools.md): Many internal services already publish an OpenAPI document. The gateway can turn the operations of such a document into tools that agents call through the sa... - [Asset discovery](/docs/features/asset-discovery.md): An agent or developer with a gateway key often needs to know what it can use: which model aliases, which MCP servers and API sources, which tools, which skil... - [A2A agents](/docs/features/a2a-agents.md): Publish your agents (A2A protocol) behind the gateway: clients call /a2a/{id} with the gateway key, the gateway checks whether the team can use that agent an... - [Skill registry](/docs/features/skill-registry.md): Distribute skills (instruction packages with a SKILL.md, like Claude Code's) to the right teams, with immutable revisions, explicit publishing, and a hash of... - [Skill submissions and review](/docs/features/skill-submissions.md): Team members can propose skills for the skill registry without publishing them. Every submission goes through a built-in content scan, and a global administr... - [Installable skills feed](/docs/features/skill-marketplace.md): A coding-agent client can install the skills of the skill registry straight from the gateway. The gateway serves a plugin marketplace: a catalog with one ent... - [Provider-native skills](/docs/features/native-skills.md): Some providers run skills themselves: the Anthropic Messages API accepts container.skills, a list of skills that the provider loads into its own code-executi... ## Features › Other APIs - [Other APIs](/docs/features/feature-apis.md): Besides chat, the gateway serves the other API families that SDKs expect, with the same controls: key, team, quotas, logs and trace. - [Image generation and edits](/docs/features/image-generation.md): The gateway serves the OpenAI Images API on two routes: /v1/images/generations creates images from a prompt, and /v1/images/edits creates images from a promp... - [Realtime](/docs/features/realtime.md): Real-time voice conversations (the OpenAI and Azure Realtime API) go through the gateway like any other model: the key is checked before the connection, the... - [Batches](/docs/features/batches.md): Send thousands of requests in one file and get the results later, in the OpenAI Batch API format. By default the gateway runs each line itself, within the sa... - [Fine-tuning](/docs/features/fine-tuning.md): Create and monitor fine-tuning jobs on the OpenAI API through the gateway, with files and jobs isolated per team. Flags: fine_tuning and batches. Interactive... - [Containers](/docs/features/containers.md): Containers are the sandboxes where the Responses code interpreter (and the hosted shell) runs code. They live at OpenAI and are billed by OpenAI per session.... - [Vector stores](/docs/features/vector-stores.md): Store documents and search them by similarity for RAG, with the OpenAI vector stores API pointed at the gateway. Embeddings are computed by the gateway itsel... - [OCR](/docs/features/ocr.md): Extract the text of PDFs and images as markdown, page by page, with Mistral OCR (directly or on Azure AI Foundry). POST /v1/ocr follows the Mistral format. F... - [Moderation](/docs/features/moderations.md): POST /v1/moderations follows the OpenAI Moderation API: send text, a list of texts or text with images, and get back, per input, whether it is flagged and a... ## Features › Console - [Console](/docs/features/console.md): The console is the gateway's web interface, at /ui, served by the binary itself on the same origin as the API. It does not depend on Grafana, Prometheus or a... - [Console branding](/docs/features/console-branding.md): Put your company's brand on the console: product name, accent color, logo and support link, applied to the login screen, the sidebar and the tab title. It ch... ## Deploy and operate - [Deployment modes](/docs/operate/deployment-modes.md): The gateway is a single Go binary with the console embedded. It runs the same way in every mode: Docker Compose to get started, a binary or NPX on a machine,... - [Names, and upgrading from the earlier ones](/docs/operate/product-names.md): The product is called m7gtw. Before that it was distributed under a generic working name, and some artifacts carried it. This page lists what is named how, a... - [Build-time feature defaults](/docs/operate/edition-defaults.md): Edit internal/config/edition/defaults.json before building a distribution. This versioned file selects boolean defaults from the existing flag catalog; it do... - [Enterprise license activation](/docs/operate/licensing.md): A definitive enterprise license is a vendor-signed, canonical payload and Ed25519 signature verified locally. Verification makes no network call. The vendor... - [Operating on Kubernetes](/docs/operate/operations.md): How to install, verify, upgrade, and stop the gateway on a Kubernetes cluster. The manifests are standard Kubernetes: they do not depend on a distribution, d... - [High availability on Kubernetes](/docs/operate/kubernetes-availability.md): For production, run several gateway replicas with autoscaling, a PodDisruptionBudget and spreading across nodes, and shut down each pod without dropping in-f... - [Run on Kubernetes in production](/docs/operate/kubernetes-production.md): This guide takes you from a first cluster to a gateway that survives the loss of a node, a zone, its database primary and, if you need it, a whole region. Fo... - [Local, external and managed PostgreSQL](/docs/operate/managed-postgres.md): The gateway uses PostgreSQL through the native pgx protocol. The same schema, migrations, transactions and authorization contract serve a local server, a com... - [Secret managers](/docs/operate/secret-managers.md): The gateway reads every credential by name: database URL, token hashes, session and encryption keys, provider keys. By default the name is an environment var... - [MySQL](/docs/operate/mysql.md): MySQL is not a gateway database engine, and it will not be one: the owner cancelled that work (T017) on 2026-11-14. PostgreSQL is the only primary engine, st... - [Persistence responsibilities and adapter contracts](/docs/operate/persistence-contracts.md): PostgreSQL is the gateway's only implemented persistence engine. It currently serves identity and configuration authority, protected quota accounting, and re... - [Exact cache: memory, Redis/Valkey and Memcached](/docs/operate/cache-backends.md): The same exact cache profile can use local RAM, Redis compatible with the commands in this contract, or Memcached. A local endpoint and a hosted service use... - [Network and timeouts](/docs/operate/network-configuration.md): How the gateway reaches providers: outbound proxy, private CA, mTLS, forced IPv4, connection pool, timeouts and the limit on concurrent inferences per instan... - [HTTP input budgets](/docs/operate/http-input-limits.md): The gateway bounds request headers, request-body reading and idle keepalive connections separately from generating an answer, and asks the operating system f... - [CORS for browser applications](/docs/operate/cors.md): A web application served from another origin (for example https://app.example.com) can call the gateway's inference API from the browser, typically with a sh... - [Graceful shutdown](/docs/operate/shutdown.md): Configure the same shutdown behavior in the binary, Docker, Compose, NPX or Kubernetes. Application durations belong in the behavior YAML; the orchestrator's... - [Go runtime settings](/docs/operate/runtime-configuration.md): Configure garbage-collection percentage pacing and the Go runtime's soft memory limit through the behavior YAML. The gateway retains its existing defaults; t... - [Offline runtime bundle](/docs/operate/offline-bundle.md): To install the gateway in an environment without internet access, the offline bundle carries the approved gateway image, the PostgreSQL image every deploymen... - [N-1/N upgrade test](/docs/operate/upgrade-n1-n.md): During a rolling upgrade the previous release (N-1) and the new one (N) run against the same PostgreSQL database for a while. The N-1/N upgrade test proves w... ## Performance - [Performance](/docs/performance/overview.md): This gateway's own numbers, measured on one machine against a simulated upstream, with the upstream called directly as the baseline. This page is generated f... - [How performance is measured](/docs/performance/method.md): How much the gateway adds to each call, and what it costs in CPU and memory, compared with calling the provider directly. The measurements use gwbench, a too... - [Local load test](/docs/performance/local-load.md): A reproducible experiment on the development workspace, without a release, using the gateway and a synthetic provider over loopback. No real key, external AP... - [Trace explorer reads: PostgreSQL against the analytics store](/docs/performance/trace-explorer.md): How long the trace explorer takes to answer on each span engine (spans.engine: database or analytics_store, see span store engines for the write side), with... - [Sessions and end users: list reads on both engines](/docs/performance/sessions-and-users.md): How long the Sessions and Users scopes take to answer on each span engine (spans.engine: database or analytics_store), with the same data in both, and what t... - [Query language reads: PostgreSQL against the analytics store](/docs/performance/query-language.md): What the query language costs on each span engine (spans.engine: database or analytics_store): the forms it adds to the trace explorer, measured on the same... - [Topics: what a fit and its reads cost on each span engine](/docs/performance/topics.md): What Topics costs at a realistic volume, with the spans on PostgreSQL (spans.engine: database) and on the analytics store (analytics_store). Topics, summarie... - [Prompt traffic reads: with and without their indexes](/docs/performance/prompt-traffic.md): What the reads of prompt revision on traffic cost on a large request log, and what their indexes change: the prompt page's figures of one prompt, and the 7-d... - [OTLP ingest: application spans on each span engine](/docs/performance/otlp-ingest.md): What application spans over OTLP cost to store on each span engine, so you can size the ingest and choose spans.engine with numbers. - [Tool-aware routing: what the decision costs](/docs/performance/trajectory-routing.md): How much time the trajectory strategy of automatic routing adds to a request. The strategy reads the conversation the client sent, scores the newest tool res... - [Judge guardrails: what a check costs](/docs/performance/judge-guardrails.md): How much a judge guardrail adds to a request, apart from the judge model's own time. A judge guardrail is the one evaluation feature on the request path, by... ## Benchmarks - [Same-machine gateway comparison](/docs/benchmarks/same-machine.md): This gateway against LiteLLM, Bifrost and Portkey, each in its own container on the same machine, with the same CPU limit and the same simulated upstream, me... - [Gateway benchmark reproduction](/docs/benchmarks/reproduction.md): Per-cell results of other AI gateways and of this one, measured with a private run of a public, open-source gateway benchmark: each gateway on its own box, p... - [Analytics store: ClickHouse against PostgreSQL](/docs/benchmarks/analytics-store.md): Whether an optional ClickHouse read store would pay off for request logs, usage analytics and trace correlation (task T019.001). PostgreSQL stays the source... - [Span store engines: PostgreSQL against the analytics store](/docs/benchmarks/span-store-engines.md): Where the span store should keep spans: in the transactional database (spans.engine: database, the default without an analytics store) or straight in the ana... - [Unknown spend and client disconnects: how other products behave](/docs/benchmarks/unknown-spend-and-disconnects.md): Two questions decided the design of the manual release and of settling a stream after its client disconnects. This page records what ten gateways and four ob... ## Security - [Security and trust](/docs/security/trust.md): This page gathers what m7gtw does to protect data and access, each item linked to the guide that covers it in detail. These are product facts, verified by te... - [Secure development](/docs/security/secure-development.md): This is m7gtw's secure development policy. It describes what happens on every change, and each step is verifiable: the release gate fails if any of them does... - [Threat model](/docs/security/threat-model.md): The product's risk management: what m7gtw protects, from whom, where the trust boundaries are and which defense answers each threat. The threats follow STRID... - [Data inventory](/docs/security/data-inventory.md): What the gateway stores in PostgreSQL, whether it is encrypted, for how long and how to delete it. This is the product's data management policy, checked agai... - [Cryptography](/docs/security/cryptography.md): Where m7gtw uses cryptography, with which algorithm and where each key comes from. Checked against the code on 2026-10-27. All primitives come from the Go st... - [Client source and IP restrictions](/docs/security/source-ip-controls.md): Source controls add an independent network ceiling to normal identity, route, model, team and budget authorization. They never grant access on their own. The... - [Encryption and session key rotation](/docs/security/keyring-rotation.md): The gateway supports one current and one previous operator key for provider-secret encryption, and a separate pair for session signing. These are different f... - [Hardening the deployment](/docs/security/hardening.md): How to install m7gtw with the smallest attack surface. The first part is what the manifests already provide and the gate checks; the second is what depends o... - [Continuity and recovery](/docs/security/business-continuity.md): The m7gtw continuity plan: what needs a backup, how to restore, and what is lost in each failure. Persistent gateway records live in PostgreSQL. Preserve the... - [Incident response](/docs/security/incident-response.md): m7gtw's security incident runbook: how to contain, investigate and recover. Each step uses a product feature, and the sequence was simulated on the local gat... - [Third parties and licenses](/docs/security/third-party.md): m7gtw's third-party management has two parts: the third-party code that ships in the product, checked for license on every release, and the external services... - [Security assessment](/docs/security/security-assessment.md): The penetration tests done on m7gtw, what they found and what changed. This is a self-assessment: done by the team itself, with open tools, not an independen... - [Vulnerability disclosure](/docs/security/vulnerability-disclosure.md): How to report a vulnerability in m7gtw and what to expect from the process. - [Product security controls](/docs/security/security.md): What the gateway does to protect keys, data and access, layer by layer, and what is left to whoever operates it. For an evaluation view (vendor, compliance),... ## Design system - [Design system](/docs/design/overview.md): The m7gtw console and this documentation site share one design system: liquid glass over a quiet field of light, in a dark and a light theme, with the same c... ## Design system › Foundations - [Color](/docs/design/color.md): Color in the console and on the documentation site comes from named roles, each with a dark and a light value. Both products have the two themes: light until... - [Typography](/docs/design/typography.md): Three families carry the whole system: Space Grotesk for display, Manrope for everything read at length and JetBrains Mono for code. All three are variable f... - [Layout and spacing](/docs/design/layout-and-spacing.md): Spacing, sizes, corner radius, glass, the background field and breakpoints, and the layouts of the console and the site that use them. Part of the design sys... - [Motion](/docs/design/motion.md): Motion is small and optional: it confirms a change of state and gives the brand a little life, and it never carries information that is not also shown withou... - [Iconography and brand](/docs/design/iconography-and-brand.md): The product's mark is m7; its interface icons come from one line-icon set. Part of the design system. ## Design system › Components - [Buttons](/docs/design/buttons.md): Buttons start actions; links go places. A view has at most one primary button, and destructive actions say what they destroy. Part of the design system. - [Forms](/docs/design/forms.md): Fields, selects and text areas in the console: how they look in each theme, how they show focus and errors, and how a long filter form stays short. Part of t... - [Tables](/docs/design/tables.md): Tables hold the console's inventories and breakdowns: keys, models, logs, groups. They stay readable at any width by scrolling inside their panel rather than... - [Cards](/docs/design/cards.md): Cards and panels are the planes content sits on. In the console and on the site they are the same solid glass tint, steady enough for tables and forms, over... - [Navigation](/docs/design/navigation.md): How readers move through the console and the site: the rail and the top bar, tabs and breadcrumbs, and the theme switch that both products share. Part of the... - [Charts](/docs/design/charts.md): Charts read the design system for everything around the data (surface, grid, axes, labels and type), and their series colors are design tokens too: each vali... ## Design system › Patterns - [Empty states](/docs/design/empty-states.md): An empty state replaces content that is not there yet. It says why the area is empty and what the reader can do about it, in the space the content would take... - [Error states](/docs/design/error-states.md): How the console shows failures: a field that will not validate, an action the server refused, a page that could not load, and a gateway that is down or stopp... - [Loading states](/docs/design/loading-states.md): What the reader sees while the console waits: the first load of the application, a page fetching its data, a refresh and a long operation. Part of the design... ## Reference - [CLI](/docs/reference/cli.md): The gateway binary is the server, and it also ships helper commands. The server, validate and migrate read an explicit GATEWAY_CONFIG, or the embedded editio... - [Inference flags](/docs/reference/inference-flags.md): Each family of inference routes has its own flag. A route whose flag is off does not exist for anyone: it responds 404 feature_disabled before reading the bo... - [What to configure where](/docs/reference/configuration-parity.md): With the boot flag gitops_source_of_truth and gitops.source_of_truth: file, the YAML wins instead of the console for every object it declares; see GitOps sou... - [GitOps source of truth](/docs/reference/gitops.md): By default the console wins: a change saved in the console is stored as a versioned override in PostgreSQL and replaces the YAML object until someone reverts... - [Parameter definitions and captured values](/docs/reference/parameter-registry.md): The gateway shares typed definitions for five HTTP/shutdown parameters, nine network parameters, three HTTP/PostgreSQL pool limits, nine PostgreSQL durations... - [Official SDKs](/docs/reference/sdk-compatibility.md): Use the official OpenAI, Anthropic and Google SDKs pointed at the gateway: only the base URL and the key change. On every release, a test runs these SDKs, at... - [Resources for agents](/docs/reference/agent-resources.md): This documentation is also meant to be read by coding agents, such as Claude Code and Codex, that use or evolve the platform. Everything on the site exists i... ## API reference - [API reference](/docs/api.md): The m7gtw HTTP API, version 0.76.0: 939 operations in 60 areas, rendered from the OpenAPI contract. - [Models API](/docs/api/models.md): 4 operations of the m7gtw API in Models: POST /api/v1/admin/models/{id}/test; GET /v1/models; GET /v1/models/{id}; GET /v1/model/info. - [Text generation API](/docs/api/text-generation.md): 21 operations of the m7gtw API in Text generation: POST /v1/chat/completions; POST /v1/responses; Retrieve a stored response; Delete a stored response; and more. - [Embeddings and rerank API](/docs/api/embeddings-and-rerank.md): 3 operations of the m7gtw API in Embeddings and rerank: POST /v1/embeddings; POST /v1/rerank; POST /v1/ocr. - [Evals API](/docs/api/evals.md): 169 operations of the m7gtw API in Evals: GET /api/v1/admin/evaluations/retention; GET /api/v1/admin/route-experiments; POST /api/v1/admin/route-experiments; GET /api/v1/admin/route-experiments/{id}; and more. - [Files and batches API](/docs/api/files-and-batches.md): 17 operations of the m7gtw API in Files and batches: GET /api/v1/admin/batches; POST /api/v1/admin/batches/{id}/cancel; GET /v1/files; POST /v1/files; and more. - [Fine-tuning API](/docs/api/fine-tuning.md): 10 operations of the m7gtw API in Fine-tuning: GET /api/v1/admin/fine-tuning/jobs; POST /api/v1/admin/fine-tuning/jobs/{id}/cancel; GET /v1/fine_tuning/jobs; POST /v1/fine_tuning/jobs; and more. - [Containers API](/docs/api/containers.md): 11 operations of the m7gtw API in Containers: GET /api/v1/admin/containers; DELETE /api/v1/admin/containers/{id}; List the caller's containers; Create a container; and more. - [Media API](/docs/api/media.md): 10 operations of the m7gtw API in Media: List own asynchronous video jobs; Read own persisted video job; Cancel or delete own video task; Refresh a video job from its captured provider; and more. - [Gemini compatible API](/docs/api/gemini-compatible.md): 10 operations of the m7gtw API in Gemini compatible: POST /v1beta/models/{model}:generateContent; POST /v1beta/models/{model}:streamGenerateContent; POST /v1beta/interactions; POST /v1/interactions; and more. - [Native passthrough API](/docs/api/native-passthrough.md): 12 operations of the m7gtw API in Native passthrough: Call an authorized native provider action; Call an authorized native provider action; Call an authorized native provider action; Call an authorized native provider action; and more. - [MCP API](/docs/api/mcp.md): 16 operations of the m7gtw API in MCP: GET /v1/mcp/servers; GET /v1/mcp/servers/{id}/tools; POST /v1/mcp/servers/{id}/tools/call; GET /v1/mcp; and more. - [Vector stores API](/docs/api/vector-stores.md): 22 operations of the m7gtw API in Vector stores: GET /api/v1/admin/vector-stores; POST /api/v1/admin/vector-stores; PUT /api/v1/admin/vector-stores/{id}/sharing; DELETE /api/v1/admin/vector-stores/{id}; and more. - [Realtime API](/docs/api/realtime.md): 2 operations of the m7gtw API in Realtime: POST /v1/realtime/client_secrets; GET /v1/realtime. - [Agents API](/docs/api/agents.md): 9 operations of the m7gtw API in Agents: GET /v1/agents; POST /a2a/{agent_id}; GET /a2a/{agent_id}/.well-known/agent-card.json; GET /a2a/{agent_id}/.well-known/agent.json; and more. - [Access groups API](/docs/api/access-groups.md): 3 operations of the m7gtw API in Access groups: GET /api/v1/admin/access-groups; PUT /api/v1/admin/access-groups/{id}; DELETE /api/v1/admin/access-groups/{id}. - [Alert deliveries API](/docs/api/alert-deliveries.md): 2 operations of the m7gtw API in Alert deliveries: GET /api/v1/admin/alert-deliveries; POST /api/v1/admin/alert-deliveries/{channel}/{alert}/retry. - [Alert rules API](/docs/api/alert-rules.md): 9 operations of the m7gtw API in Alert rules: GET /api/v1/admin/alerts; GET /api/v1/admin/alerts/{id}; POST /api/v1/admin/alerts/{id}/{action}; GET /api/v1/admin/alert-rules; and more. - [Alerts API](/docs/api/alerts.md): 4 operations of the m7gtw API in Alerts: GET /api/v1/admin/alert-channels; PUT /api/v1/admin/alert-channels/{id}; DELETE /api/v1/admin/alert-channels/{id}; POST /api/v1/admin/alert-channels/{id}/test. - [Monitors API](/docs/api/monitors.md): 9 operations of the m7gtw API in Monitors: GET /api/v1/admin/monitors; POST /api/v1/admin/monitors; POST /api/v1/admin/monitors/backtest; GET /api/v1/admin/monitors/channels; and more. - [Analytics API](/docs/api/analytics.md): 42 operations of the m7gtw API in Analytics: GET /api/v1/admin/optimization; GET /api/v1/admin/optimization/baselines; POST /api/v1/admin/optimization/baselines; GET /api/v1/admin/external-usage; and more. - [Audit API](/docs/api/audit.md): 2 operations of the m7gtw API in Audit: GET /api/v1/admin/audit; GET /api/v1/admin/audit/export. - [Branding API](/docs/api/branding.md): 4 operations of the m7gtw API in Branding: GET /api/v1/admin/branding/public; GET /api/v1/admin/branding; PUT /api/v1/admin/branding; DELETE /api/v1/admin/branding. - [Local inference API](/docs/api/local-inference.md): 4 operations of the m7gtw API in Local inference: GET /api/v1/admin/local-inference; PUT /api/v1/admin/local-inference; DELETE /api/v1/admin/local-inference; POST /api/v1/admin/local-inference/pools/{id}/replicas/{replica}/{action}. - [Cache API](/docs/api/cache.md): 4 operations of the m7gtw API in Cache: GET /api/v1/admin/cache; DELETE /api/v1/admin/cache; GET /api/v1/admin/semantic-cache; DELETE /api/v1/admin/semantic-cache. - [Content capture API](/docs/api/content-capture.md): 11 operations of the m7gtw API in Content capture: GET /api/v1/admin/content-capture; PUT /api/v1/admin/content-capture/policies/{team}; DELETE /api/v1/admin/content-capture/policies/{team}; PUT /api/v1/admin/content-capture/readers/{user}; and more. - [Console MFA API](/docs/api/console-mfa.md): 19 operations of the m7gtw API in Console MFA: Own native MFA status; Open a fresh-proof flow for a sensitive change; Cancel the pending MFA sign-in; Verify a TOTP or one-time recovery code; and more. - [Console session API](/docs/api/console-session.md): 27 operations of the m7gtw API in Console session: POST /api/v1/admin/login; GET /api/v1/admin/auth/providers; GET /api/v1/admin/saml/start; GET /api/v1/admin/saml/metadata; and more. - [Console users API](/docs/api/console-users.md): 24 operations of the m7gtw API in Console users: GET /api/v1/admin/users/{id}/detail; GET /api/v1/admin/users/page; GET /api/v1/admin/scim-groups; PUT /api/v1/admin/scim-groups/{id}/team; and more. - [Durable usage API](/docs/api/durable-usage.md): 1 operation of the m7gtw API in Durable usage: GET /api/v1/admin/durable-usage. - [Entitlements API](/docs/api/entitlements.md): 7 operations of the m7gtw API in Entitlements: GET /api/v1/admin/entitlements; PUT /api/v1/admin/entitlements/plans; DELETE /api/v1/admin/entitlements/plans; PUT /api/v1/admin/entitlements/teams; and more. - [Extensions API](/docs/api/extensions.md): 12 operations of the m7gtw API in Extensions: GET /api/v1/admin/extensions; POST /api/v1/admin/extensions; POST /api/v1/admin/extensions/submissions; GET /api/v1/admin/extensions/executions; and more. - [Guardrails API](/docs/api/guardrails.md): 13 operations of the m7gtw API in Guardrails: GET /api/v1/admin/guardrails; PUT /api/v1/admin/guardrails/{id}; DELETE /api/v1/admin/guardrails/{id}; GET /api/v1/admin/guardrail-policies; and more. - [Infrastructure API](/docs/api/infrastructure.md): 34 operations of the m7gtw API in Infrastructure: GET /api/v1/admin/queues; GET /api/v1/admin/queues/{queue}/dead-letters; GET /api/v1/admin/queues/{queue}/dead-letters/{id}; DELETE /api/v1/admin/queues/{queue}/dead-letters/{id}; and more. - [Invitations API](/docs/api/invitations.md): 8 operations of the m7gtw API in Invitations: GET /api/v1/admin/invitations; POST /api/v1/admin/invitations; DELETE /api/v1/admin/invitations/{id}; POST /api/v1/admin/invitations/accept; and more. - [Jwt bindings API](/docs/api/jwt-bindings.md): 3 operations of the m7gtw API in Jwt bindings: GET /api/v1/admin/jwt-bindings; PUT /api/v1/admin/jwt-bindings; DELETE /api/v1/admin/jwt-bindings. - [Keys API](/docs/api/keys.md): 29 operations of the m7gtw API in Keys: Read managed credential cache policy and local counters; Replace the complete managed credential cache policy; Revert managed credential cache policy to YAML/defaults; GET /api/v1/admin/security/key-policy; and more. - [MCP administration API](/docs/api/mcp-administration.md): 43 operations of the m7gtw API in MCP administration: PUT /api/v1/admin/mcp/servers/{id}; DELETE /api/v1/admin/mcp/servers/{id}; GET /api/v1/admin/mcp/health; GET /api/v1/admin/mcp/boot-servers/{id}/snapshots; and more. - [Models and catalog API](/docs/api/models-and-catalog.md): 45 operations of the m7gtw API in Models and catalog: GET /v1/registry/quality; GET /v1/registry/history; GET /v1/registry/lifecycle; GET /v1/registry/history.rss; and more. - [Organizations API](/docs/api/organizations.md): 8 operations of the m7gtw API in Organizations: GET /api/v1/admin/organization; GET /api/v1/admin/organizations; POST /api/v1/admin/organizations; PUT /api/v1/admin/organizations/{id}; and more. - [Pricing API](/docs/api/pricing.md): 1 operation of the m7gtw API in Pricing: GET /api/v1/admin/pricing. - [Prompts API](/docs/api/prompts.md): 25 operations of the m7gtw API in Prompts: Inspect declared and effective scoped prompt delegation; Replace the complete prompt delegation override; Remove the override and restore the admitted declared policy; Adopt a reviewed declared prompt delegation base; and more. - [Providers API](/docs/api/providers.md): 7 operations of the m7gtw API in Providers: POST /api/v1/admin/cache/ping; GET /api/v1/admin/secret-manager; GET /api/v1/admin/proxy-pools; POST /api/v1/admin/secret-manager/refresh; and more. - [Quotas API](/docs/api/quotas.md): 35 operations of the m7gtw API in Quotas: List financial organizations and projects; Create financial account with database ID; Rename or disable financial account; Read explicit managed-key financial bindings; and more. - [Rate limits API](/docs/api/rate-limits.md): 3 operations of the m7gtw API in Rate limits: GET /api/v1/admin/rate-policies/status; PUT /api/v1/admin/rate-policies/{id}; DELETE /api/v1/admin/rate-policies/{id}. - [Recycle bin API](/docs/api/recycle-bin.md): 2 operations of the m7gtw API in Recycle bin: GET /api/v1/admin/recycle-bin; POST /api/v1/admin/recycle-bin/{kind}/{id}/restore. - [Request logs API](/docs/api/request-logs.md): 45 operations of the m7gtw API in Request logs: GET /api/v1/admin/logs; GET /api/v1/admin/logs/export; GET /api/v1/admin/requests/{id}/journey; GET /api/v1/admin/requests/{id}/trace; and more. - [Traces API](/docs/api/traces.md): 20 operations of the m7gtw API in Traces: GET /api/v1/admin/otlp-ingest/settings; PUT /api/v1/admin/otlp-ingest/settings; DELETE /api/v1/admin/otlp-ingest/settings; GET /v1/traces; and more. - [Requests API](/docs/api/requests.md): 1 operation of the m7gtw API in Requests: GET /api/v1/admin/requests/{id}. - [Resilience API](/docs/api/resilience.md): 1 operation of the m7gtw API in Resilience: GET /api/v1/admin/resilience. - [Retention API](/docs/api/retention.md): 16 operations of the m7gtw API in Retention: GET /api/v1/admin/retention; PUT /api/v1/admin/retention; DELETE /api/v1/admin/retention; GET /api/v1/admin/retention/preview; and more. - [Routing status API](/docs/api/routing-status.md): 3 operations of the m7gtw API in Routing status: GET /api/v1/admin/file-inputs; GET /api/v1/admin/image-inputs; GET /api/v1/admin/routing-status. - [SCIM API](/docs/api/scim.md): 14 operations of the m7gtw API in SCIM: GET /scim/v2/ServiceProviderConfig; GET /scim/v2/Users; POST /scim/v2/Users; GET /scim/v2/Groups; and more. - [Skills API](/docs/api/skills.md): 16 operations of the m7gtw API in Skills: GET /api/v1/admin/skills; GET /api/v1/admin/skills/{id}; PUT /api/v1/admin/skills/{id}; DELETE /api/v1/admin/skills/{id}; and more. - [System API](/docs/api/system.md): 10 operations of the m7gtw API in System: GET /health/live; GET /health/ready; GET /metrics; GET /ui; and more. - [Teams API](/docs/api/teams.md): 14 operations of the m7gtw API in Teams: GET /api/v1/admin/teams/{id}/member-permissions; PUT /api/v1/admin/teams/{id}/member-permissions; GET /api/v1/admin/teams/{id}/detail; GET /api/v1/admin/teams/page; and more. - [Attribution groups API](/docs/api/attribution-groups.md): 5 operations of the m7gtw API in Attribution groups: GET /api/v1/admin/attribution-groups; PUT /api/v1/admin/attribution-groups; DELETE /api/v1/admin/attribution-groups; GET /api/v1/admin/attribution-groups/versions; and more. - [Customer portal API](/docs/api/customer-portal.md): 24 operations of the m7gtw API in Customer portal: GET /api/v1/admin/customer-portal; PUT /api/v1/admin/customer-portal/trusted-keys/{key_id}; DELETE /api/v1/admin/customer-portal/trusted-keys/{key_id}; GET /api/v1/admin/customer-portal/organizations; and more. - [Usage tags API](/docs/api/usage-tags.md): 3 operations of the m7gtw API in Usage tags: GET /api/v1/admin/usage-tags; PUT /api/v1/admin/usage-tags; DELETE /api/v1/admin/usage-tags. - [Valuation API](/docs/api/valuation.md): 5 operations of the m7gtw API in Valuation: GET /api/v1/admin/insights/wasted-spend; GET /api/v1/admin/fx; PUT /api/v1/admin/fx/preference; GET /api/v1/admin/valuation; and more. - [Workloads API](/docs/api/workloads.md): 6 operations of the m7gtw API in Workloads: GET /api/v1/admin/workloads; POST /api/v1/admin/workloads; GET /api/v1/admin/workloads/{id}; PUT /api/v1/admin/workloads/{id}; and more. - [API schemas](/docs/api/schemas.md): The 734 request and response objects of the m7gtw API, by initial, each with every field, its type and its limits. - [API schemas: A](/docs/api/schemas/a.md): 82 objects of the m7gtw API starting with A: AccessGroup, ActiveResilienceParameterDefinition, AdaptiveAliasStatus, AdaptiveRoutingPolicy, AdminConfig, AdminModel and more. - [API schemas: B](/docs/api/schemas/b.md): 7 objects of the m7gtw API starting with B: BillingConnector, BootstrapKeyExpiryParameterDefinition, BootstrapSchemaEnumParameterDefinition, BoundedMapParameterDefinition, Branding, BudgetCharge and more. - [API schemas: C](/docs/api/schemas/c.md): 49 objects of the m7gtw API starting with C: CacheBackendEnvelope, CacheBackendView, CacheConfiguredSettings, CacheManagedDurationParameterDefinition, CachePolicySetting, CacheSettingsSummary and more. - [API schemas: D](/docs/api/schemas/d.md): 24 objects of the m7gtw API starting with D: Dashboard, DashboardDefinition, DashboardInput, DashboardLibraryWidget, DashboardLibraryWidgetInput, DashboardVersion and more. - [API schemas: E](/docs/api/schemas/e.md): 35 objects of the m7gtw API starting with E: EffectiveHealthChecks, EffectiveQuotaSettings, EffectiveSharedCircuit, EndUserDeletionCounts, EndUserDeletionJob, EndUserPage and more. - [API schemas: F](/docs/api/schemas/f.md): 15 objects of the m7gtw API starting with F: FeaturePlanDefinition, FederatedMFACatalog, FederatedMFAGuard, FederatedMFAOIDC, FederatedMFAPolicies, FederatedMFAPolicy and more. - [API schemas: G](/docs/api/schemas/g.md): 6 objects of the m7gtw API starting with G: GatewayModel, GeminiInteraction, GeminiInteractionRequest, Guardrail, GuardrailPolicy, GuardrailStreamingSettings. - [API schemas: H](/docs/api/schemas/h.md): 7 objects of the m7gtw API starting with H: HealthChecksPolicy, HealthcheckTargetSummary, HTTPBootPolicy, HTTPBootSetting, HTTPBootSettingsSnapshot, HTTPBootSources and more. - [API schemas: I](/docs/api/schemas/i.md): 9 objects of the m7gtw API starting with I: IdentityDetail, IdentityDetailSectionState, IdPTeamMapping, IdPTeamSyncEnvelope, ImageInputsSettings, InfrastructureSnapshot and more. - [API schemas: J](/docs/api/schemas/j.md): 3 objects of the m7gtw API starting with J: JudgeOf, JWTBindingList, JWTSubjectBinding. - [API schemas: K](/docs/api/schemas/k.md): 18 objects of the m7gtw API starting with K: KeyApplicablePolicy, KeyCredential, KeyCredentialHistory, KeyFeatureAccess, KeyInventoryItem, KeyLifecycleParameterDefinition and more. - [API schemas: L](/docs/api/schemas/l.md): 21 objects of the m7gtw API starting with L: LatencyAliasStatus, LatencyRoutingPolicy, LegalHold, LifecycleBootSetting, LifetimeBudgetPolicyParameterDefinition, ListTotals and more. - [API schemas: M](/docs/api/schemas/m.md): 58 objects of the m7gtw API starting with M: ManagedDurationParameterDefinition, ManagedEnumParameterDefinition, ManagedIntegerParameterDefinition, ManagedKeyCachePolicy, ManagedKeyCacheState, ManagedKeyDuration and more. - [API schemas: N](/docs/api/schemas/n.md): 23 objects of the m7gtw API starting with N: NamedOIDCCatalog, NamedOIDCDetail, NamedOIDCGroupPolicy, NamedOIDCGuard, NamedOIDCLimits, NamedOIDCPolicy and more. - [API schemas: O](/docs/api/schemas/o.md): 15 objects of the m7gtw API starting with O: OnDemandRun, OperationalAlertsDurationSetting, OperationalAlertsNumberSetting, OperationalAlertsSettings, Organization, OrganizationEntitlementView and more. - [API schemas: P](/docs/api/schemas/p.md): 94 objects of the m7gtw API starting with P: ParameterCatalog, ParameterCatalogV1, ParameterCatalogV10, ParameterCatalogV11, ParameterCatalogV12, ParameterCatalogV13 and more. - [API schemas: Q](/docs/api/schemas/q.md): 73 objects of the m7gtw API starting with Q: QueryCatalogue, QueryField, QueueJob, QueueJobPreview, QueueProfile, QueueStats and more. - [API schemas: R](/docs/api/schemas/r.md): 76 objects of the m7gtw API starting with R: RatePolicy, RatePolicyAccess, RatePolicyCounterV2, RatePolicyParameterDefinition, RatePolicyStatus, RatePolicyStatusV2 and more. - [API schemas: S](/docs/api/schemas/s.md): 47 objects of the m7gtw API starting with S: SAMLLoginPolicy, SAMLLoginSettings, SavedView, SavedViewDefinition, SavedViewInput, ScimError and more. - [API schemas: T](/docs/api/schemas/t.md): 50 objects of the m7gtw API starting with T: TargetAdmission, TargetConditionAccess, TargetHealthAccess, TargetHealthCheck, TargetHealthParameterDefinition, TargetPromptCache and more. - [API schemas: U](/docs/api/schemas/u.md): 8 objects of the m7gtw API starting with U: UnitTopicList, UsageChargeLine, UsageConnector, UsageEvent, UsageRateSnapshot, UsageTagMap and more. - [API schemas: V](/docs/api/schemas/v.md): 13 objects of the m7gtw API starting with V: ValuationBreakdown, ValuationCoverage, ValuationEvent, ValuationPoint, ValuationReport, VectorChunkingStrategy and more. - [API schemas: W](/docs/api/schemas/w.md): 1 object of the m7gtw API starting with W: Workload.