Skip to main content

Guides

Long-form guides to designing HTTP APIs, in eight sections from the shape of a resource to what a model makes of it.

Design & Structure

11

What the resource surface looks like before anything is sent over it.

Representation

6

Which bytes come back, in which format, in which language.

Versioning & Evolution

6

Changing a published contract without breaking the clients on it.

Reliability & Operations

8

How the API behaves when the network, the caller or the server misbehaves.

Events & Async

6

Work that outlives a request, and the contracts for pushing it back.

Performance & Caching

5

Not answering at all is faster than answering quickly.

Security & Auth

11

Proving who is calling, what they may do, and that nothing was tampered with.

Agents & Tool Use

3

What survives when your API is read by a model rather than a person.