Launch Week 02 wrapped — explore all five launches

Delete Golden

DELETEhttps://api.confident-ai.com/v1/datasets/{alias}/goldens/{goldenId}

Permanently deletes a single golden by its goldenId from the dataset identified by alias. Only the specified golden is removed; the rest of the dataset is unchanged.

Warning: This action cannot be undone.

DELETE/v1/datasets/{alias}/goldens/{goldenId}
curl -X DELETE "https://api.confident-ai.com/v1/datasets/{alias}/goldens/{goldenId}" \
  -H "CONFIDENT_API_KEY: <PROJECT-API-KEY>"
200
{
  "success": true,
  "data": {
    "id": "golden-id"
  },
  "deprecated": false
}

Headers

  • CONFIDENT_API_KEYstringRequired

    The API key of your Confident AI project.

Path parameters

  • aliasstringRequired

    The alias of the dataset containing the golden.

  • goldenIdstringRequired

    The unique id of the golden, returned when the dataset is pulled.

Response

  • successboolean

    This is true if the golden was successfully deleted.

  • dataobject

    Show 1 propertyHide 1 property
    • idstring

      This is the ID of the deleted golden.

  • deprecatedboolean

    This is true if this datasets endpoint is deprecated.

Built byConfident AI