Skip to content

The console

ReferenceFacts to look up.

The console is embedded in the binary and served on the console port. This page is the screen-by-screen guide maintained with the code.

Apinx Console — Guide

The console is the friendly face of Apinx: everything the gateway can do is reachable from it, and everything it does is also available through the Admin API and apinxctl. It is embedded in the binary and served on the console port (default :9000).

This guide walks through every screen in the order a new install meets them, then lists how the console covers the Admin API (release gate R2) and how it meets the accessibility baseline (R7).

1. First run

Set up this instance

The binary prints a claim token when it starts against an empty store. The first page of the console asks for it, plus an email and a password (12 characters or more) for the first administrator. Nobody can claim the instance without the token; if it is lost, restart the process and a new one is printed.

Publish your first API (the wizard)

Right after the claim, the console opens a five-step wizard. Each step has a default, so the whole thing takes two minutes with the keyboard:

Step You decide Default
1. Backend The API's name and where requests go: the built-in demo backend (echoes requests, answers /echo, /status/<code>, /delay/<ms>, /json) or your own URL my-api, demo backend
2. Protection API key (an application and its first key are created for you), JWT from your identity provider (issuer; the JWKS URL is found from it unless you give one) or Public API key, application my-app
3. Rate limit None, 60 per minute, 600 per minute or 10 per second, counted per caller 60 per minute
4. Review and publish The key is shown once with a copy button; the diff shows exactly what goes live
5. Try it Send test request calls through the real gateway and shows the answer next to its trace: matched route, every policy decision, upstream attempt. Send it again past the limit and the 429 appears with its APX- code linked to what it means

The wizard creates one upstream (<name>-backend), one API with base path /<name>, one catch-all route and the chosen policies in the draft, then publishes. Nothing serves traffic before step 4. The wizard is reachable again any time from the Overview's empty state ("Guided setup") or at /welcome.

One click, one outcome: when a later write of a multi-step action is refused, the console takes back the earlier ones, so an error never leaves half an object behind and trying again does not meet its own leftovers.

  • The wizard deletes what it created, newest first (API, application, upstream; keys go with their application and the route with its API).
  • New API deletes the API when its catch-all operation is refused. The box needs a backend, so an API without one is created with no operation.
  • Point it at your own backend puts the old target back when the publish is refused, so the next unrelated publish cannot ship an address nobody saw go live.
  • Editing your own name and role is one request; the server checks both before saving either.

1b. The SaaS edition (ADR-0020)

