Search
Search and rank relevant sources with guided selection and optional crawl.
POST
/v2/diligence/searchSearch
Search and rank relevant sources with guided selection and optional crawl.
cURL
curl -X POST https://api.omtx.ai/v2/diligence/search \
-H "x-api-key: YOUR_API_KEY" \
-H "idempotency-key: search-$(date +%s)" \
-H "Content-Type: application/json" \
-d '{
"query": "EGFR inhibitors binding affinity"
}'When to use
- Finding sources for a target or mechanism
- Quick evidence scans before deeper workflows
Typical flow
- Submit search query
- Poll `/v2/jobs/{job_id}`
- Read results from `response_payload`
Response
{
"job_id": "job_789ghi",
"status": "running"
}- This endpoint runs asynchronously and returns `202` with `job_id`.
- Poll `/v2/jobs/{job_id}` until status is `succeeded`.
- The final search payload is in `response_payload` on `/v2/jobs/{job_id}`.