v1

latestOpenAPI 3.0.32026-07-2644164161.5 KB
KG API

Question

Ask a question to specified Knowledge Graphs.

post/v1/graphs/question

Request body

graph_idsstring[] required

The unique identifiers of the Knowledge Graphs to query.

subqueriesboolean

Specify whether to include subqueries.

questionstring required

The question to answer using the Knowledge Graph.

streamboolean

Determines whether the model's output should be streamed. If true, the output is generated and sent incrementally, which can be useful for real-time applications.

Response

questionstring required

The question that was asked.

answerstring required

The answer to the question.