Refine a lead search
refine_lead_searchCreate a new private search job by changing the brief or criteria of a completed job. The original job stays unchanged.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Completed source job id returned by an earlier durable search call. | |
| brief | No | Replacement natural-language brief for the new job. | |
| limit | No | Maximum prospects retained by the new job. | |
| fields | No | Business fields to retain. Website and source evidence remain available for verification. | |
| target | No | Replacement business target for the new job. | |
| jobToken | Yes | Private token belonging to the source job. | |
| geography | No | Replacement city, region, country, or Worldwide. | |
| qualifier | No | Replacement public requirements and exclusions. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Stable job identifier. Use it with jobToken in every lifecycle call. | |
| status | Yes | Current durable job state. | |
| cacheHit | No | ||
| jobToken | No | Private bearer token required to read, refine, or export this job. | |
| retryUrl | Yes | Authenticated REST URL for creating a replacement after retryable failure. | |
| cancelUrl | Yes | Authenticated REST URL for canceling queued or running work. | |
| exportUrl | Yes | Authenticated CSV export URL. Add format=json for JSON. | |
| statusUrl | Yes | Authenticated REST URL for job status and result pages. | |
| resultCount | No | ||
| expiresInSeconds | Yes | Seconds until the private job and token expire. |