Skip to main content
POST
Run a table's search again

Authorizations

X-API-Key
string
header
required

Path Parameters

table_id
string<uuid>
required

Query Parameters

max_new_rows
integer | null

The most rows this run may add, and so charge for, however many new matches it finds. Leave it out to add every new match within the search's row limit.

Required range: x >= 1
more_rows
integer | null

Add this many rows the table does not have yet: the run reads on until they are in, the matches end, or the table is full, and adds at most this many. What the table's add bar and People to add on the search page send. Not with max_new_rows.

Required range: 1 <= x <= 1000
replace
boolean
default:false

After adding, delete every row the search no longer matches, so the table holds only what it finds. Their contacts stop in every sequence, and nothing brings the rows back. People and company searches only.

max_rows_deleted
integer | null

With replace, the most rows the run may delete, the people tables following a company search included: the count the confirm showed. A run that would delete more answers 409 and runs nothing.

Required range: x >= 0

Response

Successful Response

What one re-run of a table's search changed.

rows_created
integer
required

Rows the request itself added.

total_matched
integer
required
column_notes
string[]

What the search did to the table's columns beyond its rows, one sentence each, to show beside the result: a column it made that links each person to their company's row in the table the search follows. Empty when it made none.

import_status
enum<string>
default:success

running when the request added a first batch and the rest is still being added in the background, so poll the table's search runs for progress; success when every row is in.

Available options:
running,
success,
failed
linked_rows_deleted
integer
default:0

People a company search's replace deleted from the people tables whose search follows this table, because every company their Company link points at was deleted; their contacts stop in every sequence. 0 otherwise.

people_skipped
integer
default:0

People the request left out because another of the workspace's tables already has them. A run that continues in the background goes on skipping them.

provider_notices
string[]

What the data source said about the rows the request added, in the words to show beside them; see the create response. A run that continues in the background can add more, and the table's search runs carry every one.

rows_deleted
integer
default:0

Rows a run with replace deleted after adding, because the search no longer matches them; their contacts stop in every sequence. 0 for a run that only adds.

rows_not_added
RowsNotAddedSchema · object | null

The people the search found that are not rows, and why, once every row is in: found_twice when the people search holds one person under two records, so a new table took them once; already_in_table when a person found was already a row of the table; table_full when people new to the table were left out because it reached the plan's rows per table. Null when every person found was added, or while rows are still being added.

rows_wanted
integer
default:0

How far into the search's matches the run reads: never more than total_matched where the data source counts its matches. On a run with more_rows it counts the rows already in the table too (10 more on a table of 200 reads 210 deep). A run that added nobody read every match when total_matched is no more than this; otherwise the matches it read are already in the table, and after a more_rows run the search's reach ends past them, so the next one reads further. A run of a full table adds nobody whatever it read: rows_not_added says table_full.

run_id
string<uuid> | null

The run row recording this import, when the search is persisted.

skip_limit_reached
boolean
default:false

Whether the search stopped looking after skipping as many people as one search may, so fewer rows may be added than asked for.