FruxonDocs
ApiAgent reviews

Gets the agent's review settings and what the reviewer has spent on it today.

An agent that has never been configured comes back with reviewing off and the default budget and sample. `spentTodayUsd` is what reviewing this agent has cost since UTC midnight, the figure the daily budget is checked against; it is kept off the agent's own budget. Agent admins only.

GET
/v1/tenants/{tenant}/agents/{agent}/reviewSettings
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

Response Body

curl -X GET "https://api.fruxon.com/v1/tenants/string/agents/string/reviewSettings"
{
  "enabled": false,
  "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"
  },
  "dailyBudgetUsd": 0,
  "cleanSamplePercent": 0,
  "enabledAt": 0,
  "enabledBy": "string",
  "spentTodayUsd": 0
}
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
}