Need help with your APIs? I offer API discovery, governance & evangelism services. Explore services →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

NationGraph RAG API

The RAG API from NationGraph — 3 operation(s) for rag.

NationGraph RAG API is one of 56 APIs that NationGraph publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

Tagged areas include RAG. The published artifact set on APIs.io includes an OpenAPI specification, an API reference, and authentication docs.

This API exposes 3 operations across 3 paths, and defines 10 schemas. It is described by OpenAPI 3.1.0, at version 0.2.36.

Requests are made against the base URL https://api.nationgraph.com.

3 operations 3 paths 10 schemas 3 POST

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.1.0
API Version
0.2.36
Base URL
https://api.nationgraph.com
Authentication
HTTP Bearer
Resource Areas
1

Authentication & Security 1

NationGraph RAG API declares 1 security scheme for authenticating requests. It accepts HTTP bearer tokens (HTTPBearer).

Paths & Operations 3

Across 3 paths, the API surfaces 3 operations — 3 POST. Each is listed below with its method, path, parameters, and response codes.

RAG 3
POST
/api/v3/rag/preprocess
Preprocess Rag Query
preprocess_rag_query_api_v3_rag_preprocess_post body → 200422
POST
/api/v3/rag/query
Query Rag Data
query_rag_data_api_v3_rag_query_post body → 200422
POST
/api/v3/rag/query-direct
Query Rag Direct
query_rag_direct_api_v3_rag_query_direct_post 3 params body → 200422

Schemas 10

The contract defines 10 schemas that model the data the API accepts and returns. The most detailed are ValidationError (5 properties), RagQueryResponse (5 properties), RagPreprocessRequest (4 properties), RagQueryRequest (3 properties). Each schema is shown below with its type and property counts.

app__routes__v3__rag__KeywordConfig
object
2 properties 2 required
HTTPValidationError
object
1 property
RagPreprocessRequest
object
4 properties 2 required
Body_query_rag_direct_api_v3_rag_query_direct_post
object
2 properties
QueryLogic
string
RagQueryRequest
object
3 properties 3 required
RagQueryResponse
object
5 properties 5 required
ValidationError
object
5 properties 3 required
RagPreprocessResponse
object
1 property 1 required
app__routes__v3__rag__DateRange
object
2 properties

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

nationgraph-rag-api-openapi.yml Raw ↑

Other APIs NationGraph publishes across the network.

NationGraph Accounts API
NationGraph Automations API
NationGraph Budgets API
NationGraph Classifier API
NationGraph Classifiers API
NationGraph Contacts API
NationGraph Contracts API
NationGraph CRM API
NationGraph CRM Automation Push API
NationGraph CRM Companies API
NationGraph CRM Contacts API
NationGraph CRM History API