The API is defined with Google’s Protocol Buffers (aka protobuf). It consists of the service DiscordApi and it’s methods.

Please see Protocol Documentation for a complete documentation of the service with it’s methods and messages.

Or if you want to generate your own gPRC client you can find the protobuf definition files in the /protobufs folder.

In addition the Python pacakge contains an overview of the gRPC classes and helpers useful for gRPC clients.