Represents an answer generated by our platform.

id
string
required

Answer's unique id.

Example:

"answer_XXXXXXXXXXXXXXXXXX"

userProfileId
string
required

References the user profile id.

personaProfileId
string
required

References the persona profile id.

type
enum<string>
required

Answer's type.

Available options:
TEXT
tags
object
required

A map of tags to associate with the generated answer. You can use any key-value pair to store additional information along with your request. You can use this to store arbitrary metadata, for events tracking or statistics.

cost
string
required

Answer's cost that has a precision of up to 4-digits represented as a string. Format: 0.0000.

Examples:

"0.025"

responseTime
integer
required

Answer's response time in seconds.

createdAt
string<date-time>
required

Answer's creation date. Format: yyyy-MM-dd'T'HH:mm:ss.SSSXXX (iso-8601)

text
string

Answer's text.

Example:

"Lorem ipsum dolor sit amet."

pictureUrl
string | null

Answer's attached picture url.

conversationStopReason
enum<string> | null

Answer's conversation stop reason.

ValueDescriptionBan Period
USER_UNDERAGEMinor user detected (under 18 years old).Permanent
USER_SUSPICIOUSUser is trying to hijack the AI.Permanent
USER_MESSAGE_REPETITIONSuspicious behavior detected, user is repeating the same message.24 hours
UNKNOWN_LANGUAGESuspicious behavior detected, user is using an unknown language.24 hours
USER_HOSTILEHostile behaviour toward Persona detected.24 hours
AI_SUSPICIONThe user suspects that the Persona is an AI.12 hours
Available options:
USER_UNDERAGE,
USER_SUSPICIOUS,
USER_MESSAGE_REPETITION,
UNKNOWN_LANGUAGE,
USER_HOSTILE,
AI_SUSPICIOUS
conversationStoppedUntil
string | null

Answer's conversation stopped until.