v48

latestOpenAPI 3.1.0raw.githubusercontent.com2026-05-275867561.6 MB
examples

Hard Delete Examples

This endpoint hard deletes all versions of a dataset example(s). Deletion is performed by setting inputs, outputs, and metadata to null and deleting attachment files while keeping the example ID, dataset ID, and creation timestamp. IMPORTANT: attachment files can take up to 7 days to be deleted. inputs, outputs and metadata are nullified immediately.

post/v1/platform/datasets/examples/delete

Request body

example_idsstring[] required

ExampleIDs is a list of UUIDs identifying the examples to delete.

hard_deleteboolean required

HardDelete indicates whether to perform a hard delete. Currently only True is supported.

Response

OK

countinteger
example_idsstring[]

Example response

{
  "count": 1,
  "example_ids": [
    "[\"123e4567-e89b-12d3-a456-426614174000\"]"
  ]
}