Gather
Search, crawl, and summarize sources for a query.
POST
/v2/diligence/gatherGather
Search, crawl, and summarize sources for a query.
cURL
curl -X POST https://api.omtx.ai/v2/diligence/gather \
-H "x-api-key: YOUR_API_KEY" \
-H "idempotency-key: gather-$(date +%s)" \
-H "Content-Type: application/json" \
-d '{
"query": "EGFR inhibitor binding affinity",
"preset": "quick"
}'Response
{
"job_id": "job_456def",
"status": "running"
}- This endpoint runs asynchronously and returns
202withjob_id. - Poll
/v2/jobs/{job_id}until status issucceeded. - The final gather payload is in
response_payloadon/v2/jobs/{job_id}. - Public callers may pass
presetasquick,deep,deeper, ordeepest.