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" });
Looks up a single pipeline. Returns a "NOT_FOUND" error if no such pipeline e…
curl \
  -H "Authorization: Bearer $ACCESS_TOKEN" \
  https://datapipelines.googleapis.com/v1/{name}
Lists jobs for a given pipeline. Throws a "FORBIDDEN" error if the caller doe…
curl \
  -H "Authorization: Bearer $ACCESS_TOKEN" \
  https://datapipelines.googleapis.com/v1/{parent}/jobs
Lists pipelines. Returns a "FORBIDDEN" error if the caller doesn't have permi…
curl \
  -H "Authorization: Bearer $ACCESS_TOKEN" \
  https://datapipelines.googleapis.com/v1/{parent}/pipelines
SDK on GitHub 📄 API Docs
SDK
js-genai
TypeScript
API
googleapis.com
googleapis.com:datapipelines
At a glance
Language TypeScript
Endpoints8
Base URLhttps://datapipelines.googleapis.com
✓ Official