Skip to content

Get Worker Input Schema

Method: GET

Endpoint: /api/v2/workers/{workerId}/input-schema

Authentication: No API token required

GET/api/v2/workers/{workerId}/input-schemaGet worker input schema
AuthorizationNot required

This is a public endpoint and does not require an API token.

Parameters
path · stringRequired

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

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

Use this endpoint to read a Worker input schema and build the input payload.

  • 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.
Terminal window
curl -X GET "https://openapi.coreclaw.com/api/v2/workers/YOUR_WORKER_ID/input-schema"
{
"code": 0,
"data": {
"input_schema": {
"properties": {
"keyword": {
"type": "string"
}
},
"type": "object"
}
},
"message": "success",
"request_id": "req-123"
}
  • This endpoint does not require an API token.
HTTP StatusApplication CodeMeaning
2000OK
40011000Bad Request
40112001Unauthorized
40411004Not Found
42211000Unprocessable Entity
42913000Too Many Requests
50010000Internal Server Error