Skip to main content
POST
Import Experiment Votes

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

authorization
string | null
X-API-Key
string | null

Path Parameters

experiment_id
string<uuid>
required

Body

application/json

Copy votes from another evaluation into this one.

source_experiment_id
string<uuid>
required

The evaluation whose votes are copied

dry_run
boolean
default:false

Count what would be imported; change nothing

sample_map
Sample Map · object | null

Source sample id -> sample id in this evaluation. Samples not listed map to the sample of this evaluation with the same anchor value and candidate key.

Response

Successful Response

already_imported
integer
required
dry_run
boolean
required
experiment_id
string<uuid>
required
importable
integer
required
imported
integer
required
mapped_samples
integer
required
participants_created
integer
required
skipped
VoteImportSkipped · object
required
source_experiment_id
string<uuid>
required
source_votes
integer
required