SLA4OAI is an open specification for describing service level agreements over REST APIs that are defined with OpenAPI. It extends an OpenAPI description with plans, pricing, quotas, rates and availability, in a vendor-neutral format that API management tools can import and measure.
SLA4OAI
SLA4OAI (SLA for the OpenAPI Initiative Specification) describes the service level agreement behind an API defined with OpenAPI. It is a specification extension: an OpenAPI description points to an SLA document from its info section with x-sla, and that document sets out the plans the API is offered under.
- Plans - Each plan can carry pricing (cost, currency, billing period), quotas, rates and an availability window. A
baseplan holds what every plan inherits. - Quotas and rates - Quotas are limits counted in static time windows, such as a daily quota. Rates are counted in windows relative to use, such as requests per minute. Both are set per path and method.
- Metrics - The document defines what is counted, such as requests, response time or business metrics like the number of resources created.
- Plans or agreements - A
plansdocument describes what is on offer. Anagreementdocument records what a named customer signed up for.
The specification was developed by the SLA4OAI Technical Committee, convened by the ISA Group at the University of Seville, with practitioners and academics taking part. Version 1.0.0 was published as a draft on 2020-11-16 under the Apache 2.0 license, and the repository was last updated in February 2023. The committee’s discussions live in its Technical Committee wiki.
There are three things to know before using it:
- No field for an uptime guarantee.
availabilityis a time slot that says when the service is offered, not how reliably. The draft mentions guarantees, but neither the draft nor the schema defines them, so uptime percentages, service credits and response times have no standard place. - The root key differs between documents. The specification text uses
sla:, while the JSON Schema and the agreement sample usesla4oas:. - Limits are set per path. A limit that applies to a whole account, which is how most providers document theirs, has no standard place.
APIs.io generates SLA4OAI documents for the providers in its catalog. Promised uptime is quoted from each provider’s SLA page and reported uptime from its status page, carried in an x-apis-io-* extension. Where no service level was found, a synthetic base is built from the provider’s plans and rate limits and labeled as synthetic.
Industry: API Specification
Referenced on the API Evangelist blog
Where this standard shows up across sixteen years of my writing at apievangelist.com — how it fits into API design, governance, and the agentic turn.
Who Actually Gets To Define API Standards
2026-10-28