POST
/
v014

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.

Response

200 - application/json
error
boolean

Indicates if there was an error in processing the request.

flagged
boolean

Indicates the type of fraudulent activity detected. This example shows an off-topic response 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: Low-effort" - The response relates to the question but provides minimal information.
  • "Automated test: GPT" - The response is flagged as likely generated by a GPT model.
  • "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.
model
string

String specifying the model type.