The URL list attached to a config decides which pages a routine visits on every run. All tools take apiKey and a configId that appears in the user's activity logs.
get_template_urls
Upstream: POST /user-templates/get-urls
Returns the URL records of a config, each with its numeric id.
{ "name": "get_template_urls", "arguments": { "apiKey": "js_YOUR_API_KEY", "configId": 4412 } }add_template_url
Upstream: POST /user-templates/set-url
url(string, required) — must start withhttp://orhttps://.name(string, required) — label for the URL.
{
"name": "add_template_url",
"arguments": {
"apiKey": "js_YOUR_API_KEY",
"configId": 4412,
"url": "https://shop.example.com/c/shoes",
"name": "Shoes category"
}
}add_template_bulk_urls
Upstream: POST /user-templates/set-bulk-url as multipart/form-data
Adds many URLs at once from CSV content (not a file path). The server builds the upload for you.
csvContent(string, required) — raw CSV with a header row. Required columnurls; optional columnname. Missing names becomejetscrape-0,jetscrape-1, ...fileName(string, defaulturls.csv).
{
"name": "add_template_bulk_urls",
"arguments": {
"apiKey": "js_YOUR_API_KEY",
"configId": 4412,
"csvContent": "urls,name\nhttps://shop.example.com/c/dresses,Dresses\nhttps://shop.example.com/c/shoes,Shoes\nhttps://shop.example.com/c/bags,"
}
}urls,name
https://shop.example.com/c/dresses,Dresses
https://shop.example.com/c/shoes,Shoes
https://shop.example.com/c/bags,The column is urls, plural. A header of url is not recognised. The upload is fire-and-forget: the tool returns before the rows are processed, so confirm with get_template_urls a moment later.
delete_template_urls
Upstream: POST /user-templates/delete-urls
urlIds(integer array, at least one, required) — ids fromget_template_urls.
{
"name": "delete_template_urls",
"arguments": { "apiKey": "js_YOUR_API_KEY", "configId": 4412, "urlIds": [17, 18] }
}After a large bulk add, run get_routine_concurrency and do the wall-clock arithmetic before the first run_routine. Thousands of URLs at concurrency 1 is a multi-day run.