Glossary
These docs use each term below in one sense only. Labels in bold are written as the app shows them, and each term links as /reference/glossary/#<term>.
Access key
Section titled “Access key”A secret that lets a request reach a private project, sent in the X-MockHub-Key header. It starts with mh_pk_, is shown once when created under Gateway access, and opens only that project’s gateway: it is not an API token.
Active allowance
Section titled “Active allowance”How many of a workspace’s projects its plan lets answer, counted from the oldest. The app tags the others Outside active allowance, on the list of projects and beside each one’s heading, and their addresses answer 403 until the workspace upgrades or other projects are archived.
Activity
Section titled “Activity”The workspace’s trail of changes: who changed what, and when. Admins read it under Settings → Activity.
Add-on
Section titled “Add-on”Whole units of more requests a month, more projects or AI credits, bought by an Owner of a workspace on a paid plan and renewed every month with it. See Buy and change add-ons.
AI credit
Section titled “AI credit”The unit AI generation and the AI assistant both spend, from one allowance: 5 for a generation and 1 for an assistant request. The plan sets how many a workspace has per day and per month, and AI credit add-ons add to the month. Unused credits do not carry over. See Plans, quotas and limits.
AI model response
Section titled “AI model response”A response that answers as a language model’s API, in the shape of OpenAI chat completions, OpenAI responses or Anthropic messages, so an application’s own SDK reads it. The mock gives the message and tool calls; MockHub writes them as a stream when the request asks for one and as one JSON body otherwise. It is a shape, not a model: nothing reads the conversation. See Mock an LLM API.
Alert recipient
Section titled “Alert recipient”An address outside the workspace that an email alert rule can send to, listed under Settings → Workspace → Alert email addresses and confirmed by its owner from an email. Every alert email to it can stop that workspace’s alerts. See Send alert emails outside the workspace.
Alert rule
Section titled “Alert rule”A condition on a project’s recent traffic, such as its error rate, match rate or response time, that sends an email to a member or an alert recipient, or a webhook, when it holds.
Allowed hosts
Section titled “Allowed hosts”The hosts a webhook may call when its address comes from the request, set under Allowed hosts: an exact host, or .example.com for its subdomains. See Fire a webhook when a mock is served.
Allow-list
Section titled “Allow-list”The addresses and CIDR ranges a private project’s access policy checks, set under Allowed source addresses.
With Require both, a matching address also needs an access key. With Allow either, a matching address works without a key, and a valid key works from other addresses. An empty list never grants access without a key.
Archived project
Section titled “Archived project”A project an Owner has switched off. It keeps its mocks and settings, its address answers 403, and it still counts towards the plan’s project limit. An Owner can restore it.
Authenticator app
Section titled “Authenticator app”An app on your phone or computer that shows a 6-digit code for your account, which changes every 30 seconds. You add the account to it by scanning a QR code when you turn on two-factor authentication.
Billing contact
Section titled “Billing contact”The one Owner of a workspace whose email address the payment provider’s billing record carries. Invoices and receipts go to them, and so do MockHub’s emails about plan changes and the Pro trial. Any Owner can make another Owner the contact; being the contact gives no right beyond being an Owner. See Manage payment details and invoices.
Billing portal
Section titled “Billing portal”The payment provider’s page for a workspace’s payment method, invoices and cancellation, opened with Manage billing on the Subscription page.
Capture
Section titled “Capture”A request a project recorded with an answer its mocks did not give: the upstream’s response in a forwarding gateway mode, or a post to the webhook inbox. A capture can be promoted to a mock.
One scenario of a verification run: the requests to send to your application, what it should answer, and the calls its dependency must have received. Each case gets its own fresh MockHub project and its own observation window. See Verify an application against a mock dependency.
Chaos profile
Section titled “Chaos profile”A named way for a project’s mocks to misbehave: slower answers, error responses or connection faults, for all endpoints or some. One profile is active at a time, and only for the period you choose.
Checkout
Section titled “Checkout”The payment provider’s page that starts a workspace’s paid subscription.
Configuration document
Section titled “Configuration document”A project’s settings, mocks, scenarios, chaos profiles and webhooks as one document, exported and applied under Config as code. Applying it replaces the project’s configuration as a whole: anything the document leaves out is deleted. See Configuration document.
Connected AI assistant
Section titled “Connected AI assistant”An MCP client you signed in to MockHub through the browser rather than with a token. It acts as you in the one workspace you chose, with the role you chose or yours if lower, until you disconnect it. Your profile lists yours under Connected AI assistants. See Connect an AI assistant.
Connection fault
Section titled “Connection fault”A chaos profile effect that breaks the connection instead of answering, for a share of requests. The caller receives a 502.
Custom domain
Section titled “Custom domain”A domain your workspace owns and has verified, such as mocks.example.com, so that projects answer at subdomains of it. See Hostnames, domains and protocols.
One piece of a stream: an event of a server-sent event stream, a line, or a fixed number of bytes, as the stream’s Split at says. The response’s chunks together are its body.
Data store
Section titled “Data store”A project’s JSON records, in named collections, that its mocks share: a mock can save or delete a record after it answers, can answer only while a record exists, and any mock’s response can read them as store.<collection>. Test data kept by the mock server, not a database.
Default domain
Section titled “Default domain”The domain a workspace’s new-project form starts on, chosen under Settings → Workspace. Changing it moves no existing project.
Default response
Section titled “Default response”The response variant a mock answers with when a request does not ask for another. Changing it is a saved edit of the mock that every caller sees; a request override never changes it. A mock that answers with a response sequence has no default response. See Choose the response that answers.
How long a mock waits before answering: a fixed time, a random time between two bounds, or a realistic spread around a typical time. The plan sets the longest delay.
Delivery
Section titled “Delivery”One firing of a webhook: what was sent and where, how the receiver answered, and up to three attempts. Deliveries are listed under the webhook’s Deliveries for 30 days.
A temporary workspace with one project, started from mockhub.io without an account. It runs for an hour, and for 24 hours after that its project can be kept in an account. Then it is deleted.
Dynamic value
Section titled “Dynamic value”A field of a response generated from an OpenAPI schema that takes a different value on each request, such as a rating from 1 to 5, written into the mock as a template expression. It is chosen once for the whole contract, as a stored choice, so every generated response sharing the field varies the same way. See Vary generated response values.
Endpoint
Section titled “Endpoint”A method and a path, with ids such as numbers and UUIDs counted as one {id}: GET /orders/{id}. Insights and captures group requests by endpoint.
Observation window
Section titled “Observation window”The interval of a verification case during which MockHub admits the dependency’s calls and counts them. It closes when the run is sealed; a call after that is refused, and the report says so.
Ephemeral environment
Section titled “Ephemeral environment”A project a pipeline creates from a branch’s mockhub.yaml with mockhub env up, and that deletes itself, with everything in it, when its lifetime runs out. It counts against the plan like any other project. Listed under Settings → Environments. Not a target. See Create a preview environment for each pull request.
Exchange
Section titled “Exchange”One request a verification case’s dependency received, recorded before it was answered, with its sequence number, method, path and the answer’s status. The report lists them in the order they were admitted, which is not always the order they arrived.
Error injection
Section titled “Error injection”A chaos profile effect that answers a share of requests with a status, body and headers you choose, instead of the mock’s response.
Error type
Section titled “Error type”The kind of refusal an error response names in its type field, such as plan-limit. Each is explained under Error types.
Fake data
Section titled “Fake data”Realistic-looking values, such as names, addresses and prices, that the random template helper generates each time a mock answers. See Fake data.
Gateway
Section titled “Gateway”The part of MockHub that receives requests at a project’s address and answers them. See How MockHub handles a request.
Gateway mode
Section titled “Gateway mode”What answers a project’s requests: its mocks alone (Mock only), its mocks with the upstream behind them (Proxy unmatched), or the upstream alone, recorded (Record everything). See Gateway modes.
Hostname
Section titled “Hostname”A project’s address without the scheme: its subdomain on a domain, such as orders-api.mockhub.dev.
Inbox relay
Section titled “Inbox relay”What mockhub listen does: it sends each post that reaches a project’s webhook inbox on to an address on your machine while the command runs. One-way: the sender still gets the inbox’s own answer. See Receive webhooks on your machine.
Insights
Section titled “Insights”A project’s traffic over time: volume, errors, response times, its busiest endpoints and the paths no mock answered.
Instance administrator
Section titled “Instance administrator”An account that runs a whole MockHub installation from the app’s Admin console: its accounts, workspaces, plans and, on a self-hosted installation, its licence. On a self-hosted installation they are the customer’s own staff. Not a workspace’s Admin role, which reaches one workspace only.
Invitation
Section titled “Invitation”An email that lets one address join a workspace with a chosen role. It takes a seat while it waits, and expires after 7 days unless it is resent.
Issuer
Section titled “Issuer”The address a token names in its iss claim and an application trusts tokens from. A MockHub identity provider’s issuer is the address the caller used, so a project on a custom domain issues tokens for that domain. See Mock an identity provider.
Licence
Section titled “Licence”The signed file MockHub issues for a self-hosted installation that the customer runs: who it is for, how many licence seats and which features it grants, and from and until when. Without one in force, the installation refuses changes. See The licence.
Licence seat
Section titled “Licence seat”An account a self-hosted installation’s licence counts: every account that is not deactivated, whatever workspaces it belongs to. Not a workspace’s seat, which its plan sets.
Listener
Section titled “Listener”One running mockhub listen on a project, for the inbox relay. A project takes three at a time, and one left behind by a closed terminal closes two minutes after it was last renewed.
Machine token
Section titled “Machine token”A token that belongs to the workspace rather than a person, with a role of its own and optionally limited to one project. It starts with mh_mt_. See Roles, personal tokens and machine tokens.
Member
Section titled “Member”A person in a workspace. A member has one role in each workspace they belong to.
A rule in a project that matches requests, by method, path and more, and says how to answer them. It holds one or more response variants and says which one answers. See Request matching.
Mock server
Section titled “Mock server”The part of the gateway that holds a project’s active mocks and scenario states and renders their responses. The app names it in messages such as “The mock server for this project could not be reached.”
Near miss
Section titled “Near miss”A request that came close to a mock without matching it, described rule by rule: each rule the request failed, with what the mock expects and what the request had. Try it shows the near miss for the mock you are editing, as Request was not matched followed by the differences.
Why didn’t this match? in the request logs shows one for each mock it judged, and Test a request shows the first difference of each mock it tried.
The highest role in a workspace, and the only one that manages billing, changes the Owners, transfers ownership and deletes the workspace. A workspace has at least one Owner, and as many as its plan allows; a personal workspace has exactly one. Owners are equals, and one of them is the billing contact. A token never holds the Owner role. See Roles, personal tokens and machine tokens.
Path parameter
Section titled “Path parameter”A named part of a mock’s path, written {name} in a Path with parameters such as /orders/{id}. A response reads what it matched as request.path.name, and a rule can compare it. See Path parameters.
Personal token
Section titled “Personal token”A token that acts as the person who created it, in the workspace it was created in, with the lower of their role there and the role chosen for the token. It starts with mh_sk_, and the app lists it under API tokens.
Personal workspace
Section titled “Personal workspace”The workspace every account has from sign-up, with you as its only Owner. It cannot be deleted or transferred, and nobody else can be made its Owner.
What a workspace subscribes to. It sets the workspace’s limits and which features it has. See Plans, quotas and limits.
Private project
Section titled “Private project”A project whose gateway accepts HTTPS requests that meet its access policy, using project keys and optional source-address rules. Requests failing the policy get 404 Project not found. See Make a project private.
Pro trial
Section titled “Pro trial”A fixed time when a Free workspace has Pro’s features, with totals for the whole time on what it can use, started by one of its Owners without a card. The workspace’s plan stays Free throughout. See Start a Pro trial.
Project
Section titled “Project”A set of mocks answering at one address, with its own settings, request logs and traffic. See Workspaces, projects and mocks.
Promote
Section titled “Promote”To turn a capture or a logged request into a mock that answers the same way.
Recovery code
Section titled “Recovery code”One of ten single-use codes shown when you turn on two-factor authentication. Each signs you in once in place of an authenticator code.
Remembered device
Section titled “Remembered device”A browser that skips the two-factor code for 30 days after you chose Remember this device. You can forget it from your profile.
Request log
Section titled “Request log”The record of one request a project received and how it was answered.
Request matcher
Section titled “Request matcher”The part of a mock that decides which requests it answers: its method, its path, and any query parameter, header, cookie, form field, multipart part and body conditions. See Request matchers.
Request override
Section titled “Request override”A request that asks a mock for one of its other response variants by sending X-MockHub-Response: <mock reference>:<response key>, the mock reference being the last 12 characters of the mock’s identifier. It is answered with that response for that request only: the default response, the mock’s activation and every other mock stay as they are, and which mock answers is still decided by request matching. MockHub refuses an override it cannot serve instead of answering the default.
Response rule
Section titled “Response rule”A condition on a request, such as a header’s value or a pattern in the body, and the response variant a mock answers with when it holds. A mock’s rules are tried in order and the first that holds answers; a request no rule holds for gets the default response. Rules choose among the responses of the mock that matched and never decide which mock answers. See Choose the response that answers.
Response sequence
Section titled “Response sequence”Several steps a mock gives in turn, one per request, such as two failures and then a success. Each step names one of the mock’s response variants, and a variant may be named by several steps. After the last step it starts over or keeps giving the last response.
Response templating
Section titled “Response templating”A project setting, on by default, under which a mock’s response can hold template expressions, such as {{request.path}} or fake data from random, filled in each time it answers. See Write dynamic responses with templates.
Response variant
Section titled “Response variant”One named response of a mock, such as Order created and Invalid email of the mock for POST /orders: a status code, headers, a body and a delay, under a key that stays the same however the response is renamed or edited. A mock holds up to 50. Two response variants may share a status code, and an OpenAPI response status such as 422 is not a response variant: an import turns each contract variant you pick into one response variant of the operation’s mock.
REST resource
Section titled “REST resource”A set of ordinary mocks, tagged resource:<name>, that make a path such as /users list, create, read, replace, update and delete records of one data store collection. Scaffolded in one step, then edited or deleted like any other mocks. See Build a REST resource that remembers.
Revision
Section titled “Revision”A fingerprint of a project’s configuration document. Applying a document is refused when the project’s revision has changed since the preview.
What a member or token may do in a workspace: Viewer, Editor, Admin or Owner, each including the ones before it. See Roles, personal tokens and machine tokens.
One execution of a verification suite, from mockhub verify. It runs the suite’s cases one at a time and ends with a verdict: passed, a failed assertion, or something MockHub could not decide. A run lasts at most 15 minutes. Not a capture or a request log entry. See Verify an application against a mock dependency.
Scenario
Section titled “Scenario”A named set of states in a project. A mock can answer only in one state and move the scenario to another, so the same request gets different answers as a flow progresses.
A place in a workspace, taken by a member or by an invitation still waiting for an answer, Owners included. The plan sets how many a workspace has. On Team a viewer takes no seat.
Session
Section titled “Session”One sign-in to the app in one browser. It lasts seven days unless you sign it out, and is listed under Where you are signed in.
Shared domain
Section titled “Shared domain”A domain MockHub provides for every customer, such as mockhub.dev. A project on it takes a subdomain nobody else has.
MockHub adds six random characters to a subdomain chosen on it, such as orders-api-k3x9p2.
Sign-in link
Section titled “Sign-in link”A link MockHub emails to an account’s verified address after too many wrong passwords for it, which signs you in once, within 15 minutes, without the password. Two-factor authentication still asks for its code. Not a password reset link. See Sign in with an emailed link.
Signing key
Section titled “Signing key”A key pair a project signs tokens with. Each project has its own, made on first use and never exported; the public halves are published as a JWKS. See Sign your own tokens.
Signing secret
Section titled “Signing secret”The value, starting with whsec_, that a webhook signs every delivery with, so the receiver can check it came from MockHub. Admins can read and rotate it.
Snapshot
Section titled “Snapshot”A named fixture saved from the Data store tab, of one collection or of the whole store, to put those records back later. Restoring one collection’s snapshot replaces only that collection and touches no scenario. See Edit data store records.
Standard envelope
Section titled “Standard envelope”The JSON body a webhook sends when its Body template is empty: what fired it, the project, the webhook, and the mock and request when there is one.
Started
Section titled “Started”The state every scenario begins in and returns to when it is reset. It is never listed among a scenario’s states.
A scenario unused for seven days returns to it too.
Stream
Section titled “Stream”A response whose body arrives in chunks at paced times, rather than all at once: the time to the first chunk, then a gap between chunks. The whole body is written before the first chunk leaves, so logs and limits read it as any body. The plan sets the longest a stream may take. See Stream a response.
Subdomain
Section titled “Subdomain”The first part of a project’s address: orders-api in https://orders-api.mockhub.dev.
Suspended workspace
Section titled “Suspended workspace”A workspace whose projects answer 402 because of a billing problem. It can still be read, but its mocks and what they depend on cannot be changed; after a dispute the whole app is read-only. Nothing is deleted. See When a payment fails.
Target
Section titled “Target”A named entry under environments in mockhub.yaml, naming the project the CLI pulls from and pushes to, chosen with --env. Not an ephemeral environment. See Keep a project’s configuration in a repository.
Template helper
Section titled “Template helper”A named function a response template can call, such as now, jsonPath or random. See Template helpers.
Toolset
Section titled “Toolset”A group of MCP tools, such as mocks or contracts, that a connection lists, chosen by its URL: https://api.mockhub.io/_mcp lists the default toolsets, /_mcp/all every one. It decides what an assistant sees, not what it may do. See MCP tools.
Try it
Section titled “Try it”The mock editor’s way to send a test request to the mock you are editing and see its answer, or why the request did not match.
Tunnel
Section titled “Tunnel”A program outside MockHub, such as ngrok or Cloudflare’s cloudflared, that gives a server on your machine a public address. A project can forward to that address as its upstream. See Answer requests from code on your machine.
Two-factor authentication
Section titled “Two-factor authentication”Optional unless a workspace requires it. Required two-factor authentication is a workspace policy that an Owner enables; members enroll on their own accounts before accessing that workspace.
A second step when you sign in: a code from your authenticator app, or a recovery code, asked for after your password or GitHub or Google sign-in is accepted.
Unmatched request
Section titled “Unmatched request”A request no mock matched. In Mock only it gets a 404 No mock matched, which appears in the request logs while Log requests no mock answered is on, as it is for a new project. In Proxy unmatched it goes to the upstream, and the exchange is kept as a capture whatever that setting says.
Upstream
Section titled “Upstream”The API behind a project, a real one or your own code through a tunnel, set as its Upstream base URL, which the forwarding gateway modes send requests to.
Upstream header
Section titled “Upstream header”A request header stored in a project and sent with every forwarded request in place of the caller’s header of the same name, such as an Authorization for a sandbox. Its value is never shown again or logged.
Upstream allowance
Section titled “Upstream allowance”How many requests a workspace’s projects may forward to their upstreams per day and per month. The plan sets it, and all the workspace’s projects share it.
Version history
Section titled “Version history”The earlier versions of a mock, which you can compare and restore.
Webhook
Section titled “Webhook”A request a project sends to an address you choose: by hand, on a schedule, or shortly after a given mock answers. Each delivery is signed and recorded.
Webhook inbox
Section titled “Webhook inbox”The path /__inbox on every project’s address. It accepts any request and answers 200, and when Store request logs is on it records the request, so you can see what a webhook or a partner sent. Choose Webhook inbox in the request logs to see only those.
Workspace
Section titled “Workspace”What you share with other people and pay for. It holds members, tokens, custom domains, the subscription and projects.
Named fixture
Section titled “Named fixture”A saved definition of a project’s JSON records and named scenario states. Applying it replaces all records and resets scenarios and response sequences before assigning the listed states; applied to named collections only, it replaces those collections and nothing else. See Save and apply named fixtures.
OpenAPI contract
Section titled “OpenAPI contract”The OpenAPI document a project keeps, with its earlier revisions, to import mocks from its examples and to link mocks to its operations.
A configuration document of version 3, and so a reusable pack, carries it.
See OpenAPI contracts.
Reusable pack
Section titled “Reusable pack”A versioned bundle of project configuration and saved fixture definitions. Starter packs provide working examples; private packs let a workspace reuse its own API setup. Installing one replaces configuration and saved fixtures. See Start a project from a reusable pack.
Assistant
Section titled “Assistant”The AI helper inside a project, opened with Assistant in its header, Ask AI… on ticked mocks or Fix with AI. It answers questions about the project’s mocks and makes proposals; it changes nothing by itself. An MCP client such as Claude Code is an AI assistant connected from outside, not this. See Change mocks with the assistant.
It also opens from traffic, with Explain and fix with AI, Mock with AI, Parameterise selected with AI and Update with AI.
Proposal
Section titled “Proposal”A set of changes to a project’s mocks, scenarios and data store seeds that the assistant wrote and MockHub checked, waiting for the person who asked to apply all or some of them. An applied proposal can be reverted for 14 days.
Records the assistant proposes for a data store collection that holds none. Unlike a new mock, a seed is live once its proposal is applied: mocks that read the collection use its records at once. Reverting empties the collection only while it holds exactly what the seed wrote. See Fill an empty data store collection.
Last call
Section titled “Last call”When a request to a project’s address last matched a mock, accurate to the hour, shown as “Last called about 2 hours ago”. Try it does not count. See Find mocks nobody calls.
Unused mock
Section titled “Unused mock”An active mock no request has matched for a period, counted from its last call, or from when it was created or last activated if that is later.
A label on a mock, such as orders or v2, to find and change a group of mocks together. Tags never change what a mock answers. See Organise mocks with tags.
Contract variant
Section titled “Contract variant”One example of one response of an operation in an OpenAPI contract, such as the 404 of GET /orders/{id}, which an import can turn into a response variant of the operation’s mock. An operation has one contract variant per example and media type, so two 422 examples are two. See Import an OpenAPI specification.
Import entry
Section titled “Import entry”One request with its response in a HAR file, a saved example in a Postman collection, or one curl command with what it printed. An import can turn each into a mock. See Import mocks from a HAR, Postman or curl.
Request check
Section titled “Request check”A check of a request, rather than a response, against one revision of an OpenAPI contract: its path, query, headers, cookies and body, never whether it was authenticated. A project can run it on every request in Report mode, which records and serves as usual, and an ephemeral environment can refuse the requests that fail in Reject mode. See Check requests against the contract.
Latest check
Section titled “Latest check”The newest check of a request log’s response against one revision of an OpenAPI contract, kept with the log until the log or the revision goes. The contract’s coverage shows each operation’s latest checks. See See what your checks cover.
Background contract check
Section titled “Background contract check”A check MockHub runs by itself once an Admin turns it on: every 15 minutes, it checks a small sample of the responses the project logged since the last run against the active revision of its OpenAPI contract. What the runs found is the project’s contract health. See Watch for contract drift in the background.