Skip to content

List Last Worker Run Results

Method: GET

Endpoint: /api/v2/worker-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/worker-runs/last/resultList last worker run results
AuthenticationRequired

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

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

Page number, 1-based. `offset=1` is page 1, `offset=2` is page 2; `offset=0` is accepted as page 1. Out-of-range pages return an empty list. Constraints: default `1`; 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.

ParameterRequiredTypeDescription
offsetNointegerPage number, 1-based. offset=1 is page 1, offset=2 is page 2; offset=0 is accepted as page 1. Out-of-range pages return an empty list. Constraints: default 1; 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/worker-runs/last/result?offset=1&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"
}
FieldTypeDescription
data.countintegerTotal number of result rows for the run.
data.headers[]arrayColumn definitions; each item has key (field name) and label (display name).
data.list[]arrayResult rows; each row keys align with headers[].key.

Result rows may include internal fields not declared in the Worker output schema (for example __coreclaw_data_id__); ignore them as needed. Serialization of nested or empty values depends on the export format; filter_keys must match headers[].key. Page requests use 1-based offset (page number) and limit (max 100).

  • API v2 supports Bearer token, the legacy api-key header, and query token. Prefer Bearer token for new integrations.
  • This is an account-level latest-run endpoint and does not take a workerId path parameter; it operates on the latest run in the current account scope.
  • 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 a 1-based page number (offset=1 is page 1, offset=0 is accepted as page 1); limit defaults to 20 and cannot exceed 100.
  • See Run Lifecycle & Status for status handling, polling, failure diagnosis, and cancellation behavior.
HTTP StatusApplication CodeMeaning
2000OK
40011000Bad Request
40112001Unauthorized
40411004Not Found
42211000Unprocessable Entity
42913000Too Many Requests
50010000Internal Server Error