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 blueprintBuildLogsListView = await client.blueprints.logs('id');
console.log(blueprintBuildLogsListView.blueprint_id);{
"blueprint_id": "<string>",
"logs": [
{
"level": "<string>",
"timestamp_ms": 123,
"message": "<string>"
}
]
}Get all logs from the building of a Blueprint.
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 blueprintBuildLogsListView = await client.blueprints.logs('id');
console.log(blueprintBuildLogsListView.blueprint_id);{
"blueprint_id": "<string>",
"logs": [
{
"level": "<string>",
"timestamp_ms": 123,
"message": "<string>"
}
]
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
The ID of the Blueprint
Was this page helpful?