Question
Ask a question to specified Knowledge Graphs.
- With an org-scoped API key, control team scope from the request body: pass
team_idson create or update, or filter list with theteam_idsquery parameter. Omitteam_idson list to see only org-wide Knowledge Graphs. - With a team-scoped API key, every request is automatically restricted to the key’s team. Create assigns to that team; list and retrieve return only that team’s Knowledge Graphs; body
team_idsis not accepted.
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your Writer API key.
Body
The unique identifiers of the Knowledge Graphs to query.
1The question to answer using the Knowledge Graph.
Specify whether to include subqueries.
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.
Configuration options for Knowledge Graph queries, including search parameters and citation settings.
Response
The question that was asked.
The answer to the question.
A source snippet containing text and fileId from Knowledge Graph content.
A sub-question generated to break down complex queries into more manageable parts, along with its answer and supporting sources.
Detailed source information organized by reference type, providing comprehensive metadata about the sources used to generate the response.