Skip to content

Get Worker Task Input

Method: GET

Endpoint: /api/v2/worker-tasks/{workerTaskId}/input

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

GET/api/v2/worker-tasks/{workerTaskId}/inputGet worker task input
AuthenticationRequired

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

Parameters
path · stringRequired

Saved Worker task template slug. Get it from the `data.list[].slug` field of `GET /api/v2/worker-tasks`. The playground prefills a sample slug; replace it with your own.

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

Use this endpoint to read the input parameters stored on a task template.

  • workerTaskId is the saved task template slug.
ParameterRequiredTypeDescription
workerTaskIdYesstringSaved Worker task template slug. Get it from the data.list[].slug field of GET /api/v2/worker-tasks.
Terminal window
curl -X GET "https://openapi.coreclaw.com/api/v2/worker-tasks/YOUR_WORKER_TASK_ID/input" \
-H "Authorization: Bearer YOUR_API_KEY"
{
"code": 0,
"data": {
"input": {
"keyword": "coffee"
},
"version": "latest"
},
"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.
HTTP StatusApplication CodeMeaning
2000OK
40011000Bad Request
40112001Unauthorized
40411004Not Found
42211000Unprocessable Entity
42913000Too Many Requests
50010000Internal Server Error