tasks

Select Task Endpoint

Select a specific task and mark it as unavailable.

Behavior:

  • Marks the selected task_id as unavailable
  • Adds prolific_id to the selected task's history
  • Releases all other tasks with the same prolific_id and occupation_id (makes them available and clears their prolific_id)
  • Only operates on non-deleted tasks (is_deleted is None)

Returns: The selected task with updated status.

post/api/tasks/select

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_idstring required
prolific_idstring required
occupation_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.