import Dataframer from 'dataframer';
const client = new Dataframer({
apiKey: 'My API Key',
});
const redTeamSpec = await client.dataframer.redTeamSpecs.create();
console.log(redTeamSpec);{}Create a new red team spec
import Dataframer from 'dataframer';
const client = new Dataframer({
apiKey: 'My API Key',
});
const redTeamSpec = await client.dataframer.redTeamSpecs.create();
console.log(redTeamSpec);{}API Key authentication. Format: "Bearer YOUR_API_KEY"
The response is of type object.