02.4 ° Service 02 / API Services · API Management

API management.
With lifecycle and governance.

API management governs how your company's APIs are published, secured, versioned, and retired. We set up the platform, define the policies for the API lifecycle, and anchor the API governance checks in reviews and in the pipeline. For a lottery company, we built a platform so that the policies were in place before the first API needed them.

Tagline API lifecycle · API governance · Policies · Versioning
° dl / service-02.4
° Overview · API management

What is API management, and what does it include?

API management comprises the tools and rules a company uses to publish, secure, and analyze its APIs and to guide them through their lifecycle. The term is often equated with the API gateway, but it reaches further. This overview shows the components, distinguishes related terms, and names what an API management solution has to deliver.

An API management platform usually consists of four building blocks. The gateway accepts calls, checks credentials, and enforces policies. In the management plane, APIs are created, policies are assigned, and access is granted. A catalog or portal makes the APIs discoverable along with their documentation, and analytics show how they are used. Added to this are the lifecycle rules, which define how an API is created, how versions follow one another, and how an old version is retired. These building blocks can be found in the documentation of common platforms.

The difference between API management and an API gateway

The API gateway is the runtime component. Every request passes through the gateway before it reaches the API and is checked there against the applicable policies. API management covers more. It defines which policies apply to which API, who gets access, where the API is documented, and what happens to it over the years. The gateway enforces rules, while API management is where they are defined, assigned, and maintained. The API Gateway page describes how we set up gateways. For the Anypoint Platform, API Management & Security shows how API Manager manages policies.

API management, ESB, iPaaS, and service mesh

Three further terms are often placed next to API management. An enterprise service bus (ESB) connects applications with one another by routing messages, translating data models, and converting protocols. An iPaaS (integration platform as a service) provides tools for such integrations as a cloud service. API management governs how interfaces are published, secured, and used, including the interfaces that result from such an integration. A service mesh is an infrastructure layer that provides applications with capabilities for security, observability, and traffic management without changes to their code, and it addresses the communication between services. In landscapes that have grown over time, these building blocks stand side by side and complement one another.

What an API management solution has to deliver

Which platform fits follows from the requirements. What matters is which systems are to become reachable through APIs, who uses them, which access methods are required, and how the platform fits into operations and pipelines. For a lottery company, we evaluated the middleware systems on the market against the client's requirements, from the planned digital channels through the existing back-end systems to operations and governance. We then set up the chosen platform, with policies, an API catalog, and concepts for requirements management and acceptance. The case study on the platform rollout describes the process.


° Platform · Building blocks

What API management includes

Six building blocks a company uses to manage its APIs as a portfolio, from the policies at the gateway to usage analytics.

°01 · Rules
Policies
Rules for access, quotas, and overload protection, managed centrally and enforced at the gateway. For a lottery company, they were in place before the first API.
OAuth 2.0 · Rate limiting · Caching
°02 · Lifecycle

API lifecycle with fixed transitions

Between design, implementation, publication, operation, and retirement, each transition defines what must be in place before an API moves on.

°03 · Versioning

Versions with clear rules

What counts as a compatible change, when does a new major version come about, and how do consumers learn about a retirement? The answers are settled before they are needed.

°04 · Governance
API governance
Shared rules for the design, security, and documentation of all APIs. They are checked in the review and, where it can be automated, in the pipeline.
°05 · Catalog

One catalog for all APIs

Every API with its specification, owners, and status in one place. For a lottery company, we set up Anypoint Exchange as the catalog.

°06 · Analytics
Usage
Which application calls which API in which version? Analytics at the gateway answer that and form the basis for planning a retirement.
° API lifecycle

The API lifecycle in four phases.

The API lifecycle describes the path of an interface from the first draft to decommissioning. It starts over with every new version. API lifecycle management defines what is produced in each phase and who approves the transition.

  1. 01

    Design

    The specification defines resources, data models, and access methods before implementation begins. A review checks the design against the shared rules.

    Phase 1 / 4
  2. 02

    Develop and test

    The implementation follows the specification. Integration tests safeguard the behavior, and the pipeline takes every change into the environments along the same path.

    Phase 2 / 4
  3. 03

    Publish and operate

    The API appears in the catalog, and policies at the gateway govern access and load. In operation, call volumes, errors, and response times show how it is used.

    Phase 3 / 4
  4. 04

    Version and retire

    A new version runs alongside the old one at first. Consumers are informed, and the old version is switched off only once they have migrated.

    Phase 4 / 4
° Deep dive · Governance and versioning
As of 2026  ·  4 min read

