import Dataframer from 'dataframer';
const client = new Dataframer({
apiKey: process.env['DATAFRAMER_API_KEY'], // This is the default and can be omitted
});
const response = await client.dataframer.listModels();
console.log(response);{}Return list of supported models
import Dataframer from 'dataframer';
const client = new Dataframer({
apiKey: process.env['DATAFRAMER_API_KEY'], // This is the default and can be omitted
});
const response = await client.dataframer.listModels();
console.log(response);{}API Key authentication. Format: "Bearer YOUR_API_KEY"
The response is of type object.