Signup comes with $1 in credit. No subscription needed.Claim your $1
Docs: Runs
API reference

Runs

GET /v1/runs: list, fetch and cancel runs, run statuses, and the history of everything done to a subject.

Every run the workspace makes, from any key, the dashboard or a connected app, is on record with its attempts, charges and routing reason. This page covers listing, reading and cancelling runs, the statuses a run moves through, and reading the run log by subject.

List runs

GET /v1/runs
curl "https://api.routergrowth.com/v1/runs?status=succeeded&capability=contact.find&limit=50" \
  -H "Authorization: Bearer $ROUTERGROWTH_API_KEY"
Query param Notes
status one status, exact match
capability a capability slug
provider the provider that served the run, or tried it last
endpoint a raw endpoint path
api_key_id only the runs one key made (the id from GET /v1/api-keys)
limit default 50, max 200; newest first

Returns {"items": [run, ...]} where each run has the shape of the run response minus result and next_steps: a listing is the receipts (status, provider, charge, timing, attempts), and the payload of any one run comes from its poll_url (GET /v1/runs/{run_id}). That keeps a 200-row page small whatever the runs returned. There is no cursor: a listing returns the newest limit runs that match, so narrow it with the filters to reach older ones.

Get one run

GET /v1/runs/{run_id}

The full run, result and next_steps included. Poll it for runs that returned 202; add ?wait=60 (max 120) to long-poll until the run finishes. It answers 200 once the run is done and 202 while it is still in flight. A run that does not exist, or belongs to another workspace, answers invalid_request.

billing.charged is final once the run is done, with one exception: a run served through Apify can move once a few minutes later, when Apify's final bill arrives, never above its hold or your max_cost (the wallet records the difference as a second usage_charge).

Run statuses

Status Meaning
queued accepted and waiting for a worker; the only status a cancel can stop (stoppable: true)
running, reserved executing; reserved while a hold is taken before a provider call
succeeded a provider delivered; result holds it
no_match a provider answered that there is no result (error.code is no_match, or no_match_partial_coverage when another provider did not answer)
failed every attempt failed, or the call was refused before any provider ran (a max_cost refusal, a short balance, an invalid input). Error interrupted: the router restarted while the run was executing and released its hold; retry with a new Idempotency-Key
timed_out the last provider tried timed out
blocked a workspace control stopped it before any money moved: the spend guard, the per-run ceiling, a suppression, a privacy opt-out, the repeat-touch guard, send pacing or an unverified email. controls names it; do not retry until the control changes
cancelled cancelled while queued, or withdrawn because a concurrent request with the same Idempotency-Key ran instead (error duplicate_request)

done is true for every status from succeeded to cancelled. On a run that did not succeed, error holds the code and message (codes); attempts lists every provider tried, in order, with its outcome.

Cancel a run

POST /v1/runs/{run_id}/cancel

Only a queued run can be cancelled: the answer is the run, now cancelled with error cancelled, and nothing is charged. A run already executing cannot be stopped (it settles or releases on its own within the provider timeout), and a finished one stays as it is: both answer invalid_request with the reason.

History for a subject

GET /v1/history?q=<subject>

Everything your workspace has already done to one subject through RouterGrowth, derived from the run log: no second store, nothing to write. Pass an email, a domain, a LinkedIn URL, any URL, a social handle, a phone number or a name. The kind is detected from the value; force it with kind (email, domain, linkedin, url, handle, phone, text). Free.

curl "https://api.routergrowth.com/v1/history?q=alex.rivera@example.com" \
  -H "Authorization: Bearer $ROUTERGROWTH_API_KEY"

A run matches when the subject appears in its input or its result: the contact.find that produced the email, the contact.verify that checked it, the email.send that wrote to it. A domain query also matches its subdomains, emails at the domain and URLs on it; a LinkedIn query matches on the profile slug, whatever the URL's form.

Field Notes
subject query, the detected kind, and the normalized form that was matched
items matching runs, newest first: status, capability or raw endpoint, provider, charge, the run's input, and matched (where the subject was found: in input or result, the JSON path, exact when the value names the subject itself)
touches the outbound runs among them (email.send, gmail.send, linkedin.invite, linkedin.message, instagram.message, whatsapp.message) with their channel; last_touch is the latest one that succeeded
reusable successful paid lookups whose input named the subject: read their result with GET /v1/runs/{id} instead of buying it again
count, by_status, by_capability, charged, first_seen, last_seen the summary
hints what an agent should conclude: already contacted, a result to reuse, nothing on record

limit (default 50, max 200) caps items; truncated: true says there were more. A lookup examines at most the 2,000 newest runs that could match (scanned says how many). With tables on, the answer adds the table rows that hold the subject and whether it is suppressed. Only calls made through RouterGrowth by your workspace are on record; anything done elsewhere is invisible here.

Many subjects at once

POST /v1/history
curl -X POST https://api.routergrowth.com/v1/history \
  -H "Authorization: Bearer $ROUTERGROWTH_API_KEY" -H "Content-Type: application/json" \
  -d '{"subjects": ["alex.rivera@example.com", "sam.lee@example.org"], "kind": "email"}'

The dedupe pass before a batch: for 1 to 200 subjects, one compact row each (seen, count, last_seen, contacted, last_touch, the first reusable result) plus seen, unseen and contacted totals. A subject that does not read as the given kind gets an error row instead of failing the batch. With tables on, each row also says in_tables and suppressed.

Reading this as an agent? This page as markdown: /docs/api/runs.md · every page: /docs/llms.txt