Skip to main content
GET
cURL

Authorizations

Authorization
string
header
required

Your factory's Worklayer API key (wrk-...). See Get an API key and Authentication. Requests sent from the playground execute live against your factory.

Path Parameters

roomId
string
required

Room ID. Pass web to target your factory's main Room (the conversation in the Worklayer web app).

Required string length: 1 - 191

Query Parameters

status
enum<string>
default:active

active gives Workers that are running or waiting. all gives all Workers.

Available options:
active,
all,
running,
waiting,
idle,
failed,
stopped
limit
integer
default:30

The maximum number of items on the page.

Required range: 1 <= x <= 100
cursor
string

The nextCursor of the previous page.

Required string length: 1 - 4096
Pattern: ^[A-Za-z0-9_-]+$

Response

A page of Workers.

workers
object[]
required
nextCursor
string | null
required

Send this value as cursor to get the next page. Null on the last page. A page can have fewer items than limit and still have a cursor.