(Optional) Time-to-complete metrics. Flat map of string keys to numeric millisecond values (e.g. {'total': 42, 'q1': 10}); nested objects are not accepted by the API.
dataobject
Required
The answers/data for the survey response
metaobject
Metadata about the response context.
endingIdstring
(Optional) ID of the ending reached. Must be a Formbricks CUID2 string (24-32 lowercase alphanumeric chars), not a UUID.
finishedboolean
Required
Whether the response is finished
languagestring
(Optional) Language code of the response, e.g., 'en'
surveyIdstring
Required
The ID of the survey for which to create the response
createdAtstring
(Optional) Creation timestamp in ISO 8601 format
displayIdstring
(Optional) Display ID for the response
updatedAtstring
(Optional) Last update timestamp in ISO 8601 format
variablesobject
(Optional) Custom variables associated with the response
singleUseIdstring
(Optional) Single-use ID for the response
Observable output
data
Required
Data from the action execution
errorstring
Error if any occurred during the execution of the action
successfulboolean
Required
Whether or not the action execution was successful or not