Skip to main content
POST
/
v1
/
ai-finder
/
previews
/
{previewId}
/
iterate
Refine an AI Finder preview
curl --request POST \
  --url https://openapi.enginy.ai/v1/ai-finder/previews/{previewId}/iterate \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <api-key>' \
  --data '
{
  "feedback": "Focus on US companies only, exclude agencies"
}
'
{
  "message": "<string>",
  "data": {
    "previewId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "createdAt": "2023-11-07T05:31:56Z",
    "expiresAt": "2023-11-07T05:31:56Z",
    "userInput": "<string>",
    "result": {},
    "droppedFilters": [
      "<string>"
    ],
    "previousPreviewId": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
  }
}

Documentation Index

Fetch the complete documentation index at: https://docs.enginy.ai/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

x-api-key
string
header
required

Path Parameters

previewId
string
required

The previewId returned by a prior preview or iterate call.

Body

application/json
feedback
string
required

Refinement instruction. Appended to the original query and re-run through AI Finder. Examples: "focus on US only", "exclude agencies", "narrow to 50-500 employees", "include VP and SVP titles only". Returns a NEW previewId; the prior preview stays cached and is still valid. 1–2000 characters.

Required string length: 1 - 2000

Response

Refined preview generated

status
enum<string>
required
Available options:
success
message
string
required
data
object
required