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 `202` with `job_id`.
- Poll `/v2/jobs/{job_id}` until status is `succeeded`.
- The final gather payload is in `response_payload` on `/v2/jobs/{job_id}`.
- Public callers may pass `preset` as `quick`, `deep`, `deeper`, or `deepest`.