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" });
Retrieve an Oidc Idp configuration for an Identity Toolkit project.
curl \
  -H "Authorization: Bearer $ACCESS_TOKEN" \
  https://identitytoolkit.googleapis.com/v2/{name}
Gets parameters needed for reCAPTCHA analysis.
curl \
  -H "Authorization: Bearer $ACCESS_TOKEN" \
  https://identitytoolkit.googleapis.com/v2/recaptchaConfig
List tenants under the given agent project. Requires read permission on the A…
curl \
  -H "Authorization: Bearer $ACCESS_TOKEN" \
  https://identitytoolkit.googleapis.com/v2/{parent}/tenants
SDK on GitHub 📄 API Docs
SDK
js-genai
TypeScript
API
googleapis.com
googleapis.com:identitytoolkit
At a glance
Language TypeScript
Endpoints27
Base URLhttps://identitytoolkit.googleapis.com
✓ Official