POST
/
v016

Headers

api_key
string
required

API key for authentication. Include this in the header of your request.

Body

application/json
participant_id
string
required

A unique identifier for the participant.

questions
object
required

Contains the survey questions. Each key is the id of the question, and the values are the text of the open-ended survey questions as shown to the participant.

responses
object
required

Records the participant's final responses to each question.

survey_id
string
required

A unique identifier for the survey.

question_histories
object

Records the changes made by the participant while answering the survey. Each key is the id of the question, and the value is the array of changes generated by our Javascript tracker. See here for more instructions.

low_effort_threshold
integer
default: 0

Threshold for flagging a response as low effort. Must be between 0 and 10.

Required range: 0 < x < 10

Response

200 - application/json
error
boolean

Indicates if there was an error in processing the request.

flagged
boolean

Indicates if any fraudulent or inappropriate activity was detected.

num_checks_failed
integer

Number of checks that failed.

response_groups
object

Dictionary where key corresponds to question_id and value corresponds to the cluster of duplicated responses.

checks
object

Dictionary where keys correspond to questions, and every entry is an array of strings, each string representing a failed check. Possible checks include:

  • "Automated test: Gibberish" - The response is not coherent or grammatical.
  • "Automated test: Off-topic" - The response does not address or relate to the question.
  • "Automated test: GPT" - The response is flagged as likely generated by a GPT model.
  • "Automated test: Profane" - The response contains profane or inappropriate language.
  • "Low-effort" - The response relates to the question but provides minimal information. This is flagged if the effort score is less than or equal to the low_effort_threshold.
  • "GPT paste artifacts" - The text is formatted similarly to ChatGPT outputs.
  • "Programmatic entry" - The response was entered programmatically.
  • "Response pasted" - The response was pasted or entered all at once.
  • "Self-duplicate response" - A similar or identical answer was given to more than one question.
  • "Cross-duplicate response" - A similar or identical answer as another participant was provided.
  • "Unnatural typing" - Typing behavior flagged as likely non-human.
effort_ratings
object

Dictionary where key corresponds to question_id and value is an effort score from 1-10, with 1 being minimal effort and 10 being high effort.

model
string

String specifying the model type.