runs

runs.startFromLeads

Start a campaign from leads already pushed in with selda_add_lead, selected by the source label you gave them. No discovery, Selda writes a message per lead from the analysis that came with it, and stops at the drafts.

Dispatched to runs.startFromLeads on POST /mcp/run. This route is a different URL for the same call: the request is answered by the same dispatcher, with the same authentication, the same scope check, the same organisation scoping and the same refusals.

  • Scope: pipeline
  • A free sandbox key is refused: it runs the discovery and research engine: web search, crawls, model calls, per-lead credits
  • MCP tools that wrap the same function: selda_start_campaign_from_leads
  • Filled in from your API key, never sent by you: orgId
post/v1/runs/start-from-leads

Request

  • Base URL: https://api.selda.ai
  • URL: https://api.selda.ai/v1/runs/start-from-leads
  • Auth: HTTP bearer

Request body

projectIdstring required

A Convex document id in the projects table.

sourcestring required
sourceDisplayLabelstring
campaignIdstring

A Convex document id in the campaigns table.

campaignBriefstring

Response

The call succeeded.

valueunknown required
request_idstring required

Echoed in the X-Request-Id header.

Changes

No recorded changes to this operation across all 1 revision of this API.