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" });
Returns an execution of the given name.
curl \
  -H "Authorization: Bearer $ACCESS_TOKEN" \
  https://workflowexecutions.googleapis.com/v1beta/{name}
Returns a list of executions which belong to the workflow with the given name…
curl \
  -H "Authorization: Bearer $ACCESS_TOKEN" \
  https://workflowexecutions.googleapis.com/v1beta/{parent}/executions
SDK on GitHub 📄 API Docs
SDK
js-genai
TypeScript
API
googleapis.com
googleapis.com:workflowexecutions
At a glance
Language TypeScript
Endpoints4
Base URLhttps://workflowexecutions.googleapis.com
✓ Official