Update API specs for 2.1 (#699)

* Updating API specs for 2.1

* Updated API and SDK docs
This commit is contained in:
cybermaggedon 2026-03-17 20:36:31 +00:00 committed by GitHub
parent c387670944
commit 664d1d0384
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
19 changed files with 4280 additions and 1949 deletions

View file

@ -2,7 +2,7 @@ openapi: 3.1.0
info:
title: TrustGraph API Gateway
version: "1.8"
version: "2.1"
description: |
REST API for TrustGraph - an AI-powered knowledge graph and RAG system.
@ -28,7 +28,7 @@ info:
Require running flow instance, accessed via `/api/v1/flow/{flow}/service/{kind}`:
- AI services: agent, text-completion, prompt, RAG (document/graph)
- Embeddings: embeddings, graph-embeddings, document-embeddings
- Query: triples, objects, nlp-query, structured-query
- Query: triples, rows, nlp-query, structured-query, row-embeddings
- Data loading: text-load, document-load
- Utilities: mcp-tool, structured-diag
@ -140,6 +140,10 @@ paths:
/api/v1/flow/{flow}/service/document-load:
$ref: './paths/flow/document-load.yaml'
# Document streaming
/api/v1/document-stream:
$ref: './paths/document-stream.yaml'
# Import/Export endpoints
/api/v1/import-core:
$ref: './paths/import-core.yaml'