v4

OpenAPI 3.1.02026-07-31121440441.0 KB
studies

Show Study predicted recruitment time

Returns the predicted recruitment time for the study if it was published right now, based on a machine learning model. The recruitment time is the time from publish to the time when the final participant starts their submission. It does not account for the time to complete the submission.

get/api/v1/studies/{study_id}/predicted-recruitment-time/

Path parameters

study_idstring required

Study id

Headers

Authorizationstring required

The Prolific API uses API token to authenticate requests. You can create an API token directly from your settings.

Your API token does not have an expiry date and carries full permission, so be sure to keep them secure.

If your token is leaked, delete it and create a new one directly in the app.

In your requests add Authorization header with the value Token <your token>.

Response

Return the predicted recruitment time for the study

precise_recruitment_time_hoursnumber double

The predicted recruitment time in hours

lower_bound_hoursnumber double

The lower bound of the predicted recruitment time in hours

upper_bound_hoursnumber double

The upper bound of the predicted recruitment time in hours

display_stringstring

A human-readable string representing the predicted recruitment time

limit_atnumber double

The limit at which the accuracy of the prediction becomes unstable. This should be used when rendering the recruitment times in a GUI. For example if the limit_at is 10, and the predicted recruitment time is 12 hours, the display string should be "10 hours+". This has been done for you in the display_string field.