Growth
Pipeline growth for Sales, BDR, and RevOps: mailbox list-build jobs, enrichment runs, live attribution, and agent runs.
Auth: all calls require a Bearer JWT plus the X-Workspace-Id header.
Mailbox Jobs
GET
/api/growth/mailbox-jobsAuth requiredList mailbox list-build jobs.
Query Parameters
| Field | Type | Required | Note |
|---|---|---|---|
| limit | number | No | Default 50, max 200 |
| status | string | No | — |
| provider | string | No | — |
Response
[
{
"id": 1,
"workspace_id": 1,
"provider": "apollo",
"status": "done",
"records_built": 1250,
"created_at": "2026-03-28T10:00:00Z",
"updated_at": "2026-03-28T11:00:00Z"
}
]POST
/api/growth/mailbox-jobsAuth requiredQueue a mailbox list-build job.
Request Body
| Field | Type | Required | Note |
|---|---|---|---|
| provider | string | Yes | — |
| status | string | No | Default "queued" |
| records_built | number | No | Default 0 |
Response
{
"id": 2,
"workspace_id": 1,
"provider": "apollo",
"status": "queued",
"records_built": 0
}Enrichment
GET
/api/growth/enrichmentAuth requiredList enrichment runs.
Query Parameters
| Field | Type | Required | Note |
|---|---|---|---|
| limit | number | No | Default 50, max 200 |
| status | string | No | — |
| provider | string | No | — |
Response
[
{
"id": 1,
"workspace_id": 1,
"provider": "clearbit",
"status": "done",
"fields_added": "title,company_size",
"created_at": "2026-03-28T10:00:00Z",
"updated_at": "2026-03-28T11:00:00Z"
}
]POST
/api/growth/enrichmentAuth requiredQueue an enrichment run.
Request Body
| Field | Type | Required | Note |
|---|---|---|---|
| provider | string | Yes | — |
| status | string | No | Default "queued" |
| fields_added | string | No | — |
Response
{
"id": 2,
"workspace_id": 1,
"provider": "clearbit",
"status": "queued",
"fields_added": null
}Attribution
GET
/api/growth/attributionAuth requiredLive attribution: touch counts by channel, closed-won revenue in cents, and converting visitors (signup / demo-request touches).
Response
{
"sources": { "email": 42, "paid_social": 18 },
"total_revenue_cents": 2500000,
"converting_visitors": 7
}Agent Runs
Global recent-runs list plus single-run detail and manual run creation. Note: runs are not workspace-scoped; the list is global, latest first.
GET
/api/agent-runs/runsAuth requiredList recent agent runs, latest first.
Query Parameters
| Field | Type | Required | Note |
|---|---|---|---|
| limit | number | No | Default 20, max 200 |
Response
{
"runs": [
{
"id": 7,
"agent_id": "outbound-bdr",
"status": "done",
"output": "Built 50-prospect list for fintech",
"started_at": "2026-03-28T14:00:00Z",
"trigger": "manual"
}
],
"total": 1
}GET
/api/agent-runs/runs/{run_id}Auth requiredGet one agent run by id.
Response
{
"id": 7,
"agent_id": "outbound-bdr",
"status": "done",
"output": "Built 50-prospect list for fintech",
"started_at": "2026-03-28T14:00:00Z",
"trigger": "manual"
}POST
/api/agent-runs/runAuth requiredStart a manual agent run. The team becomes the run's agent id and the goal becomes its output seed.
Request Body
| Field | Type | Required | Note |
|---|---|---|---|
| team | string | Yes | Stored as agent_id |
| goal | string | Yes | Stored as output |
Response
{
"id": 8,
"agent_id": "outbound-bdr",
"status": "running",
"output": "Enrich 100 new leads",
"started_at": "2026-03-28T15:00:00Z",
"trigger": "manual"
}