Trigger a background task that generates keywords, prompts, and structured config from the caller’s company context.
search_instructions — what the scanner should look forscoring_criteria — how to rank matcheskeywords — 10-20 targeted search termsconfig — for structured types (hiring/funding/etc.), the typed payload (roles, seniority, stages, industries, etc.)run_id. The signal type row updates when the task completes — typically within 30-90 seconds.
Precondition: company context. The caller must have a company profile filled out (via /api/onboarding/*). Without it, the endpoint returns 428 precondition_failed.
GET /api/v1/signals/types/{id} every 10-15 s until you see non-placeholder values in search_instructions, scoring_criteria, and keywords. A reasonable giveup threshold is 3 minutes; at that point open a support ticket with the run_id.Idempotent-ish. Calling generate a second time while the first run is still executing will dispatch a second run — the last one to finish wins. Wait for completion before re-running.Company context bootstrap. If you hit 428, drive the caller through /api/onboarding/* first. Generate isn’t useful without a profile because the prompts need to know what the caller sells to know what to track.Built-in types are fine. You can run generate on both built-in and custom types — for built-in, it updates the prompts/keywords/config but leaves name and sources locked (just like PATCH).This is the public partner API — rate-limited at 100 req/min. The generate call itself is cheap; the background task may incur LLM costs billed separately.Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Signal type UUID.
^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$Generation task dispatched.
Generation is async — poll GET /api/v1/signals/types/{id} to see the updated prompts/keywords/config once the task completes.
Trigger.dev run identifier. Use it to correlate Vercel logs with the background task in the Trigger dashboard.