FruxonDocs
ApiAgent reply style

Sets the model a reply-style build runs on, and whether the team's replies count as the owner's style.

The model is resolved now, the way a build will, so one the workspace cannot call is refused here. The held-out check runs on the agent's own model regardless. Changing whether the team's replies count deletes what earlier builds extracted — each conversation was read under the other setting — so the next build reads them again. Refused while a build runs, or while conversations a cancelled build started are still being read. Agent admins only.

PUT
/v1/tenants/{tenant}/agents/{agent}/replyStyle/settings
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 settings, replaced whole.

provider?

The model the build's extractor and composer run on, from the workspace's LLM configs. The check runs on the agent's own model regardless.

learnFromTeam?boolean

Whether replies by the owner's team count as the owner's style. Changing it forgets what earlier builds read, so the next build reads those conversations again.

[key: string]?never

Response Body

curl -X PUT "https://api.fruxon.com/v1/tenants/string/agents/string/replyStyle/settings" \  -H "Content-Type: application/json" \  -d '{}'
{
  "agentId": "string",
  "active": {
    "number": 0,
    "status": "DRAFT",
    "content": {
      "summary": "string",
      "rules": [],
      "examples": []
    },
    "renderedText": "string",
    "tokenEstimate": 0,
    "createdBy": "string",
    "createdAt": 0,
    "modifiedAt": 0,
    "activatedAt": 0,
    "activatedBy": "string",
    "retiredAt": 0,
    "expiresAt": 0,
    "buildId": "00000000-0000-0000-0000-000000000000",
    "check": {
      "running": false,
      "style": {
        "runId": "00000000-0000-0000-0000-000000000000",
        "cases": 0,
        "draftWins": 0,
        "withoutWins": 0,
        "ties": 0,
        "score": null
      },
      "substance": {
        "runId": "00000000-0000-0000-0000-000000000000",
        "cases": 0,
        "draftWins": 0,
        "withoutWins": 0,
        "ties": 0,
        "score": null
      }
    }
  },
  "draft": {
    "number": 0,
    "status": "DRAFT",
    "content": {
      "summary": "string",
      "rules": [],
      "examples": []
    },
    "renderedText": "string",
    "tokenEstimate": 0,
    "createdBy": "string",
    "createdAt": 0,
    "modifiedAt": 0,
    "activatedAt": 0,
    "activatedBy": "string",
    "retiredAt": 0,
    "expiresAt": 0,
    "buildId": "00000000-0000-0000-0000-000000000000",
    "check": {
      "running": false,
      "style": {
        "runId": "00000000-0000-0000-0000-000000000000",
        "cases": 0,
        "draftWins": 0,
        "withoutWins": 0,
        "ties": 0,
        "score": null
      },
      "substance": {
        "runId": "00000000-0000-0000-0000-000000000000",
        "cases": 0,
        "draftWins": 0,
        "withoutWins": 0,
        "ties": 0,
        "score": null
      }
    }
  },
  "retiredCount": 0,
  "tokenLimit": 0,
  "provider": {
    "providerId": "string",
    "model": "string",
    "parameters": {},
    "fallbacks": [
      {
        "providerId": "string",
        "model": "string",
        "tenantConfigId": null
      }
    ],
    "builtInTools": [
      {
        "toolKey": null,
        "integrationConfigId": null,
        "integrationConfig": null,
        "humanApproval": null,
        "repeatGuard": null,
        "durableEffect": null,
        "pinnedParameters": null
      }
    ],
    "tenantConfigId": "00000000-0000-0000-0000-000000000000"
  },
  "learnFromTeam": false,
  "sources": 0,
  "latestBuild": {
    "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": [],
      "held": [],
      "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": [],
      "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
}
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
}