Groundwork

API

Keys

NameKeyScopeCreated
Demo servergw_local_3f9a…Read and writeNov 6, 11:10 PM
Notebookgw_local_81c0…ReadNov 7, 2:42 AM

Reference

Quick start

import { groundwork } from "@groundwork/sdk";

const gw = groundwork({ project: "sf" });
const answer = await gw.ask("What is planned at 150 Hayes Street?");
<script
  src="https://groundwork.dev/ask.js"
  data-project="sf"
  data-key="gw_read_..."
></script>

For agents

Endpoints

POST/ask
POST/search
POST/records
DELETE/records/{id}
POST/evals/runs
GET/evals/runs/{id}

Hooks

answer.createdAn answer is written
source.syncedA source finishes syncing
eval.finishedA suite run ends
freshness.lateA source misses its target