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 metadata for an API key. The key string of the API key isn't include…
curl \
  -H "Authorization: Bearer $ACCESS_TOKEN" \
  https://apikeys.googleapis.com/v2/{name}
Lists the API keys owned by a project. The key string of the API key isn't in…
curl \
  -H "Authorization: Bearer $ACCESS_TOKEN" \
  https://apikeys.googleapis.com/v2/{parent}/keys
Find the parent project and resource name of the API key that matches the key…
curl \
  -H "Authorization: Bearer $ACCESS_TOKEN" \
  https://apikeys.googleapis.com/v2/keys:lookupKey
SDK on GitHub 📄 API Docs
SDK
go-genai
Go
API
googleapis.com
googleapis.com:apikeys
At a glance
Language Go
Endpoints8
Base URLhttps://apikeys.googleapis.com
✓ Official