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 scorer = await client.scenarios.scorers.retrieve('id');
console.log(scorer.id);{
"id": "<string>",
"type": "<string>",
"bash_script": "<string>"
}Retrieve Scenario Scorer.
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 scorer = await client.scenarios.scorers.retrieve('id');
console.log(scorer.id);{
"id": "<string>",
"type": "<string>",
"bash_script": "<string>"
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
The Scorer ID.
OK
Was this page helpful?