Using ai-sdk-starter-xai with gsa.gov

TypeScript integration

Install
npm install ai-sdk-starter-xai
Quick start
import Ai_sdk_starter_xai from 'ai-sdk-starter-xai';

const client = new Ai_sdk_starter_xai({ apiKey: "YOUR_API_KEY" });
This endpoint lists all of the NAICS codes that are relevant to the OASIS fam…
curl \
  /api/naics/
This endpoint returns a list of vendors filtered by a NAICS code
curl \
  /api/vendors/
This endpoint returns metadata for the most recent data loads of SAM and FPDS…
curl \
  /api/metadata/
SDK on GitHub 📄 API Docs
SDK
ai-sdk-starter-xai
TypeScript
API
gsa.gov
gsa.gov
At a glance
Language TypeScript
Endpoints5