@intellara/trovegen-sdk 0.1.1 → 0.1.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +4 -0
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -44,6 +44,10 @@ teams that want built-in citations, hallucination scoring, or agentic multi-step
44
44
  retrieval — it's off by default per tenant and returns `GENERATION_DISABLED` until a
45
45
  workspace admin turns it on. Not required to use the SDK.
46
46
 
47
+ ## API key scopes
48
+
49
+ Every call is checked against the key's scopes: `search:read` (search, ask, conversations), `pipeline:read` (read documents, jobs, sources), `pipeline:write` (ingest, delete, jobs), `projects:write` (create, edit, delete projects), `connections:write` (connections). A call the key may not make throws a `TroveGenError` with code `KEY_SCOPE_FORBIDDEN`. The workspace plan's limits apply on top of the scopes.
50
+
47
51
  ## Pointing at a deployment
48
52
 
49
53
  ```ts
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@intellara/trovegen-sdk",
3
- "version": "0.1.1",
3
+ "version": "0.1.2",
4
4
  "description": "TypeScript SDK for the troveGEN RAG platform — ingestion, hybrid search, and grounded, cited answers (with streaming).",
5
5
  "license": "Apache-2.0",
6
6
  "homepage": "https://trovegen.com",