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 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
js-genai
TypeScript
API
googleapis.com
googleapis.com:ml
At a glance
Language TypeScript
Endpoints29
Base URLhttps://ml.googleapis.com
✓ Official