Returns information about the output dataset associated with a specific task.
/
Update a task
WebRobot ETL API (1.0.0)
API for managing projects, jobs, datasets, and ETL pipelines on WebRobot.
The API uses API Keys for authentication. Include the X-API-Key header in all requests.
Download OpenAPI description
Overview
WebRobot Support
License
Languages
Servers
Mock server
http://docs.webrobot.eu/_mock/openapi/
Production
https://api.webrobot.eu/api/
Local development
http://localhost:8020/api/
- Mock serverhttp://docs.webrobot.eu/_mock/openapi/webrobot/api/datasets/query/task/{taskId}/info
- Productionhttps://api.webrobot.eu/api/webrobot/api/datasets/query/task/{taskId}/info
- Local developmenthttp://localhost:8020/api/webrobot/api/datasets/query/task/{taskId}/info
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
http://docs.webrobot.eu/_mock/openapi/webrobot/api/datasets/query/task/123/info \
-H 'X-API-Key: YOUR_API_KEY_HERE'- Mock serverhttp://docs.webrobot.eu/_mock/openapi/webrobot/api/datasets/query/task/{taskId}
- Productionhttps://api.webrobot.eu/api/webrobot/api/datasets/query/task/{taskId}
- Local developmenthttp://localhost:8020/api/webrobot/api/datasets/query/task/{taskId}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
http://docs.webrobot.eu/_mock/openapi/webrobot/api/datasets/query/task/123 \
-H 'Content-Type: application/json' \
-H 'X-API-Key: YOUR_API_KEY_HERE' \
-d '{
"sql": "string",
"catalog": "string",
"schema": "string",
"limit": 0,
"offset": 0
}'Response
application/json
{ "results": [ {} ] }
- Mock serverhttp://docs.webrobot.eu/_mock/openapi/webrobot/api/projects/id/{projectId}/jobs/{jobId}/tasks
- Productionhttps://api.webrobot.eu/api/webrobot/api/projects/id/{projectId}/jobs/{jobId}/tasks
- Local developmenthttp://localhost:8020/api/webrobot/api/projects/id/{projectId}/jobs/{jobId}/tasks
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
http://docs.webrobot.eu/_mock/openapi/webrobot/api/projects/id/98/jobs/210/tasks \
-H 'X-API-Key: YOUR_API_KEY_HERE'Response
application/json
[ { "id": "string", "name": "string", "description": "string", "jobId": "string", "botId": "string", "outputDatasetId": "string", "taskType": "SPARK", "executionReferenceId": "string", "executionStatus": "PENDING", "executionLog": "string", "scheduledTime": "2019-08-24T14:15:22Z", "executionMode": "MANUAL", "enabled": true, "apiKey": "string", "createdAt": "2019-08-24T14:15:22Z", "updatedAt": "2019-08-24T14:15:22Z" } ]
- Mock serverhttp://docs.webrobot.eu/_mock/openapi/webrobot/api/projects/id/{projectId}/jobs/{jobId}/tasks
- Productionhttps://api.webrobot.eu/api/webrobot/api/projects/id/{projectId}/jobs/{jobId}/tasks
- Local developmenthttp://localhost:8020/api/webrobot/api/projects/id/{projectId}/jobs/{jobId}/tasks
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
http://docs.webrobot.eu/_mock/openapi/webrobot/api/projects/id/98/jobs/210/tasks \
-H 'Content-Type: application/json' \
-H 'X-API-Key: YOUR_API_KEY_HERE' \
-d '{
"id": "string",
"name": "string",
"description": "string",
"jobId": "string",
"botId": "string",
"outputDatasetId": "string",
"taskType": "SPARK",
"executionReferenceId": "string",
"executionStatus": "PENDING",
"executionLog": "string",
"scheduledTime": "2019-08-24T14:15:22Z",
"executionMode": "MANUAL",
"enabled": true,
"apiKey": "string",
"createdAt": "2019-08-24T14:15:22Z",
"updatedAt": "2019-08-24T14:15:22Z"
}'Response
application/json
{ "id": "string", "name": "string", "description": "string", "jobId": "string", "botId": "string", "outputDatasetId": "string", "taskType": "SPARK", "executionReferenceId": "string", "executionStatus": "PENDING", "executionLog": "string", "scheduledTime": "2019-08-24T14:15:22Z", "executionMode": "MANUAL", "enabled": true, "apiKey": "string", "createdAt": "2019-08-24T14:15:22Z", "updatedAt": "2019-08-24T14:15:22Z" }
- Mock serverhttp://docs.webrobot.eu/_mock/openapi/webrobot/api/projects/id/{projectId}/jobs/{jobId}/tasks/{taskId}
- Productionhttps://api.webrobot.eu/api/webrobot/api/projects/id/{projectId}/jobs/{jobId}/tasks/{taskId}
- Local developmenthttp://localhost:8020/api/webrobot/api/projects/id/{projectId}/jobs/{jobId}/tasks/{taskId}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
http://docs.webrobot.eu/_mock/openapi/webrobot/api/projects/id/98/jobs/210/tasks/1 \
-H 'X-API-Key: YOUR_API_KEY_HERE'Response
application/json
{ "id": "string", "name": "string", "description": "string", "jobId": "string", "botId": "string", "outputDatasetId": "string", "taskType": "SPARK", "executionReferenceId": "string", "executionStatus": "PENDING", "executionLog": "string", "scheduledTime": "2019-08-24T14:15:22Z", "executionMode": "MANUAL", "enabled": true, "apiKey": "string", "createdAt": "2019-08-24T14:15:22Z", "updatedAt": "2019-08-24T14:15:22Z" }
- Mock serverhttp://docs.webrobot.eu/_mock/openapi/webrobot/api/projects/id/{projectId}/jobs/{jobId}/tasks/{taskId}
- Productionhttps://api.webrobot.eu/api/webrobot/api/projects/id/{projectId}/jobs/{jobId}/tasks/{taskId}
- Local developmenthttp://localhost:8020/api/webrobot/api/projects/id/{projectId}/jobs/{jobId}/tasks/{taskId}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X PUT \
http://docs.webrobot.eu/_mock/openapi/webrobot/api/projects/id/98/jobs/210/tasks/1 \
-H 'Content-Type: application/json' \
-H 'X-API-Key: YOUR_API_KEY_HERE' \
-d '{
"id": "string",
"name": "string",
"description": "string",
"jobId": "string",
"botId": "string",
"outputDatasetId": "string",
"taskType": "SPARK",
"executionReferenceId": "string",
"executionStatus": "PENDING",
"executionLog": "string",
"scheduledTime": "2019-08-24T14:15:22Z",
"executionMode": "MANUAL",
"enabled": true,
"apiKey": "string",
"createdAt": "2019-08-24T14:15:22Z",
"updatedAt": "2019-08-24T14:15:22Z"
}'Response
application/json
{ "id": "string", "name": "string", "description": "string", "jobId": "string", "botId": "string", "outputDatasetId": "string", "taskType": "SPARK", "executionReferenceId": "string", "executionStatus": "PENDING", "executionLog": "string", "scheduledTime": "2019-08-24T14:15:22Z", "executionMode": "MANUAL", "enabled": true, "apiKey": "string", "createdAt": "2019-08-24T14:15:22Z", "updatedAt": "2019-08-24T14:15:22Z" }
- Mock serverhttp://docs.webrobot.eu/_mock/openapi/webrobot/api/projects/id/{projectId}/jobs/{jobId}/tasks/{taskId}
- Productionhttps://api.webrobot.eu/api/webrobot/api/projects/id/{projectId}/jobs/{jobId}/tasks/{taskId}
- Local developmenthttp://localhost:8020/api/webrobot/api/projects/id/{projectId}/jobs/{jobId}/tasks/{taskId}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X DELETE \
http://docs.webrobot.eu/_mock/openapi/webrobot/api/projects/id/98/jobs/210/tasks/1 \
-H 'X-API-Key: YOUR_API_KEY_HERE'- Mock serverhttp://docs.webrobot.eu/_mock/openapi/webrobot/api/projects/id/{projectId}/jobs/{jobId}/tasks/{taskId}/status
- Productionhttps://api.webrobot.eu/api/webrobot/api/projects/id/{projectId}/jobs/{jobId}/tasks/{taskId}/status
- Local developmenthttp://localhost:8020/api/webrobot/api/projects/id/{projectId}/jobs/{jobId}/tasks/{taskId}/status
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
http://docs.webrobot.eu/_mock/openapi/webrobot/api/projects/id/98/jobs/210/tasks/1/status \
-H 'X-API-Key: YOUR_API_KEY_HERE'Response
application/json
{ "status": "PENDING", "progress": 0.1 }
- Mock serverhttp://docs.webrobot.eu/_mock/openapi/webrobot/api/projects/id/{projectId}/jobs/{jobId}/tasks/{taskId}/start
- Productionhttps://api.webrobot.eu/api/webrobot/api/projects/id/{projectId}/jobs/{jobId}/tasks/{taskId}/start
- Local developmenthttp://localhost:8020/api/webrobot/api/projects/id/{projectId}/jobs/{jobId}/tasks/{taskId}/start
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
http://docs.webrobot.eu/_mock/openapi/webrobot/api/projects/id/98/jobs/210/tasks/1/start \
-H 'X-API-Key: YOUR_API_KEY_HERE'- Mock serverhttp://docs.webrobot.eu/_mock/openapi/webrobot/api/projects/id/{projectId}/jobs/{jobId}/tasks/{taskId}/stop
- Productionhttps://api.webrobot.eu/api/webrobot/api/projects/id/{projectId}/jobs/{jobId}/tasks/{taskId}/stop
- Local developmenthttp://localhost:8020/api/webrobot/api/projects/id/{projectId}/jobs/{jobId}/tasks/{taskId}/stop
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
http://docs.webrobot.eu/_mock/openapi/webrobot/api/projects/id/98/jobs/210/tasks/1/stop \
-H 'X-API-Key: YOUR_API_KEY_HERE'Request
Returns detailed metrics for a specific task, including duration, processed records, memory usage, CPU usage, and other performance metrics.
Metrics are extracted from the task executionLog and include:
- Execution duration
- Processed and output records
- Memory usage (driver and executors)
- CPU usage
- Error and warning counts
- Output file size
Security
ApiKeyAuth
- Mock serverhttp://docs.webrobot.eu/_mock/openapi/webrobot/api/projects/id/{projectId}/jobs/{jobId}/tasks/{taskId}/metrics
- Productionhttps://api.webrobot.eu/api/webrobot/api/projects/id/{projectId}/jobs/{jobId}/tasks/{taskId}/metrics
- Local developmenthttp://localhost:8020/api/webrobot/api/projects/id/{projectId}/jobs/{jobId}/tasks/{taskId}/metrics
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
http://docs.webrobot.eu/_mock/openapi/webrobot/api/projects/id/98/jobs/220/tasks/229/metrics \
-H 'X-API-Key: YOUR_API_KEY_HERE'Response
application/json
{ "taskId": 0, "durationSeconds": 0, "recordsProcessed": 0, "recordsOutput": 0, "outputFileSizeBytes": 0, "driverMemoryUsedBytes": 0, "executorMemoryUsedBytes": 0, "executorCount": 0, "totalCpuTimeSeconds": 0, "errorCount": 0, "warningCount": 0, "status": "string", "startedAt": "2019-08-24T14:15:22Z", "completedAt": "2019-08-24T14:15:22Z" }
Request
Detects and marks as FAILED tasks that are RUNNING for longer than the specified timeout ("zombie" tasks).
A task is considered a "zombie" if:
- It has status RUNNING
- It has been running longer than the specified timeout (default: 24 hours)
- The
startedAttimestamp (orscheduledTimeas a fallback) exceeds the timeout
When a task is marked as a zombie:
- Status is updated to FAILED
executionLogis updated with FAILED status,completedAt, and an error message- Total execution duration is computed
Note: This endpoint requires admin privileges (scope admin).
Security
ApiKeyAuth
- Mock serverhttp://docs.webrobot.eu/_mock/openapi/webrobot/api/projects/admin/tasks/mark-zombies
- Productionhttps://api.webrobot.eu/api/webrobot/api/projects/admin/tasks/mark-zombies
- Local developmenthttp://localhost:8020/api/webrobot/api/projects/admin/tasks/mark-zombies
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
'http://docs.webrobot.eu/_mock/openapi/webrobot/api/projects/admin/tasks/mark-zombies?timeoutHours=24' \
-H 'X-API-Key: YOUR_API_KEY_HERE'Response
application/json
{ "markedCount": 0, "markedTaskIds": [ 0 ], "timeoutHours": 0, "message": "Marked 5 zombie task(s) as FAILED" }
- Mock serverhttp://docs.webrobot.eu/_mock/openapi/webrobot/api/html/{url}/{protocol}
- Productionhttps://api.webrobot.eu/api/webrobot/api/html/{url}/{protocol}
- Local developmenthttp://localhost:8020/api/webrobot/api/html/{url}/{protocol}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'http://docs.webrobot.eu/_mock/openapi/webrobot/api/html/{url}/{protocol}' \
-H 'X-API-Key: YOUR_API_KEY_HERE'- Mock serverhttp://docs.webrobot.eu/_mock/openapi/api/strapi-tables/{table}/{id}
- Productionhttps://api.webrobot.eu/api/api/strapi-tables/{table}/{id}
- Local developmenthttp://localhost:8020/api/api/strapi-tables/{table}/{id}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'http://docs.webrobot.eu/_mock/openapi/api/strapi-tables/{table}/{id}' \
-H 'X-API-Key: YOUR_API_KEY_HERE'- Mock serverhttp://docs.webrobot.eu/_mock/openapi/api/strapi-tables/{table}/{id}
- Productionhttps://api.webrobot.eu/api/api/strapi-tables/{table}/{id}
- Local developmenthttp://localhost:8020/api/api/strapi-tables/{table}/{id}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X PUT \
'http://docs.webrobot.eu/_mock/openapi/api/strapi-tables/{table}/{id}' \
-H 'Content-Type: application/json' \
-H 'X-API-Key: YOUR_API_KEY_HERE' \
-d '{
"property1": {},
"property2": {}
}'- Mock serverhttp://docs.webrobot.eu/_mock/openapi/api/strapi-tables/{table}/{id}
- Productionhttps://api.webrobot.eu/api/api/strapi-tables/{table}/{id}
- Local developmenthttp://localhost:8020/api/api/strapi-tables/{table}/{id}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X DELETE \
'http://docs.webrobot.eu/_mock/openapi/api/strapi-tables/{table}/{id}' \
-H 'X-API-Key: YOUR_API_KEY_HERE'- Mock serverhttp://docs.webrobot.eu/_mock/openapi/api/strapi-tables/{table}
- Productionhttps://api.webrobot.eu/api/api/strapi-tables/{table}
- Local developmenthttp://localhost:8020/api/api/strapi-tables/{table}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'http://docs.webrobot.eu/_mock/openapi/api/strapi-tables/{table}?page=0&pageSize=50' \
-H 'X-API-Key: YOUR_API_KEY_HERE'- Mock serverhttp://docs.webrobot.eu/_mock/openapi/api/strapi-tables/{table}
- Productionhttps://api.webrobot.eu/api/api/strapi-tables/{table}
- Local developmenthttp://localhost:8020/api/api/strapi-tables/{table}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
'http://docs.webrobot.eu/_mock/openapi/api/strapi-tables/{table}' \
-H 'Content-Type: application/json' \
-H 'X-API-Key: YOUR_API_KEY_HERE' \
-d '{
"property1": {},
"property2": {}
}'- Mock serverhttp://docs.webrobot.eu/_mock/openapi/health
- Productionhttps://api.webrobot.eu/api/health
- Local developmenthttp://localhost:8020/api/health
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
http://docs.webrobot.eu/_mock/openapi/health \
-H 'X-API-Key: YOUR_API_KEY_HERE'