Skip to main content
GET
/
api
/
dataframer
/
red-team-specs
/
{spec_id}
JavaScript
import Dataframer from 'dataframer';

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

const redTeamSpec = await client.dataframer.redTeamSpecs.retrieve('spec_id');

console.log(redTeamSpec);
{}

Authorizations

Authorization
string
header
required

API Key authentication. Format: "Bearer YOUR_API_KEY"

Path Parameters

spec_id
string
required

Response

200 - application/json

The response is of type object.