Glossary
Core Zerq terms used across platform documentation, organized by area.
Platform structure
| Term | Definition |
|---|---|
| Collection | Top-level API grouping. A collection defines the base path, upstream target URL, and optional TLS/credential settings that apply to all proxies inside it. |
| Proxy | An individual route inside a collection. A proxy defines a specific path, HTTP method, optional schema validation, and optionally a workflow it runs. |
| Draft | A collection or proxy that is saved but not yet live. Draft resources are editable but not routable by gateway consumers. |
| Published | A collection or proxy that is live and routable for authorized consumer traffic. |
| Import | Loading a collection and its proxies from an OpenAPI specification file. |
| Export | Downloading the collection and its proxies as an OpenAPI specification for sharing or backup. |
Access control
| Term | Definition |
|---|---|
| Client | A named consumer identity that represents an application, partner, team, or agent authorized to call the gateway. Every request must include a X-Client-ID header matching a known client. |
| Profile | A runtime access contract bound to a client. A profile defines the auth method, allowed IPs, allowed HTTP methods, and active status. A client can have multiple profiles for different access tiers or environments. |
| Policy | Rate and quota rules applied to a client. Policies define a short-term rate limit (for example, 100 requests per minute) and a long-term quota (for example, 50,000 requests per 30 days). |
| Auth Type | The credential mechanism a profile requires callers to use. Options are token, jwt, oidc, mtls, and none. |
| RBAC | Role-Based Access Control. Controls who can operate the management surface. Roles are admin, modifier, viewer, and auditor. |
| IP Allowlist | A list of IP addresses or CIDR ranges permitted to call a profile. Requests from unlisted IPs return 403 Forbidden. |
| Method Allowlist | A list of HTTP methods (GET, POST, etc.) permitted through a profile. Requests using unlisted methods return 403 Forbidden. |
Authentication types
| Term | Definition |
|---|---|
| Token auth | Static bearer token issued and stored per profile. Callers send Authorization: Bearer <token>. Suitable for system-to-system integrations. |
| JWT auth | Signed JSON Web Token validated by the gateway using a shared secret or public key. Suitable for partner integrations issuing their own tokens. |
| OIDC auth | OpenID Connect token validated against a configured issuer's JWKS endpoint. Suitable for enterprise SSO and IdP-managed identities. |
| mTLS auth | Mutual TLS. The caller presents a client certificate during the TLS handshake; the gateway validates it against a configured CA certificate. No Authorization header is needed. Recommended for regulated machine-to-machine traffic. |
| None auth | No credential required. The gateway identifies the caller by X-Client-ID and X-Profile-ID headers only. Use only on internal or test routes. |
Workflows
| Term | Definition |
|---|---|
| Workflow | A node-based execution pipeline. A workflow either runs on a proxy (between the gateway receiving a request and answering it) or stands alone and runs from its own trigger: a schedule, a Kafka topic, an email inbox, Run now, another workflow or a guardrail. |
| Standalone workflow | A workflow that no proxy runs. It lives in Automation › Workflows and runs from its own trigger while it is active. |
| Draft / published version | A workflow's draft is what you edit; publishing turns it into the next numbered version. Proxies, triggers and callers always run the published version. |
| Execution (run) | One run of a workflow, recorded in run history (Automation › Executions) with its status, timing, steps and error. |
| Node | A single step in a workflow. Each node has a type (for example, http_request_node, condition_node, set_node) and a configuration block. |
| Trigger | The entry point of every workflow. http_trigger receives the inbound request and makes it available as {{request.*}} for downstream nodes; cron_trigger, kafka_consumer, imap_trigger and manual_trigger start standalone workflows. |
| Expression | A {{variable.path}} reference used in node configuration to dynamically reference request fields, node outputs, or credential values. |
| Workflow template | A prebuilt workflow with common node patterns (orchestration, transformation, resiliency, canary routing). Teams can start from a template and customize. |
Credentials
| Term | Definition |
|---|---|
| Credential | A named secret stored in Zerq for use by workflow nodes or collection-level backend auth. Credentials are encrypted with AES-256 at rest. |
| Env-backed secret | A credential field whose value is set to $ENV_VAR_NAME. The actual value is resolved at runtime from the gateway process environment — never stored in the database. |
| Encryption key | A 32-byte key provided via the ENCRYPTION_KEY environment variable used to encrypt and decrypt all credential values. |
Observability
| Term | Definition |
|---|---|
| Request log | A per-request runtime record capturing status code, latency, client ID, profile ID, collection, proxy path, and optional payload metadata. |
| Audit log | A management-change record capturing the actor identity, action taken, resource affected, timestamp, and IP address. No role can change or delete entries through the API or console; only retention (AUDIT_LOG_RETENTION_DAYS) removes them, and changes made directly in the database break the hash chain. |
| Dashboard | Real-time metrics view showing request volume, error rates, latency distribution, top routes, and top clients. Auto-refreshes at a configurable interval. |
MCP
| Term | Definition |
|---|---|
| MCP | Model Context Protocol. An open standard for exposing tools to AI clients. Zerq exposes two MCP surfaces: Gateway MCP and Management MCP. |
| Gateway MCP | MCP surface that lets AI agents call API proxies through the gateway. Requires the same client/profile auth as any other gateway request. |
| Management MCP | MCP surface that lets AI agents automate platform management tasks (create collections, update proxies, read logs, etc.). Requires OIDC authentication with an assigned RBAC role. |
| Tool | A named operation exposed via MCP. For example, callProxy, getRequestLogs, createCollection. AI clients discover available tools automatically. |
Developer portal
| Term | Definition |
|---|---|
| Developer Portal | The consumer-facing web application where API partners and consumers discover, explore, and test available APIs without accessing the management surface. |
| Magic link | The authentication mechanism for the developer portal. Consumers enter their email address and receive a one-time login link — no password required. |
| Authorized emails | A per-client list of email addresses allowed to access the developer portal under that client's scope. Maintained by the platform team in the management UI. |
Next steps
- Key Concepts — architectural overview with diagrams
- How It Works — request lifecycle in detail
- API Gateway — gateway auth, rate limits, and error codes