ApiAgent reply style
Attaches a confirmed conversation import for the reply style to learn from.
About a tenth of the import is set aside, once, to check drafts on: whole chats when it has five or more, otherwise its most recent conversations. Refused while a build runs. Agent admins only.
Authorization
Bearer AuthorizationBearer <token>
JWT Authorization header using the Bearer scheme. Enter 'Bearer' [space] and then your token.
In: header
Path Parameters
agent*string
The agent ID.
tenant*string
The tenant identifier
The import to attach.
conversationImportId?string
Format
uuid[key: string]?never
Response Body
curl -X POST "https://api.fruxon.com/v1/tenants/string/agents/string/replyStyle/sources" \ -H "Content-Type: application/json" \ -d '{}'{
"id": "00000000-0000-0000-0000-000000000000",
"conversationImportId": "00000000-0000-0000-0000-000000000000",
"importDisplayName": "string",
"expired": false,
"expiresAt": 0,
"conversations": 0,
"heldOutChats": 0,
"heldOutConversations": 0,
"createdAt": 0
}{
"type": "string",
"title": "string",
"status": 0,
"detail": "string",
"instance": "string",
"property1": null,
"property2": null
}Empty
{
"type": "string",
"title": "string",
"status": 0,
"detail": "string",
"instance": "string",
"property1": null,
"property2": null
}{
"type": "string",
"title": "string",
"status": 0,
"detail": "string",
"instance": "string",
"property1": null,
"property2": null
}{
"type": "string",
"title": "string",
"status": 0,
"detail": "string",
"instance": "string",
"property1": null,
"property2": null
}