Moby provides no official docs..sed.
https://pkg.go.dev/github.com/moby/buildkit/docs
The closest you can get is to use the cli functions : https://github.com/moby/buildkit/blob/master/docs/reference/buildctl.md but ofc they are not comprehensive enough for the client api.
The client api : https://pkg.go.dev/github.com/moby/buildkit/client
Here i will try to provide a simple explaination for someone new to buildkit to get started with :