returns ClassificationStats
How one month's bank lines were classified, per suggestion source.
Taken as suggested, overridden, split, or chosen with no suggestion to
take, and the share that needed a person's choice. Counted from the
lines committed in the month; lines posted before outcomes were recorded
are unstamped and outside the share.
| Name | Type | Description |
|---|---|---|
| period | String! | The month, YYYY-MM, over the lines' own dates. |
| entityId | String | The entity whose lines to count. Omit for the group parent. |
How a month's bank lines were classified, counted from the lines.
| Field | Type | Description |
|---|---|---|
| period | String! | The month, YYYY-MM. |
| entityId | String | The entity counted. |
| lines | Int! | Committed bank lines in the month that recorded an outcome. |
| accepted | Int! | Lines posted to the account suggested. |
| overridden | Int! | Lines posted to another account than the one suggested. |
| unsuggested | Int! | Lines that had no suggestion, so a person chose. |
| split | Int! | Lines split across accounts. |
| unstamped | Int! | Committed lines from before outcomes were recorded; outside the share. |
| humanChoiceShare | Float | The share of lines that needed a person's choice: everything but accepted, over lines. Null when no line recorded an outcome. |
| openLines | Int! | Lines in the month still captured or classified, not posted. |
| bySource | [ClassificationSourceStats!]! | The same counts per suggestion source, largest first. |
{ classificationStats(period: "...") { period entityId lines accepted } }curl -X POST "https://api.robosystems.ai/extensions/$GRAPH_ID/graphql" \
-H "X-API-Key: $ROBOSYSTEMS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"query": "{ classificationStats(period: \"...\") { period entityId lines accepted } }"}'