Piloterr

Read results

Read a run's results page by page, filtered by status or HTTP status.

GET /v1/runs/{id}/results returns a run's results, a page at a time:

curl "https://dataflow.piloterr.com/v1/runs/RUN_ID/results?offset=0&limit=100" \
  -H "x-api-key: YOUR_API_KEY"
{
  "total": 18432,
  "items": [
    {
      "row": 0,
      "input": { "company": "Stripe", "website": "stripe.com" },
      "params": { "domain": "stripe.com" },
      "status": "ok",
      "http_status": 200,
      "duration_ms": 812,
      "data": { "company_name": "Stripe", "staff_count": 8000 },
      "credits": 1
    },
    {
      "row": 1,
      "input": { "company": "Broken", "website": "notfound.com" },
      "params": { "domain": "notfound.com" },
      "status": "error",
      "http_status": 404,
      "duration_ms": 430,
      "error": "Company not found",
      "credits": 1
    }
  ]
}
FieldMeaning
rowThe row's position in the input, from 0. Results come in that order. A retry keeps the numbers of the run first launched.
inputThe row as read from the input. A search input's rows also hold search_query, the search that found them.
paramsThe parameters sent for this row. Empty values are left out.
statusok, error (the call failed), or invalid (not called nor billed: a required parameter was empty, or a value is not one the endpoint takes).
http_statusThe API's answer: null for invalid rows, 0 when the call got no answer (timeout, network error), 504 when an asynchronous job ran past 10 minutes.
duration_msHow long the row's last attempt took, polls of an asynchronous job included; 0 for invalid rows.
dataThe endpoint's answer, for ok rows.
errorWhat went wrong, for the others: the API's error message, or why the row is invalid, such as Missing required parameter: domain.
creditsWhat the row cost, as the run's credits counts it: 0 for a row not billed (an invalid row, a failed call). The run's credits is the sum of its rows' plus its search_credits. Only rows stored from November 2026 have it: on earlier runs it is absent, and the dashboard shows –.
QueryDefaultEffect
offset0Rows to skip.
limit100Rows per page, from 1 to 500.
statusok, error or invalid only; failed for both error and invalid, the rows the run counts in ko.
http_statusOnly the rows the API answered with this status, from 100 to 599, such as 404.
qOnly the rows holding this text, up to 200 characters. See Search results.

total counts the rows that match the filters: with status=failed, it is the run's ko. Results appear while the run is going, every 50 rows or 10 seconds. A retry's results hold only the rows it called again: to see the run with its retries, download the merged export.

Once the results are deleted, this answers 410 results_expired. See Expiry.