Core Driver Interface (CDI)

The Core Driver Interface (CDI) serves as the standardized communication protocol between the Backend SDK and the Core system. The Core system exposes its functionality through REST endpoints, with CDI essentially constituting an OpenAPI/Swagger specification that comprehensively defines all endpoints exposed by the Core.

Backward Compatibility

The Core system maintains backward compatibility through versioned CDI specifications as it evolves with new functionality. The Backend SDK communicates its CDI version through request headers, enabling the Core to process inputs and outputs according to the specified version requirements.

The complete CDI specification is maintained in the following repository: https://github.com/supertokens/core-driver-interface

Related Topics