# Compatibility

Version-agnostic API compatibility endpoints

## Get API compatibility information

 - [GET /api/meta/compat](https://docs.wellesley.social/openapi/compatibility/paths/~1api~1meta~1compat/get.md): Returns API compatibility information including the current breaking generation
            and minimum supported generation. This endpoint is version-agnostic (not under /api/v1),
            unauthenticated, and always available.

            Clients should embed COMPILED_BREAKING_GENERATION at build time and use this endpoint
            to determine compatibility:
            - If client_generation < min_supported_generation: block usage and force update
            - If client_generation < breaking_generation: optional update warning
            - Otherwise: proceed normally

            This endpoint must remain backward-compatible indefinitely.

