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
workerId
string
required

The Worker id.

Response

The stream. The response has the header x-vercel-ai-ui-message-stream: v1.

One chunk of the AI SDK UI message stream. The type field tells the kind of chunk.

type
enum<string>
required
Available options:
start,
text-start,
text-delta,
text-end,
reasoning-start,
reasoning-delta,
reasoning-end,
file,
source-url,
source-document,
tool-input-start,
tool-input-available,
tool-output-available,
tool-output-error,
start-step,
finish-step,
abort,
finish,
error