API governance, versioning, and policies put API management into practice.

A set of rules only takes effect once it is checked. Three topics shape the implementation of API management. What needs to be clarified is who defines the rules and checks compliance, how versions follow one another, and what applies to each API at the gateway. For each topic, we show the fundamentals and how we work with them in projects.

01

API governance means defining and checking rules

API governance refers to the rules by which APIs in a company are designed, secured, documented, and published, and to the process used to check compliance with them. A governance model answers three questions, namely which policies apply, who defines them, and where they are checked. Typical contents are naming conventions, error formats, and requirements for access methods and versioning. Part of this can be checked automatically by applying rulesets to the specification of an API, also as a step in the pipeline. On the Anypoint Platform, Anypoint API Governance does this, see API Management & Security.

What cannot be automated needs a review. At an energy utility, we are responsible for the solution architecture of a program with more than 20 service providers. The technical target architecture and the transformation roadmap set the direction for all subprojects, the architecture guidelines apply to all service providers, and design reviews check every integration against them. Reusable integration components ensure that every integration follows the same patterns, from error handling to logging. Details are in the case study on the S/4HANA migration.

02

API versioning and retirement

Every change to an API is either compatible or it breaks existing callers. Semantic Versioning reflects this in the version number. The major version increases for incompatible changes, the minor version for backward-compatible additions, and the patch version for backward-compatible bug fixes. How a version appears in the call is a decision for the ruleset, and the path, a header, or a query parameter are common choices. In the OpenAPI specification, an operation can be marked as deprecated with the deprecated field, and consumers should then stop using it.

A retirement needs a plan that records who still uses the old version, how long both versions run side by side, and how consumers learn about it. We define these rules with you before the first retirement is due. For a lottery company, we set up requirements management for APIs as a defined process when building the platform, with acceptance criteria that determine when an API is done. For announcements during ongoing operation, two HTTP headers are available that an API sends along in its responses.

  • °
    Deprecation   The header defined in RFC 9745 indicates that a resource is deprecated or will be at the stated time. This does not change its behavior.
  • °
    Sunset   The header defined in RFC 8594 states the time from which a resource is expected to stop responding. It must not be earlier than the deprecation time.
03

Policies and metrics in operation

Policies are rules that the gateway applies to the requests and responses of an API without changes to its code. API management defines which policy applies to which API and with which values. This includes who is allowed access, for example through OAuth 2.0, how many calls an application may make in a given period, and which responses are cached. For too many requests in a given period, HTTP provides status code 429 (Too Many Requests). For a lottery company, we secured the APIs for apps and web shop with OAuth 2 and placed caching in front of the resource-intensive back-end calls, as the case study shows.

In operation, the gateway supplies calls per API, version, and application, error rates, and response times, and with them the data needed to manage the portfolio. They show which interfaces are in use, where quotas should be adjusted, and which old version still has callers. You define which target values apply, and we set up the analytics so that the figures for them are available. The IT Monitoring page describes how APIs and services are also connected to a monitoring system.

° API management use cases

Six reasons for API management, from our projects.

Where API management is needed becomes clear in concrete initiatives. Six reasons, each with a project in which we took on the task.

01

A platform before the first API

A lottery company needed a mediation layer between back ends and digital channels. We set up the platform, with policies, an API catalog, and acceptance criteria.

PlatformPoliciesCatalog
02

APIs for apps and web shop

Tickets, drawings, and the customer account reach the apps and the web shop through the same APIs. They are designed RAML first, secured with OAuth 2, and load-tested with JMeter and Gatling ahead of the load peaks.

OAuth 2RAMLLoad testing
03

One set of rules for many service providers

In the migration program of an energy utility, the same architecture guidelines apply to more than 20 service providers. Design reviews check every integration against them.

API governanceDesign reviewGuidelines
04

Connecting CRM and ERP for the long term

20 Mule services connect Salesforce with the SAP systems of a payment provider. Over four years, we built, extended, and supported them, with every change going through pipeline and tests.

SalesforceSAPSupport
05

Reviewing a platform that has grown over time

For a manufacturer in the food industry, we assessed platform and processes in a deep dive. Each finding names the problem, the cause, and the next step, sorted by impact.

AuditFindingsPrioritization
06

Managing a service portfolio over years

Around 35 Mule services of a news agency were in the same hands for nine years. Development was audit-proof, so every change remained traceable over the entire period.

Ongoing developmentAudit-proofCoaching
° Platform and standards

API management tools and standards