The SaaS build MoznHub runs has no claim token: /signup creates an account and an organization (address derived from its name, e.g. /acme-trading), /verify?token= confirms the email and lands in the first-API wizard, /forgot and /reset?token= recover a password, /invite?token= accepts an invitation (a newcomer chooses a password; an existing account joins as it is). Every console address lives under /{org}; the sidebar shows it. Admin › Users becomes People: members with role and last sign-in, role changes, removal, Invite a colleague and pending invitations; the plan says how many people the organization may have, pending invitations included (Free: one, so no invitations; Enterprise: 50): the card shows N of M and the invitation form says when it is full and points to Subscription. Admin › Listeners becomes Gateway: the organization's address on the shared gateway (https://api.apinx.io/{org}/…), its plan, today's calls against the daily allowance and the last days; a banner above every page at 80 and 100 percent of the allowance. An Account section in the sidebar adds Subscription (/{org}/subscription: plan and state, price, paid-until with days left and what follows, a plan comparison with the organization's own limits, today's calls, Request an upgrade / Talk to sales; invoices with a printable copy and the plan history for administrators) and Contact us (/{org}/contact: MoznHub's support, sales and general mailboxes with copy buttons, and a message form with topic, subject and text). The sign-in page shows the support address. Sign-in refuses unverified accounts and offers to resend the confirmation. After the right password it asks for a 6-digit code emailed to you (ADR-0025): Check your email shows the address masked, the code works once for ten minutes, send a new code is offered after a minute, and Remember this browser for 30 days (ticked by default) skips the code on that browser until then. Preferences (your name, bottom left) shows how many browsers you asked to remember and Forget them all; a password reset forgets them too.

A session stays in the browser and on the network that signed in (ADR-0061). Used from another browser it ends, and the sign-in page says why. On a new network, and before a risky action (people, keys and secrets, data leaving Apinx, deletions), the console asks for a code emailed to you (You're on a new network / Confirm it's you); requests made meanwhile wait for the dialog and go through once it is done. Preferences › Your sessions lists every session (browser and system, addresses, organization, signed in, last used, This browser) with Sign out on each other one and Sign out all other sessions. Admin › Users › Console sessions shows how the organization's sessions are tied (the network, or the exact address on plans that include it); administrators change it after a code.

In Apinx Cloud the Admin screen keeps to the organization (ADR-0026): there is no Sign-in tab (sign-in is the platform's: password and emailed code), Encryption keys shows the organization's data keys and rotation but not where the platform keeps its master key, About shows the build and points to Subscription (the licence is MoznHub's), the Overview has no process configuration or component list, and Audit names the platform's own housekeeping (the first draft when the organization was created, secrets sealed, a published revision re-applied at a restart) "Apinx (automatic)".

One account, several organizations (ADR-0027, ADR-0031): the organization's address under the logo (/acme) is a menu listing every organization the account belongs to, with role, plan and whether you own it; choosing another opens a session there and loads its console (a session acts in one organization, so a console opened under another organization's address goes back to the session's own). Every organization has an owner, the account it is under: the only member who invites and removes people, sets roles, asks for the plan, changes the environments and deletes the organization (403 APX-SAAS-0052 for anyone else); the owner is always an administrator and cannot be removed or given another role (409 APX-SAAS-0053). Every account owns one Free organization: sign-up creates it, a newcomer accepting an invitation names their own on the same screen, and Create your free organization in the menu makes one for an account without (409 APX-SAAS-0048 for a second). A Free address carries a hyphen (acme-org; a chosen address without one is refused); plain addresses are for paid organizations. New organization in the menu asks for a paid one: a name, an address and a plan; it exists at once with you as owner, awaiting activation (console open, a banner, the address off until MoznHub sets the plan, usually the day the invoice is paid); one account owns at most 100 (orgs.per_account, 409 APX-SAAS-0049). Manage organizations in the menu, and Organizations in the sidebar's Account section (/{org}/organizations), list every organization the account belongs to with plan, role, owner, people, environments and creation date: Open switches, and the owner deletes one after typing its address (/{org}): its APIs, configuration, environments and people go at once, the other administrators are emailed, and the console lands in another of the account's organizations; the only organization cannot be deleted (409 APX-SAAS-0050). The pencil asks MoznHub for a new name: the operator applies it and emails you; the console never renames on its own, and the address never changes, since every caller, link and export carries it. One request at a time: the name waiting shows on the row and the pencil is off until it is done (409 APX-SAAS-0059). Names are unique across Apinx Cloud, case apart.

Environments (ADR-0031; Account › Environments, /{org}/environments): an organization's APIs live in environments, each at an address of its own (api.apinx.io/{slug}/… and {slug}.apinx.io) with its own APIs, consumers, analytics and traces, under the organization's people, plan and daily allowance. The first carries the organization's own address and cannot be deleted (409 APX-SAAS-0055); the Free plan has that one, Enterprise ten (403 APX-SAAS-0054 past the plan's number). The owner adds one (a name and a permanent address, checked like an organization's), renames one (the name only) and deletes one after typing its address. When there are two or more, a switcher under the organization's name moves the console between them: every screen then shows that environment's things, and the request carries it (X-Apinx-Environment; an address that is no environment of the organization's answers 404 APX-SAAS-0056 and the console returns to the first). An address can change through MoznHub (the arrows on the row): the dialog says what breaks (every caller, export and link holds the address) and sends the request, one per environment at a time (409 APX-SAAS-0060); when the operator applies it, the owner is emailed, and the old address keeps answering with a permanent redirect to the new one for a period, shown on the row ("also answers at /old until …"), so clients can be updated without an outage. The first environment's address is the console path too, so it moves with it.

Someone invited by a colleague who signs up instead of using the link is not lost: the sign-up form says to use the link, the verification email names the organizations waiting, and after verification the console shows the invitation (a count on Organizations in the sidebar, a note at the top of the guided setup, and Invitations waiting for you on the Organizations screen with Accept and Decline). Accepting joins the organization beside their own, with the role the invitation carries; nothing about an invitation is shown before the email is verified, so a sign-up form cannot be used to learn who invited an address.

Every address the hosted console shows is a public one: the API's endpoint on the Develop tab, the cURL in Try it and in a new key's dialog, the Postman collection's base and the address a Send test request reports are https://api.apinx.io/{org}/…; the backend examples are public addresses, since the gateway reaches a backend over the internet.

Since S7 the Overview of every organization carries a getting-started checklist ticked from real state, the guided setup ends with "point it at your own backend", a welcome email follows the first verification, and the Gateway tab shows the plan's response cache (used of budget, entries, hit rate). In the SaaS edition a tenant's Overview shows neither install warnings nor the Components card; it opens with the first-API walkthrough card (ADR-0090) until the person dismisses it in that browser.

2. Screens

Navigation is the left sidebar (a top bar on narrow screens). It follows the API lifecycle, under Overview (the home page):

Section Screens
Develop APIs, Shared flows, Upstreams, Flow hooks (flow hooks and defaults), Deployments, Policy usage
Publish Products, Consumers
Analyze Gateway map, Analytics (every API), Traffic (live requests and the inspector; the error reference is its second tab)
Admin One screen with tabs: Listeners, Import & export, Observability, Users, Sign-in, Assistant, Encryption keys, Audit, About

Every tab has its own address (/admin/users, /traffic/errors/APX-PL-0002, …); the older /settings, /security, /users, /audit and /errors addresses redirect to the matching tab. The sidebar ends with the build number (the version; the commit and the build date on hover), in Apinx Cloud too, and the operator console's footer shows the same. Your name above it opens Preferences: the time zone the console shows times in (the browser's own by default; the server keeps UTC), which also sets where Today and This month begin; the date format (YYYY-MM-DD by default) and time format (24-hour by default); and how often the Overview refreshes (every 5 seconds by default; the Overview covers the last two hours). Back, above every page title, returns to the page you came from inside the console, or to the page's parent list when it was opened directly. The Docs link (book icon) sits beside the Apinx name and opens this documentation in a new tab.

Forms and YAML. Upstreams and listeners open in a panel with Form | Code (YAML); shared flows and products have a Code tab and Paste YAML on their list; APIs have their Code tab. The Code view is the object with every setting, defaults included, checked against the server as you type (problems named with their line), with Show changes before saving. It accepts a definition with apiVersion and kind, the object's fields alone, or the object as a gateway file lists it (upstreams: with one entry), so documentation samples paste as they are. Forms keep every setting they do not show, so a definition pasted as YAML survives later edits in the form. When the session ends (it expired, or you signed out elsewhere) the first request that answers 401 returns the console to the sign-in page and stops every refresh; client errors are not retried. Every list that is empty explains what the object is and offers the one action that creates it.

Screen What it is for Highlights
Overview What the instance serves right now, how the last hour went, and what needs attention over the last weeks Needs attention (ADR-0030): the calls refused or failed over the last 30 days (or 7), grouped by what they tell you: without valid credentials, refused by access rules, unknown routes (old clients or scanners), rate limits and quotas hit, requests the gateway refused, backend failures, gateway errors, 4xx the backend answered; each with its count, a bar per day, the applications and operations behind it, its error codes with their meaning, and links into Analytics and Traffic. Aggregates from analytics; no request or response is read. Below the traffic, a Configuration section lists what the published configuration shows that is worth a look (GET /api/v1/gateway/audit, the rules of apinx gateway audit): operations anyone can call, no rate limit, a listener without TLS, a backend reached in the clear; each with what to do and the objects to change, left out when there is nothing to say. Ready state and published revision; requests, error rate, p50/p99 latency and bytes per minute; top applications and routes; recent publishes; the effective process configuration as code
APIs Group routes under a base path One searchable table (Name, Version, Base path, Backend, Operations, Access, Shared flows, Own policies, Status; Access tags name the products that offer the API and the applications that may call it, or say Any API key, ADR-0036); the search box matches name, description, path and shared flow. Create with a name and the backend; everything else has a default. Each API opens as an API workspace with tabs: Overview (where callers reach it, where it forwards to, whether callers are authenticated, which products sell it, its operations), Develop (the request and response flow drawn as it runs, for the API or one operation; select a step and its properties slide in from the right, so the flow keeps the page width: where it comes from, change it, including the shared flows attached here), Operations (the routes, each with access tags (products, applications, Any API key, Closed: in no product, Public) and an On switch at the start of its row and in its editor: an operation switched off stays in the draft but is left out of what the gateway serves, as if it did not exist, so its requests reach the next match or 404 (enabled: false, ADR-0035); when the API has a catch-all operation, Paths through the catch-all lists what it served over the last 30 days by path shape (identifier segments read {id}) with calls, 4xx and 5xx, last status and last seen, marks a path an operation already takes, and Add operation opens the editor filled in for that path; Clear list starts over; structured editor with header rules, per-route policies and attached shared flows, effective policy chain with provenance; each operation's dialog has a Code (YAML) tab with only that operation (path, methods, matching, its own policies), so one route is edited without the whole API document; Try it on every row opens a panel prefilled from the operation's effective policies (the credential header as a <placeholder>, required headers such as Accept-Language: ar, an example body from the attached OpenAPI document), sends it through the gateway with the trace, and shows the same request as cURL to copy), Versions (the versions of the API's family with state, deployed revision and products; New version copies the API in design, either to a new base path or on the same base path chosen by a request header (Api-Version); calls per version over 7 days and who calls, the applications still calling a version with their last call; Publish, Deprecate with successor, sunset date and a message for callers, Retire, and the moves back, each with "deploy now"; ADR-0018), Code (the API's own definition as editable YAML, validated as you type, showing what saving would change; "As it compiles" shows the resolved routes), Trace (this API's requests with the request inspector), Analytics (the dashboard for that API, see §3) and Settings. The API is the primary place for its policies (see below). Postman in the page header downloads a Postman collection (v2.1) of the API: one request per operation and method, credentials and required headers as collection variables with placeholders, example bodies from the OpenAPI document, optionally a basic test per request; the product page offers the same for every API of the product
Products What you offer to consumers: APIs with plans Products as cards with each plan in plain words ("1,000 calls a day · 5 a second · needs approval") and its subscriber count; a Waiting for your approval list with approve and reject. The product page has Plans (edit quota, rate limit, approval; retire a plan; a plan with subscribers cannot be removed), APIs (each offered whole or only chosen operations; a warning names operations no product would offer, which close; ADR-0036), Subscribers (plan, state, quota used this period; approve, reject, suspend, resume, revoke with a reason, change plan; subscribe an application), Dashboard (plans, APIs, routes) and Code (the product and its plans as editable YAML). The sidebar shows the number of pending approvals
Shared flows Reusable bundles such as “Standard security” At /shared-flows (/policy-sets redirects). Create from a starter (Standard security, Public read-only, empty). The detail page edits the bindings with the same editor as every level; Save first shows which routes the change reaches and asks for confirmation. Used by lists the APIs and routes that attach the flow and every route it reaches. A flow in use cannot be deleted. Code edits the flow as YAML; Paste YAML on the list creates one from a definition
Upstreams Where requests are forwarded Targets with weights, health state from the gateway. The panel's Form covers targets, balancing, health checks, circuit breaker, retries (attempts, conditions, methods, backoff, budget, body limit), timeouts, connection pool and TLS to the backend (server name, CA, client certificate for mutual TLS); Code (YAML) shows and edits every setting
Flow hooks and defaults (was Platform defaults) What runs on every API: flow hooks (enforced) and the global and environment defaults (overridable) The Flow hooks tab (default, ADR-0017) draws where the hooks run (client → client-side hook → each API's own policies → backend-side hook → backend) and lists the shared flows attached on each side, in order, with their policies; administrators attach, reorder and remove flows and save to the draft, then deploy the environment configuration. Hooked steps appear in every API's Develop flow in violet, locked (“an API cannot change or turn it off”), in the effective pipeline without override or switch-off actions, on the shared flow's usage (“client-side flow hook”), and in the request inspector (“client hook · flow”). The Global defaults and Environment defaults tabs are worded “to change one API, open the API”, with links to APIs, Shared flows, Policy usage and the Catalogue. The execution order is drawn as a pipeline strip: one chip per policy type in phase order, filled when bound at this level, dashed when not; a dashed chip adds that policy in one click. Bindings are cards with a human name, category colour and a one-line summary of their settings when collapsed. Add policy opens a searchable picker of cards grouped by phase, with a section to switch off inherited policies. Empty levels offer a recommended starting set. The Policy catalogue (/policies/catalogue, linked from every picker and every pipeline chip) has the same strip, a search box and collapsible settings tables. Typed forms are generated from the server; override, merge, append strategies; switch an inherited policy off with enabled: false. The transform editor has code fields for jq body programs and a Preview against a sample panel that runs the binding on the server against a sample request and backend answer and shows the reshaped bodies, the resulting status and the inspector steps, before anything is published; when a service-callout policy is bound beside it, the panel offers one pretend callout answer per slot so .callouts.<name> can be previewed too (ADR-0032). The service-callout editor renders its callouts and reject rules as cards (add, remove, move up and down; a callout's After offers its sibling callouts as checkboxes), the flow strip shows the policy in the Composition stage on both sides, and the request inspector lists every callout the request made with its status, duration and attempts
Policy usage “Where is rate-limit bound?” Every binding at every level and in every shared flow, grouped by policy type, filterable by policy, level and object, each row linking to where it is edited; switched-off policies are marked
Consumers Applications and their API keys Each application shows its Subscriptions (product, plan, state, quota used) with the same actions, and a form to subscribe it to a published product. Keys shown once at issue; rotate with an overlap window (the replacement keeps the key's allowed sources); revoke takes effect immediately; per-key last-used; Dashboard per application (§3). Allowed sources: an application can be limited to calls from listed IP addresses and CIDR ranges, for all its keys, and each key narrowed further (Sources on the key); the api-key policy refuses other addresses with 403 APX-PL-0023 from the next request. Behind a load balancer set trust_x_forwarded_for (and trusted_proxies) on the api-key policy. Cost: about 40 ns per request for a three-range list, none without a list
Gateway map (G1-M11) What the gateway serves, on one screen Listeners → flow hooks → APIs grouped by family (versions, lifecycle state, deployed or not, operations, the last 15 minutes of requests, error rate and p99) → upstreams and their targets with health. Connectors drawn from the nodes; select a listener, an API or an upstream to light up what it connects to and open it, with details (served on, forwards to, targets with requests and failures). A filter narrows it to matching APIs, base paths or upstreams. Refreshes every 15 s from what the console already reads
Analytics Traffic, errors and latency across every API, in the order an owner asks (ADR-0044) The period as chips (Last hour, Last 24 hours, Today, Last 7 days, Last 30 days, Custom), then API, operation, application, status and error-code filters, each shown as a chip that removes it. Key figures: requests, error rate, p50, p99, rate limited and bytes out, each with its change against the previous period of the same length (red when errors or latency rise, green when they fall) and a sparkline. Traffic over time: calls per bucket stacked by outcome (2xx, 4xx, 5xx) and p50/p99 on one time axis, with a readout on hover; drag across the calls to zoom into a custom period; Show as: Table lists the same buckets. What's wrong now (ADR-0039): the APIs in trouble, worst first; health over time and speed bands open when something is wrong or behind one line otherwise. Errors by exact status (ADR-0042) with the operations and causes behind each. By application (ADR-0030): one row per application (calls, share, errors, error rate, p99, last seen; sortable); tick two to four to compare them side by side. Operations: every operation with calls, share, errors, error rate, p50, p95 and p99, sortable, the rows in trouble tinted, a click filtering the page. Recent requests with the request inspector on any row. Definitions sit behind each card's info icon
Traffic The last requests as the gateway saw them, and the error reference Error reference tab: every APX- code, searchable, with its message and remediation; every error banner and inspector rejection links to its entry. Requests tab: A Tracing switch (administrators) and Debug 15 min, which keeps request and response bodies for 15 minutes and then stops by itself; with tracing off the page says nothing new is kept. In Apinx Cloud tracing is off until an administrator presses Trace 1 min: it runs for one minute with a countdown (Stop ends it sooner) and then switches itself off; there is no body capture, a no bodies badge says so, and the body panels of a request read "Not kept". A console Send test request is always traced, so its trace shows with tracing off. An organization only ever sees its own requests. Live list with filters (route, API, application, status class or exact status, method, path, error code, errors only) and pause; the request inspector as a wide side panel: the URL with its query (credential-like values redacted) and copy, JSON download, Newer/Older (j/k) through the list; tiles for status, total, backend, gateway time and sizes; the flow of every request and response policy with the backend (select one for its decision and time); a timeline with a time axis where every policy that ran on either leg has a row; decisions as a table; Request (query parameters, headers, body) and Response (body, headers), each filterable and copyable, JSON pretty-printed and highlighted, gzip and deflate bodies decompressed for display (only when opened, never on the request path); cURL to send the same request again with placeholders for redacted credentials
Deployments (ADR-0016) What is waiting to go live, what is live, and every deployment so far One page, three parts. Waiting to go live (only when the draft differs from what serves): each API with changes and the shared configuration (listeners, upstreams, shared flows, flow hooks, platform policies, products) in a sentence ("Changed since revision 5, which is live", "New: not live yet", "Deleted in the draft: still answering callers until you deploy"), Deploy only this per item, the changes as plain badges ("Operation orders-list changed") with Show the exact changes for the diff, problems that block a deployment in red, and Deploy everything with a message. With nothing waiting, a green line says everything is live. Live now: the shared configuration and every API with base path, live revision (who, how long ago) and a status (Up to date, Changes waiting, Not live yet, Deleted, live until deployed); Revisions opens the API's revisions, or the shared configuration's in a side panel. History: every deployment as a timeline (who, when, message, What changed) with Roll back to this, which makes everything that deployment served live again after a typed confirmation
API › Revisions The API's own revisions Deploy draft as new revision changes only this API; Save revision only; per revision Changes in this revision and Compare with draft; Deploy an older revision to roll this API back (the draft is kept); Undeploy (typed confirmation)
Admin (/admin/<tab>) The instance itself Listeners (Form or Code (YAML), as upstreams); Import and export of the draft as apinx/v1 YAML; Import an API, on the same tab, from an OpenAPI document or a Postman collection (v2.0 or v2.1, a file or pasted, up to 3 MB, refused before sending when larger), each with a preview you can edit before creating. The Postman preview proposes the API (name and base path from the collection and the path of {{baseUrl}}), the backend (a new upstream for the address most requests use, or the existing upstream that already reaches it), one operation per request with folders as name prefixes, and the collection's auth as suggested policies to tick (API key → api-key on; bearer, OAuth 2.0 and JWT → jwt, Basic → basic, both switched off until completed; a request with no auth switches the API's policy off on its operation); it lists what was not imported and why (no URL, WebSocket or gRPC, another host, a method the gateway does not route, a second request on the same method and path), marks operation names, paths and method-and-path collisions as you edit, and Create makes it all or nothing. Credentials are never imported and the collection is not kept; Observability: Tracing and debugging (tracing on or off; request bodies and response bodies each on or off; keep bodies for 15 minutes, 1 hour, 8 hours or until switched off; characters kept per body; back to the apinx.yaml defaults), then access log, inspector, analytics and telemetry bus counters. Tracing off keeps no headers, query or bodies for the inspector (about 30 fewer allocations and 15% less gateway CPU per request); analytics and the access log are unaffected. Headers in a trace sets what the inspector shows of request headers and of response headers, each on its own: everything with credentials redacted, the first 5 characters of every value, or nothing. In Apinx Cloud the tab is one Request tracing card instead: whether tracing is on and the time left, Trace for 2 min, Restart 2 min and Stop now (editors and administrators), Trace for 2 min with request bodies (administrators), and the policy stated (ADR-0029): headers show their first 5 characters, nothing of a response is kept but its status, a request body only in a window started with bodies (the first 1,000 characters, credentials masked, in memory for the retention); the platform's own counters are not shown. Users: Administrators, editors and viewers with a full name; Add user opens a dialog; the row menu edits name and role, resets a password, disables or enables the account (a disabled user cannot sign in and their sessions end, 403 APX-CP-0025), deletes; your own row offers Edit my name and Change my password. Sign-in and Encryption keys: Encryption keys: where the master key comes from, the data keys, rotation. Sign-in: passwords, an OIDC identity provider with test, role mapping by claim. Assistant (on premises, administrators; ADR-0033): Assistant on, the Claude API key (write-only, stored encrypted), Answer model and Guard model, the Claude API address for a corporate proxy and a Monthly token cap. Audit: Filter by time, actor and action; export CSV or JSON. About (ADR-0019): the licence (licensee, number, kind, maintenance date, instances and cores licensed against in use, grace, source, signing key), its state as a badge with every reason and warning spelled out, Install or Replace licence (paste, verified offline before anything changes) and Remove pasted licence; the build (version, commit, build date, runtime, started); Copy diagnostics for support requests. A banner above every page names a licence problem and links here

The assistant (ADR-0033). When the assistant is available (Enterprise in Apinx Cloud; on premises once an administrator turns it on), a ✦ button at the bottom right of every screen opens a floating chat that knows the screen, the objects on it and the field in focus. It answers in English about Apinx only, offers walk-throughs (Secure my API, Limit traffic, Reshape requests and responses, Block attacks, Check this API), and its YAML and jq answers carry Insert into editor, Add to draft and Try it for editors and administrators. Policy fields show a ✦ with the field's description and Ask more, which answers beside the field. History in the chat's header lists your conversations (open one to carry on, or delete it). In Apinx Cloud the chat shows the organization's tokens left, and Subscription has Assistant tokens with the owner's Ask for more tokens. The guide is The console assistant.

Policies, API first, in business terms (G1-M8). On an API (its Develop tab), a route, a shared flow and the Platform defaults, the policy list shows what applies, grouped by the question each policy answers: Who can call, How much, Protection and errors, Change requests and responses. Every policy reads as a sentence ("100 calls per minute per consumer", "Require an API key", "Requests up to 1MB") with one line underneath saying where it comes from: "Set here", "Set here, replacing the one from company defaults", "From product payments" or "From shared flow standard-security". Inherited policies are grey and offer Change here (a copy of their settings opens for editing) and Turn off here; a policy turned off here can be turned back on. One Add policy button opens a chooser grouped by the same four questions. Settings open in a dialog with plain labels; the override, merge and append choice and the binding name sit under More options. The shared flows used here are listed in merge order and can be attached, reordered or detached (a flow already applied higher up is flagged). An API with nothing bound offers a recommended start: API key, 100 calls a minute per consumer, and uniform errors. The main view uses one neutral colour. Advanced folds the technical view: the execution order with a chip per policy coloured by origin, and the effective table with strategies. When an API sold through a product also binds a per-consumer rate-limit of its own, the Develop tab shows a hint: that limit caps every plan, so keep it well above the highest plan as a shield, or key it by route for a total cap.

Deploying is explicit everywhere: edits accumulate in the draft, each API and the environment configuration are deployed on their own (or all changes at once, after reviewing the diff), and any unit can be rolled back to an earlier revision. Delete, revoke and rollback ask for typed confirmation and are audited.

3. Dashboards per application, product, API and route

Selecting an application (Consumers → Dashboard), an API (APIs → workspace → Analytics tab) or a route shows the same view scoped to it:

  • Key figures: requests, error rate, p50/p99, rate limited, bytes out, each against the previous period of the same length; the error rate turns to warning above 1% and to alert above 5%.
  • Traffic over time: calls by outcome and latency over the range, with a table view and drag-to-zoom.
  • Errors by exact status with the operations and causes behind each; click a status, an operation or a code to filter everything else by it.
  • Keys (application scope), plans and APIs (product scope), and the operations hit in the range, sortable.
  • Recent requests with the request inspector inline.

Filters live in the URL, so a filtered view can be bookmarked or pasted into a ticket: range (1h, 24h, today, 7d, 30d, or custom with from/to), api, route, application, status_class, status, error_code.

4. Themes, keyboard and accessibility

  • Light, dark or system theme from the switch at the bottom of the sidebar; the choice is remembered in the browser.
  • Every control is reachable and operable with the keyboard; focus is visible; dialogs trap focus and close with Escape; tables and lists announce their structure.
  • The focus ring is blue in both themes and stands out at least 3:1 from the page (WCAG 2.1 1.4.11): --ring is oklch(0.55 0.2 258) in light (5.0:1 on white) and the lighter oklch(0.78 0.13 245) in dark (9.9:1, still 3.2:1 at the 50% halo).
  • The YAML editor follows the theme: its text cursor takes the text colour, and the search bar, pop-ups and folded-code markers take the console's colours rather than CodeMirror's light-only defaults.
  • Colour is never the only carrier of meaning: status badges carry text, charts have accessible names, and every contrast pair used for text meets WCAG 2.1 AA (4.5:1 for body text).
  • The Playwright suite (src/console/e2e) runs axe-core with the WCAG 2.1 A and AA rule sets on every screen in both themes and fails on any serious or critical violation; it runs in CI on every change.
  • Works at tablet width; the sidebar becomes a top bar under 1024 px.

5. Admin API coverage (release gate R2)

Every Admin API operation is reachable in the console, except the four below, which are tooling operations by nature. apinxctl covers them.

Resource Operations Console
Set-up and sessions GET/POST /setup, POST /auth/login, POST /auth/logout, GET /auth/me, POST /auth/password, PUT /auth/profile Set-up page, Sign in, Sign out, Users › your row › Change my password / Edit my name
APIs and routes /apis (list, create, get, replace, delete), /apis/{id}/routes, /apis/{id}/effective-policies, /apis/{id}/export, GET/PUT /apis/{id}/definition, POST /apis/{id}/definition/check, /routes (list, get, replace, delete), /routes/{id}/effective-policies, POST /routes/{id}/test, GET/DELETE /apis/{id}/catch-all-paths APIs, API workspace (Operations, Develop, Code, Send test request), wizard
Upstreams /upstreams (list, create, get, replace, delete) Upstreams, wizard
Listeners /listeners (list, create, replace, delete) Settings › Listeners
Policies GET /policies, GET/PUT /policies/bindings/{level}, GET /policies/usage, POST /policies/transform/preview Platform defaults (global, environment), Policy catalogue, Policy usage; every level editor uses the catalogue; the transform editor's preview panel
Products and subscriptions /products (list, create, get, replace, delete), GET /subscriptions, POST /applications/{id}/subscriptions, GET /subscriptions/{id}, POST /subscriptions/{id}/approve\|reject\|suspend\|resume\|revoke, PUT /subscriptions/{id}/plan Products, product detail (Plans, APIs, Subscribers, Dashboard), approvals list, Consumers › Subscriptions
Shared flows /shared-flows (list, create, get, replace, delete), POST /shared-flows/{id}/impact Shared flows, flow detail (Policies with impact confirmation, Used by); attach on the API's Develop tab and on route policies
Consumers /applications (list, create, get, rename, delete), /applications/{id}/keys (list, issue), DELETE …/keys/{kid}, POST …/keys/{kid}/rotate Consumers, wizard
Draft and revisions GET /draft, GET /draft/diff, GET /export, POST /import, POST /import/openapi/preview, POST /import/openapi, POST /import/postman/preview, POST /import/postman, /revisions (deployment history: list, deploy all, get, diff, restore), GET /deployments, /apis/{id}/revisions (list, save or deploy, get, diff, deploy), POST /apis/{id}/undeploy, /environment/revisions (list, deploy, get, diff, deploy), GET /environment/draft Deployments, API › Revisions, Settings › Import and export, Settings › Import an API (OpenAPI, Postman)
Cache POST /cache/purge API detail (Purge cache)
Observability GET /traffic, GET /traffic/{id}, GET /analytics/series, GET /analytics/top (each accepting api, route, application), GET /observability Traffic, Overview, dashboards per application, API and route, API Trace tab, Settings › Observability
Users /users (list, create with name, PUT name/role/disabled, delete), POST /users/{id}/password Admin › Users
Errors GET /errors Error reference
CLI or tooling only GET /draft/compile (validate without publishing: apinxctl validate), GET /openapi.json (the API description itself), GET /listeners/{id} and GET /applications/{id} as single-object reads (the console loads the lists) —

6. Development

npm --prefix src/console run dev        # Vite on :5173, proxies the API to a running apinx on :9000
npm --prefix src/console run test       # Vitest unit tests
npm --prefix src/console run e2e        # Playwright against out/bin/apinx (build first)

The console is TypeScript (strict), React 19, Tailwind v4 with shadcn/ui primitives, TanStack Query for data, React Router for navigation. Policy forms are rendered from the server's catalogue (GET /api/v1/policies), so a new policy type appears in the console without a console change.