Call treg
Treg pilot lookup through workspace BYOK. Native external-agent research comes first. Reuse operationId for the same work. Returns saved evidence and exact/unknown provider cost, never qualification or permission to send. Up to 100 search results, no automatic retry. Optional maxCostMicro caps this call in integer micro-USD (default 100000, maximum 3500000, 0 means free only). Optional provider pins people.search with audience to quickenrich or companyenrich; incompatible filters are refused before spend. The workspace pilot budget still applies. For people.search use input {audience:{titles,department_and_function,seniority,account_domains,exclude_domains,exclude_titles,account_keywords,technologies,employee_range,geo_countries,job_duration_max_months},limit}. Titles are literal alternatives; prefer documented department_and_function plus seniority for function-defined ICPs. account_keywords and technologies use AND. employee_range is [min,max] inclusive headcount. Other audience fields are optional arrays of strings except job_duration_max_months (integer current-role tenure including promotions). Returns an assessment distinguishing matching evidence, review-required candidates and held results; company-filter application alone does not prove ICP fit. Countries are ISO alpha-2. Pipeline selects reviewed free discovery or native role-date search automatically, rejects unsupported requirements, and preserves hard filters. Do not mix audience with generic filters. Pilot must be enabled by the operator.
Parameters
Example
curl -X POST "https://app.pipeline.help/api/v1/research/treg" \-H "Authorization: Bearer $PIPELINE_API_KEY" \-H "Content-Type: application/json" \-d '{"workspaceId":"00000000-0000-4000-8000-000000000000","credentialId":"00000000-0000-4000-8000-000000000000","operationId":"00000000-0000-4000-8000-000000000000","operation":"companies.search","input":{"domain":"example.com"}}'
Response
{"type": "object","properties": {"success": {"type": "boolean"},"operation": {"type": "object","additionalProperties": true}},"required": ["success","operation"]}
HTTP errors
- 401
- Missing or invalid API key.
- 403
- Authenticated but not permitted for the workspace or resource.
- 404
- The requested resource was not found.