Skip to content

Delete Answers

DELETE
/v1/datasets/{dataset_id}/answers
curl --request DELETE \
--url 'https://example.com/v1/datasets/example/answers?column=example' \
--header 'Authorization: Bearer <token>'

Delete a task’s answers from a model, or its labels. Model replies are kept, so asking the same again is free. A run still asking for them must be stopped first.

dataset_id
required
Dataset Id
string
column
required
Column

The task’s column, e.g. fallacy.

string

The task’s column, e.g. fallacy.

model
Any of:
string

The model, e.g. typesafe/jev-1.14; none for labels.

Successful Response

Validation Error

Media typeapplication/json
HTTPValidationError
object
detail
Detail
Array<object>
ValidationError
object
loc
required
Location
Array
msg
required
Message
string
type
required
Error Type
string
input
Input
ctx
Context
object

Example generated

{
"detail": [
{
"loc": [
"example"
],
"msg": "example",
"type": "example",
"input": "example",
"ctx": {}
}
]
}