DELETE
/
sdk
/
v1
/
evaluations
/
{id}
import PromptFoundry from '@prompt-foundry/typescript-sdk';

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

async function main() {
  const evaluation = await client.evaluations.delete('1212121');

  console.log(evaluation.success);
}

main();
{
  "success": true
}

Path Parameters

id
string
required
Example:

"1212121"

Response

200
application/json
Successful deletion of the evaluation
success
boolean