Arazzo Specification: A Practical Guide to API Design Workflows

A clear guide to the Arazzo specification: what it is, how it complements the OpenAPI specification, real examples of API workflows, and how Apidog helps teams design, test, and publish great APIs.

Oliver Kingsley

Oliver Kingsley

3 September 2025

Arazzo Specification: A Practical Guide to API Design Workflows

The Arazzo specification is an OpenAPI Initiative standard that describes API workflows — ordered steps that call one or more APIs to achieve a goal. While a single OpenAPI specification focuses on a single API surface (paths, operations, schemas, security), an Arazzo description captures the choreography around those APIs: the inputs each step needs, the dependencies between steps, the success criteria that mark progress, and the outputs to pass forward. In short, Arazzo is a formal, machine‑readable way to model “do this, then that” scenarios that developers already build in code and testers already automate in suites.

In practice, most teams already deal with workflows:

Arazzo gives these sequences a shared language. The format is JSON or YAML. A top‑level object declares the Arazzo version (arazzo: 1.0.x), metadata (info), a list of source API descriptions (sourceDescriptions, often OpenAPI specification files you already maintain), a list of workflows (workflows), and reusable pieces in components. Each workflow contains inputs (names and types), ordered steps (with step IDs), optional parameters injected into the referenced API calls, successCriteria (simple assertions such as $statusCode == 200), and outputs that later steps may consume.

Why does this matter for API design and API specification?

Arazzo does not replace the OpenAPI specification. Rather, it adds a layer on top. Arazzo points to one or more OpenAPI documents (via sourceDescriptions) and composes them into end‑to‑end flows. Keeping these roles distinct helps you stay clear: OpenAPI describes the API; Arazzo describes how to use one or more APIs to accomplish work.

button

Inside the Arazzo Specification Object

A quick guided tour helps you read and author Arazzo files with confidence. The main sections you will see are:

A typical step contains:

To make the division of labor clear, use the following mental model:

Concern
OpenAPI specification
Arazzo specification
Describe one API surface
Paths, operations, schemas, security
Refers to OpenAPI docs
Describe a business flow
Out of scope
Workflows, steps, inputs, outputs
Machine readability
Yes
Yes
Human readability
Yes
Yes (shorter narratives)
Tooling
Validators, codegen, mocks
Runners, workflow docs, glue

How Arazzo Specification Complements the OpenAPI Specification

Arazzo and OpenAPI align well in API design. OpenAPI remains your contract of record for a service. Arazzo becomes your playbook for how to string services together. When you publish both, consumers understand the why and the how:

Good practice:


Examples That Ground the Arazzo Specification in Real API Design Scenarios

Let us anchor the idea with three common flows. We will keep it simple and avoid giant payloads, yet still show the value of Arazzo.

1. User login + list available items

2. Checkout and payment capture

3. Application submission and polling

In an Arazzo description, these read like a short script. Engineers, QA, technical writers, and partners can all scan them quickly. A few practical pointers when you author examples:

How this helps API design and API specification work together:

Finally, because Arazzo is machine‑readable, you can build small utilities to render workflows into human docs, CI checks, or diagrams, and you can keep them close to your OpenAPI specification repository.


Using Apidog to Operationalize API Design: OpenAPI Specification + Arazzo‑aligned Workflows

Arazzo explains the workflow. OpenAPI explains the API. Apidog helps you turn both into a working product with less toil. While Arazzo is not an authoring format inside Apidog today, the platform maps naturally to its ideas and gives you the day‑to‑day tools to design, test, and publish APIs consumers trust.

button

Design and model with confidence:

Develop and debug faster:

Publish documentation that people and AIs can use:

Distribute and learn:

Arazzo gives you clear workflows. Apidog gives you the platform to shape, prove, and present your API around those workflows. The result is better API design, stronger API specification, and faster adoption.


Conclusion

The Arazzo specification adds missing context to API programs: it documents real workflows in a concise, machine‑readable way. Teams do not have to guess the call order, the inputs, or the success signals. Pair that with the OpenAPI specification, and you now own both the contract and the playbook. Stakeholders understand intent, and tools can automate the path from idea to working software.

To turn those documents into dependable software, adopt a platform that operationalizes good API design habits. Apidog provides a unified workspace to model endpoints, reuse components, run scenario tests, and publish documentation with strong access control and LLM‑friendly outputs. Features like the AI‑powered endpoint compliance check, endpoint cases, and publish‑time options (Markdown pages, llms.txt, MCP) help your API stay consistent, clear, and easy to integrate.

If you already manage an OpenAPI specification, consider adding an Arazzo description alongside it to capture your most important flows. Then import the spec into Apidog, build tests that mirror the workflow steps, and publish docs that help both people and AI assistants succeed. This combination reduces rework, speeds delivery, and raises confidence across your API lifecycle — from API design to API specification to adoption. Ready to go further? Sign up for Apidog and give your team the tools to deliver great APIs with less friction.

button

Explore more

How to Build a GraphQL API Server with Apollo Server

How to Build a GraphQL API Server with Apollo Server

Learn to build a GraphQL server with Apollo Server. This guide covers project setup in JS/TS, simple queries, complex types, mutations, and database integration for efficient APIs.

3 September 2025

What Is Semantic Versioning (SemVer)?

What Is Semantic Versioning (SemVer)?

Confused by version numbers like 2.1.0 vs. 3.0.0? Learn what Semantic Versioning (SemVer) is, why it's trusted and liked by developers and APIs.

3 September 2025

Is Apidog the Better Alternative to RapiDoc for API Developers

Is Apidog the Better Alternative to RapiDoc for API Developers

In this detailed comparison, developers explore Apidog and RapiDoc side by side. Apidog delivers comprehensive API management with design, testing, and mocking, while RapiDoc focuses on interactive documentation.

3 September 2025

Practice API Design-first in Apidog

Discover an easier way to build and use APIs