Start a project run now
start_runCrawl a project's site now with its saved settings, or re-read only the pages you list. The run is compared with the one before it. Use it after create_project or update_project, or whenever fresh results are wanted. For a site with no project use crawl_site. Inputs: project_id from list_projects. urls=['/pricing'] re-reads just those pages, resolved against the project's site, and compares them with the last full run; a URL on another site is refused before anything runs. wait=true returns the finished run instead of the queued one. Cost: 1 to 4 credits per page. A run that uses up the credit budget stops and keeps what it read. Refusals: 409 while another run is queued or running (stop it with cancel_job), and 402 with no credits left. Timing: with wait=true, a run that outlasts the connection's time limit comes back as a job for get_job. Read the results with list_pages and get_changes. Needs write access; a read-only connection is refused with code 'read_only'.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"project_id": "<project_id>"
},
"name": "start_run"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| urls | No | Up to 500 pages of the project's site to re-read, as full URLs or paths; omit to crawl the whole site. | |
| wait | No | true waits for the run to finish (minutes for a large site); false (default) returns as soon as it is queued. | |
| project_id | Yes | The project's 32-character hex id, from list_projects. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | The run's id: for get_job, cancel_job and the run_id of list_pages and get_changes. | |
| job | No | When the wait ran out first: {kind: 'run', id, project_id} for get_job and cancel_job. | |
| code | No | Only on a failure: a machine-readable reason, e.g. read_only, validation, plan_limit or not_found. | |
| note | No | What to do next when it is still going. | |
| stop | No | Why it ended, e.g. the credit budget; empty while running. | |
| error | No | Only when the call failed: what went wrong, in words an assistant can act on. | |
| pages | No | Pages read so far, a number. | |
| scope | No | How many URLs a start_run with urls listed; 0 for a full run. | |
| counts | No | Pages by outcome, e.g. {ok, blocked, error}. | |
| detail | No | Only on a failure: the API's own wording, when the error was rephrased. | |
| errors | No | Pages refused or failed, a number. | |
| queued | No | true while it waits for a worker. | |
| status | No | running, complete, partial (some pages refused), failed or cancelled. On an error, the HTTP status code. | |
| changed | No | Pages added, modified or removed against the run before, a number; null until compared. | |
| trigger | No | manual, scheduled, api or recrawl. | |
| coverage | No | Percent of the known site this run reached. | |
| startedAt | No | When it started (ISO 8601). |