The projects this page draws on run on the MuleSoft Anypoint Platform. We also work with the API management platforms of other vendors, including Azure API Management, Apigee, and Kong. The standards in the second group apply regardless of the platform, and the tools in the third come from the pipelines of our projects.

01

Anypoint Platform

API ManagerAnypoint ExchangeAPI GovernanceMule GatewayOmni GatewayAnypoint Monitoring
02

Standards

OpenAPIRAMLOAuth 2.0JSON Web TokenSemantic VersioningRFC 8594 · RFC 9745
03

Pipeline and tests

GitLab CI/CDJenkinsSonarQubeMUnitKarateJMeter
° Approach

From an API inventory to a managed API lifecycle

Four steps we use to introduce API management or bring order to an existing setup. After each step, you decide how to continue.

01

Assessment

Record APIs, consumers, platform, and applicable rules. The result is a set of substantiated findings, sorted by impact.

02

Ruleset

Define guidelines for design, access, versioning, and retirement, plus acceptance criteria per phase.

03

Setup

Set up policies, catalog, and analytics on the platform, and anchor checks in review and pipeline.

04

Guidance

Guide new APIs through the lifecycle, take on reviews, and plan retirements. Your team works alongside us.

° From our projects
20+
service providers work against
the same architecture guidelines
170+
operational processes orchestrated
through one integration architecture
~35
Mule services of a news agency,
in the same hands for nine years
20
Mule services of a payment provider,
supported over four years
°API governance

Six principles
for API governance.

API governance best practices as we apply them. Each principle draws on one of our projects.

01 Contract

The specification is the benchmark.

Rules start at the specification because it exists before the implementation. In our projects, APIs are created RAML first or with OpenAPI as the contract.

02 Reuse

Define once, use everywhere.

For a publishing company, RAML fragments defined each business object once. All APIs reused them, which kept the contracts between the parties stable.

03 Security

Rules come before the first API.

For a lottery company, security and governance rules were in place before the first API went into production. New interfaces therefore start with policies that already apply.

04 Review

A guideline needs a review.

At an energy utility, design reviews check every integration against the architecture guidelines. They apply to all service providers in the program.

05 Traceability

Every change takes the same path.

Build, tests, and deployment run through the pipeline. At a news agency, development was audit-proof over nine years.

06 Acceptance

Done means meeting the criteria.

Acceptance criteria determine when an API is done. For a lottery company, we defined them together with the requirements management for APIs.

° Frequently asked questions about API management

Questions and answers about API management.

01 What is API management?

API management refers to the tools and rules a company uses to publish, secure, and analyze its APIs and to guide them through their lifecycle. This includes a gateway that checks calls and enforces policies, a management plane for APIs and policies, a catalog or portal for consumers, and usage analytics. dataliquid sets up these building blocks and works with your team to define the rules by which APIs are created, versioned, and retired.

02 What is API governance, and how does it differ from API management?

API governance is the set of rules for the design, security, documentation, and versioning of APIs, together with the process used to check compliance. API management is the broader framework in which these rules are applied, with gateway, management plane, catalog, and analytics. Governance defines what applies, and API management provides the means to enforce and observe it. At an energy utility, we enforce architecture guidelines in design reviews, in a program with more than 20 service providers.

03 What is the API lifecycle?

The API lifecycle is the path of an interface from design through development, testing, publication, and operation to its replacement by a new version and its decommissioning. API lifecycle management defines for each phase which results must be in place and who approves the transition. The API Design page goes deeper into design, and the DevOps Consulting page covers the path into the environments.

04 What is the difference between API management and an ESB?

An enterprise service bus (ESB) is an architecture pattern in which a central component integrates applications. It routes messages, translates data models, and converts protocols. API management governs how interfaces are published, secured, documented, and managed across versions. The two tasks complement each other. The Mule runtime, formerly called Mule ESB, includes an API gateway, and Anypoint API Manager manages the policies for it. Read more under API Management & Security.

05 Who provides API management consulting and handles the implementation?

dataliquid from Hamburg provides API management consulting and implements it, with projects since 2016. Consulting includes the assessment, the ruleset for API governance and the API lifecycle, and the setup on the platform. For a lottery company, we supported the middleware decision and set up the platform with policies, an API catalog, and acceptance criteria. We built, extended, and supported 20 Mule services of a payment provider over four years.

API Management

Let's talk about your API management.

The initial call with an engineer covers your API portfolio, the applicable rules, and a sensible next step.

01 Submit a request
* Required field
Topic
Encrypted transmission · TLS 1.3