Glossary
Short, plain-English explanations of the terms these docs use, with a link to where each is covered in full.
API key
A secret string a server or integration sends to identify itself: Authorization: Bearer fs_live_…. Each key has its own scopes, and can be pinned to an API version and given a rate limit tier. Only a hash is stored. See authentication.
API reference
The documentation page at /docs, generated from the OpenAPI document, with a switcher between API versions. See OpenAPI and the API reference.
Brownout
A short, planned window in which a deprecated API version is refused with a 410, so clients still using it notice before it is retired for good. See retiring old versions.
Breaking change
A change that could make an existing client fail, such as renaming or removing an attribute. Adding things, such as new attributes or endpoints, is not breaking. With versioning on, each breaking change gets a version change class. See versioning.
Cache key
A string that identifies what a request asks for, built by CacheKey (response_cache::cache_key in Rust) from its method, path, pinned version, client and query parameters, so cached data is never served to the wrong caller. See caching.
Client
Whoever is calling the API: an API key, a Sanctum token, or a user from another guard. In code, in both PHP and Rust, it is an ApiClient, which holds the caller's ID, scopes, pinned version and rate limit tier. See authentication.
Conditional request
A request that sends back an ETag in If-None-Match, asking for the response only if it changed. If it did not, the answer is a 304 Not Modified with no body. See caching.
Cursor pagination
Paging through a list with an opaque marker, page[after], taken from the previous page's links, rather than a page number. It stays correct while records are added and is fast on large tables. The default for collections. See pagination.
Deprecated version
An API version that still works but will be retired. Its responses carry Deprecation and Sunset headers. See retiring old versions.
Error code
A stable, machine-readable name for what went wrong, such as insufficient_scope, in the code of every error. Clients check the code, not the message. See errors.
ETag
A fingerprint of a response, sent in the ETag header. A client sends it back to ask whether the response changed. See caching.
Fieldset
The attributes and relationships a client asks for, such as fields[orders]=reference,status. Asking for fewer makes responses smaller. See queries.
Guard
Laravel's name for a way of authenticating a request, such as API keys, Sanctum tokens or Firebase ID tokens. Fusion Stack tries the guards in api.auth.guards in order. Laravel for Rust has no guards: a client resolver set with Config::client_resolver does the same job. See other guards.
Idempotency key
A unique value, such as a UUID, a client sends in the Idempotency-Key header with a request that changes something. Retrying with the same key returns the first response instead of running the request again, so a retry after a network failure is safe. See idempotency.
Include
Related resources a client asks to receive in the same response, such as include=customer. They arrive once each in included. See queries.
JSON:API
A standard shape for JSON APIs: every resource has an id, a type, attributes and relationships, and errors share one format. Fusion Stack responses follow it. See JSON:API.
MCP
The Model Context Protocol, which lets AI clients such as Claude call tools. fusion-stack/mcp exposes the endpoints you choose as MCP tools. It is PHP only; the Rust crate has no MCP server. See MCP server.
OpenAPI
A standard format for describing an HTTP API: its endpoints, parameters, request bodies and responses. Fusion Stack generates an OpenAPI document from your code, and the API reference and the TypeScript client are built from it. See OpenAPI and the API reference.
Pinned version
The API version a client gets when its request has no Api-Version header. API keys and webhook endpoints are pinned to the latest version when they are created, so later breaking changes never reach them until they upgrade. See which version a request gets.
Rate limit tier
A named set of limits, such as default or partner, that a client is assigned to. See rate limiting.
Release name
An optional label after a version's date, such as atlas in 2027-01-15.atlas. Versions with the same name differ only by additive changes, so upgrading within a name is always safe. See versions.
Resource
One thing the API serves, such as an order, with its id, type, attributes and relationships. In code, a JsonApiResource class says what a model shows, or in Rust a Resource registered with Config::resource. See resources.
Response cache
Responses kept on the server for endpoints marked #[CacheResponse] (the CacheResponse middleware in Rust), so repeated requests skip the controller. See response cache.
Retired version
An API version that no longer works: requests for it get a 410 api_version_retired. See retiring old versions.
Scope
A permission, such as orders:read. Each endpoint says which scopes it needs, and each client has a set of scopes; a client without a needed scope gets a 403 insufficient_scope. See scopes.
Sunset
The date a deprecated API version will be retired, sent in the Sunset header. See retiring old versions.
Version change
A class (in Rust, a type implementing VersionChange) describing one breaking change: how to migrate requests from older clients up to the latest version, and responses back down. Your code only implements the latest version. See version changes.
Webhook
A request your API sends to another system when something happens, such as an order being created, signed so the receiver can trust it. See webhooks.