Import one page of existing dataset records
curl --request POST \
--url https://app.hookie.ai/admin/api/data-workspace/inputs/{input_id}/import \
--header 'Content-Type: application/json' \
--data '
{
"after": "<string>"
}
'const options = {
method: 'POST',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify({after: '<string>'})
};
fetch('https://app.hookie.ai/admin/api/data-workspace/inputs/{input_id}/import', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://app.hookie.ai/admin/api/data-workspace/inputs/{input_id}/import"
payload = { "after": "<string>" }
headers = {"Content-Type": "application/json"}
response = requests.post(url, json=payload, headers=headers)
print(response.text){}Data workspace
Import one page of existing dataset records
Processes up to 100 records from this workspace/project/dataset. Returns imported (rows this call wrote), existing (rows live capture had already written), failed, and next (null when complete). Pass next as after to continue. Safe to repeat: ingestion never overwrites manual edits or resurrects deleted records. Mapping errors are shown on the connection; correct and replay before the source retention expires.
POST
/
admin
/
api
/
data-workspace
/
inputs
/
{input_id}
/
import
Import one page of existing dataset records
curl --request POST \
--url https://app.hookie.ai/admin/api/data-workspace/inputs/{input_id}/import \
--header 'Content-Type: application/json' \
--data '
{
"after": "<string>"
}
'const options = {
method: 'POST',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify({after: '<string>'})
};
fetch('https://app.hookie.ai/admin/api/data-workspace/inputs/{input_id}/import', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://app.hookie.ai/admin/api/data-workspace/inputs/{input_id}/import"
payload = { "after": "<string>" }
headers = {"Content-Type": "application/json"}
response = requests.post(url, json=payload, headers=headers)
print(response.text){}