POST
/
v1
/
scenarios
/
runs
/
{id}
/
download_logs
import Runloop from '@runloop/api-client';

const client = new Runloop({
  bearerToken: process.env['RUNLOOP_API_KEY'], // This is the default and can be omitted
});

const response = await client.scenarios.runs.downloadLogs('id');

console.log(response);

const content = await response.blob();
console.log(content);
This response does not have an example.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
string
required

The ScenarioRun ID.

Response

200 - application/zip

OK

The response is of type file.