API Reference
Delete Evaluation
API Reference
- POSTCompletion
- GETGet Prompt
- PUTUpdate Prompt
- POSTGet Model Parameters
- DELDelete Prompt
- GETList Prompts
- POSTCreate Prompt
- GETList tools
- POSTCreates tool
- GETGet Tool
- PUTUpdate tool
- DELDelete tool
- GETList Evaluation Assertions
- POSTCreate Evaluation Assertion
- GETGet Evaluation Assertion
- PUTUpdate Evaluation Assertion
- DELDelete Evaluation Assertion
- GETList Evaluations
- POSTCreate Evaluation
- GETGet Evaluation
- PUTUpdate Evaluation
- DELDelete Evaluation
API Reference
Delete Evaluation
Delete an evaluation by ID.
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
Example:
"1212121"
Response
200
application/json
Successful deletion of the evaluation
Was this page helpful?
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
}