Skip to main content
GET
/
v1
/
workers
List workers
curl --request GET \
  --url https://api.openworklabs.com/v1/workers
{
  "workers": [
    {
      "instance": {
        "provider": "<string>",
        "region": "<string>",
        "url": "<string>",
        "status": "<string>",
        "createdAt": "2023-11-07T05:31:56Z",
        "updatedAt": "2023-11-07T05:31:56Z"
      },
      "id": "<string>",
      "orgId": "<string>",
      "createdByUserId": "<string>",
      "isMine": true,
      "name": "<string>",
      "description": "<string>",
      "destination": "<string>",
      "status": "<string>",
      "imageVersion": "<string>",
      "workspacePath": "<string>",
      "sandboxBackend": "<string>",
      "lastHeartbeatAt": "2023-11-07T05:31:56Z",
      "lastActiveAt": "2023-11-07T05:31:56Z",
      "createdAt": "2023-11-07T05:31:56Z",
      "updatedAt": "2023-11-07T05:31:56Z"
    }
  ]
}

Query Parameters

limit
integer
default:20
Required range: 1 <= x <= 50

Response

Workers returned successfully.

workers
object[]
required