Extract Batch Endpoint
Request body
Example request
{
"inputs": [
{
"auto_driver_configuration": {
"vx10": 2,
"vx10-pro": 0,
"vx6-fast": 1,
"vx6-stealth": 1,
"vx8": 5,
"vx8-pro": 5
},
"body": {
"key": "value"
},
"browser": "chrome",
"browser_actions": [
{
"goto": "https://example.com/login"
},
{
"wait_for_element": "#login-form"
},
{
"fill": {
"selector": "#username",
"value": "user@example.com"
}
},
{
"fill": {
"selector": "#password",
"value": "password123"
}
},
{
"click": "#submit"
},
{
"screenshot": {
"full_page": true
}
}
],
"city": "Los Angeles",
"cookies": "sessionId=abc123; userId=user456",
"device": "desktop",
"driver": "vx8",
"expected_status_codes": [
200,
201
],
"formats": [
"html"
],
"headers": {
"Accept-Language": "en-US",
"User-Agent": "CustomBot/1.0"
},
"http2": true,
"is_xhr": true,
"markdown_backend": "full_page",
"method": "GET",
"network_capture": [
{
"resource_type": "document"
}
],
"os": "windows",
"parse": true,
"realtime_total_timeout": 15000,
"request_timeout": 30000,
"skill": "dynamic-content",
"state": "CA",
"tag": "campaign-2024-q1",
"callback_url": "https://example.com/webhook/callback",
"storage_compress": true,
"storage_object_name": "result-2024-01-15.json",
"storage_type": "s3",
"storage_url": "s3://bucket-name/path/to/object"
}
],
"shared_inputs": {
"auto_driver_configuration": {
"vx10": 2,
"vx10-pro": 0,
"vx6-fast": 1,
"vx6-stealth": 1,
"vx8": 5,
"vx8-pro": 5
},
"body": {
"key": "value"
},
"browser": "chrome",
"browser_actions": [
{
"goto": "https://example.com/login"
},
{
"wait_for_element": "#login-form"
},
{
"fill": {
"selector": "#username",
"value": "user@example.com"
}
},
{
"fill": {
"selector": "#password",
"value": "password123"
}
},
{
"click": "#submit"
},
{
"screenshot": {
"full_page": true
}
}
],
"city": "Los Angeles",
"cookies": "sessionId=abc123; userId=user456",
"device": "desktop",
"driver": "vx8",
"expected_status_codes": [
200,
201
],
"formats": [
"html"
],
"headers": {
"Accept-Language": "en-US",
"User-Agent": "CustomBot/1.0"
},
"http2": true,
"is_xhr": true,
"markdown_backend": "full_page",
"method": "GET",
"network_capture": [
{
"resource_type": "document"
}
],
"os": "windows",
"parse": true,
"realtime_total_timeout": 15000,
"request_timeout": 30000,
"skill": "dynamic-content",
"state": "CA",
"tag": "campaign-2024-q1",
"callback_url": "https://example.com/webhook/callback",
"storage_compress": true,
"storage_object_name": "result-2024-01-15.json",
"storage_type": "s3",
"storage_url": "s3://bucket-name/path/to/object"
}
}Response
Batch created successfully
Example response
{
"tasks": [
{
"batch_id": "4b0a90bf-c951-42e4-95b3-a95a65ba69fc",
"created_at": "2024-01-15T10:30:00Z",
"download_url": "https://api.webit.live/api/v2/tasks/123e4567-e89b-12d3-a456-426614174000/results",
"error": "Connection timeout",
"error_type": "timeout_error",
"id": "123e4567-e89b-12d3-a456-426614174000",
"modified_at": "2024-01-15T10:35:00Z",
"state": "pending",
"status_code": 200,
"status_url": "https://api.webit.live/api/v2/tasks/123e4567-e89b-12d3-a456-426614174000"
}
]
}Changes
Changed in 10 of the 55 revisions of this API.6825
- ○
added the new optional request property
inputs/items/allOf[subschema #1]/realtime_total_timeoutnew-optional-request-property
- ○
added the new optional request property
shared_inputs/allOf[subschema #1]/realtime_total_timeoutnew-optional-request-property
This revision also has 104 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ○
- ▲
response property
tasks/items/batch_idlist-of-types was widened by adding typesnullto media typeapplication/jsonof response200response-property-list-of-types-widened
- ▲
response property
tasks/items/download_urllist-of-types was widened by adding typesnullto media typeapplication/jsonof response200response-property-list-of-types-widened
- ▲
response property
tasks/items/errorlist-of-types was widened by adding typesnullto media typeapplication/jsonof response200response-property-list-of-types-widened
- ▲
response property
tasks/items/error_typelist-of-types was widened by adding typesnullto media typeapplication/jsonof response200response-property-list-of-types-widened
- ▲
response property
tasks/items/output_urllist-of-types was widened by adding typesnullto media typeapplication/jsonof response200response-property-list-of-types-widened
- ○
added the new optional request property
inputs/items/allOf[subschema #1]/session/renew_on_blockednew-optional-request-property
- ○
added the new optional request property
shared_inputs/allOf[subschema #1]/session/renew_on_blockednew-optional-request-property
This revision also has 39 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ▲
- ●
added the new
in_progressenum value to thetasks/items/stateresponse property for the response status200response-property-enum-value-added
- ●
added the new
labsenum value to thetasks/items/api_typeresponse property for the response status200response-property-enum-value-added
- ●
added the new
queuedenum value to thetasks/items/stateresponse property for the response status200response-property-enum-value-added
- ○
added the new optional request property
inputs/items/allOf[subschema #1]/auto_driver_configurationnew-optional-request-property
- ○
added the new optional request property
shared_inputs/allOf[subschema #1]/auto_driver_configurationnew-optional-request-property
- ○
added the new
autoenum value to the request propertyinputs/items/allOf[subschema #1]/driverrequest-property-enum-value-added
- ○
added the new
autoenum value to the request propertyshared_inputs/allOf[subschema #1]/driverrequest-property-enum-value-added
- ○
added the new
fast-vx6enum value to the request propertyinputs/items/allOf[subschema #1]/driverrequest-property-enum-value-added
- ○
added the new
fast-vx6enum value to the request propertyshared_inputs/allOf[subschema #1]/driverrequest-property-enum-value-added
- ○
added the optional property
tasks/items/queueto the response with the200statusresponse-optional-property-added
This revision also has 2 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ●
- ○
request property
inputs/items/allOf[subschema #1]/renderlist-of-types was widened by adding typesstringto media typeapplication/jsonrequest-property-list-of-types-widened
- ○
request property
shared_inputs/allOf[subschema #1]/renderlist-of-types was widened by adding typesstringto media typeapplication/jsonrequest-property-list-of-types-widened
- ○
- ●
added the new
fast-serpenum value to thetasks/items/api_typeresponse property for the response status200response-property-enum-value-added
- ○
added the new optional request property
inputs/items/allOf[subschema #1]/bodynew-optional-request-property
- ○
added the new optional request property
shared_inputs/allOf[subschema #1]/bodynew-optional-request-property
This revision also has 2 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ●
- ●
removed the request property
inputs/items/allOf[subschema #1]/network_capture/items/stop_on_render_flow_failurerequest-property-removed
- ●
removed the request property
shared_inputs/allOf[subschema #1]/network_capture/items/stop_on_render_flow_failurerequest-property-removed
- ●
- ○
added the new optional request property
inputs/items/allOf[subschema #1]/markdown_backendnew-optional-request-property
- ○
added the new optional request property
shared_inputs/allOf[subschema #1]/markdown_backendnew-optional-request-property
- ○
added the new
linksenum value to the request propertyinputs/items/allOf[subschema #1]/formats/items/request-property-enum-value-added
- ○
added the new
linksenum value to the request propertyshared_inputs/allOf[subschema #1]/formats/items/request-property-enum-value-added
- ○
- ○
added the new optional request property
inputs/items/allOf[subschema #1]/network_capture/items/stop_on_render_flow_failurenew-optional-request-property
- ○
added the new optional request property
shared_inputs/allOf[subschema #1]/network_capture/items/stop_on_render_flow_failurenew-optional-request-property
- ○
added the new
media-vx6enum value to the request propertyinputs/items/allOf[subschema #1]/driverrequest-property-enum-value-added
- ○
added the new
media-vx6enum value to the request propertyshared_inputs/allOf[subschema #1]/driverrequest-property-enum-value-added
- ○
- ▲
added the new required request property
inputsnew-required-request-property
- ●
removed the request property
paramsrequest-property-removed
- ●
removed the request property
shared_paramsrequest-property-removed
- ○
added the new optional request property
shared_inputsnew-optional-request-property
- ▲
- ○
endpoint added
endpoint-added
This revision also has 1 change that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ○