Start AI keyword research
seo_research_startASYNCHRONOUS. Starts a keyword-research run that mines and qualifies keywords into PENDING rows. It spends real AI budget, so call it once and then poll seo_job_status until status is COMPLETED. Returns immediately with a jobId — the keywords do NOT exist yet when this returns. Fails if a research run is already in progress. HUMAN trial accounts get one research run free; a second run returns code card_required — only a human on the account can start a plan, so stop and report instead of retrying. Costs 750c per call.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| brief | Yes | One or two sentences describing the niche and the customer, e.g. 'Plumbing lead generation for independent plumbers across UK cities'. Must be at least 10 characters — a bare keyword is not enough context to mine from. | |
| projectId | Yes | The project id, exactly as returned by seo_project_list (a cuid such as 'cmtjyi1q20000l204octn48ai'). Not the slug, not the display name. If you do not have one, call seo_project_list first. | |
| targetCount | No | How many keywords to mine, 10-2000. Higher costs more AI time. Start around 200 unless told otherwise. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| jobId | Yes | Poll seo_job_status; the keywords do not exist yet. | |
| started | Yes | ||
| nextStep | Yes | ||
| projectId | Yes |