API for managing subjective studies on Mabyduck.
Mabyduck API (0.8.3)
- https://api.mabyduck.com/projects/{project_id}/experiments/
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://api.mabyduck.com/projects/{project_id}/experiments/' \
-H 'Authorization: Api-Key <YOUR_TOKEN_HERE>'[ { "id": "string", "name": "string", "type": "string", "language": "en", "dataset_ids": [ … ], "training_dataset_ids": [ … ], "job_ids": [ … ], "date_created": "2019-08-24T14:15:22Z", "date_updated": "2019-08-24T14:15:22Z", "config": null } ]
- application/json
- application/x-www-form-urlencoded
- multipart/form-data
Type of the experiment (e.g., "mushra", "pairwise_image")
en- Englishfr- Frenchde- Germanzh-hans- Chinese (simplified)es- Spanishhi- Hindipl- Polishvi- Vietnamese
A question or instructions displayed at the top of the experiment screen.
A brief introduction explaining how to participate in the experiment. Leave empty to use default introduction.
- https://api.mabyduck.com/projects/{project_id}/experiments/
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
- application/json
- application/x-www-form-urlencoded
- multipart/form-data
curl -i -X POST \
'https://api.mabyduck.com/projects/{project_id}/experiments/' \
-H 'Authorization: Api-Key <YOUR_TOKEN_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"name": "string",
"type": "acr_audio",
"language": "en",
"datasets": [
0
],
"training_datasets": [
0
],
"title": "string",
"question": "string",
"description": "string",
"introduction": "string",
"config": null
}'{ "id": "string", "name": "string", "type": "string", "language": "en", "dataset_ids": [ "string" ], "training_dataset_ids": [ "string" ], "job_ids": [ "string" ], "date_created": "2019-08-24T14:15:22Z", "date_updated": "2019-08-24T14:15:22Z", "config": null }
- https://api.mabyduck.com/projects/{project_id}/experiments/{experiment_id}/
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://api.mabyduck.com/projects/{project_id}/experiments/{experiment_id}/' \
-H 'Authorization: Api-Key <YOUR_TOKEN_HERE>'en- Englishfr- Frenchde- Germanzh-hans- Chinese (simplified)es- Spanishhi- Hindipl- Polishvi- Vietnamese
How often the task is performed.
The maximum number of groups of stimuli evaluated by each rater.
Set to zero to disable training.
0- Anyone100- Project members400- Crowd-sourced raters500- AI raters600- Rater pool
A question or instructions displayed at the top of the experiment screen.
A brief introduction explaining how to participate in the experiment. Leave empty to use default introduction.
{ "id": "string", "name": "string", "type": "string", "language": "en", "datasets": [ { … } ], "training_datasets": [ { … } ], "jobs": [ { … } ], "title": "string", "question": "string", "description": "string", "introduction": "string", "date_created": "2019-08-24T14:15:22Z", "date_updated": "2019-08-24T14:15:22Z", "config": null }
- https://api.mabyduck.com/projects/{project_id}/experiments/{experiment_id}/jobs/
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://api.mabyduck.com/projects/{project_id}/experiments/{experiment_id}/jobs/' \
-H 'Authorization: Api-Key <YOUR_TOKEN_HERE>'[ { "id": "string", "experiment_id": "string", "num_sessions": 10000, "num_comparisons": 1, "num_training": 2147483647, "date_created": "2019-08-24T14:15:22Z", "date_updated": "2019-08-24T14:15:22Z", "date_launched": "2019-08-24T14:15:22Z", "rater_pool": { … }, "status": "string", "config": null } ]
- application/json
- application/x-www-form-urlencoded
- multipart/form-data
How often an individual rater is allowed to repeat the task.
How many minutes should pass before a rater can repeat the task.
randomized- randomizedlexicographic- lexicographicactive- activeneighbor- neighbor
- https://api.mabyduck.com/projects/{project_id}/experiments/{experiment_id}/jobs/
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
- application/json
- application/x-www-form-urlencoded
- multipart/form-data
curl -i -X POST \
'https://api.mabyduck.com/projects/{project_id}/experiments/{experiment_id}/jobs/' \
-H 'Authorization: Api-Key <YOUR_TOKEN_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"rater_pool": 0,
"num_sessions": 1,
"num_comparisons": 1,
"num_training": 2,
"max_repetitions": 2147483647,
"min_rest_time": 2147483647,
"strategy": "randomized",
"note": "string"
}'{ "id": "string", "experiment_id": "string", "num_sessions": 10000, "num_comparisons": 1, "num_training": 2147483647, "date_created": "2019-08-24T14:15:22Z", "date_updated": "2019-08-24T14:15:22Z", "date_launched": "2019-08-24T14:15:22Z", "rater_pool": { "id": "string", "kind": 0, "name": "string", "label": "string" }, "status": "string", "config": null }
- https://api.mabyduck.com/projects/{project_id}/experiments/{experiment_id}/jobs/{job_id}/
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://api.mabyduck.com/projects/{project_id}/experiments/{experiment_id}/jobs/{job_id}/' \
-H 'Authorization: Api-Key <YOUR_TOKEN_HERE>'{ "id": "string", "experiment_id": "string", "num_sessions": 10000, "num_comparisons": 1, "num_training": 2147483647, "date_created": "2019-08-24T14:15:22Z", "date_updated": "2019-08-24T14:15:22Z", "date_launched": "2019-08-24T14:15:22Z", "rater_pool": { "id": "string", "kind": 0, "name": "string", "label": "string" }, "status": "string", "config": null, "max_repetitions": 2147483647, "min_rest_time": 2147483647 }
- https://api.mabyduck.com/projects/{project_id}/experiments/{experiment_id}/jobs/{job_id}/costs/
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://api.mabyduck.com/projects/{project_id}/experiments/{experiment_id}/jobs/{job_id}/costs/' \
-H 'Authorization: Api-Key <YOUR_TOKEN_HERE>'{ "num_sessions": 0, "cost": 0.1, "cost_per_additional_session": 0.1, "currency": "string", "token": "string", "token_expires_in": 0, "token_expires_at": "2019-08-24T14:15:22Z" }
- https://api.mabyduck.com/projects/{project_id}/experiments/{experiment_id}/jobs/{job_id}/launch/
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
- application/json
- application/x-www-form-urlencoded
- multipart/form-data
curl -i -X POST \
'https://api.mabyduck.com/projects/{project_id}/experiments/{experiment_id}/jobs/{job_id}/launch/' \
-H 'Authorization: Api-Key <YOUR_TOKEN_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"token": "string"
}'{ "token": "string" }
- https://api.mabyduck.com/projects/{project_id}/experiments/{experiment_id}/rater_pools/
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://api.mabyduck.com/projects/{project_id}/experiments/{experiment_id}/rater_pools/?kind=0' \
-H 'Authorization: Api-Key <YOUR_TOKEN_HERE>'[ { "id": "string", "kind": 0, "name": "string", "label": "string" } ]
- https://api.mabyduck.com/projects/{project_id}/experiments/{experiment_id}/raters/
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://api.mabyduck.com/projects/{project_id}/experiments/{experiment_id}/raters/' \
-H 'Authorization: Api-Key <YOUR_TOKEN_HERE>'[ { "id": "string", "user": { … }, "meta": null } ]
- https://api.mabyduck.com/projects/{project_id}/experiments/{experiment_id}/ratings/
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://api.mabyduck.com/projects/{project_id}/experiments/{experiment_id}/ratings/?training=false' \
-H 'Authorization: Api-Key <YOUR_TOKEN_HERE>'[ { "score": 0, "rater_id": 0, "slate_id": 0, "session_id": "string", "job_id": "string", "stimulus_id": 0, "stimulus": "string", "dimension": "string", "is_training": true, "meta": null, "is_correct": true } ]
- https://api.mabyduck.com/projects/{project_id}/experiments/{experiment_id}/results/
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://api.mabyduck.com/projects/{project_id}/experiments/{experiment_id}/results/?metric=bayesian_elo&source=string' \
-H 'Authorization: Api-Key <YOUR_TOKEN_HERE>'[ { "kind": "bayesian_elo", "dimension": "string", "source": "string", "scores": [ … ], "options": { … } } ]
- https://api.mabyduck.com/projects/{project_id}/experiments/{experiment_id}/sessions/
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://api.mabyduck.com/projects/{project_id}/experiments/{experiment_id}/sessions/?training=false' \
-H 'Authorization: Api-Key <YOUR_TOKEN_HERE>'[ { "id": "string", "job_id": "string", "experiment_id": "string", "date_created": "2019-08-24T14:15:22Z", "date_updated": "2019-08-24T14:15:22Z", "date_completed": "2019-08-24T14:15:22Z", "meta": null, "rater": { … } } ]
- https://api.mabyduck.com/projects/{project_id}/experiments/{experiment_id}/slates/
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://api.mabyduck.com/projects/{project_id}/experiments/{experiment_id}/slates/?training=false' \
-H 'Authorization: Api-Key <YOUR_TOKEN_HERE>'Checks if score is within expectation.
First checks for explicit correctness in meta['isCorrect']. Falls back to comparing score within bounds given in meta['expectedScores'] (inclusive).
Returns: True if score is correct, False if incorrect, or None if neither.
For example, the time it took to complete the slate.
For example, the time it took to complete the slate.
[ { "id": 0, "rater_id": "string", "session_id": "string", "job_id": "string", "ratings": [ … ], "date_updated": "2019-08-24T14:15:22Z", "meta": {}, "is_training": true } ]