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
pipeline call-treg \--workspace-id "00000000-0000-4000-8000-000000000000" \--credential-id "00000000-0000-4000-8000-000000000000" \--operation-id "00000000-0000-4000-8000-000000000000" \--operation "companies.search" \--input-json '{"domain":"example.com"}'
Response
{"type": "object","properties": {"success": {"type": "boolean"},"operation": {"type": "object","additionalProperties": true}},"required": ["success","operation"]}
Exit codes
- 1
- Invalid input or local configuration.
- 2
- The API or tool returned an error.
- 3
- Authentication failed.
- 4
- A network request failed.