Javascript
import PiClient from 'withpi'; const client = new PiClient({ apiKey: 'My API Key', }); const response = await client.data.generate.streamMessages('job_id'); console.log(response);
"<string>"
Opens a message stream about a Generation Data job
Streaming messages from the job
The response is of type string.
string