Engineering

From YOLO Architecture to a Unified SaaS API

Robin Pokorný

Robin Pokorný

Thu Dec 3, 2026

•

7 minutes read

linkedin twitter facebook copy
From YOLO Architecture to a Unified SaaS API
linkedin twitter facebook copy

From YOLO Architecture to a Unified SaaS API

Everyone knows what a good API looks like. That sentence is a trap. Take four good engineers with very good instincts and ask them to produce a specification. You will get four different versions. Four incompatible surfaces. Everyone knows what their good API looks like.

As developers we have seen countless APIs. We integrated some, we wrote some. There were ones we really liked and ones we disliked. What rarely happens is the chance to build an API from scratch for a whole platform.

At Ataccama we got that chance: our previous solution mostly ran inside customers’ own systems, where a public API was never a necessity, but the newest member of our platform, Ataccama ONE Agentic, is a SaaS offering requiring a hosted API. This is the story of how we tackled the unique challenge of adding a public API to a mature product, knowing full well that asking our six independent teams to produce an API for their domain wouldn’t create something that feels like one consistent product, from top-level questions like HTTP and JSON down to critical micro-decisions like casing, error shapes, null versus absent, empty results, collection naming, and bulk versus batch.

This isn’t a theoretical blueprint or an out-of-the-box standard. It’s our first-hand path to building a unified API from scratch. Along the way, we encountered plenty of false starts, hard-earned lessons, and unexpected wins. Here is a look at our journey, our ups and downs, and the process we used to get it right.

Start with Principles, Not Endpoints

I have almost 15 years of professional experience building software, a good part of that as a web app developer. Being on the consuming side taught me to value APIs that are consistent, elegant, and customer-focused. I believe you only get there by first agreeing on principles for how you want to operate. This comes before anyone thinks about endpoints.

The reason is simple. Coherence cannot be reverse-engineered. Once something exists, changing it is very tricky. A public API is even more special here because your customers depend on it, and you do not want to change it often (or even at all). Anything you publish gets baked in.

Standards Are Just Ingredients (And Why You Need Your Own Recipe)

Going back to the four good engineers designing an API, there’s a question you might be asking: Why do four instincts produce four different surfaces?

Because the industry has never agreed on a single document that describes a good API. Some documents want to be that (JSON:API is a serious attempt), but none is widely accepted. Plus, people simply like different ideas.

We did agree on one thing early: JSON over HTTP, REST-inspired. I say inspired deliberately. I deeply value truly RESTful APIs; however, in reality they are rare. Most APIs that call themselves RESTful simply aren’t (HATEOAS anyone?). Some practices of REST stuck anyway, and we wanted to build on those.

The closest things you have are individual standards, most notably RFCs, and they are very clear about the one thing they cover. The problem is that none of them give you a full specification. They are ingredients you have to fit together, not something you take off the shelf. For example, there are several standards for PATCH alone.

This is the reason I will not be sharing the specific decisions we ended up with. This article is about the process of figuring them out. One specific recipe made from these ingredients is not what you should copy. Copy the process.

I know that copying is a real temptation. Developers have seen things they like and they want to copy them. GitHub’s API is a widely cited example of a good one. It also probably doesn’t match your use cases. Instead, take it as an inspiration. Find the ingredients you like.

The Case for an API YOLO-Prevention Officer (AYPO)

At the very beginning we wanted the teams to create something independently. It did not work well. Whoever moved first set the pattern. The others were not happy with it; they felt they had no say, and there was nobody to judge between them.

We learned this the hard way. Early on, a team added pagination to a listing endpoint. It looked fine, other teams reviewed, no one objected. Two months later, one of the other teams realised that this pattern didn’t work with their filtration logic. We had to go back and change it (fortunately this was before we released v1).

The issue was that at that point no one saw it as a pattern or thought about their future needs. As a result, these micro-decisions got made YOLO-style.

The first endpoint of its kind is never just an endpoint. It is a precedent. Treat it as one, and ask every team what they will need from it before it ships.

So we created the role of API YOLO-Prevention Officer, AYPO. One person who leads and has the final say. A benevolent ruler, but one who commits to hearing everybody before the call. Because it is one person, they can hold a mental image of the entire surface, what is happening everywhere, and be the guarantee of consistency.

Bulk versus batch was where this paid off. Two teams, at almost the same time, created batch endpoints. One called it batch, the other called it bulk. They followed different principles, and each was perfectly fine on its own. We looked outside; Zalando has really good guidelines on this, and we adopted them, down to details like the 207 status code. Both teams verified the ingredient worked for them. And we wrote it down.

Guardrails Enforce Consistency Without Killing Autonomy

The guardrail is the document that captures all these decisions and micro-decisions. We made it deliberately brief.

Ataccama Public API guardrail: quick reference table
Ataccama Public API guardrail: the six principles

It hints at how we solve things and references the RFCs rather than spelling them out. It is opinionated by definition, and that is what makes it useful. If you (or your agent) need to create a consistent API, it is what you read first.

The operating model around it is a sort of tiered autonomy. Teams can decide quite a lot on their own. A few things belong on the big forum. When a team is not sure, they consult others or the AYPO. And the AYPO is always made aware of any API change, so their mental image stays current.

One such thing that lives in the guardrail is PATCH versus PUT. We had a strong disagreement about it, and it is exactly the kind of thing where you want consistency. We asked people how they felt. The AYPO proposed one option, backed by an RFC standard. After some discussion it went into the guardrail, and there has been no discussion since. People understand the decision was not taken lightly, so what is written there is respected. The decision held because we deliberately invited the objections.

The Easy Part: Scaling the Surface Once the Rules Are Set

I believe that if you follow this process, you will be able to create an endpoint structure and an API system that serves your company well.

It looks like an easy task. It feels like something anybody can do. Without proper oversight, though, some very expensive mistakes get made, and they are the kind that are difficult to fix. The right level of governance and ownership solves this. So do not be paralysed by decisions. Be brave. Be careful only where it is needed.

Everyone already knows what a good API looks like. The work is agreeing on which variant will be the shared one.

About the author

Robin Pokorný

Robin Pokorný

Robin is a Senior Staff Software Engineer at Ataccama with 15 years of experience building modular and distributed systems. Operating as a socio-technical architect, he focuses on aligning teams and product strategy. He cares deeply about APIs that are consistent, elegant, and customer-focused.