Skip to documentation
Browse documentation

Crawl Site

Run a bounded breadth-first crawl across same-site pages and public files with robots rules, filters, rate limits, controlled concurrency, per-page failures, and stateless continuation tokens.

Capability ID web.site.crawl
Cost 1 credit per request
Maximum runtime 120 seconds
View raw

POST /execute Shared execution endpoint

Input parameters

ai string optional

Optional relevance filtering for discovered documents. auto keeps the full deterministic inventory if AI is unavailable; always requires AI to succeed.

Available values neverautoalways
concurrency integer optional

No additional description is provided for this parameter.

Example 2
continuation_token string optional

Opaque stateless frontier returned by a preceding crawl slice with the same options.

delay_ms integer optional

No additional description is provided for this parameter.

detail string optional

No additional description is provided for this parameter.

Example standard
Available values summarystandardfull
document object optional

No additional description is provided for this parameter.

document.chunk_chars integer optional

No additional description is provided for this parameter.

document.continuation_token string optional

No additional description is provided for this parameter.

document.outputs array<string> optional

Requested native document outputs. This release supports structured data, text, and Markdown without an external document sidecar.

document.page_end integer optional

No additional description is provided for this parameter.

document.page_start integer optional

No additional description is provided for this parameter.

exclude_patterns array<string> optional

No additional description is provided for this parameter.

include_patterns array<string> optional

No additional description is provided for this parameter.

include_subdomains boolean optional

No additional description is provided for this parameter.

instructions string optional

Required when ai is auto or always. Describe which documents/files are relevant; unrelated PDFs and other files are removed from the returned crawl slice.

max_depth integer optional

No additional description is provided for this parameter.

Example 2
max_pages integer optional

No additional description is provided for this parameter.

Example 5
respect_robots boolean optional

No additional description is provided for this parameter.

url string required

Public http(s) site URL to crawl.

Example https://example.com/

Response

Successful output is returned in results[0].data. Raw platform output is intentionally open-ended and may evolve with the upstream source.

Illustrative sample The full redacted fixture is shown in the response panel.

Illustrative output fields

Derived from the sample above for orientation only. These observed fields are not a fixed response schema.

PathObserved typeExample
files array 0 items
final_url string https://example.com/
pages array 1 items
pages array 1 items
stats object 19 fields
stats.ai_attempts integer 0
stats.ai_completion_tokens integer 0
stats.ai_filtered_files integer 0
stats.ai_mode string never
stats.ai_prompt_tokens integer 0
stats.ai_used boolean false
stats.concurrency integer 2
stats.crawled_pages integer 1
stats.effective_delay_ms integer 0
stats.elapsed_ms integer 2203
stats.estimated_result_bytes integer 1151
stats.failed_pages integer 0
stats.files_found integer 0
stats.frontier_dropped integer 0
stats.max_depth integer 2
stats.remaining_frontier integer 0
stats.response_compacted boolean false
stats.returned_pages integer 1
stats.robots_applied boolean true
url string https://example.com/
warnings array 0 items

Execution behavior

A 200 response completed inline. A 202 response was queued; poll GET /jobs/:id until the job reaches completed or failed.