Using go-genai with googleapis.com

Go integration

✓ Official SDK
Install
go get github.com/googleapis/go-genai
Quick start
import "go-genai"

// Initialize client
client := go-genai.NewClient("YOUR_ACCESS_TOKEN")
Gets the latest state of a long-running operation. Clients can use this metho…
curl \
  -H "Authorization: Bearer $ACCESS_TOKEN" \
  https://ml.googleapis.com/v1/{name}
Lists the jobs in the project. If there are no jobs that match the request pa…
curl \
  -H "Authorization: Bearer $ACCESS_TOKEN" \
  https://ml.googleapis.com/v1/{parent}/jobs
Lists the models in a project. Each project can contain multiple models, and …
curl \
  -H "Authorization: Bearer $ACCESS_TOKEN" \
  https://ml.googleapis.com/v1/{parent}/models
SDK on GitHub 📄 API Docs
SDK
go-genai
Go
API
googleapis.com
googleapis.com:ml
At a glance
Language Go
Endpoints29
Base URLhttps://ml.googleapis.com
✓ Official