Using js-genai with googleapis.com

TypeScript integration

✓ Official SDK
Install
npm install js-genai
Quick start
import Js_genai from 'js-genai';

const client = new Js_genai({ accessToken: "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
js-genai
TypeScript
API
googleapis.com
googleapis.com:apikeys
At a glance
Language TypeScript
Endpoints8
Base URLhttps://apikeys.googleapis.com
✓ Official