cURL
curl --request POST \ --url https://api.adapter.com/v1/knowledge/query \ --header 'Content-Type: application/json' \ --data ' { "question": "<string>", "sources": [ "<string>" ] } '
{ "answer": "<string>", "citations": [ { "excerpt": "<string>", "source_id": "<string>", "source_type": "<string>", "title": "<string>" } ], "confidence": 123 }
Ask a question and get a grounded answer with citations from connected data.
Natural language question (1–2000 chars).
1 - 2000
"What are our top blockers for Q1?"
Filter by source types. Omit for all sources.
Successful Response
Show child attributes
Confidence score 0.0–1.0.