Create an AI enrichment for a resource (list or campaign)
Requires one of the following scopes: supersearch_enrichments:create, supersearch_enrichments:all, all:create, all:all
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Id of the resource (list or campaign) to enrich
"01234567-89ab-cdef-0123-456789abcdef"
Name of the column where the AI enrichment results will be stored
"ai_generated_content"
Type of the entity to enrich
1, 2 2
Version of the AI model to use for enrichment. Different models have different capabilities, costs, and token limits.
3.5, 4.0, gpt-4o, o3, gpt-4.1, gpt-4.1-mini, gpt-5-mini, gpt-5-nano, gpt-5, claude-3.7-sonnet, claude-3.5-sonnet, claude-4.5-sonnet, r1, grok-4, gemini-2.0-flash, gemini-3.0-flash, gemini-3.0-pro, sonar, sonar-pro, instantly-ai-lightspeed-agent-for-web-research, instantly-ai-lightspeed-agent-for-email-generation "gpt-4o"
List of column names to use as input data for the AI enrichment. These are the fields from your leads that will be used to generate content.
When true, the enrichment will use Instantly's account for API calls. When false, it will use your own API keys configured in settings.
true
When true, will overwrite existing values in the output column. When false, only empty fields will be enriched.
false
When true, new leads added to the campaign/list will be automatically enriched using these same settings.
true
When true, leads without an email will be skipped.
false
Maximum number of leads to enrich.
1 <= x <= 1000000100
Custom prompt to guide the AI enrichment. Use {{variables}} to reference input data. Only used when templateId is not provided.
"Write a personalized email to {{first_name}} from {{company_name}} about our new product"
ID of a predefined AI prompt template to use instead of a custom prompt. Templates are reusable prompt configurations.
123
Status of the job
1, 2, 3, 4 1
Whether to send the state of the enrichment
true
Default Response
Unique identifier for the enrichment
"01234567-89ab-cdef-0123-456789abcdef"
ID of the resource being enriched
"01234567-89ab-cdef-0123-456789abcdef"
Type of the resource (1 for Campaign, 2 for List)
CAMPAIGN, LIST, 1, 2 1
Name of the column where results will be stored
"ai_generated_content"
Status of the enrichment job
1
AI model version used for enrichment
"gpt-4o"
Whether to overwrite existing data
false
Whether to auto-update new leads
true
Input columns used for enrichment
Maximum number of leads to process
100
ID of the prompt template used
123