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
202withjob_id. - Poll
/v2/jobs/{job_id}until status issucceeded. - The final search payload is in
response_payloadon/v2/jobs/{job_id}.