FruxonDocs
AgentsExecution Records

Gets how much work the agent's hand-offs were for the team, bucketed over time.

A hand-off is counted once it closed and the team's exchange with the customer is on record; until then it is `pending`. Each is split three ways: `withoutAsking` — the team answered and finished without needing anything from the customer; `asked` — the customer wrote between the team's first and last message, so the team waited on an answer; `noReply` — nobody answered in the chat. Each hand-off is counted in the bucket it opened in; buckets with none are omitted. Counting stops where the workspace's run history does, as the conversations series' does, so a window reaching further back is counted from `countedFromMs`. `measured` is false for an agent none of whose hand-offs has ever been measured — one whose escalations go where the team's replies are never seen.

GET
/v1/tenants/{tenant}/agents/{agent}/supportEffortTimeseries
AuthorizationBearer <token>

JWT Authorization header using the Bearer scheme. Enter 'Bearer' [space] and then your token.

In: header

Path Parameters

agent*string

Agent identifier.

tenant*string

The tenant identifier

Query Parameters

interval?string

Bucket granularity (hour, day, week). Defaults to day.

Default"DAY"
Value in"UNSPECIFIED" | "HOUR" | "DAY" | "WEEK"
from?integer

Window start as Unix milliseconds (inclusive). Defaults to 30 days before to.

Formatint64
to?integer

Window end as Unix milliseconds (exclusive). Defaults to now.

Formatint64

Response Body

curl -X GET "https://api.fruxon.com/v1/tenants/string/agents/string/supportEffortTimeseries"
{
  "agentId": "string",
  "interval": "HOUR",
  "window": {
    "fromMs": 0,
    "toMs": 0
  },
  "countedFromMs": 0,
  "measured": false,
  "pending": 0,
  "summary": {
    "handoffs": 0,
    "withoutAsking": 0,
    "asked": 0,
    "noReply": 0,
    "supportMessages": 0,
    "medianSupportMessages": 0
  },
  "points": [
    {
      "bucketStartMs": 0,
      "handoffs": 0,
      "withoutAsking": 0,
      "asked": 0,
      "noReply": 0,
      "supportMessages": 0
    }
  ]
}
{
  "type": "string",
  "title": "string",
  "status": 0,
  "detail": "string",
  "instance": "string",
  "property1": null,
  "property2": null
}
Empty
Empty
{
  "type": "string",
  "title": "string",
  "status": 0,
  "detail": "string",
  "instance": "string",
  "property1": null,
  "property2": null
}