Skip to content

List Worker Last Run Results

Method: GET

Endpoint: /api/v2/workers/{workerId}/runs/last/result

Authentication: Supports Authorization: Bearer <YOUR_API_KEY>, api-key: <YOUR_API_KEY>, and ?token=<YOUR_API_KEY>. Prefer Bearer token.

GET/api/v2/workers/{workerId}/runs/last/resultList worker last run results
AuthenticationRequired

Stored only in this browser tab. Sent only to https://openapi.coreclaw.com.

Parameters
path · stringRequired

Worker slug or path. You may paste `owner/name`; the playground sends it as `owner~name` for path values.

query · integer · default `0`; minimum 0Optional

Pagination offset, starting from 0. Constraints: default `0`; minimum 0.

query · integer · default `20`; range 1-100Optional

Page size. Constraints: default `20`; range 1-100.

Request BodyNot applicable
No JSON request body. Fill the path or query parameters above.

Use this endpoint to read paginated result rows for previews or tables.

  • workerId / worker_id accepts a Worker slug or a path encoded as owner~name from owner/name.
ParameterRequiredTypeDescription
workerIdYesstringWorker slug or path. You may paste owner/name; the playground sends it as owner~name for path values.
ParameterRequiredTypeDescription
offsetNointegerPagination offset, starting from 0. Use it for result previews, list paging, or choosing a result window. Constraints: default 0; minimum 0.
limitNointegerPage size. limit is capped at 100 on list and result endpoints. Constraints: default 20; range 1-100.
Terminal window
curl -X GET "https://openapi.coreclaw.com/api/v2/workers/YOUR_WORKER_ID/runs/last/result?offset=0&limit=20" \
-H "Authorization: Bearer YOUR_API_KEY"
{
"code": 0,
"data": {
"count": 1,
"headers": [
{
"key": "title",
"label": "Title"
}
],
"list": [
{
"title": "Example result"
}
],
"page_index": 1,
"page_size": 20
},
"message": "success",
"request_id": "req-123"
}
  • API v2 supports Bearer token, the legacy api-key header, and query token. Prefer Bearer token for new integrations.
  • This is a Worker-scoped latest-run endpoint; workerId is required and the operation applies only to that Worker’s latest run.
  • last means the latest run in the current scope. Use a concrete runId endpoint when the target must be explicit.
  • Result lists use offset and limit pagination.
  • offset is zero-based; limit defaults to 20 and cannot exceed 100.
HTTP StatusApplication CodeMeaning
2000OK
40011000Bad Request
40112001Unauthorized
40411004Not Found
42211000Unprocessable Entity
42913000Too Many Requests
50010000Internal Server Error