tasks

Mark Task As Deleted Endpoint

Mark multiple tasks as deleted by setting the is_deleted field to the current timestamp.

Parameters:

  • task_ids: List of task IDs to mark as deleted
  • occupation_id: The occupation ID of the tasks
  • prolific_id: The prolific ID of the user who has the tasks locked

Returns: List of updated tasks with is_deleted timestamp set.

Raises:

  • 400: task_ids is empty or null
  • 404: No tasks found with the given task_ids and occupation_id
post/api/tasks/soft_delete

Request

  • Base URL
    https://api.mit-llm-survey.academy (the document declares no server; this is the origin it was published from)
  • Auth
    none declared

Request body

task_idsstring[] required
occupation_idstring required
prolific_idstring required

Response

Successful Response

occupation_idstring required
task_urlstring required
task_descstring required
response_url_1string nullable
response_url_2string nullable
response_url_3string nullable
response_url_4string nullable
response_url_5string nullable
availablestring
prolific_idstring nullable
qualtrics_idstring nullable
historystring nullable
locked_historystring nullable
is_deletedstring date-time nullable
models_orderstring nullable
task_idstring required
created_atstring date-time required
updated_atstring date-time required

Changes

No recorded changes to this operation across all 2 revisions of this API.