Skip to content

Run a crawler

POST
/api/v2/organizations/{organization}/projects/{project}/crawlers/{crawler}/run
curl --request POST \
--url https://dashboard.quantcdn.io/api/v2/organizations/test-org/projects/test-project/crawlers/00000000-0000-0000-0000-000000000000/run \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{ "urls": [ "/", "/about", "/contact" ] }'
organization
required
string

Organization identifier

Example
test-org
project
required
string

Project identifier

Example
test-project
crawler
required
string

Crawler identifier

Example
00000000-0000-0000-0000-000000000000
Media typeapplication/json
object
urls

Optional URLs to crawl (overrides crawler’s default URL configuration). If not provided, the crawler will use its configured URLs or perform a full crawl.

Array<string>
Example
[
"/",
"/about",
"/contact"
]

The request has succeeded.

Media typeapplication/json
object
run_id

The crawler run ID

string
Example
{
"run_id": "12345"
}

The server could not understand the request due to invalid syntax.

Media typeapplication/json
object
message
required

Error message

string
error
required

Error flag

boolean
Example
{
"message": "The requested resource was not found",
"error": true
}

Access is forbidden.

Media typeapplication/json
object
message
required

Error message

string
error
required

Error flag

boolean
Example
{
"message": "The requested resource was not found",
"error": true
}

The resource was not found.

Media typeapplication/json
object
message
required

Error message

string
error
required

Error flag

boolean
Example
{
"message": "The requested resource was not found",
"error": true
}

An unexpected error occurred.

Media typeapplication/json
object
message
required

Error message

string
error
required

Error flag

boolean
Example
{
"message": "The requested resource was not found",
"error": true
}