Based on REST principles, with support for gRPC, the Einride Extend APIs enable integrations and extensions to Einride's Saga platform.
The Extend APIs are designed using the AIP design framework, which means that they are resource-oriented and work like standard REST APIs.
The APIs are specified and documented using the Protocol Buffer interface definition language.
Saga's APIs support both gRPC and HTTP protocols.
gRPC is a high performance, open source universal RPC framework that works across programming languages and platforms.
To call Saga's APIs via gRPC, you can use the protobuf source files to generate a client for your preferred language.
The Saga APIs are also available via the Buf Schema Registry, which is a registry for openly sharing gRPC APIs between organizations. You can use one of the remote generation plugins provided by Buf.
Saga's APIs are also available as RESTful HTTP endpoints, via automatic gRPC to HTTP transcoding.
See the openapiv2 directory for the latest OpenAPI specifications, or use the API documentation at extend.saga.einride.tech where you can also try out the REST APIs and make example requests.