Starts a reply-style build, which learns from what is new in the attached imports, writes a draft and checks it.
The build reads the newest conversations no build has read yet, up to maxNewConversations (300 by default), and leaves the rest for a later build. Its draft is written from everything read so far, so maxNewConversations 0 reads nothing new and writes a draft from what earlier builds read. The first build sets up the agents and automation it runs on. With more than 20 conversations to read, it reads a sample of 10 first and waits for its estimate to be confirmed. Nothing reaches customers: the result is a draft to review and activate. Refused while another build runs, while a draft waits for review, with no model set, or with nothing attached. Agent admins only.
Authorization
Bearer JWT Authorization header using the Bearer scheme. Enter 'Bearer' [space] and then your token.
In: header
Path Parameters
The agent ID.
The tenant identifier
The build's options; send an empty object for the defaults.
The most conversations no build has read yet that this one extracts, newest first; the rest wait for a later build. Zero extracts none and composes a draft from what earlier builds extracted. Defaults to Fruxon.Model.AgentReplyStyles.AgentReplyStyleBuildService.DefaultMaxNewConversations.
int32Response Body
curl -X POST "https://api.fruxon.com/v1/tenants/string/agents/string/replyStyle/builds" \ -H "Content-Type: application/json" \ -d '{}'{
"id": "00000000-0000-0000-0000-000000000000",
"number": 0,
"status": "RUNNING",
"phase": "ESTIMATING",
"newConversations": 0,
"remainingConversations": 0,
"progress": {
"members": 0,
"live": 0,
"done": 0,
"ignored": 0,
"dead": 0,
"alreadyHeld": 0,
"cells": [
{
"stageId": "string",
"status": "UNSPECIFIED",
"count": 0
}
],
"held": [
{
"stageId": "string",
"until": 0,
"reason": "string"
}
],
"cost": 0,
"credits": 0,
"runs": 0
},
"estimate": {
"computedAt": 0,
"sampleSize": 0,
"remainingCount": 0,
"countIsFloor": false,
"perItemP50": 0,
"perItemP90": 0,
"perItemMax": 0,
"creditsPerItemP90": 0,
"totalP50": 0,
"totalP90": 0,
"creditsP90": 0,
"sampleByStatus": {},
"budgetImpact": [
{
"agentId": "string",
"managed": false,
"projectedP90": 0,
"windows": null
}
],
"hash": "string",
"insufficient": false
},
"draftVersionNumber": 0,
"detail": "string",
"startedBy": "string",
"createdAt": 0,
"finishedAt": 0
}{
"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
}{
"type": "string",
"title": "string",
"status": 0,
"detail": "string",
"instance": "string",
"property1": null,
"property2": null
}