BRAINIAC Agent Network Float is an MCP server published by software.brainiac, hosted at www.brainiac.software. When last checked on 2026-11-23 it was working: it answers and lists its tools. It declares 17 tools, including agent-networks_float-loss-attribution, agent-networks_cash-shortage-analysis, agent-networks_terminal-profitability, agent-networks_commission-leakage, agent-networks_float-rebalancing.
Paid Agent Network Float API via x402. Unpaid tool calls return 402.
1,089 connections through 4 shared values. Tap any node.
Squares are this server's values; dots are other servers sharing them. A shared address or publisher is a lead, not proof of a common operator.
Inferred from the host name and headers: what a server runs on, not who runs it.
Reconcile caller-supplied opening and closing cash with every cash-in, cash-out, commission, fee, reversal, and adjustment. Docs: https://www.brainiac.software/api/agent-networks/float-loss-attribution Keywords: agents, transactions, expected closing balances, expected_closing_balances, unexplained discrepancies, unexplained_discrepancies, discrepancy breakdown, discrepancy_breakdown, Attribute agent float loss, float loss attribution.
| Parameter | Type | Description |
|---|---|---|
| agents * | array | agents, array. Required. |
| transactions * | array | transactions, array. Required. |
{
"name": "agent-networks_float-loss-attribution",
"title": "Attribute agent float loss",
"description": "Reconcile caller-supplied opening and closing cash with every cash-in, cash-out, commission, fee, reversal, and adjustment. Docs: https://www.brainiac.software/api/agent-networks/float-loss-attribution Keywords: agents, transactions, expected closing balances, expected_closing_balances, unexplained discrepancies, unexplained_discrepancies, discrepancy breakdown, discrepancy_breakdown, Attribute agent float loss, float loss attribution.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"agents",
"transactions"
],
"properties": {
"agents": {
"type": "array",
"items": {
"type": "object",
"required": [
"id",
"opening_balance",
"closing_balance"
],
"properties": {
"id": {
"type": "string",
"maxLength": 120,
"minLength": 1,
"description": "id, string, length 1 to 120. Required."
},
"closing_balance": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": -9007199254740991,
"description": "opening balance, integer, from -9007199254740991 to 9007199254740991. Required."
},
"opening_balance": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": -9007199254740991,
"description": "opening balance, integer, from -9007199254740991 to 9007199254740991. Required."
},
"expected_balance": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": -9007199254740991,
"description": "expected balance, integer, from -9007199254740991 to 9007199254740991. Optional."
}
},
"description": "item, object. Required."
},
"description": "agents, array. Required."
},
"transactions": {
"type": "array",
"items": {
"type": "object",
"required": [
"id",
"agent_id",
"category",
"amount"
],
"properties": {
"id": {
"type": "string",
"maxLength": 120,
"minLength": 1,
"description": "id, string, length 1 to 120. Required."
},
"amount": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": -9007199254740991,
"description": "opening balance, integer, from -9007199254740991 to 9007199254740991. Required."
},
"agent_id": {
"type": "string",
"maxLength": 120,
"minLength": 1,
"description": "agent id, string, length 1 to 120. Required."
},
"category": {
"enum": [
"cash_in",
"cash_out",
"commission",
"fee",
"reversal",
"adjustment"
],
"type": "string",
"description": "category, string, one of cash_in, cash_out, commission, fee, reversal, adjustment. Required."
},
"reverses": {
"type": "string",
"maxLength": 120,
"minLength": 1,
"description": "reverses, string, length 1 to 120. Optional."
}
},
"description": "item, object. Required."
},
"description": "transactions, array. Required."
}
}
},
"outputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"transactions": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string",
"description": "id. String."
},
"amount": {
"type": "number",
"description": "amount. Number."
},
"agent_id": {
"type": "string",
"description": "agent_id. String."
},
"category": {
"type": "string",
"description": "category. String."
},
"signed_amount": {
"type": "number",
"description": "signed_amount. Number."
}
},
"description": "item. Object.",
"additionalProperties": {}
},
"description": "transactions. Array."
},
"discrepancy_breakdown": {
"type": "array",
"items": {
"type": "object",
"properties": {
"agent_id": {
"type": "string",
"description": "agent_id. String."
},
"category": {
"type": "string",
"description": "category. String."
},
"signed_amount": {
"type": "number",
"description": "signed_amount. Number."
},
"transaction_ids": {
"type": "array",
"items": {
"type": "string",
"description": "item. String."
},
"description": "transaction_ids. Array."
}
},
"description": "item. Object.",
"additionalProperties": {}
},
"description": "discrepancy_breakdown. Array."
},
"expected_closing_balances": {
"type": "array",
"items": {
"type": "object",
"properties": {
"agent_id": {
"type": "string",
"description": "agent_id. String."
},
"opening_balance": {
"type": "number",
"description": "opening_balance. Number."
},
"expected_closing_balance": {
"type": "number",
"description": "expected_closing_balance. Number."
}
},
"description": "item. Object.",
"additionalProperties": {}
},
"description": "expected_closing_balances. Array."
},
"unexplained_discrepancies": {
"type": "array",
"items": {
"type": "object",
"properties": {
"agent_id": {
"type": "string",
"description": "agent_id. String."
},
"closing_balance": {
"type": "number",
"description": "closing_balance. Number."
},
"opening_balance": {
"type": "number",
"description": "opening_balance. Number."
},
"supplied_variance": {
"type": "number",
"description": "supplied_variance. Number."
},
"unexplained_amount": {
"type": "number",
"description": "unexplained_amount. Number."
},
"expected_closing_balance": {
"type": "number",
"description": "expected_closing_balance. Number."
},
"supplied_expected_balance": {
"type": "number",
"description": "supplied_expected_balance. Number."
}
},
"description": "item. Object.",
"additionalProperties": {}
},
"description": "unexplained_discrepancies. Array."
}
},
"additionalProperties": {}
},
"annotations": {
"title": "Attribute agent float loss",
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}Project caller-supplied outlet cash over the requested days. Docs: https://www.brainiac.software/api/agent-networks/cash-shortage-analysis Keywords: start date, period days, outlets, transactions, demand, schedules, replenishment, projected balances, projected_balances, shortage dates, shortage_dates, affected outlets, affected_outlets, minimum replenishment, minimum_replenishment.
| Parameter | Type | Description |
|---|---|---|
| demand | array | demand, array. Optional. |
| outlets * | array | outlets, array. Required. |
| schedules | array | schedules, array. Optional. |
| start_date * | string | start date, string. Required. |
| period_days * | integer | period days, integer, from 1 to 90. Required. |
| transactions | array | transactions, array. Optional. |
| replenishment | array | replenishment, array. Optional. |
Score caller-supplied payment terminals from transaction counts, values, fee rules, revenue shares, and operating costs. Docs: https://www.brainiac.software/api/agent-networks/terminal-profitability Keywords: terminals, transaction types, transactions, revenue by type, revenue_by_type, total revenue, total_revenue, operating costs, operating_costs, net profit, net_profit, ranking, Score terminal profitability, terminal profitability.
| Parameter | Type | Description |
|---|---|---|
| terminals * | array | terminals, array. Required. |
| transactions * | array | transactions, array. Required. |
| transaction_types * | array | transaction types, array. Required. |
{
"name": "agent-networks_terminal-profitability",
"title": "Score terminal profitability",
"description": "Score caller-supplied payment terminals from transaction counts, values, fee rules, revenue shares, and operating costs. Docs: https://www.brainiac.software/api/agent-networks/terminal-profitability Keywords: terminals, transaction types, transactions, revenue by type, revenue_by_type, total revenue, total_revenue, operating costs, operating_costs, net profit, net_profit, ranking, Score terminal profitability, terminal profitability.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"terminals",
"transaction_types",
"transactions"
],
"properties": {
"terminals": {
"type": "array",
"items": {
"type": "object",
"required": [
"id",
"currency"
],
"properties": {
"id": {
"type": "string",
"maxLength": 120,
"minLength": 1,
"description": "id, string, length 1 to 120. Required."
},
"costs": {
"type": "object",
"properties": {
"rent": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0,
"description": "rent, integer, from 0 to 9007199254740991. Optional."
},
"other": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0,
"description": "other, integer, from 0 to 9007199254740991. Optional."
},
"equipment": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0,
"description": "equipment, integer, from 0 to 9007199254740991. Optional."
},
"maintenance": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0,
"description": "maintenance, integer, from 0 to 9007199254740991. Optional."
},
"connectivity": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0,
"description": "connectivity, integer, from 0 to 9007199254740991. Optional."
}
},
"description": "costs, object. Optional."
},
"currency": {
"type": "string",
"pattern": "^[A-Z]{3}$",
"description": "currency, string. Required."
}
},
"description": "item, object. Required."
},
"description": "terminals, array. Required."
},
"transactions": {
"type": "array",
"items": {
"type": "object",
"required": [
"terminal_id",
"type_id",
"count",
"value"
],
"properties": {
"count": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0,
"description": "count, integer, from 0 to 9007199254740991. Required."
},
"value": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0,
"description": "count, integer, from 0 to 9007199254740991. Required."
},
"type_id": {
"type": "string",
"maxLength": 120,
"minLength": 1,
"description": "type id, string, length 1 to 120. Required."
},
"terminal_id": {
"type": "string",
"maxLength": 120,
"minLength": 1,
"description": "terminal id, string, length 1 to 120. Required."
}
},
"description": "item, object. Required."
},
"description": "transactions, array. Required."
},
"transaction_types": {
"type": "array",
"items": {
"type": "object",
"required": [
"id",
"fee"
],
"properties": {
"id": {
"type": "string",
"maxLength": 120,
"minLength": 1,
"description": "id, string, length 1 to 120. Required."
},
"fee": {
"type": "object",
"required": [
"kind"
],
"properties": {
"kind": {
"enum": [
"fixed",
"percent",
"tiered"
],
"type": "string",
"description": "kind, string, one of fixed, percent, tiered. Required."
},
"tiers": {
"type": "array",
"items": {
"type": "object",
"properties": {
"up_to": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0,
"description": "up to, integer, from 0 to 9007199254740991. Optional."
},
"amount": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0,
"description": "amount, integer, from 0 to 9007199254740991. Optional."
},
"rate_bps": {
"type": "integer",
"maximum": 1000000,
"minimum": 0,
"description": "rate bps, integer, from 0 to 1000000. Optional."
}
},
"description": "item, object. Required."
},
"description": "tiers, array. Optional."
},
"amount": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0,
"description": "amount, integer, from 0 to 9007199254740991. Optional."
},
"rate_bps": {
"type": "integer",
"maximum": 1000000,
"minimum": 0,
"description": "rate bps, integer, from 0 to 1000000. Optional."
}
},
"description": "fee, object. Required."
},
"revenue_share_bps": {
"type": "integer",
"maximum": 1000000,
"minimum": 0,
"description": "revenue share bps, integer, from 0 to 1000000. Optional."
}
},
"description": "item, object. Required."
},
"description": "transaction types, array. Required."
}
}
},
"outputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"ranking": {
"type": "array",
"items": {
"type": "object",
"properties": {
"rank": {
"type": "number",
"description": "rank. Number."
},
"currency": {
"type": "string",
"description": "currency. String."
},
"net_profit": {
"type": "number",
"description": "net_profit. Number."
},
"terminal_id": {
"type": "string",
"description": "terminal_id. String."
}
},
"description": "item. Object.",
"additionalProperties": {}
},
"description": "ranking. Array."
},
"net_profit": {
"type": "array",
"items": {
"type": "object",
"properties": {
"amount": {
"type": "number",
"description": "amount. Number."
},
"currency": {
"type": "string",
"description": "currency. String."
},
"terminal_id": {
"type": "string",
"description": "terminal_id. String."
},
"break_even_count": {
"type": "number",
"description": "break_even_count. Number."
},
"profit_margin_bps": {
"type": "number",
"description": "profit_margin_bps. Number."
},
"transaction_count": {
"type": "number",
"description": "transaction_count. Number."
},
"revenue_per_transaction": {
"type": "number",
"description": "revenue_per_transaction. Number."
}
},
"description": "item. Object.",
"additionalProperties": {}
},
"description": "net_profit. Array."
},
"total_revenue": {
"type": "array",
"items": {
"type": "object",
"properties": {
"amount": {
"type": "number",
"description": "amount. Number."
},
"currency": {
"type": "string",
"description": "currency. String."
},
"terminal_id": {
"type": "string",
"description": "terminal_id. String."
}
},
"description": "item. Object.",
"additionalProperties": {}
},
"description": "total_revenue. Array."
},
"operating_costs": {
"type": "array",
"items": {
"type": "object",
"properties": {
"rent": {
"type": "number",
"description": "rent. Number."
},
"other": {
"type": "number",
"description": "other. Number."
},
"total": {
"type": "number",
"description": "total. Number."
},
"currency": {
"type": "string",
"description": "currency. String."
},
"equipment": {
"type": "number",
"description": "equipment. Number."
},
"maintenance": {
"type": "number",
"description": "maintenance. Number."
},
"terminal_id": {
"type": "string",
"description": "terminal_id. String."
},
"connectivity": {
"type": "number",
"description": "connectivity. Number."
}
},
"description": "item. Object.",
"additionalProperties": {}
},
"description": "operating_costs. Array."
},
"revenue_by_type": {
"type": "array",
"items": {
"type": "object",
"properties": {
"count": {
"type": "number",
"description": "count. Number."
},
"value": {
"type": "number",
"description": "value. Number."
},
"revenue": {
"type": "number",
"description": "revenue. Number."
},
"type_id": {
"type": "string",
"description": "type_id. String."
},
"fee_steps": {
"type": "array",
"items": {
"type": "object",
"properties": {
"fee": {
"type": "number",
"description": "fee. Number."
},
"step": {
"type": "string",
"description": "step. String."
},
"count": {
"type": "number",
"description": "count. Number."
},
"amount": {
"type": "number",
"description": "amount. Number."
}
},
"description": "item. Object.",
"additionalProperties": {}
},
"description": "fee_steps. Array."
},
"terminal_id": {
"type": "string",
"description": "terminal_id. String."
},
"fee_before_share": {
"type": "number",
"description": "fee_before_share. Number."
},
"revenue_share_bps": {
"type": "number",
"description": "revenue_share_bps. Number."
}
},
"description": "item. Object.",
"additionalProperties": {}
},
"description": "revenue_by_type. Array."
}
},
"additionalProperties": {}
},
"annotations": {
"title": "Score terminal profitability",
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}Compare caller-supplied transactions with dated agent agreements and commission payments. Docs: https://www.brainiac.software/api/agent-networks/commission-leakage Keywords: agents, rules, agreements, transactions, payments, expected commissions, expected_commissions, payments applied, payments_applied, discrepancies, responsible transactions, responsible_transactions, by agent, by_agent, total financial exposure.
| Parameter | Type | Description |
|---|---|---|
| rules * | array | rules, array. Required. |
| agents * | array | agents, array. Required. |
| payments * | array | payments, array. Required. |
| agreements * | array | agreements, array. Required. |
| transactions * | array | transactions, array. Required. |
{
"name": "agent-networks_commission-leakage",
"title": "Find commission leakage",
"description": "Compare caller-supplied transactions with dated agent agreements and commission payments. Docs: https://www.brainiac.software/api/agent-networks/commission-leakage Keywords: agents, rules, agreements, transactions, payments, expected commissions, expected_commissions, payments applied, payments_applied, discrepancies, responsible transactions, responsible_transactions, by agent, by_agent, total financial exposure.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"agents",
"rules",
"agreements",
"transactions",
"payments"
],
"properties": {
"rules": {
"type": "array",
"items": {
"type": "object",
"required": [
"id",
"kind"
],
"properties": {
"id": {
"type": "string",
"maxLength": 120,
"minLength": 1,
"description": "id, string, length 1 to 120. Required."
},
"cap": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0,
"description": "cap, integer, from 0 to 9007199254740991. Optional."
},
"kind": {
"enum": [
"fixed",
"percent",
"tiered",
"capped"
],
"type": "string",
"description": "kind, string, one of fixed, percent, tiered, capped. Required."
},
"tiers": {
"type": "array",
"items": {
"type": "object",
"properties": {
"up_to": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0,
"description": "up to, integer, from 0 to 9007199254740991. Optional."
},
"amount": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0,
"description": "amount, integer, from 0 to 9007199254740991. Optional."
},
"rate_bps": {
"type": "integer",
"maximum": 1000000,
"minimum": 0,
"description": "rate bps, integer, from 0 to 1000000. Optional."
}
},
"description": "item, object. Required."
},
"description": "tiers, array. Optional."
},
"amount": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0,
"description": "amount, integer, from 0 to 9007199254740991. Optional."
},
"rate_bps": {
"type": "integer",
"maximum": 1000000,
"minimum": 0,
"description": "rate bps, integer, from 0 to 1000000. Optional."
},
"transaction_types": {
"type": "array",
"items": {
"type": "string",
"maxLength": 120,
"minLength": 1,
"description": "item, string, length 1 to 120. Required."
},
"description": "transaction types, array. Optional."
}
},
"description": "item, object. Required."
},
"description": "rules, array. Required."
},
"agents": {
"type": "array",
"items": {
"type": "object",
"required": [
"id",
"currency"
],
"properties": {
"id": {
"type": "string",
"maxLength": 120,
"minLength": 1,
"description": "id, string, length 1 to 120. Required."
},
"currency": {
"type": "string",
"pattern": "^[A-Z]{3}$",
"description": "currency, string. Required."
}
},
"description": "item, object. Required."
},
"description": "agents, array. Required."
},
"payments": {
"type": "array",
"items": {
"type": "object",
"required": [
"id",
"agent_id",
"amount",
"date"
],
"properties": {
"id": {
"type": "string",
"maxLength": 120,
"minLength": 1,
"description": "id, string, length 1 to 120. Required."
},
"date": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$",
"description": "effective from, string. Required."
},
"amount": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0,
"description": "amount, integer, from 0 to 9007199254740991. Required."
},
"agent_id": {
"type": "string",
"maxLength": 120,
"minLength": 1,
"description": "agent id, string, length 1 to 120. Required."
},
"transaction_id": {
"type": "string",
"maxLength": 120,
"minLength": 1,
"description": "transaction id, string, length 1 to 120. Optional."
}
},
"description": "item, object. Required."
},
"description": "payments, array. Required."
},
"agreements": {
"type": "array",
"items": {
"type": "object",
"required": [
"id",
"agent_id",
"rule_id",
"effective_from"
],
"properties": {
"id": {
"type": "string",
"maxLength": 120,
"minLength": 1,
"description": "id, string, length 1 to 120. Required."
},
"rule_id": {
"type": "string",
"maxLength": 120,
"minLength": 1,
"description": "rule id, string, length 1 to 120. Required."
},
"agent_id": {
"type": "string",
"maxLength": 120,
"minLength": 1,
"description": "agent id, string, length 1 to 120. Required."
},
"effective_to": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$",
"description": "effective to, string. Optional."
},
"effective_from": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$",
"description": "effective from, string. Required."
}
},
"description": "item, object. Required."
},
"description": "agreements, array. Required."
},
"transactions": {
"type": "array",
"items": {
"type": "object",
"required": [
"id",
"agent_id",
"type_id",
"amount",
"date"
],
"properties": {
"id": {
"type": "string",
"maxLength": 120,
"minLength": 1,
"description": "id, string, length 1 to 120. Required."
},
"date": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$",
"description": "effective from, string. Required."
},
"amount": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0,
"description": "amount, integer, from 0 to 9007199254740991. Required."
},
"type_id": {
"type": "string",
"maxLength": 120,
"minLength": 1,
"description": "type id, string, length 1 to 120. Required."
},
"agent_id": {
"type": "string",
"maxLength": 120,
"minLength": 1,
"description": "agent id, string, length 1 to 120. Required."
}
},
"description": "item, object. Required."
},
"description": "transactions, array. Required."
}
}
},
"outputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"by_agent": {
"type": "array",
"items": {
"type": "object",
"properties": {
"paid": {
"type": "number",
"description": "paid. Number."
},
"unpaid": {
"type": "number",
"description": "unpaid. Number."
},
"agent_id": {
"type": "string",
"description": "agent_id. String."
},
"currency": {
"type": "string",
"description": "currency. String."
},
"expected": {
"type": "number",
"description": "expected. Number."
},
"exposure": {
"type": "number",
"description": "exposure. Number."
},
"overpaid": {
"type": "number",
"description": "overpaid. Number."
}
},
"description": "item. Object.",
"additionalProperties": {}
},
"description": "by_agent. Array."
},
"discrepancies": {
"type": "array",
"items": {
"type": "object",
"properties": {
"date": {
"type": "string",
"description": "date. String."
},
"kind": {
"type": "string",
"description": "kind. String."
},
"paid": {
"type": "number",
"description": "paid. Number."
},
"unpaid": {
"type": "number",
"description": "unpaid. Number."
},
"rule_id": {
"type": "string",
"description": "rule_id. String."
},
"type_id": {
"type": "string",
"description": "type_id. String."
},
"agent_id": {
"type": "string",
"description": "agent_id. String."
},
"expected": {
"type": "number",
"description": "expected. Number."
},
"overpaid": {
"type": "number",
"description": "overpaid. Number."
},
"agreement_id": {
"type": "string",
"description": "agreement_id. String."
},
"transaction_id": {
"type": "string",
"description": "transaction_id. String."
}
},
"description": "item. Object.",
"additionalProperties": {}
},
"description": "discrepancies. Array."
},
"payments_applied": {
"type": "array",
"items": {
"type": "object",
"properties": {
"amount": {
"type": "number",
"description": "amount. Number."
},
"agent_id": {
"type": "string",
"description": "agent_id. String."
},
"allocation": {
"type": "string",
"description": "allocation. String."
},
"payment_id": {
"type": "string",
"description": "payment_id. String."
},
"transaction_id": {
"type": "string",
"description": "transaction_id. String."
}
},
"description": "item. Object.",
"additionalProperties": {}
},
"description": "payments_applied. Array."
},
"expected_commissions": {
"type": "array",
"items": {
"type": "object",
"properties": {
"date": {
"type": "string",
"description": "date. String."
},
"steps": {
"type": "array",
"items": {
"type": "object",
"properties": {
"step": {
"type": "string",
"description": "step. String."
},
"index": {
"type": "number",
"description": "index. Number."
},
"value": {
"type": "number",
"description": "value. Number."
},
"amount": {
"type": "number",
"description": "amount. Number."
},
"position": {
"type": "number",
"description": "position. Number."
},
"rate_bps": {
"type": "number",
"description": "rate_bps. Number."
},
"commission": {
"type": "number",
"description": "commission. Number."
}
},
"description": "item. Object.",
"additionalProperties": {}
},
"description": "steps. Array."
},
"status": {
"type": "string",
"description": "status. String."
},
"rule_id": {
"type": "string",
"description": "rule_id. String."
},
"type_id": {
"type": "string",
"description": "type_id. String."
},
"agent_id": {
"type": "string",
"description": "agent_id. String."
},
"expected": {
"type": "number",
"description": "expected. Number."
},
"position": {
"type": "number",
"description": "position. Number."
},
"agreement_id": {
"type": "string",
"description": "agreement_id. String."
},
"transaction_id": {
"type": "string",
"description": "transaction_id. String."
}
},
"description": "item. Object.",
"additionalProperties": {}
},
"description": "expected_commissions. Array."
},
"responsible_transactions": {
"type": "array",
"items": {
"type": "object",
"properties": {
"date": {
"type": "string",
"description": "date. String."
},
"kind": {
"type": "string",
"description": "kind. String."
},
"paid": {
"type": "number",
"description": "paid. Number."
},
"unpaid": {
"type": "number",
"description": "unpaid. Number."
},
"rule_id": {
"type": "string",
"description": "rule_id. String."
},
"type_id": {
"type": "string",
"description": "type_id. String."
},
"agent_id": {
"type": "string",
"description": "agent_id. String."
},
"expected": {
"type": "number",
"description": "expected. Number."
},
"overpaid": {
"type": "number",
"description": "overpaid. Number."
},
"agreement_id": {
"type": "string",
"description": "agreement_id. String."
},
"transaction_id": {
"type": "string",
"description": "transaction_id. String."
}
},
"description": "item. Object.",
"additionalProperties": {}
},
"description": "responsible_transactions. Array."
},
"total_financial_exposure": {
"type": "array",
"items": {
"type": "object",
"properties": {
"unpaid": {
"type": "number",
"description": "unpaid. Number."
},
"currency": {
"type": "string",
"description": "currency. String."
},
"exposure": {
"type": "number",
"description": "exposure. Number."
},
"overpaid": {
"type": "number",
"description": "overpaid. Number."
}
},
"description": "item. Object.",
"additionalProperties": {}
},
"description": "total_financial_exposure. Array."
}
},
"additionalProperties": {}
},
"annotations": {
"title": "Find commission leakage",
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}Propose the cheapest cash transfers that lift every agent to its minimum float after expected demand. Docs: https://www.brainiac.software/api/agent-networks/float-rebalancing Keywords: agents, transfer costs, transfer limits, budget, proposed transfers, proposed_transfers, projected balances, projected_balances, remaining shortages, remaining_shortages, excess balances, excess_balances, total transfer cost, total_transfer_cost, feasibility.
| Parameter | Type | Description |
|---|---|---|
| agents * | array | agents, array. Required. |
| budget | integer | budget, integer, from 0 to 9007199254740991. Optional. |
| transfer_costs * | array | transfer costs, array. Required. |
| transfer_limits | array | transfer limits, array. Optional. |
{
"name": "agent-networks_float-rebalancing",
"title": "Rebalance agent float",
"description": "Propose the cheapest cash transfers that lift every agent to its minimum float after expected demand. Docs: https://www.brainiac.software/api/agent-networks/float-rebalancing Keywords: agents, transfer costs, transfer limits, budget, proposed transfers, proposed_transfers, projected balances, projected_balances, remaining shortages, remaining_shortages, excess balances, excess_balances, total transfer cost, total_transfer_cost, feasibility.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"agents",
"transfer_costs"
],
"properties": {
"agents": {
"type": "array",
"items": {
"type": "object",
"required": [
"id",
"currency",
"cash_balance",
"minimum_float"
],
"properties": {
"id": {
"type": "string",
"maxLength": 120,
"minLength": 1,
"description": "id, string, length 1 to 120. Required."
},
"currency": {
"type": "string",
"pattern": "^[A-Z]{3}$",
"description": "currency, string. Required."
},
"cash_balance": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0,
"description": "cash balance, integer, from 0 to 9007199254740991. Required."
},
"maximum_float": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0,
"description": "maximum float, integer, from 0 to 9007199254740991. Optional."
},
"minimum_float": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0,
"description": "cash balance, integer, from 0 to 9007199254740991. Required."
},
"expected_demand": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0,
"description": "expected demand, integer, from 0 to 9007199254740991. Optional."
}
},
"description": "item, object. Required."
},
"description": "agents, array. Required."
},
"budget": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0,
"description": "budget, integer, from 0 to 9007199254740991. Optional."
},
"transfer_costs": {
"type": "array",
"items": {
"type": "object",
"required": [
"from_agent_id",
"to_agent_id",
"cost_per_unit"
],
"properties": {
"to_agent_id": {
"type": "string",
"maxLength": 120,
"minLength": 1,
"description": "to agent id, string, length 1 to 120. Required."
},
"cost_per_unit": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0,
"description": "cash balance, integer, from 0 to 9007199254740991. Required."
},
"from_agent_id": {
"type": "string",
"maxLength": 120,
"minLength": 1,
"description": "from agent id, string, length 1 to 120. Required."
}
},
"description": "item, object. Required."
},
"description": "transfer costs, array. Required."
},
"transfer_limits": {
"type": "array",
"items": {
"type": "object",
"required": [
"from_agent_id",
"to_agent_id",
"max_amount"
],
"properties": {
"max_amount": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0,
"description": "cash balance, integer, from 0 to 9007199254740991. Required."
},
"to_agent_id": {
"type": "string",
"maxLength": 120,
"minLength": 1,
"description": "to agent id, string, length 1 to 120. Required."
},
"from_agent_id": {
"type": "string",
"maxLength": 120,
"minLength": 1,
"description": "from agent id, string, length 1 to 120. Required."
}
},
"description": "item, object. Required."
},
"description": "transfer limits, array. Optional."
}
}
},
"outputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"feasibility": {
"type": "array",
"items": {
"type": "object",
"properties": {
"detail": {
"type": "string",
"description": "detail. String."
},
"currency": {
"type": "string",
"description": "currency. String."
},
"feasible": {
"type": "boolean",
"description": "feasible. Boolean."
}
},
"description": "item. Object.",
"additionalProperties": {}
},
"description": "feasibility. Array."
},
"excess_balances": {
"type": "array",
"items": {
"type": "object",
"properties": {
"amount": {
"type": "number",
"description": "amount. Number."
},
"agent_id": {
"type": "string",
"description": "agent_id. String."
},
"currency": {
"type": "string",
"description": "currency. String."
},
"above_maximum": {
"type": "number",
"description": "above_maximum. Number."
}
},
"description": "item. Object.",
"additionalProperties": {}
},
"description": "excess_balances. Array."
},
"projected_balances": {
"type": "array",
"items": {
"type": "object",
"properties": {
"agent_id": {
"type": "string",
"description": "agent_id. String."
},
"currency": {
"type": "string",
"description": "currency. String."
},
"cash_balance": {
"type": "number",
"description": "cash_balance. Number."
},
"minimum_float": {
"type": "number",
"description": "minimum_float. Number."
},
"expected_demand": {
"type": "number",
"description": "expected_demand. Number."
},
"projected_after": {
"type": "number",
"description": "projected_after. Number."
},
"projected_before": {
"type": "number",
"description": "projected_before. Number."
}
},
"description": "item. Object.",
"additionalProperties": {}
},
"description": "projected_balances. Array."
},
"proposed_transfers": {
"type": "array",
"items": {
"type": "object",
"properties": {
"cost": {
"type": "number",
"description": "cost. Number."
},
"amount": {
"type": "number",
"description": "amount. Number."
},
"to_agent_id": {
"type": "string",
"description": "to_agent_id. String."
},
"cost_per_unit": {
"type": "number",
"description": "cost_per_unit. Number."
},
"from_agent_id": {
"type": "string",
"description": "from_agent_id. String."
}
},
"description": "item. Object.",
"additionalProperties": {}
},
"description": "proposed_transfers. Array."
},
"remaining_shortages": {
"type": "array",
"items": {
"type": "string",
"description": "Item. String."
},
"description": "remaining_shortages. Array."
},
"total_transfer_cost": {
"type": "number",
"description": "total_transfer_cost. Number."
}
},
"additionalProperties": {}
},
"annotations": {
"title": "Rebalance agent float",
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}Calculate the cost of holding cash and electronic float for the supplied period. Docs: https://www.brainiac.software/api/agent-networks/liquidity-cost-analysis Keywords: period days, agents, annualization days, cost of capital bps, funding costs, replenishments, collections, transfer fees, idle periods, period_days, annualization_days, lines, by agent, by_agent, by currency.
| Parameter | Type | Description |
|---|---|---|
| agents * | array | agents, array. Required. |
| collections | array | collections, array. Optional. |
| period_days * | integer | period days, integer, from 1 to 3660. Required. |
| idle_periods | array | idle periods, array. Optional. |
| funding_costs | array | funding costs, array. Optional. |
| transfer_fees | array | transfer fees, array. Optional. |
| replenishments | array | replenishments, array. Optional. |
| annualization_days | integer | annualization days, integer, from 1 to 3660. Optional. |
| cost_of_capital_bps |
Compare caller-supplied outlet productivity inside peer groups of category:currency. Docs: https://www.brainiac.software/api/agent-networks/outlet-performance-benchmark Keywords: outlets, rankings, peer groups, peer_groups, explanations, Benchmark outlet performance, outlet performance benchmark, Agent Network Float.
| Parameter | Type | Description |
|---|---|---|
| outlets * | array | outlets, array. Required. |
{
"name": "agent-networks_outlet-performance-benchmark",
"title": "Benchmark outlet performance",
"description": "Compare caller-supplied outlet productivity inside peer groups of category:currency. Docs: https://www.brainiac.software/api/agent-networks/outlet-performance-benchmark Keywords: outlets, rankings, peer groups, peer_groups, explanations, Benchmark outlet performance, outlet performance benchmark, Agent Network Float.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"outlets"
],
"properties": {
"outlets": {
"type": "array",
"items": {
"type": "object",
"required": [
"id",
"currency",
"transaction_count",
"transaction_value",
"commission",
"operating_cost"
],
"properties": {
"id": {
"type": "string",
"maxLength": 120,
"minLength": 1,
"description": "id, string, length 1 to 120. Required."
},
"category": {
"type": "string",
"maxLength": 120,
"minLength": 1,
"description": "category, string, length 1 to 120. Optional."
},
"currency": {
"type": "string",
"pattern": "^[A-Z]{3}$",
"description": "currency, string. Required."
},
"commission": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0,
"description": "transaction count, integer, from 0 to 9007199254740991. Required."
},
"active_days": {
"type": "integer",
"maximum": 3660,
"minimum": 1,
"description": "active days, integer, from 1 to 3660. Optional."
},
"cash_capacity": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0,
"description": "cash capacity, integer, from 0 to 9007199254740991. Optional."
},
"cash_available": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0,
"description": "cash available, integer, from 0 to 9007199254740991. Optional."
},
"operating_cost": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0,
"description": "transaction count, integer, from 0 to 9007199254740991. Required."
},
"operating_hours": {
"type": "integer",
"maximum": 100000,
"minimum": 1,
"description": "operating hours, integer, from 1 to 100000. Optional."
},
"transaction_count": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0,
"description": "transaction count, integer, from 0 to 9007199254740991. Required."
},
"transaction_value": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0,
"description": "transaction count, integer, from 0 to 9007199254740991. Required."
}
},
"description": "item, object. Required."
},
"description": "outlets, array. Required."
}
}
},
"outputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"outlets": {
"type": "array",
"items": {
"type": "object",
"properties": {
"category": {
"type": "string",
"description": "category. String."
},
"currency": {
"type": "string",
"description": "currency. String."
},
"formulas": {
"type": "object",
"properties": {
"utilization_bps": {
"type": "string",
"description": "utilization_bps. String."
},
"productivity_rank": {
"type": "string",
"description": "productivity_rank. String."
},
"productivity_score": {
"type": "string",
"description": "productivity_score. String."
},
"average_transaction_value": {
"type": "string",
"description": "average_transaction_value. String."
},
"commission_per_transaction": {
"type": "string",
"description": "commission_per_transaction. String."
},
"revenue_per_operating_hour": {
"type": "string",
"description": "revenue_per_operating_hour. String."
},
"transactions_per_active_day": {
"type": "string",
"description": "transactions_per_active_day. String."
},
"operating_cost_per_transaction": {
"type": "string",
"description": "operating_cost_per_transaction. String."
}
},
"description": "formulas. Object.",
"additionalProperties": {}
},
"outlet_id": {
"type": "string",
"description": "outlet_id. String."
},
"peer_size": {
"type": "number",
"description": "peer_size. Number."
},
"commission": {
"type": "number",
"description": "commission. Number."
},
"peer_group": {
"type": "string",
"description": "peer_group. String."
},
"active_days": {
"type": "number",
"description": "active_days. Number."
},
"metric_count": {
"type": "number",
"description": "metric_count. Number."
},
"metric_ranks": {
"type": "object",
"properties": {
"utilization_bps": {
"type": "number",
"description": "utilization_bps. Number."
},
"average_transaction_value": {
"type": "number",
"description": "average_transaction_value. Number."
},
"commission_per_transaction": {
"type": "number",
"description": "commission_per_transaction. Number."
},
"operating_cost_per_transaction": {
"type": "number",
"description": "operating_cost_per_transaction. Number."
},
"transactions_per_active_day_or_count": {
"type": "number",
"description": "transactions_per_active_day_or_count. Number."
},
"revenue_per_operating_hour_or_commission": {
"type": "number",
"description": "revenue_per_operating_hour_or_commission. Number."
}
},
"description": "metric_ranks. Object.",
"additionalProperties": {}
},
"cash_capacity": {
"type": "number",
"description": "cash_capacity. Number."
},
"peer_averages": {
"type": "object",
"properties": {
"commission": {
"type": "number",
"description": "commission. Number."
},
"utilization_bps": {
"type": "number",
"description": "utilization_bps. Number."
},
"transaction_count": {
"type": "number",
"description": "transaction_count. Number."
},
"average_transaction_value": {
"type": "number",
"description": "average_transaction_value. Number."
},
"commission_per_transaction": {
"type": "number",
"description": "commission_per_transaction. Number."
},
"revenue_per_operating_hour": {
"type": "number",
"description": "revenue_per_operating_hour. Number."
},
"transactions_per_active_day": {
"type": "number",
"description": "transactions_per_active_day. Number."
},
"operating_cost_per_transaction": {
"type": "number",
"description": "operating_cost_per_transaction. Number."
}
},
"description": "peer_averages. Object.",
"additionalProperties": {}
},
"cash_available": {
"type": "number",
"description": "cash_available. Number."
},
"operating_cost": {
"type": "number",
"description": "operating_cost. Number."
},
"operating_hours": {
"type": "number",
"description": "operating_hours. Number."
},
"utilization_bps": {
"type": "number",
"description": "utilization_bps. Number."
},
"productivity_rank": {
"type": "number",
"description": "productivity_rank. Number."
},
"transaction_count": {
"type": "number",
"description": "transaction_count. Number."
},
"transaction_value": {
"type": "number",
"description": "transaction_value. Number."
},
"productivity_score": {
"type": "number",
"description": "productivity_score. Number."
},
"average_transaction_value": {
"type": "number",
"description": "average_transaction_value. Number."
},
"commission_per_transaction": {
"type": "number",
"description": "commission_per_transaction. Number."
},
"revenue_per_operating_hour": {
"type": "number",
"description": "revenue_per_operating_hour. Number."
},
"transactions_per_active_day": {
"type": "number",
"description": "transactions_per_active_day. Number."
},
"operating_cost_per_transaction": {
"type": "number",
"description": "operating_cost_per_transaction. Number."
}
},
"description": "item. Object.",
"additionalProperties": {}
},
"description": "outlets. Array."
},
"rankings": {
"type": "array",
"items": {
"type": "object",
"properties": {
"category": {
"type": "string",
"description": "category. String."
},
"currency": {
"type": "string",
"description": "currency. String."
},
"outlet_id": {
"type": "string",
"description": "outlet_id. String."
},
"peer_group": {
"type": "string",
"description": "peer_group. String."
},
"productivity_rank": {
"type": "number",
"description": "productivity_rank. Number."
},
"productivity_score": {
"type": "number",
"description": "productivity_score. Number."
}
},
"description": "item. Object.",
"additionalProperties": {}
},
"description": "rankings. Array."
},
"peer_groups": {
"type": "array",
"items": {
"type": "object",
"properties": {
"size": {
"type": "number",
"description": "size. Number."
},
"outlet_ids": {
"type": "array",
"items": {
"type": "string",
"description": "item. String."
},
"description": "outlet_ids. Array."
},
"peer_group": {
"type": "string",
"description": "peer_group. String."
}
},
"description": "item. Object.",
"additionalProperties": {}
},
"description": "peer_groups. Array."
},
"explanations": {
"type": "array",
"items": {
"type": "string",
"description": "item. String."
},
"description": "explanations. Array."
}
},
"additionalProperties": {}
},
"annotations": {
"title": "Benchmark outlet performance",
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}Plan note and coin acquisitions so agents can fulfil caller-supplied cash-in and cash-out amounts. Docs: https://www.brainiac.software/api/agent-networks/cash-denomination-optimization Keywords: denominations, agents, transactions, replenishment, recommended denominations, recommended_denominations, fulfilment, change shortages, change_shortages, excess denominations, excess_denominations, explanations, Optimize cash denominations, cash denomination optimization.
| Parameter | Type | Description |
|---|---|---|
| agents * | array | agents, array. Required. |
| transactions * | array | transactions, array. Required. |
| denominations * | array | denominations, array. Required. |
| replenishment | array | replenishment, array. Optional. |
{
"name": "agent-networks_cash-denomination-optimization",
"title": "Optimize cash denominations",
"description": "Plan note and coin acquisitions so agents can fulfil caller-supplied cash-in and cash-out amounts. Docs: https://www.brainiac.software/api/agent-networks/cash-denomination-optimization Keywords: denominations, agents, transactions, replenishment, recommended denominations, recommended_denominations, fulfilment, change shortages, change_shortages, excess denominations, excess_denominations, explanations, Optimize cash denominations, cash denomination optimization.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"denominations",
"agents",
"transactions"
],
"properties": {
"agents": {
"type": "array",
"items": {
"type": "object",
"required": [
"id",
"currency",
"inventory"
],
"properties": {
"id": {
"type": "string",
"maxLength": 120,
"minLength": 1,
"description": "id, string, length 1 to 120. Required."
},
"currency": {
"type": "string",
"pattern": "^[A-Z]{3}$",
"description": "currency, string. Required."
},
"inventory": {
"type": "array",
"items": {
"type": "object",
"required": [
"value",
"quantity"
],
"properties": {
"value": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 1,
"description": "value, integer, from 1 to 9007199254740991. Required."
},
"quantity": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0,
"description": "quantity, integer, from 0 to 9007199254740991. Required."
}
},
"description": "item, object. Required."
},
"description": "inventory, array. Required."
},
"minimum_reserves": {
"type": "array",
"items": {
"type": "object",
"required": [
"value",
"quantity"
],
"properties": {
"value": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 1,
"description": "value, integer, from 1 to 9007199254740991. Required."
},
"quantity": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0,
"description": "quantity, integer, from 0 to 9007199254740991. Required."
}
},
"description": "item, object. Required."
},
"description": "minimum reserves, array. Optional."
}
},
"description": "item, object. Required."
},
"description": "agents, array. Required."
},
"transactions": {
"type": "array",
"items": {
"type": "object",
"required": [
"id",
"agent_id",
"direction",
"amount"
],
"properties": {
"id": {
"type": "string",
"maxLength": 120,
"minLength": 1,
"description": "id, string, length 1 to 120. Required."
},
"amount": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0,
"description": "quantity, integer, from 0 to 9007199254740991. Required."
},
"tender": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0,
"description": "tender, integer, from 0 to 9007199254740991. Optional."
},
"agent_id": {
"type": "string",
"maxLength": 120,
"minLength": 1,
"description": "agent id, string, length 1 to 120. Required."
},
"direction": {
"enum": [
"in",
"out"
],
"type": "string",
"description": "direction, string, one of in, out. Required."
}
},
"description": "item, object. Required."
},
"description": "transactions, array. Required."
},
"denominations": {
"type": "array",
"items": {
"type": "object",
"required": [
"currency",
"value"
],
"properties": {
"value": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 1,
"description": "value, integer, from 1 to 9007199254740991. Required."
},
"currency": {
"type": "string",
"pattern": "^[A-Z]{3}$",
"description": "currency, string. Required."
}
},
"description": "item, object. Required."
},
"description": "denominations, array. Required."
},
"replenishment": {
"type": "array",
"items": {
"type": "object",
"required": [
"agent_id",
"value",
"max_quantity"
],
"properties": {
"value": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 1,
"description": "value, integer, from 1 to 9007199254740991. Required."
},
"agent_id": {
"type": "string",
"maxLength": 120,
"minLength": 1,
"description": "agent id, string, length 1 to 120. Required."
},
"max_quantity": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0,
"description": "quantity, integer, from 0 to 9007199254740991. Required."
}
},
"description": "item, object. Required."
},
"description": "replenishment, array. Optional."
}
}
},
"outputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"agents": {
"type": "array",
"items": {
"type": "object",
"properties": {
"agent_id": {
"type": "string",
"description": "agent_id. String."
},
"currency": {
"type": "string",
"description": "currency. String."
},
"formulas": {
"type": "object",
"properties": {
"acquire": {
"type": "string",
"description": "acquire. String."
},
"deposit": {
"type": "string",
"description": "deposit. String."
},
"dispense": {
"type": "string",
"description": "dispense. String."
},
"minimum_cash_required": {
"type": "string",
"description": "minimum_cash_required. String."
}
},
"description": "formulas. Object.",
"additionalProperties": {}
},
"acquired_cash": {
"type": "number",
"description": "acquired_cash. Number."
},
"starting_cash": {
"type": "number",
"description": "starting_cash. Number."
},
"fully_feasible": {
"type": "boolean",
"description": "fully_feasible. Boolean."
},
"projected_cash": {
"type": "number",
"description": "projected_cash. Number."
},
"starting_inventory": {
"type": "array",
"items": {
"type": "object",
"properties": {
"value": {
"type": "number",
"description": "value. Number."
},
"quantity": {
"type": "number",
"description": "quantity. Number."
}
},
"description": "item. Object.",
"additionalProperties": {}
},
"description": "starting_inventory. Array."
},
"transactions_total": {
"type": "number",
"description": "transactions_total. Number."
},
"projected_inventory": {
"type": "array",
"items": {
"type": "object",
"properties": {
"value": {
"type": "number",
"description": "value. Number."
},
"quantity": {
"type": "number",
"description": "quantity. Number."
}
},
"description": "item. Object.",
"additionalProperties": {}
},
"description": "projected_inventory. Array."
},
"minimum_cash_required": {
"type": "number",
"description": "minimum_cash_required. Number."
},
"transactions_fulfilled": {
"type": "number",
"description": "transactions_fulfilled. Number."
},
"recommended_acquisitions": {
"type": "array",
"items": {
"type": "object",
"properties": {
"value": {
"type": "number",
"description": "value. Number."
},
"action": {
"type": "string",
"description": "action. String."
},
"amount": {
"type": "number",
"description": "amount. Number."
},
"agent_id": {
"type": "string",
"description": "agent_id. String."
},
"currency": {
"type": "string",
"description": "currency. String."
},
"quantity": {
"type": "number",
"description": "quantity. Number."
}
},
"description": "item. Object.",
"additionalProperties": {}
},
"description": "recommended_acquisitions. Array."
}
},
"description": "item. Object.",
"additionalProperties": {}
},
"description": "agents. Array."
},
"fulfilment": {
"type": "array",
"items": {
"type": "object",
"properties": {
"agent_id": {
"type": "string",
"description": "agent_id. String."
},
"dispensed": {
"type": "number",
"description": "dispensed. Number."
},
"fulfilled": {
"type": "boolean",
"description": "fulfilled. Boolean."
},
"composition": {
"type": "array",
"items": {
"type": "object",
"properties": {
"value": {
"type": "number",
"description": "value. Number."
},
"quantity": {
"type": "number",
"description": "quantity. Number."
}
},
"description": "item. Object.",
"additionalProperties": {}
},
"description": "composition. Array."
},
"transaction_id": {
"type": "string",
"description": "transaction_id. String."
}
},
"description": "item. Object.",
"additionalProperties": {}
},
"description": "fulfilment. Array."
},
"explanations": {
"type": "array",
"items": {
"type": "string",
"description": "item. String."
},
"description": "explanations. Array."
},
"change_shortages": {
"type": "array",
"items": {
"type": "string",
"description": "Item. String."
},
"description": "change_shortages. Array."
},
"excess_denominations": {
"type": "array",
"items": {
"type": "object",
"properties": {
"value": {
"type": "number",
"description": "value. Number."
},
"amount": {
"type": "number",
"description": "amount. Number."
},
"agent_id": {
"type": "string",
"description": "agent_id. String."
},
"currency": {
"type": "string",
"description": "currency. String."
},
"quantity": {
"type": "number",
"description": "quantity. Number."
}
},
"description": "item. Object.",
"additionalProperties": {}
},
"description": "excess_denominations. Array."
},
"recommended_denominations": {
"type": "array",
"items": {
"type": "object",
"properties": {
"value": {
"type": "number",
"description": "value. Number."
},
"action": {
"type": "string",
"description": "action. String."
},
"amount": {
"type": "number",
"description": "amount. Number."
},
"agent_id": {
"type": "string",
"description": "agent_id. String."
},
"currency": {
"type": "string",
"description": "currency. String."
},
"quantity": {
"type": "number",
"description": "quantity. Number."
}
},
"description": "item. Object.",
"additionalProperties": {}
},
"description": "recommended_denominations. Array."
}
},
"additionalProperties": {}
},
"annotations": {
"title": "Optimize cash denominations",
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}Distribute caller-supplied demand across outlets that share the demand location, support the service type, and have operating hours in the interval. Docs: https://www.brainiac.software/api/agent-networks/outlet-capacity-allocation Keywords: outlets, demand, service level targets, allocations, utilization, overloaded outlets, overloaded_outlets, unused capacity, unused_capacity, unmet demand, unmet_demand, service levels, service_levels, capacity required, capacity_required.
| Parameter | Type | Description |
|---|---|---|
| demand * | array | demand, array. Required. |
| outlets * | array | outlets, array. Required. |
| service_level_targets | array | service level targets, array. Optional. |
{
"name": "agent-networks_outlet-capacity-allocation",
"title": "Allocate outlet capacity",
"description": "Distribute caller-supplied demand across outlets that share the demand location, support the service type, and have operating hours in the interval. Docs: https://www.brainiac.software/api/agent-networks/outlet-capacity-allocation Keywords: outlets, demand, service level targets, allocations, utilization, overloaded outlets, overloaded_outlets, unused capacity, unused_capacity, unmet demand, unmet_demand, service levels, service_levels, capacity required, capacity_required.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"outlets",
"demand"
],
"properties": {
"demand": {
"type": "array",
"items": {
"type": "object",
"required": [
"id",
"location_id",
"interval_id",
"service_type",
"transactions"
],
"properties": {
"id": {
"type": "string",
"maxLength": 120,
"minLength": 1,
"description": "id, string, length 1 to 120. Required."
},
"interval_id": {
"type": "string",
"maxLength": 120,
"minLength": 1,
"description": "interval id, string, length 1 to 120. Required."
},
"location_id": {
"type": "string",
"maxLength": 120,
"minLength": 1,
"description": "location id, string, length 1 to 120. Required."
},
"service_type": {
"type": "string",
"maxLength": 120,
"minLength": 1,
"description": "service type, string, length 1 to 120. Required."
},
"transactions": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0,
"description": "transactions, integer, from 0 to 9007199254740991. Required."
}
},
"description": "item, object. Required."
},
"description": "demand, array. Required."
},
"outlets": {
"type": "array",
"items": {
"type": "object",
"required": [
"id",
"location_id",
"service_types",
"capacity_per_hour",
"operating_hours"
],
"properties": {
"id": {
"type": "string",
"maxLength": 120,
"minLength": 1,
"description": "id, string, length 1 to 120. Required."
},
"location_id": {
"type": "string",
"maxLength": 120,
"minLength": 1,
"description": "location id, string, length 1 to 120. Required."
},
"staff_count": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0,
"description": "staff count, integer, from 0 to 9007199254740991. Optional."
},
"service_types": {
"type": "array",
"items": {
"type": "string",
"maxLength": 120,
"minLength": 1,
"description": "item, string, length 1 to 120. Required."
},
"description": "service types, array. Required."
},
"operating_hours": {
"type": "array",
"items": {
"type": "object",
"required": [
"interval_id",
"hours"
],
"properties": {
"hours": {
"type": "integer",
"maximum": 24,
"minimum": 0,
"description": "hours, integer, from 0 to 24. Required."
},
"interval_id": {
"type": "string",
"maxLength": 120,
"minLength": 1,
"description": "interval id, string, length 1 to 120. Required."
}
},
"description": "item, object. Required."
},
"description": "operating hours, array. Required."
},
"capacity_per_hour": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 1,
"description": "capacity per hour, integer, from 1 to 9007199254740991. Required."
},
"staff_capacity_per_hour": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 1,
"description": "staff capacity per hour, integer, from 1 to 9007199254740991. Optional."
}
},
"description": "item, object. Required."
},
"description": "outlets, array. Required."
},
"service_level_targets": {
"type": "array",
"items": {
"type": "object",
"required": [
"fulfil_bps"
],
"properties": {
"fulfil_bps": {
"type": "integer",
"maximum": 1000000,
"minimum": 0,
"description": "fulfil bps, integer, from 0 to 1000000. Required."
},
"interval_id": {
"type": "string",
"maxLength": 120,
"minLength": 1,
"description": "interval id, string, length 1 to 120. Optional."
},
"location_id": {
"type": "string",
"maxLength": 120,
"minLength": 1,
"description": "location id, string, length 1 to 120. Optional."
},
"service_type": {
"type": "string",
"maxLength": 120,
"minLength": 1,
"description": "service type, string, length 1 to 120. Optional."
}
},
"description": "item, object. Required."
},
"description": "service level targets, array. Optional."
}
}
},
"outputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"allocations": {
"type": "array",
"items": {
"type": "object",
"properties": {
"demand_id": {
"type": "string",
"description": "demand_id. String."
},
"outlet_id": {
"type": "string",
"description": "outlet_id. String."
},
"interval_id": {
"type": "string",
"description": "interval_id. String."
},
"location_id": {
"type": "string",
"description": "location_id. String."
},
"service_type": {
"type": "string",
"description": "service_type. String."
},
"transactions": {
"type": "number",
"description": "transactions. Number."
}
},
"description": "item. Object.",
"additionalProperties": {}
},
"description": "allocations. Array."
},
"utilization": {
"type": "array",
"items": {
"type": "object",
"properties": {
"capacity": {
"type": "number",
"description": "capacity. Number."
},
"overload": {
"type": "number",
"description": "overload. Number."
},
"allocated": {
"type": "number",
"description": "allocated. Number."
},
"outlet_id": {
"type": "string",
"description": "outlet_id. String."
},
"overloaded": {
"type": "boolean",
"description": "overloaded. Boolean."
},
"interval_id": {
"type": "string",
"description": "interval_id. String."
},
"unused_capacity": {
"type": "number",
"description": "unused_capacity. Number."
},
"utilization_bps": {
"type": "number",
"description": "utilization_bps. Number."
}
},
"description": "item. Object.",
"additionalProperties": {}
},
"description": "utilization. Array."
},
"explanations": {
"type": "array",
"items": {
"type": "string",
"description": "item. String."
},
"description": "explanations. Array."
},
"unmet_demand": {
"type": "array",
"items": {
"type": "object",
"properties": {
"detail": {
"type": "string",
"description": "detail. String."
},
"demand_id": {
"type": "string",
"description": "demand_id. String."
},
"interval_id": {
"type": "string",
"description": "interval_id. String."
},
"location_id": {
"type": "string",
"description": "location_id. String."
},
"service_type": {
"type": "string",
"description": "service_type. String."
},
"transactions": {
"type": "number",
"description": "transactions. Number."
}
},
"description": "item. Object.",
"additionalProperties": {}
},
"description": "unmet_demand. Array."
},
"service_levels": {
"type": "array",
"items": {
"type": "object",
"properties": {
"met": {
"type": "boolean",
"description": "met. Boolean."
},
"formula": {
"type": "string",
"description": "formula. String."
},
"fulfil_bps": {
"type": "number",
"description": "fulfil_bps. Number."
},
"interval_id": {
"type": "string",
"description": "interval_id. String."
},
"location_id": {
"type": "string",
"description": "location_id. String."
},
"achieved_bps": {
"type": "number",
"description": "achieved_bps. Number."
},
"capacity_required": {
"type": "number",
"description": "capacity_required. Number."
},
"demand_transactions": {
"type": "number",
"description": "demand_transactions. Number."
},
"target_transactions": {
"type": "number",
"description": "target_transactions. Number."
},
"allocated_transactions": {
"type": "number",
"description": "allocated_transactions. Number."
}
},
"description": "item. Object.",
"additionalProperties": {}
},
"description": "service_levels. Array."
},
"unused_capacity": {
"type": "array",
"items": {
"type": "object",
"properties": {
"outlet_id": {
"type": "string",
"description": "outlet_id. String."
},
"interval_id": {
"type": "string",
"description": "interval_id. String."
},
"unused_capacity": {
"type": "number",
"description": "unused_capacity. Number."
}
},
"description": "item. Object.",
"additionalProperties": {}
},
"description": "unused_capacity. Array."
},
"capacity_required": {
"type": "array",
"items": {
"type": "object",
"properties": {
"detail": {
"type": "string",
"description": "detail. String."
},
"interval_id": {
"type": "string",
"description": "interval_id. String."
},
"location_id": {
"type": "string",
"description": "location_id. String."
},
"capacity_required": {
"type": "number",
"description": "capacity_required. Number."
}
},
"description": "item. Object.",
"additionalProperties": {}
},
"description": "capacity_required. Array."
},
"overloaded_outlets": {
"type": "array",
"items": {
"type": "object",
"properties": {
"capacity": {
"type": "number",
"description": "capacity. Number."
},
"overload": {
"type": "number",
"description": "overload. Number."
},
"allocated": {
"type": "number",
"description": "allocated. Number."
},
"outlet_id": {
"type": "string",
"description": "outlet_id. String."
},
"overloaded": {
"type": "boolean",
"description": "overloaded. Boolean."
},
"interval_id": {
"type": "string",
"description": "interval_id. String."
},
"unused_capacity": {
"type": "number",
"description": "unused_capacity. Number."
},
"utilization_bps": {
"type": "number",
"description": "utilization_bps. Number."
}
},
"description": "item. Object.",
"additionalProperties": {}
},
"description": "overloaded_outlets. Array."
}
},
"additionalProperties": {}
},
"annotations": {
"title": "Allocate outlet capacity",
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}Measure how concentrated caller-supplied agent, outlet, and operator activity is. Docs: https://www.brainiac.software/api/agent-networks/agent-concentration-risk Keywords: entities, outages, top counts, top_counts, analyses, dependency rankings, dependency_rankings, outage scenarios, outage_scenarios, explanations, Measure agent concentration risk, agent concentration risk.
| Parameter | Type | Description |
|---|---|---|
| outages | array | outages, array. Optional. |
| entities * | array | entities, array. Required. |
| top_counts | array | top counts, array. Optional. |
{
"name": "agent-networks_agent-concentration-risk",
"title": "Measure agent concentration risk",
"description": "Measure how concentrated caller-supplied agent, outlet, and operator activity is. Docs: https://www.brainiac.software/api/agent-networks/agent-concentration-risk Keywords: entities, outages, top counts, top_counts, analyses, dependency rankings, dependency_rankings, outage scenarios, outage_scenarios, explanations, Measure agent concentration risk, agent concentration risk.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"entities"
],
"properties": {
"outages": {
"type": "array",
"items": {
"type": "object",
"required": [
"id",
"unavailable_ids"
],
"properties": {
"id": {
"type": "string",
"maxLength": 120,
"minLength": 1,
"description": "id, string, length 1 to 120. Required."
},
"unavailable_ids": {
"type": "array",
"items": {
"type": "string",
"maxLength": 120,
"minLength": 1,
"description": "item, string, length 1 to 120. Required."
},
"description": "unavailable ids, array. Required."
}
},
"description": "item, object. Required."
},
"description": "outages, array. Optional."
},
"entities": {
"type": "array",
"items": {
"type": "object",
"required": [
"id",
"kind",
"transaction_volume",
"transaction_value",
"revenue"
],
"properties": {
"id": {
"type": "string",
"maxLength": 120,
"minLength": 1,
"description": "id, string, length 1 to 120. Required."
},
"kind": {
"enum": [
"agent",
"outlet",
"operator"
],
"type": "string",
"description": "kind, string, one of agent, outlet, operator. Required."
},
"revenue": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0,
"description": "transaction volume, integer, from 0 to 9007199254740991. Required."
},
"segments": {
"type": "array",
"items": {
"type": "object",
"required": [
"dimension",
"label"
],
"properties": {
"label": {
"type": "string",
"maxLength": 120,
"minLength": 1,
"description": "label, string, length 1 to 120. Required."
},
"dimension": {
"type": "string",
"maxLength": 120,
"minLength": 1,
"description": "dimension, string, length 1 to 120. Required."
}
},
"description": "item, object. Required."
},
"description": "segments, array. Optional."
},
"transaction_value": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0,
"description": "transaction volume, integer, from 0 to 9007199254740991. Required."
},
"transaction_volume": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0,
"description": "transaction volume, integer, from 0 to 9007199254740991. Required."
},
"replacement_capacity": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0,
"description": "replacement capacity, integer, from 0 to 9007199254740991. Optional."
}
},
"description": "item, object. Required."
},
"description": "entities, array. Required."
},
"top_counts": {
"type": "array",
"items": {
"type": "integer",
"maximum": 100,
"minimum": 1,
"description": "item, integer, from 1 to 100. Required."
},
"description": "top counts, array. Optional."
}
}
},
"outputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"analyses": {
"type": "array",
"items": {
"type": "object",
"properties": {
"hhi": {
"type": "number",
"description": "hhi. Number."
},
"total": {
"type": "number",
"description": "total. Number."
},
"metric": {
"type": "string",
"description": "metric. String."
},
"hhi_formula": {
"type": "string",
"description": "hhi_formula. String."
},
"entity_count": {
"type": "number",
"description": "entity_count. Number."
},
"dependency_ranking": {
"type": "array",
"items": {
"type": "object",
"properties": {
"kind": {
"type": "string",
"description": "kind. String."
},
"amount": {
"type": "number",
"description": "amount. Number."
},
"entity_id": {
"type": "string",
"description": "entity_id. String."
},
"share_bps": {
"type": "number",
"description": "share_bps. Number."
}
},
"description": "item. Object.",
"additionalProperties": {}
},
"description": "dependency_ranking. Array."
},
"concentration_ratios": {
"type": "array",
"items": {
"type": "object",
"properties": {
"top_n": {
"type": "number",
"description": "top_n. Number."
},
"amount": {
"type": "number",
"description": "amount. Number."
},
"formula": {
"type": "string",
"description": "formula. String."
},
"share_bps": {
"type": "number",
"description": "share_bps. Number."
},
"entity_ids": {
"type": "array",
"items": {
"type": "string",
"description": "item. String."
},
"description": "entity_ids. Array."
}
},
"description": "item. Object.",
"additionalProperties": {}
},
"description": "concentration_ratios. Array."
}
},
"description": "item. Object.",
"additionalProperties": {}
},
"description": "analyses. Array."
},
"top_counts": {
"type": "array",
"items": {
"type": "number",
"description": "item. Number."
},
"description": "top_counts. Array."
},
"explanations": {
"type": "array",
"items": {
"type": "string",
"description": "item. String."
},
"description": "explanations. Array."
},
"outage_scenarios": {
"type": "array",
"items": {
"type": "object",
"properties": {
"detail": {
"type": "string",
"description": "detail. String."
},
"formula": {
"type": "string",
"description": "formula. String."
},
"outage_id": {
"type": "string",
"description": "outage_id. String."
},
"unavailable_ids": {
"type": "array",
"items": {
"type": "string",
"description": "item. String."
},
"description": "unavailable_ids. Array."
},
"affected_revenue": {
"type": "number",
"description": "affected_revenue. Number."
},
"replacement_capacity": {
"type": "number",
"description": "replacement_capacity. Number."
},
"replacement_shortfall": {
"type": "number",
"description": "replacement_shortfall. Number."
},
"remaining_entity_count": {
"type": "number",
"description": "remaining_entity_count. Number."
},
"affected_volume_share_bps": {
"type": "number",
"description": "affected_volume_share_bps. Number."
},
"affected_transaction_value": {
"type": "number",
"description": "affected_transaction_value. Number."
},
"affected_transaction_volume": {
"type": "number",
"description": "affected_transaction_volume. Number."
},
"replacement_capacity_required": {
"type": "number",
"description": "replacement_capacity_required. Number."
}
},
"description": "item. Object.",
"additionalProperties": {}
},
"description": "outage_scenarios. Array."
},
"dependency_rankings": {
"type": "array",
"items": {
"type": "object",
"properties": {
"metric": {
"type": "string",
"description": "metric. String."
},
"ranking": {
"type": "array",
"items": {
"type": "object",
"properties": {
"kind": {
"type": "string",
"description": "kind. String."
},
"amount": {
"type": "number",
"description": "amount. Number."
},
"entity_id": {
"type": "string",
"description": "entity_id. String."
},
"share_bps": {
"type": "number",
"description": "share_bps. Number."
}
},
"description": "item. Object.",
"additionalProperties": {}
},
"description": "ranking. Array."
}
},
"description": "item. Object.",
"additionalProperties": {}
},
"description": "dependency_rankings. Array."
}
},
"additionalProperties": {}
},
"annotations": {
"title": "Measure agent concentration risk",
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}Classify caller-supplied outlets as active, declining, temporarily inactive, permanently inactive, seasonal, suspended, closed, never active, or not yet active. Docs: https://www.brainiac.software/api/agent-networks/dormant-outlet-detect Keywords: as of date, outlets, transactions, inactive days threshold, permanent days threshold, decline bps threshold, baseline days, recent days, schedules, status records, as_of_date, thresholds, inactive outlets, inactive_outlets, requiring investigation.
| Parameter | Type | Description |
|---|---|---|
| outlets * | array | outlets, array. Required. |
| schedules | array | schedules, array. Optional. |
| as_of_date * | string | as of date, string. Required. |
| recent_days | integer | recent days, integer, from 1 to 3660. Optional. |
| transactions * | array | transactions, array. Required. |
| baseline_days | integer | baseline days, integer, from 1 to 3660. Optional. |
| status_records | array | status records, array. Optional. |
| decline_bps_threshold | integer |
Build capacitated cash replenishment routes for caller-supplied outlets, depots, and vehicles. Docs: https://www.brainiac.software/api/agent-networks/cash-replenishment-route-plan Keywords: outlets, depots, vehicles, distances, minutes per distance unit, distance basis, distance_basis, routes, unserved outlets, unserved_outlets, totals, explanations, Plan cash replenishment routes, cash replenishment route plan.
| Parameter | Type | Description |
|---|---|---|
| depots * | array | depots, array. Required. |
| outlets * | array | outlets, array. Required. |
| vehicles * | array | vehicles, array. Required. |
| distances | array | distances, array. Optional. |
| minutes_per_distance_unit | integer | minutes per distance unit, integer, from 0 to 60. Optional. |
{
"name": "agent-networks_cash-replenishment-route-plan",
"title": "Plan cash replenishment routes",
"description": "Build capacitated cash replenishment routes for caller-supplied outlets, depots, and vehicles. Docs: https://www.brainiac.software/api/agent-networks/cash-replenishment-route-plan Keywords: outlets, depots, vehicles, distances, minutes per distance unit, distance basis, distance_basis, routes, unserved outlets, unserved_outlets, totals, explanations, Plan cash replenishment routes, cash replenishment route plan.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"outlets",
"depots",
"vehicles"
],
"properties": {
"depots": {
"type": "array",
"items": {
"type": "object",
"required": [
"id"
],
"properties": {
"id": {
"type": "string",
"maxLength": 120,
"minLength": 1,
"description": "id, string, length 1 to 120. Required."
},
"latitude": {
"type": "number",
"maximum": 90,
"minimum": -90,
"description": "latitude, number, from -90 to 90. Optional."
},
"longitude": {
"type": "number",
"maximum": 180,
"minimum": -180,
"description": "longitude, number, from -180 to 180. Optional."
}
},
"description": "item, object. Required."
},
"description": "depots, array. Required."
},
"outlets": {
"type": "array",
"items": {
"type": "object",
"required": [
"id",
"replenishment_amount"
],
"properties": {
"id": {
"type": "string",
"maxLength": 120,
"minLength": 1,
"description": "id, string, length 1 to 120. Required."
},
"latitude": {
"type": "number",
"maximum": 90,
"minimum": -90,
"description": "latitude, number, from -90 to 90. Optional."
},
"longitude": {
"type": "number",
"maximum": 180,
"minimum": -180,
"description": "longitude, number, from -180 to 180. Optional."
},
"delivery_cost": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0,
"description": "delivery cost, integer, from 0 to 9007199254740991. Optional."
},
"service_minutes": {
"type": "integer",
"maximum": 100800,
"minimum": 0,
"description": "service minutes, integer, from 0 to 100800. Optional."
},
"window_end_minute": {
"type": "integer",
"maximum": 100800,
"minimum": 0,
"description": "window end minute, integer, from 0 to 100800. Optional."
},
"window_start_minute": {
"type": "integer",
"maximum": 100800,
"minimum": 0,
"description": "window start minute, integer, from 0 to 100800. Optional."
},
"replenishment_amount": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 1,
"description": "replenishment amount, integer, from 1 to 9007199254740991. Required."
}
},
"description": "item, object. Required."
},
"description": "outlets, array. Required."
},
"vehicles": {
"type": "array",
"items": {
"type": "object",
"required": [
"id",
"depot_id",
"capacity"
],
"properties": {
"id": {
"type": "string",
"maxLength": 120,
"minLength": 1,
"description": "id, string, length 1 to 120. Required."
},
"capacity": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 1,
"description": "capacity, integer, from 1 to 9007199254740991. Required."
},
"depot_id": {
"type": "string",
"maxLength": 120,
"minLength": 1,
"description": "depot id, string, length 1 to 120. Required."
},
"max_stops": {
"type": "integer",
"maximum": 500,
"minimum": 1,
"description": "max stops, integer, from 1 to 500. Optional."
},
"due_minute": {
"type": "integer",
"maximum": 100800,
"minimum": 0,
"description": "due minute, integer, from 0 to 100800. Optional."
},
"ready_minute": {
"type": "integer",
"maximum": 100800,
"minimum": 0,
"description": "ready minute, integer, from 0 to 100800. Optional."
},
"max_route_distance": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 1,
"description": "max route distance, integer, from 1 to 9007199254740991. Optional."
},
"cost_per_distance_unit": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0,
"description": "cost per distance unit, integer, from 0 to 9007199254740991. Optional."
}
},
"description": "item, object. Required."
},
"description": "vehicles, array. Required."
},
"distances": {
"type": "array",
"items": {
"type": "object",
"required": [
"from_id",
"to_id",
"distance"
],
"properties": {
"to_id": {
"type": "string",
"maxLength": 120,
"minLength": 1,
"description": "to id, string, length 1 to 120. Required."
},
"from_id": {
"type": "string",
"maxLength": 120,
"minLength": 1,
"description": "from id, string, length 1 to 120. Required."
},
"distance": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0,
"description": "distance, integer, from 0 to 9007199254740991. Required."
}
},
"description": "item, object. Required."
},
"description": "distances, array. Optional."
},
"minutes_per_distance_unit": {
"type": "integer",
"maximum": 60,
"minimum": 0,
"description": "minutes per distance unit, integer, from 0 to 60. Optional."
}
}
},
"outputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"routes": {
"type": "array",
"items": {
"type": "object",
"properties": {
"stops": {
"type": "array",
"items": {
"type": "object",
"properties": {
"sequence": {
"type": "number",
"description": "sequence. Number."
},
"outlet_id": {
"type": "string",
"description": "outlet_id. String."
},
"leg_distance": {
"type": "number",
"description": "leg_distance. Number."
},
"cash_allocated": {
"type": "number",
"description": "cash_allocated. Number."
},
"cumulative_cash": {
"type": "number",
"description": "cumulative_cash. Number."
},
"cumulative_distance": {
"type": "number",
"description": "cumulative_distance. Number."
},
"leg_distance_source": {
"type": "string",
"description": "leg_distance_source. String."
}
},
"description": "item. Object.",
"additionalProperties": {}
},
"description": "stops. Array."
},
"capacity": {
"type": "number",
"description": "capacity. Number."
},
"depot_id": {
"type": "string",
"description": "depot_id. String."
},
"total_cash": {
"type": "number",
"description": "total_cash. Number."
},
"vehicle_id": {
"type": "string",
"description": "vehicle_id. String."
},
"travel_cost": {
"type": "number",
"description": "travel_cost. Number."
},
"delivery_cost": {
"type": "number",
"description": "delivery_cost. Number."
},
"total_distance": {
"type": "number",
"description": "total_distance. Number."
},
"stop_delivery_cost": {
"type": "number",
"description": "stop_delivery_cost. Number."
},
"return_leg_distance": {
"type": "number",
"description": "return_leg_distance. Number."
},
"capacity_utilization_bps": {
"type": "number",
"description": "capacity_utilization_bps. Number."
},
"return_leg_distance_source": {
"type": "string",
"description": "return_leg_distance_source. String."
}
},
"description": "item. Object.",
"additionalProperties": {}
},
"description": "routes. Array."
},
"totals": {
"type": "object",
"properties": {
"route_count": {
"type": "number",
"description": "route_count. Number."
},
"delivery_cost": {
"type": "number",
"description": "delivery_cost. Number."
},
"cash_delivered": {
"type": "number",
"description": "cash_delivered. Number."
},
"outlets_served": {
"type": "number",
"description": "outlets_served. Number."
},
"total_distance": {
"type": "number",
"description": "total_distance. Number."
},
"outlets_unserved": {
"type": "number",
"description": "outlets_unserved. Number."
}
},
"description": "totals. Object.",
"additionalProperties": {}
},
"explanations": {
"type": "array",
"items": {
"type": "string",
"description": "item. String."
},
"description": "explanations. Array."
},
"distance_basis": {
"type": "object",
"properties": {
"unit": {
"type": "string",
"description": "unit. String."
},
"supplied_pairs": {
"type": "number",
"description": "supplied_pairs. Number."
},
"straight_line_pairs": {
"type": "number",
"description": "straight_line_pairs. Number."
}
},
"description": "distance_basis. Object.",
"additionalProperties": {}
},
"unserved_outlets": {
"type": "array",
"items": {
"type": "object",
"properties": {
"reasons": {
"type": "array",
"items": {
"type": "string",
"description": "item. String."
},
"description": "reasons. Array."
},
"outlet_id": {
"type": "string",
"description": "outlet_id. String."
},
"replenishment_amount": {
"type": "number",
"description": "replenishment_amount. Number."
}
},
"description": "item. Object.",
"additionalProperties": {}
},
"description": "unserved_outlets. Array."
}
},
"additionalProperties": {}
},
"annotations": {
"title": "Plan cash replenishment routes",
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}Reconcile caller-supplied agent transactions against provider settlement statement rows. Docs: https://www.brainiac.software/api/agent-networks/settlement-reconciliation Keywords: transactions, settlements, matched, missing settlements, missing_settlements, unmatched credits, unmatched_credits, duplicate entries, duplicate_entries, amount discrepancies, amount_discrepancies, fee discrepancies, fee_discrepancies, ambiguous matches, ambiguous_matches.
| Parameter | Type | Description |
|---|---|---|
| settlements * | array | settlements, array. Required. |
| transactions * | array | transactions, array. Required. |
{
"name": "agent-networks_settlement-reconciliation",
"title": "Reconcile agent settlements",
"description": "Reconcile caller-supplied agent transactions against provider settlement statement rows. Docs: https://www.brainiac.software/api/agent-networks/settlement-reconciliation Keywords: transactions, settlements, matched, missing settlements, missing_settlements, unmatched credits, unmatched_credits, duplicate entries, duplicate_entries, amount discrepancies, amount_discrepancies, fee discrepancies, fee_discrepancies, ambiguous matches, ambiguous_matches.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"transactions",
"settlements"
],
"properties": {
"settlements": {
"type": "array",
"items": {
"type": "object",
"required": [
"id",
"amount",
"currency",
"settled_at"
],
"properties": {
"id": {
"type": "string",
"maxLength": 120,
"minLength": 1,
"description": "id, string, length 1 to 120. Required."
},
"fee": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0,
"description": "fee, integer, from 0 to 9007199254740991. Optional."
},
"kind": {
"enum": [
"settlement",
"credit",
"fee",
"adjustment"
],
"type": "string",
"description": "kind, string, one of settlement, credit, fee, adjustment. Optional."
},
"amount": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": -9007199254740991,
"description": "amount, integer, from -9007199254740991 to 9007199254740991. Required."
},
"currency": {
"type": "string",
"pattern": "^[A-Z]{3}$",
"description": "currency, string. Required."
},
"reference": {
"type": "string",
"maxLength": 120,
"minLength": 1,
"description": "reference, string, length 1 to 120. Optional."
},
"settled_at": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d{1,3})?Z$",
"description": "occurred at, string. Required."
},
"transaction_id": {
"type": "string",
"maxLength": 120,
"minLength": 1,
"description": "transaction id, string, length 1 to 120. Optional."
}
},
"description": "item, object. Required."
},
"description": "settlements, array. Required."
},
"transactions": {
"type": "array",
"items": {
"type": "object",
"required": [
"id",
"amount",
"currency",
"occurred_at"
],
"properties": {
"id": {
"type": "string",
"maxLength": 120,
"minLength": 1,
"description": "id, string, length 1 to 120. Required."
},
"fee": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0,
"description": "fee, integer, from 0 to 9007199254740991. Optional."
},
"amount": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": -9007199254740991,
"description": "amount, integer, from -9007199254740991 to 9007199254740991. Required."
},
"agent_id": {
"type": "string",
"maxLength": 120,
"minLength": 1,
"description": "agent id, string, length 1 to 120. Optional."
},
"currency": {
"type": "string",
"pattern": "^[A-Z]{3}$",
"description": "currency, string. Required."
},
"occurred_at": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d{1,3})?Z$",
"description": "occurred at, string. Required."
},
"settlement_reference": {
"type": "string",
"maxLength": 120,
"minLength": 1,
"description": "settlement reference, string, length 1 to 120. Optional."
}
},
"description": "item, object. Required."
},
"description": "transactions, array. Required."
}
}
},
"outputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"matched": {
"type": "array",
"items": {
"type": "object",
"properties": {
"status": {
"type": "string",
"description": "status. String."
},
"currency": {
"type": "string",
"description": "currency. String."
},
"fee_delta": {
"type": "number",
"description": "fee_delta. Number."
},
"match_basis": {
"type": "string",
"description": "match_basis. String."
},
"amount_delta": {
"type": "number",
"description": "amount_delta. Number."
},
"settlement_id": {
"type": "string",
"description": "settlement_id. String."
},
"settlement_fee": {
"type": "number",
"description": "settlement_fee. Number."
},
"transaction_id": {
"type": "string",
"description": "transaction_id. String."
},
"transaction_fee": {
"type": "number",
"description": "transaction_fee. Number."
},
"settlement_amount": {
"type": "number",
"description": "settlement_amount. Number."
},
"transaction_amount": {
"type": "number",
"description": "transaction_amount. Number."
}
},
"description": "item. Object.",
"additionalProperties": {}
},
"description": "matched. Array."
},
"summary": {
"type": "object",
"properties": {
"matched": {
"type": "number",
"description": "matched. Number."
},
"settlements": {
"type": "number",
"description": "settlements. Number."
},
"transactions": {
"type": "number",
"description": "transactions. Number."
},
"absolute_fee_gap": {
"type": "number",
"description": "absolute_fee_gap. Number."
},
"ambiguous_matches": {
"type": "number",
"description": "ambiguous_matches. Number."
},
"fee_discrepancies": {
"type": "number",
"description": "fee_discrepancies. Number."
},
"unmatched_credits": {
"type": "number",
"description": "unmatched_credits. Number."
},
"absolute_amount_gap": {
"type": "number",
"description": "absolute_amount_gap. Number."
},
"missing_settlements": {
"type": "number",
"description": "missing_settlements. Number."
},
"amount_discrepancies": {
"type": "number",
"description": "amount_discrepancies. Number."
}
},
"description": "summary. Object.",
"additionalProperties": {}
},
"explanations": {
"type": "array",
"items": {
"type": "string",
"description": "item. String."
},
"description": "explanations. Array."
},
"ambiguous_matches": {
"type": "array",
"items": {
"type": "object",
"properties": {
"basis": {
"type": "string",
"description": "basis. String."
},
"evidence": {
"type": "array",
"items": {
"type": "string",
"description": "item. String."
},
"description": "evidence. Array."
},
"fee_delta": {
"type": "number",
"description": "fee_delta. Number."
},
"amount_delta": {
"type": "number",
"description": "amount_delta. Number."
},
"settlement_id": {
"type": "string",
"description": "settlement_id. String."
},
"transaction_id": {
"type": "string",
"description": "transaction_id. String."
}
},
"description": "item. Object.",
"additionalProperties": {}
},
"description": "ambiguous_matches. Array."
},
"duplicate_entries": {
"type": "array",
"items": {
"type": "string",
"description": "Item. String."
},
"description": "duplicate_entries. Array."
},
"fee_discrepancies": {
"type": "array",
"items": {
"type": "object",
"properties": {
"currency": {
"type": "string",
"description": "currency. String."
},
"evidence": {
"type": "array",
"items": {
"type": "string",
"description": "item. String."
},
"description": "evidence. Array."
},
"fee_delta": {
"type": "number",
"description": "fee_delta. Number."
},
"settlement_id": {
"type": "string",
"description": "settlement_id. String."
},
"settlement_fee": {
"type": "number",
"description": "settlement_fee. Number."
},
"transaction_id": {
"type": "string",
"description": "transaction_id. String."
},
"transaction_fee": {
"type": "number",
"description": "transaction_fee. Number."
}
},
"description": "item. Object.",
"additionalProperties": {}
},
"description": "fee_discrepancies. Array."
},
"unmatched_credits": {
"type": "array",
"items": {
"type": "object",
"properties": {
"kind": {
"type": "string",
"description": "kind. String."
},
"amount": {
"type": "number",
"description": "amount. Number."
},
"currency": {
"type": "string",
"description": "currency. String."
},
"evidence": {
"type": "array",
"items": {
"type": "string",
"description": "item. String."
},
"description": "evidence. Array."
},
"settled_at": {
"type": "string",
"description": "settled_at. String."
},
"settlement_id": {
"type": "string",
"description": "settlement_id. String."
}
},
"description": "item. Object.",
"additionalProperties": {}
},
"description": "unmatched_credits. Array."
},
"missing_settlements": {
"type": "array",
"items": {
"type": "object",
"properties": {
"amount": {
"type": "number",
"description": "amount. Number."
},
"currency": {
"type": "string",
"description": "currency. String."
},
"evidence": {
"type": "array",
"items": {
"type": "string",
"description": "item. String."
},
"description": "evidence. Array."
},
"occurred_at": {
"type": "string",
"description": "occurred_at. String."
},
"transaction_id": {
"type": "string",
"description": "transaction_id. String."
}
},
"description": "item. Object.",
"additionalProperties": {}
},
"description": "missing_settlements. Array."
},
"amount_discrepancies": {
"type": "array",
"items": {
"type": "object",
"properties": {
"currency": {
"type": "string",
"description": "currency. String."
},
"evidence": {
"type": "array",
"items": {
"type": "string",
"description": "item. String."
},
"description": "evidence. Array."
},
"amount_delta": {
"type": "number",
"description": "amount_delta. Number."
},
"settlement_id": {
"type": "string",
"description": "settlement_id. String."
},
"transaction_id": {
"type": "string",
"description": "transaction_id. String."
},
"settlement_amount": {
"type": "number",
"description": "settlement_amount. Number."
},
"transaction_amount": {
"type": "number",
"description": "transaction_amount. Number."
}
},
"description": "item. Object.",
"additionalProperties": {}
},
"description": "amount_discrepancies. Array."
}
},
"additionalProperties": {}
},
"annotations": {
"title": "Reconcile agent settlements",
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}Audit consecutive agent shifts for cash and electronic-float handovers. Docs: https://www.brainiac.software/api/agent-networks/shift-handover-audit Keywords: shifts, handovers, shift audits, shift_audits, unexplained discrepancies, unexplained_discrepancies, missing handovers, missing_handovers, handover findings, handover_findings, inconsistent adjustments, inconsistent_adjustments, summary, explanations, Audit shift cash handovers.
| Parameter | Type | Description |
|---|---|---|
| shifts * | array | shifts, array. Required. |
| handovers | array | handovers, array. Optional. |
{
"name": "agent-networks_shift-handover-audit",
"title": "Audit shift cash handovers",
"description": "Audit consecutive agent shifts for cash and electronic-float handovers. Docs: https://www.brainiac.software/api/agent-networks/shift-handover-audit Keywords: shifts, handovers, shift audits, shift_audits, unexplained discrepancies, unexplained_discrepancies, missing handovers, missing_handovers, handover findings, handover_findings, inconsistent adjustments, inconsistent_adjustments, summary, explanations, Audit shift cash handovers.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"shifts"
],
"properties": {
"shifts": {
"type": "array",
"items": {
"type": "object",
"required": [
"id",
"agent_id",
"started_at",
"ended_at",
"opening_cash",
"closing_cash",
"opening_float",
"closing_float"
],
"properties": {
"id": {
"type": "string",
"maxLength": 120,
"minLength": 1,
"description": "id, string, length 1 to 120. Required."
},
"agent_id": {
"type": "string",
"maxLength": 120,
"minLength": 1,
"description": "agent id, string, length 1 to 120. Required."
},
"ended_at": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d{1,3})?Z$",
"description": "started at, string. Required."
},
"cash_count": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": -9007199254740991,
"description": "cash count, integer, from -9007199254740991 to 9007199254740991. Optional."
},
"started_at": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d{1,3})?Z$",
"description": "started at, string. Required."
},
"adjustments": {
"type": "array",
"items": {
"type": "object",
"required": [
"id",
"kind",
"amount"
],
"properties": {
"id": {
"type": "string",
"maxLength": 120,
"minLength": 1,
"description": "id, string, length 1 to 120. Required."
},
"kind": {
"enum": [
"cash",
"float"
],
"type": "string",
"description": "kind, string, one of cash, float. Required."
},
"amount": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": -9007199254740991,
"description": "opening cash, integer, from -9007199254740991 to 9007199254740991. Required."
},
"reason": {
"type": "string",
"maxLength": 240,
"minLength": 1,
"description": "reason, string, length 1 to 240. Optional."
}
},
"description": "item, object. Required."
},
"description": "adjustments, array. Optional."
},
"closing_cash": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": -9007199254740991,
"description": "opening cash, integer, from -9007199254740991 to 9007199254740991. Required."
},
"opening_cash": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": -9007199254740991,
"description": "opening cash, integer, from -9007199254740991 to 9007199254740991. Required."
},
"closing_float": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": -9007199254740991,
"description": "opening cash, integer, from -9007199254740991 to 9007199254740991. Required."
},
"opening_float": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": -9007199254740991,
"description": "opening cash, integer, from -9007199254740991 to 9007199254740991. Required."
},
"transaction_cash_in": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0,
"description": "transaction cash in, integer, from 0 to 9007199254740991. Optional."
},
"transaction_cash_out": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0,
"description": "transaction cash out, integer, from 0 to 9007199254740991. Optional."
},
"transaction_float_in": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0,
"description": "transaction float in, integer, from 0 to 9007199254740991. Optional."
},
"transaction_float_out": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0,
"description": "transaction float out, integer, from 0 to 9007199254740991. Optional."
},
"electronic_float_balance": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": -9007199254740991,
"description": "electronic float balance, integer, from -9007199254740991 to 9007199254740991. Optional."
}
},
"description": "item, object. Required."
},
"description": "shifts, array. Required."
},
"handovers": {
"type": "array",
"items": {
"type": "object",
"required": [
"id",
"from_shift_id",
"to_shift_id",
"cash_handed",
"float_handed"
],
"properties": {
"id": {
"type": "string",
"maxLength": 120,
"minLength": 1,
"description": "id, string, length 1 to 120. Required."
},
"cash_handed": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": -9007199254740991,
"description": "opening cash, integer, from -9007199254740991 to 9007199254740991. Required."
},
"recorded_at": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d{1,3})?Z$",
"description": "recorded at, string. Optional."
},
"to_shift_id": {
"type": "string",
"maxLength": 120,
"minLength": 1,
"description": "to shift id, string, length 1 to 120. Required."
},
"float_handed": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": -9007199254740991,
"description": "opening cash, integer, from -9007199254740991 to 9007199254740991. Required."
},
"from_shift_id": {
"type": "string",
"maxLength": 120,
"minLength": 1,
"description": "from shift id, string, length 1 to 120. Required."
}
},
"description": "item, object. Required."
},
"description": "handovers, array. Optional."
}
}
},
"outputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"summary": {
"type": "object",
"properties": {
"shifts": {
"type": "number",
"description": "shifts. Number."
},
"handovers": {
"type": "number",
"description": "handovers. Number."
},
"missing_handovers": {
"type": "number",
"description": "missing_handovers. Number."
},
"inconsistent_handovers": {
"type": "number",
"description": "inconsistent_handovers. Number."
},
"shifts_with_unexplained_discrepancies": {
"type": "number",
"description": "shifts_with_unexplained_discrepancies. Number."
}
},
"description": "summary. Object.",
"additionalProperties": {}
},
"explanations": {
"type": "array",
"items": {
"type": "string",
"description": "item. String."
},
"description": "explanations. Array."
},
"shift_audits": {
"type": "array",
"items": {
"type": "object",
"properties": {
"agent_id": {
"type": "string",
"description": "agent_id. String."
},
"evidence": {
"type": "array",
"items": {
"type": "string",
"description": "item. String."
},
"description": "evidence. Array."
},
"shift_id": {
"type": "string",
"description": "shift_id. String."
},
"cash_delta": {
"type": "number",
"description": "cash_delta. Number."
},
"actual_cash": {
"type": "number",
"description": "actual_cash. Number."
},
"float_delta": {
"type": "number",
"description": "float_delta. Number."
},
"actual_float": {
"type": "number",
"description": "actual_float. Number."
},
"closing_cash": {
"type": "number",
"description": "closing_cash. Number."
},
"closing_float": {
"type": "number",
"description": "closing_float. Number."
},
"expected_cash": {
"type": "number",
"description": "expected_cash. Number."
},
"expected_float": {
"type": "number",
"description": "expected_float. Number."
},
"closing_cash_delta": {
"type": "number",
"description": "closing_cash_delta. Number."
},
"closing_float_delta": {
"type": "number",
"description": "closing_float_delta. Number."
}
},
"description": "item. Object.",
"additionalProperties": {}
},
"description": "shift_audits. Array."
},
"handover_findings": {
"type": "array",
"items": {
"type": "object",
"properties": {
"status": {
"type": "string",
"description": "status. String."
},
"cash_handed": {
"type": "number",
"description": "cash_handed. Number."
},
"handover_id": {
"type": "string",
"description": "handover_id. String."
},
"to_shift_id": {
"type": "string",
"description": "to_shift_id. String."
},
"float_handed": {
"type": "number",
"description": "float_handed. Number."
},
"from_shift_id": {
"type": "string",
"description": "from_shift_id. String."
},
"to_opening_cash": {
"type": "number",
"description": "to_opening_cash. Number."
},
"to_opening_float": {
"type": "number",
"description": "to_opening_float. Number."
},
"from_closing_cash": {
"type": "number",
"description": "from_closing_cash. Number."
},
"from_closing_float": {
"type": "number",
"description": "from_closing_float. Number."
},
"cash_vs_from_closing_delta": {
"type": "number",
"description": "cash_vs_from_closing_delta. Number."
},
"float_vs_from_closing_delta": {
"type": "number",
"description": "float_vs_from_closing_delta. Number."
},
"to_opening_cash_vs_handed_delta": {
"type": "number",
"description": "to_opening_cash_vs_handed_delta. Number."
},
"to_opening_float_vs_handed_delta": {
"type": "number",
"description": "to_opening_float_vs_handed_delta. Number."
}
},
"description": "item. Object.",
"additionalProperties": {}
},
"description": "handover_findings. Array."
},
"missing_handovers": {
"type": "array",
"items": {
"type": "object",
"properties": {
"agent_id": {
"type": "string",
"description": "agent_id. String."
},
"evidence": {
"type": "array",
"items": {
"type": "string",
"description": "item. String."
},
"description": "evidence. Array."
},
"to_shift_id": {
"type": "string",
"description": "to_shift_id. String."
},
"from_shift_id": {
"type": "string",
"description": "from_shift_id. String."
}
},
"description": "item. Object.",
"additionalProperties": {}
},
"description": "missing_handovers. Array."
},
"inconsistent_adjustments": {
"type": "array",
"items": {
"type": "object",
"properties": {
"kind": {
"type": "string",
"description": "kind. String."
},
"detail": {
"type": "string",
"description": "detail. String."
},
"shift_id": {
"type": "string",
"description": "shift_id. String."
},
"cash_count": {
"type": "number",
"description": "cash_count. Number."
},
"closing_cash": {
"type": "number",
"description": "closing_cash. Number."
}
},
"description": "item. Object.",
"additionalProperties": {}
},
"description": "inconsistent_adjustments. Array."
},
"unexplained_discrepancies": {
"type": "array",
"items": {
"type": "object",
"properties": {
"agent_id": {
"type": "string",
"description": "agent_id. String."
},
"evidence": {
"type": "array",
"items": {
"type": "string",
"description": "item. String."
},
"description": "evidence. Array."
},
"shift_id": {
"type": "string",
"description": "shift_id. String."
},
"cash_delta": {
"type": "number",
"description": "cash_delta. Number."
},
"float_delta": {
"type": "number",
"description": "float_delta. Number."
},
"closing_cash_delta": {
"type": "number",
"description": "closing_cash_delta. Number."
},
"closing_float_delta": {
"type": "number",
"description": "closing_float_delta. Number."
}
},
"description": "item. Object.",
"additionalProperties": {}
},
"description": "unexplained_discrepancies. Array."
}
},
"additionalProperties": {}
},
"annotations": {
"title": "Audit shift cash handovers",
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}Investigate customer disputes where a charge is claimed against a failed, reversed, or pending agent transaction. Docs: https://www.brainiac.software/api/agent-networks/failed-transaction-dispute Keywords: dispute, events, receipts, reversals, dispute id, dispute_id, transaction id, transaction_id, currency, customer claimed amount, customer_claimed_amount, timeline, conflicting evidence, conflicting_evidence, missing lifecycle events.
| Parameter | Type | Description |
|---|---|---|
| events * | array | events, array. Required. |
| dispute * | object | dispute, object. Required. |
| receipts | array | receipts, array. Optional. |
| reversals | array | reversals, array. Optional. |
{
"name": "agent-networks_failed-transaction-dispute",
"title": "Assess failed transaction disputes",
"description": "Investigate customer disputes where a charge is claimed against a failed, reversed, or pending agent transaction. Docs: https://www.brainiac.software/api/agent-networks/failed-transaction-dispute Keywords: dispute, events, receipts, reversals, dispute id, dispute_id, transaction id, transaction_id, currency, customer claimed amount, customer_claimed_amount, timeline, conflicting evidence, conflicting_evidence, missing lifecycle events.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"dispute",
"events"
],
"properties": {
"events": {
"type": "array",
"items": {
"type": "object",
"required": [
"id",
"transaction_id",
"at",
"type"
],
"properties": {
"at": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d{1,3})?Z$",
"description": "claimed at, string. Required."
},
"id": {
"type": "string",
"maxLength": 120,
"minLength": 1,
"description": "id, string, length 1 to 120. Required."
},
"type": {
"enum": [
"initiated",
"authorized",
"provider_response",
"pending",
"failed",
"reversed",
"settled",
"receipt_issued",
"customer_claim",
"agent_note"
],
"type": "string",
"description": "type, string, one of initiated, authorized, provider_response, pending, failed, reversed. Required."
},
"amount": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": -9007199254740991,
"description": "amount, integer, from -9007199254740991 to 9007199254740991. Optional."
},
"detail": {
"type": "string",
"maxLength": 500,
"minLength": 1,
"description": "detail, string, length 1 to 500. Optional."
},
"source": {
"enum": [
"provider",
"agent",
"customer",
"system"
],
"type": "string",
"description": "source, string, one of provider, agent, customer, system. Optional."
},
"provider_code": {
"type": "string",
"maxLength": 120,
"minLength": 1,
"description": "provider code, string, length 1 to 120. Optional."
},
"transaction_id": {
"type": "string",
"maxLength": 120,
"minLength": 1,
"description": "transaction id, string, length 1 to 120. Required."
}
},
"description": "item, object. Required."
},
"description": "events, array. Required."
},
"dispute": {
"type": "object",
"required": [
"id",
"transaction_id",
"customer_claimed_amount",
"currency",
"claimed_at"
],
"properties": {
"id": {
"type": "string",
"maxLength": 120,
"minLength": 1,
"description": "id, string, length 1 to 120. Required."
},
"currency": {
"type": "string",
"pattern": "^[A-Z]{3}$",
"description": "currency, string. Required."
},
"claimed_at": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d{1,3})?Z$",
"description": "claimed at, string. Required."
},
"transaction_id": {
"type": "string",
"maxLength": 120,
"minLength": 1,
"description": "transaction id, string, length 1 to 120. Required."
},
"customer_detail": {
"type": "string",
"maxLength": 1000,
"minLength": 1,
"description": "customer detail, string, length 1 to 1000. Optional."
},
"customer_claimed_amount": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": -9007199254740991,
"description": "customer claimed amount, integer, from -9007199254740991 to 9007199254740991. Required."
}
},
"description": "dispute, object. Required."
},
"receipts": {
"type": "array",
"items": {
"type": "object",
"required": [
"id",
"transaction_id",
"amount",
"issued_at"
],
"properties": {
"id": {
"type": "string",
"maxLength": 120,
"minLength": 1,
"description": "id, string, length 1 to 120. Required."
},
"amount": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": -9007199254740991,
"description": "customer claimed amount, integer, from -9007199254740991 to 9007199254740991. Required."
},
"status": {
"enum": [
"issued",
"void"
],
"type": "string",
"description": "status, string, one of issued, void. Optional."
},
"issued_at": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d{1,3})?Z$",
"description": "claimed at, string. Required."
},
"transaction_id": {
"type": "string",
"maxLength": 120,
"minLength": 1,
"description": "transaction id, string, length 1 to 120. Required."
}
},
"description": "item, object. Required."
},
"description": "receipts, array. Optional."
},
"reversals": {
"type": "array",
"items": {
"type": "object",
"required": [
"id",
"transaction_id",
"amount",
"reversed_at"
],
"properties": {
"id": {
"type": "string",
"maxLength": 120,
"minLength": 1,
"description": "id, string, length 1 to 120. Required."
},
"amount": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": -9007199254740991,
"description": "customer claimed amount, integer, from -9007199254740991 to 9007199254740991. Required."
},
"status": {
"enum": [
"posted",
"pending",
"failed"
],
"type": "string",
"description": "status, string, one of posted, pending, failed. Optional."
},
"reversed_at": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d{1,3})?Z$",
"description": "claimed at, string. Required."
},
"transaction_id": {
"type": "string",
"maxLength": 120,
"minLength": 1,
"description": "transaction id, string, length 1 to 120. Required."
}
},
"description": "item, object. Required."
},
"description": "reversals, array. Optional."
}
}
},
"outputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"currency": {
"type": "string",
"description": "currency. String."
},
"timeline": {
"type": "array",
"items": {
"type": "object",
"properties": {
"at": {
"type": "string",
"description": "at. String."
},
"id": {
"type": "string",
"description": "id. String."
},
"kind": {
"type": "string",
"description": "kind. String."
},
"type": {
"type": "string",
"description": "type. String."
},
"amount": {
"type": "number",
"description": "amount. Number."
},
"source": {
"type": "string",
"description": "source. String."
},
"classification": {
"type": "string",
"description": "classification. String."
}
},
"description": "item. Object.",
"additionalProperties": {}
},
"description": "timeline. Array."
},
"assessment": {
"type": "string",
"description": "assessment. String."
},
"dispute_id": {
"type": "string",
"description": "dispute_id. String."
},
"explanations": {
"type": "array",
"items": {
"type": "string",
"description": "item. String."
},
"description": "explanations. Array."
},
"transaction_id": {
"type": "string",
"description": "transaction_id. String."
},
"assessment_evidence": {
"type": "array",
"items": {
"type": "string",
"description": "item. String."
},
"description": "assessment_evidence. Array."
},
"conflicting_evidence": {
"type": "array",
"items": {
"type": "object",
"properties": {
"code": {
"type": "string",
"description": "code. String."
},
"detail": {
"type": "string",
"description": "detail. String."
},
"receipt_ids": {
"type": "array",
"items": {
"type": "string",
"description": "item. String."
},
"description": "receipt_ids. Array."
}
},
"description": "item. Object.",
"additionalProperties": {}
},
"description": "conflicting_evidence. Array."
},
"customer_claimed_amount": {
"type": "number",
"description": "customer_claimed_amount. Number."
},
"missing_lifecycle_events": {
"type": "array",
"items": {
"type": "object",
"properties": {
"code": {
"type": "string",
"description": "code. String."
},
"detail": {
"type": "string",
"description": "detail. String."
}
},
"description": "item. Object.",
"additionalProperties": {}
},
"description": "missing_lifecycle_events. Array."
},
"reversal_inconsistencies": {
"type": "array",
"items": {
"type": "string",
"description": "Item. String."
},
"description": "reversal_inconsistencies. Array."
},
"possible_duplicate_charges": {
"type": "array",
"items": {
"type": "string",
"description": "Item. String."
},
"description": "possible_duplicate_charges. Array."
}
},
"additionalProperties": {}
},
"annotations": {
"title": "Assess failed transaction disputes",
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}Quantify agent terminal outages using supplied availability intervals, historical day totals, and optional per-hour averages. Docs: https://www.brainiac.software/api/agent-networks/terminal-downtime-impact Keywords: terminals, outages, history, averages, outage impacts, outage_impacts, downtime ranking, downtime_ranking, restoration priority, restoration_priority, affected agents, affected_agents, summary, explanations, Measure terminal downtime impact.
| Parameter | Type | Description |
|---|---|---|
| history | array | history, array. Optional. |
| outages * | array | outages, array. Required. |
| averages | array | averages, array. Optional. |
| terminals * | array | terminals, array. Required. |
{
"name": "agent-networks_terminal-downtime-impact",
"title": "Measure terminal downtime impact",
"description": "Quantify agent terminal outages using supplied availability intervals, historical day totals, and optional per-hour averages. Docs: https://www.brainiac.software/api/agent-networks/terminal-downtime-impact Keywords: terminals, outages, history, averages, outage impacts, outage_impacts, downtime ranking, downtime_ranking, restoration priority, restoration_priority, affected agents, affected_agents, summary, explanations, Measure terminal downtime impact.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"terminals",
"outages"
],
"properties": {
"history": {
"type": "array",
"items": {
"type": "object",
"required": [
"terminal_id",
"date",
"transaction_count"
],
"properties": {
"date": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$",
"description": "date, string. Required."
},
"commission": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0,
"description": "commission, integer, from 0 to 9007199254740991. Optional."
},
"terminal_id": {
"type": "string",
"maxLength": 120,
"minLength": 1,
"description": "terminal id, string, length 1 to 120. Required."
},
"active_minutes": {
"type": "integer",
"maximum": 1440,
"minimum": 1,
"description": "active minutes, integer, from 1 to 1440. Optional."
},
"transaction_count": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0,
"description": "transaction count, integer, from 0 to 9007199254740991. Required."
},
"transaction_value": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0,
"description": "transaction value, integer, from 0 to 9007199254740991. Optional."
}
},
"description": "item, object. Required."
},
"description": "history, array. Optional."
},
"outages": {
"type": "array",
"items": {
"type": "object",
"required": [
"id",
"terminal_id",
"started_at",
"ended_at"
],
"properties": {
"id": {
"type": "string",
"maxLength": 120,
"minLength": 1,
"description": "id, string, length 1 to 120. Required."
},
"ended_at": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d{1,3})?Z$",
"description": "started at, string. Required."
},
"started_at": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d{1,3})?Z$",
"description": "started at, string. Required."
},
"terminal_id": {
"type": "string",
"maxLength": 120,
"minLength": 1,
"description": "terminal id, string, length 1 to 120. Required."
}
},
"description": "item, object. Required."
},
"description": "outages, array. Required."
},
"averages": {
"type": "array",
"items": {
"type": "object",
"required": [
"terminal_id",
"transactions_per_hour"
],
"properties": {
"terminal_id": {
"type": "string",
"maxLength": 120,
"minLength": 1,
"description": "terminal id, string, length 1 to 120. Required."
},
"commission_bps": {
"type": "integer",
"maximum": 1000000,
"minimum": 0,
"description": "commission bps, integer, from 0 to 1000000. Optional."
},
"transactions_per_hour": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0,
"description": "transaction count, integer, from 0 to 9007199254740991. Required."
},
"average_transaction_value": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0,
"description": "average transaction value, integer, from 0 to 9007199254740991. Optional."
}
},
"description": "item, object. Required."
},
"description": "averages, array. Optional."
},
"terminals": {
"type": "array",
"items": {
"type": "object",
"required": [
"id"
],
"properties": {
"id": {
"type": "string",
"maxLength": 120,
"minLength": 1,
"description": "id, string, length 1 to 120. Required."
},
"agent_id": {
"type": "string",
"maxLength": 120,
"minLength": 1,
"description": "agent id, string, length 1 to 120. Optional."
},
"location_id": {
"type": "string",
"maxLength": 120,
"minLength": 1,
"description": "location id, string, length 1 to 120. Optional."
}
},
"description": "item, object. Required."
},
"description": "terminals, array. Required."
}
}
},
"outputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"summary": {
"type": "object",
"properties": {
"outages": {
"type": "number",
"description": "outages. Number."
},
"terminals": {
"type": "number",
"description": "terminals. Number."
},
"estimated_lost_value": {
"type": "number",
"description": "estimated_lost_value. Number."
},
"total_downtime_minutes": {
"type": "number",
"description": "total_downtime_minutes. Number."
},
"estimated_lost_commission": {
"type": "number",
"description": "estimated_lost_commission. Number."
},
"estimated_lost_transactions": {
"type": "number",
"description": "estimated_lost_transactions. Number."
}
},
"description": "summary. Object.",
"additionalProperties": {}
},
"explanations": {
"type": "array",
"items": {
"type": "string",
"description": "item. String."
},
"description": "explanations. Array."
},
"outage_impacts": {
"type": "array",
"items": {
"type": "object",
"properties": {
"agent_id": {
"type": "string",
"description": "agent_id. String."
},
"ended_at": {
"type": "string",
"description": "ended_at. String."
},
"outage_id": {
"type": "string",
"description": "outage_id. String."
},
"started_at": {
"type": "string",
"description": "started_at. String."
},
"location_id": {
"type": "string",
"description": "location_id. String."
},
"terminal_id": {
"type": "string",
"description": "terminal_id. String."
},
"estimate_basis": {
"type": "string",
"description": "estimate_basis. String."
},
"priority_score": {
"type": "number",
"description": "priority_score. Number."
},
"downtime_minutes": {
"type": "number",
"description": "downtime_minutes. Number."
},
"measurement_basis": {
"type": "string",
"description": "measurement_basis. String."
},
"measured_commission": {
"type": "number",
"description": "measured_commission. Number."
},
"estimated_lost_value": {
"type": "number",
"description": "estimated_lost_value. Number."
},
"estimated_lost_commission": {
"type": "number",
"description": "estimated_lost_commission. Number."
},
"measured_transaction_count": {
"type": "number",
"description": "measured_transaction_count. Number."
},
"measured_transaction_value": {
"type": "number",
"description": "measured_transaction_value. Number."
},
"estimated_lost_transactions": {
"type": "number",
"description": "estimated_lost_transactions. Number."
}
},
"description": "item. Object.",
"additionalProperties": {}
},
"description": "outage_impacts. Array."
},
"affected_agents": {
"type": "array",
"items": {
"type": "string",
"description": "item. String."
},
"description": "affected_agents. Array."
},
"downtime_ranking": {
"type": "array",
"items": {
"type": "object",
"properties": {
"agent_id": {
"type": "string",
"description": "agent_id. String."
},
"location_id": {
"type": "string",
"description": "location_id. String."
},
"terminal_id": {
"type": "string",
"description": "terminal_id. String."
},
"outage_count": {
"type": "number",
"description": "outage_count. Number."
},
"priority_score": {
"type": "number",
"description": "priority_score. Number."
},
"downtime_minutes": {
"type": "number",
"description": "downtime_minutes. Number."
},
"estimated_lost_value": {
"type": "number",
"description": "estimated_lost_value. Number."
},
"estimated_lost_commission": {
"type": "number",
"description": "estimated_lost_commission. Number."
},
"estimated_lost_transactions": {
"type": "number",
"description": "estimated_lost_transactions. Number."
}
},
"description": "item. Object.",
"additionalProperties": {}
},
"description": "downtime_ranking. Array."
},
"restoration_priority": {
"type": "array",
"items": {
"type": "object",
"properties": {
"rank": {
"type": "number",
"description": "rank. Number."
},
"reason": {
"type": "string",
"description": "reason. String."
},
"agent_id": {
"type": "string",
"description": "agent_id. String."
},
"location_id": {
"type": "string",
"description": "location_id. String."
},
"terminal_id": {
"type": "string",
"description": "terminal_id. String."
},
"priority_score": {
"type": "number",
"description": "priority_score. Number."
}
},
"description": "item. Object.",
"additionalProperties": {}
},
"description": "restoration_priority. Array."
}
},
"additionalProperties": {}
},
"annotations": {
"title": "Measure terminal downtime impact",
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}Package caller-supplied agent and operator records into a chronological evidence timeline for financial disputes. Docs: https://www.brainiac.software/api/agent-networks/agent-dispute-evidence Keywords: dispute, records, dispute id, dispute_id, agent id, agent_id, currency, disputed amount, disputed_amount, timeline, inconsistencies, missing evidence, missing_evidence, disputed amount breakdown, disputed_amount_breakdown.
| Parameter | Type | Description |
|---|---|---|
| dispute * | object | dispute, object. Required. |
| records * | array | records, array. Required. |
{
"name": "agent-networks_agent-dispute-evidence",
"title": "Build agent dispute evidence",
"description": "Package caller-supplied agent and operator records into a chronological evidence timeline for financial disputes. Docs: https://www.brainiac.software/api/agent-networks/agent-dispute-evidence Keywords: dispute, records, dispute id, dispute_id, agent id, agent_id, currency, disputed amount, disputed_amount, timeline, inconsistencies, missing evidence, missing_evidence, disputed amount breakdown, disputed_amount_breakdown.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"dispute",
"records"
],
"properties": {
"dispute": {
"type": "object",
"required": [
"id",
"agent_id",
"currency",
"disputed_amount",
"opened_at",
"categories"
],
"properties": {
"id": {
"type": "string",
"maxLength": 120,
"minLength": 1,
"description": "id, string, length 1 to 120. Required."
},
"detail": {
"type": "string",
"maxLength": 1000,
"minLength": 1,
"description": "detail, string, length 1 to 1000. Optional."
},
"agent_id": {
"type": "string",
"maxLength": 120,
"minLength": 1,
"description": "agent id, string, length 1 to 120. Required."
},
"currency": {
"type": "string",
"pattern": "^[A-Z]{3}$",
"description": "currency, string. Required."
},
"opened_at": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d{1,3})?Z$",
"description": "opened at, string. Required."
},
"categories": {
"type": "array",
"items": {
"enum": [
"balance",
"commission",
"reversal",
"cash_deposit",
"settlement_deduction",
"other"
],
"type": "string",
"description": "item, string, one of balance, commission, reversal, cash_deposit, settlement_deduction, other. Required."
},
"description": "categories, array. Required."
},
"disputed_amount": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": -9007199254740991,
"description": "disputed amount, integer, from -9007199254740991 to 9007199254740991. Required."
}
},
"description": "dispute, object. Required."
},
"records": {
"type": "array",
"items": {
"type": "object",
"required": [
"id",
"at",
"kind"
],
"properties": {
"at": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d{1,3})?Z$",
"description": "opened at, string. Required."
},
"id": {
"type": "string",
"maxLength": 120,
"minLength": 1,
"description": "id, string, length 1 to 120. Required."
},
"kind": {
"enum": [
"transaction",
"balance_snapshot",
"commission",
"settlement",
"cash_deposit",
"reversal",
"adjustment",
"note"
],
"type": "string",
"description": "kind, string, one of transaction, balance_snapshot, commission, settlement, cash_deposit, reversal. Required."
},
"amount": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": -9007199254740991,
"description": "amount, integer, from -9007199254740991 to 9007199254740991. Optional."
},
"detail": {
"type": "string",
"maxLength": 500,
"minLength": 1,
"description": "detail, string, length 1 to 500. Optional."
},
"balance": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": -9007199254740991,
"description": "balance, integer, from -9007199254740991 to 9007199254740991. Optional."
},
"currency": {
"type": "string",
"pattern": "^[A-Z]{3}$",
"description": "currency, string. Optional."
},
"reference": {
"type": "string",
"maxLength": 120,
"minLength": 1,
"description": "reference, string, length 1 to 120. Optional."
}
},
"description": "item, object. Required."
},
"description": "records, array. Required."
}
}
},
"outputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"agent_id": {
"type": "string",
"description": "agent_id. String."
},
"currency": {
"type": "string",
"description": "currency. String."
},
"timeline": {
"type": "array",
"items": {
"type": "object",
"properties": {
"at": {
"type": "string",
"description": "at. String."
},
"id": {
"type": "string",
"description": "id. String."
},
"kind": {
"type": "string",
"description": "kind. String."
},
"balance": {
"type": "number",
"description": "balance. Number."
},
"classification": {
"type": "string",
"description": "classification. String."
}
},
"description": "item. Object.",
"additionalProperties": {}
},
"description": "timeline. Array."
},
"dispute_id": {
"type": "string",
"description": "dispute_id. String."
},
"explanations": {
"type": "array",
"items": {
"type": "string",
"description": "item. String."
},
"description": "explanations. Array."
},
"disputed_amount": {
"type": "number",
"description": "disputed_amount. Number."
},
"inconsistencies": {
"type": "array",
"items": {
"type": "object",
"properties": {
"code": {
"type": "string",
"description": "code. String."
},
"evidence": {
"type": "array",
"items": {
"type": "string",
"description": "item. String."
},
"description": "evidence. Array."
},
"to_balance": {
"type": "number",
"description": "to_balance. Number."
},
"from_balance": {
"type": "number",
"description": "from_balance. Number."
},
"to_record_id": {
"type": "string",
"description": "to_record_id. String."
},
"classification": {
"type": "string",
"description": "classification. String."
},
"from_record_id": {
"type": "string",
"description": "from_record_id. String."
},
"expected_balance": {
"type": "number",
"description": "expected_balance. Number."
},
"unexplained_delta": {
"type": "number",
"description": "unexplained_delta. Number."
},
"explained_movement": {
"type": "number",
"description": "explained_movement. Number."
}
},
"description": "item. Object.",
"additionalProperties": {}
},
"description": "inconsistencies. Array."
},
"missing_evidence": {
"type": "array",
"items": {
"type": "string",
"description": "Item. String."
},
"description": "missing_evidence. Array."
},
"resolution_report": {
"type": "object",
"properties": {
"status": {
"type": "string",
"description": "status. String."
},
"summary": {
"type": "string",
"description": "summary. String."
},
"inconsistency_count": {
"type": "number",
"description": "inconsistency_count. Number."
},
"verified_fact_count": {
"type": "number",
"description": "verified_fact_count. Number."
},
"missing_evidence_count": {
"type": "number",
"description": "missing_evidence_count. Number."
}
},
"description": "resolution_report. Object.",
"additionalProperties": {}
},
"disputed_amount_breakdown": {
"type": "array",
"items": {
"type": "object",
"properties": {
"category": {
"type": "string",
"description": "category. String."
},
"record_ids": {
"type": "array",
"items": {
"type": "string",
"description": "Item. String."
},
"description": "record_ids. Array."
},
"record_count": {
"type": "number",
"description": "record_count. Number."
},
"signed_amount_total": {
"type": "number",
"description": "signed_amount_total. Number."
}
},
"description": "item. Object.",
"additionalProperties": {}
},
"description": "disputed_amount_breakdown. Array."
}
},
"additionalProperties": {}
},
"annotations": {
"title": "Build agent dispute evidence",
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}Tool calls wrap the existing POST APIs and stay pay-per-call. initialize and tools/list are free. An unpaid tool call returns the x402 payment terms in the tool result and does not run. Retry with the payment in params._meta["x402/payment"], or send payment-signature. Payment settles only after a successful result.
Names, descriptions and schemas were written by the server and are shown as data.
Pattern matches on what the server declares. They show what it says it can do, not what it does.
Too large to show here.
{
"name": "agent-networks_cash-shortage-analysis",
"title": "Analyze agent cash shortage",
"description": "Project caller-supplied outlet cash over the requested days. Docs: https://www.brainiac.software/api/agent-networks/cash-shortage-analysis Keywords: start date, period days, outlets, transactions, demand, schedules, replenishment, projected balances, projected_balances, shortage dates, shortage_dates, affected outlets, affected_outlets, minimum replenishment, minimum_replenishment.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"start_date",
"period_days",
"outlets"
],
"properties": {
"demand": {
"type": "array",
"items": {
"type": "object",
"required": [
"outlet_id",
"cash_out"
],
"properties": {
"date": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$",
"description": "date, string. Optional."
},
"weekday": {
"type": "integer",
"maximum": 6,
"minimum": 0,
"description": "weekday, integer, from 0 to 6. Optional."
},
"cash_out": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0,
"description": "amount, integer, from 0 to 9007199254740991. Required."
},
"outlet_id": {
"type": "string",
"maxLength": 120,
"minLength": 1,
"description": "outlet id, string, length 1 to 120. Required."
}
},
"description": "item, object. Required."
},
"description": "demand, array. Optional."
},
"outlets": {
"type": "array",
"items": {
"type": "object",
"required": [
"id",
"cash_balance"
],
"properties": {
"id": {
"type": "string",
"maxLength": 120,
"minLength": 1,
"description": "id, string, length 1 to 120. Required."
},
"cash_balance": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": -9007199254740991,
"description": "cash balance, integer, from -9007199254740991 to 9007199254740991. Required."
},
"minimum_balance": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0,
"description": "minimum balance, integer, from 0 to 9007199254740991. Optional."
}
},
"description": "item, object. Required."
},
"description": "outlets, array. Required."
},
"schedules": {
"type": "array",
"items": {
"type": "object",
"required": [
"outlet_id",
"weekday"
],
"properties": {
"weekday": {
"type": "integer",
"maximum": 6,
"minimum": 0,
"description": "weekday, integer, from 0 to 6. Required."
},
"outlet_id": {
"type": "string",
"maxLength": 120,
"minLength": 1,
"description": "outlet id, string, length 1 to 120. Required."
}
},
"description": "item, object. Required."
},
"description": "schedules, array. Optional."
},
"start_date": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$",
"description": "start date, string. Required."
},
"period_days": {
"type": "integer",
"maximum": 90,
"minimum": 1,
"description": "period days, integer, from 1 to 90. Required."
},
"transactions": {
"type": "array",
"items": {
"type": "object",
"required": [
"id",
"outlet_id",
"date",
"direction",
"amount"
],
"properties": {
"id": {
"type": "string",
"maxLength": 120,
"minLength": 1,
"description": "id, string, length 1 to 120. Required."
},
"date": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$",
"description": "start date, string. Required."
},
"amount": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0,
"description": "amount, integer, from 0 to 9007199254740991. Required."
},
"direction": {
"enum": [
"in",
"out"
],
"type": "string",
"description": "direction, string, one of in, out. Required."
},
"outlet_id": {
"type": "string",
"maxLength": 120,
"minLength": 1,
"description": "outlet id, string, length 1 to 120. Required."
}
},
"description": "item, object. Required."
},
"description": "transactions, array. Optional."
},
"replenishment": {
"type": "array",
"items": {
"type": "object",
"required": [
"outlet_id",
"amount"
],
"properties": {
"date": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$",
"description": "date, string. Optional."
},
"amount": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0,
"description": "amount, integer, from 0 to 9007199254740991. Required."
},
"weekday": {
"type": "integer",
"maximum": 6,
"minimum": 0,
"description": "weekday, integer, from 0 to 6. Optional."
},
"outlet_id": {
"type": "string",
"maxLength": 120,
"minLength": 1,
"description": "outlet id, string, length 1 to 120. Required."
},
"every_days": {
"type": "integer",
"maximum": 90,
"minimum": 1,
"description": "every days, integer, from 1 to 90. Optional."
}
},
"description": "item, object. Required."
},
"description": "replenishment, array. Optional."
}
}
},
"outputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"assumptions": {
"type": "array",
"items": {
"type": "object",
"properties": {
"outlet_id": {
"type": "string",
"description": "outlet_id. String."
},
"assumption": {
"type": "string",
"description": "assumption. String."
}
},
"description": "item. Object.",
"additionalProperties": {}
},
"description": "assumptions. Array."
},
"shortage_dates": {
"type": "array",
"items": {
"type": "object",
"properties": {
"date": {
"type": "string",
"description": "date. String."
},
"outlet_id": {
"type": "string",
"description": "outlet_id. String."
},
"shortage_amount": {
"type": "number",
"description": "shortage_amount. Number."
}
},
"description": "item. Object.",
"additionalProperties": {}
},
"description": "shortage_dates. Array."
},
"affected_outlets": {
"type": "array",
"items": {
"type": "object",
"properties": {
"outlet_id": {
"type": "string",
"description": "outlet_id. String."
},
"shortage_amount": {
"type": "number",
"description": "shortage_amount. Number."
},
"first_shortage_date": {
"type": "string",
"description": "first_shortage_date. String."
}
},
"description": "item. Object.",
"additionalProperties": {}
},
"description": "affected_outlets. Array."
},
"projected_balances": {
"type": "array",
"items": {
"type": "object",
"properties": {
"date": {
"type": "string",
"description": "date. String."
},
"cash_in": {
"type": "number",
"description": "cash_in. Number."
},
"cash_out": {
"type": "number",
"description": "cash_out. Number."
},
"outlet_id": {
"type": "string",
"description": "outlet_id. String."
},
"cash_balance": {
"type": "number",
"description": "cash_balance. Number."
},
"replenishment": {
"type": "number",
"description": "replenishment. Number."
}
},
"description": "item. Object.",
"additionalProperties": {}
},
"description": "projected_balances. Array."
},
"minimum_replenishment": {
"type": "array",
"items": {
"type": "object",
"properties": {
"amount": {
"type": "number",
"description": "amount. Number."
},
"outlet_id": {
"type": "string",
"description": "outlet_id. String."
}
},
"description": "item. Object.",
"additionalProperties": {}
},
"description": "minimum_replenishment. Array."
}
},
"additionalProperties": {}
},
"annotations": {
"title": "Analyze agent cash shortage",
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}| integer |
| cost of capital bps, integer, from 0 to 1000000. Optional. |
{
"name": "agent-networks_liquidity-cost-analysis",
"title": "Analyze liquidity cost",
"description": "Calculate the cost of holding cash and electronic float for the supplied period. Docs: https://www.brainiac.software/api/agent-networks/liquidity-cost-analysis Keywords: period days, agents, annualization days, cost of capital bps, funding costs, replenishments, collections, transfer fees, idle periods, period_days, annualization_days, lines, by agent, by_agent, by currency.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"period_days",
"agents"
],
"properties": {
"agents": {
"type": "array",
"items": {
"type": "object",
"required": [
"id",
"currency",
"cash_float",
"electronic_float",
"transaction_count"
],
"properties": {
"id": {
"type": "string",
"maxLength": 120,
"minLength": 1,
"description": "id, string, length 1 to 120. Required."
},
"currency": {
"type": "string",
"pattern": "^[A-Z]{3}$",
"description": "currency, string. Required."
},
"cash_float": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0,
"description": "cash float, integer, from 0 to 9007199254740991. Required."
},
"electronic_float": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0,
"description": "cash float, integer, from 0 to 9007199254740991. Required."
},
"funding_rate_bps": {
"type": "integer",
"maximum": 1000000,
"minimum": 0,
"description": "funding rate bps, integer, from 0 to 1000000. Optional."
},
"transaction_count": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0,
"description": "cash float, integer, from 0 to 9007199254740991. Required."
},
"cost_of_capital_bps": {
"type": "integer",
"maximum": 1000000,
"minimum": 0,
"description": "cost of capital bps, integer, from 0 to 1000000. Optional."
}
},
"description": "item, object. Required."
},
"description": "agents, array. Required."
},
"collections": {
"type": "array",
"items": {
"type": "object",
"required": [
"agent_id",
"amount",
"cost"
],
"properties": {
"cost": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0,
"description": "cash float, integer, from 0 to 9007199254740991. Required."
},
"amount": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0,
"description": "cash float, integer, from 0 to 9007199254740991. Required."
},
"agent_id": {
"type": "string",
"maxLength": 120,
"minLength": 1,
"description": "agent id, string, length 1 to 120. Required."
}
},
"description": "item, object. Required."
},
"description": "collections, array. Optional."
},
"period_days": {
"type": "integer",
"maximum": 3660,
"minimum": 1,
"description": "period days, integer, from 1 to 3660. Required."
},
"idle_periods": {
"type": "array",
"items": {
"type": "object",
"required": [
"agent_id",
"amount",
"days"
],
"properties": {
"days": {
"type": "integer",
"maximum": 3660,
"minimum": 1,
"description": "days, integer, from 1 to 3660. Required."
},
"amount": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0,
"description": "cash float, integer, from 0 to 9007199254740991. Required."
},
"agent_id": {
"type": "string",
"maxLength": 120,
"minLength": 1,
"description": "agent id, string, length 1 to 120. Required."
}
},
"description": "item, object. Required."
},
"description": "idle periods, array. Optional."
},
"funding_costs": {
"type": "array",
"items": {
"type": "object",
"required": [
"agent_id",
"amount"
],
"properties": {
"amount": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0,
"description": "cash float, integer, from 0 to 9007199254740991. Required."
},
"agent_id": {
"type": "string",
"maxLength": 120,
"minLength": 1,
"description": "agent id, string, length 1 to 120. Required."
}
},
"description": "item, object. Required."
},
"description": "funding costs, array. Optional."
},
"transfer_fees": {
"type": "array",
"items": {
"type": "object",
"required": [
"agent_id",
"amount"
],
"properties": {
"amount": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0,
"description": "cash float, integer, from 0 to 9007199254740991. Required."
},
"agent_id": {
"type": "string",
"maxLength": 120,
"minLength": 1,
"description": "agent id, string, length 1 to 120. Required."
}
},
"description": "item, object. Required."
},
"description": "transfer fees, array. Optional."
},
"replenishments": {
"type": "array",
"items": {
"type": "object",
"required": [
"agent_id",
"amount",
"cost"
],
"properties": {
"cost": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0,
"description": "cash float, integer, from 0 to 9007199254740991. Required."
},
"amount": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0,
"description": "cash float, integer, from 0 to 9007199254740991. Required."
},
"agent_id": {
"type": "string",
"maxLength": 120,
"minLength": 1,
"description": "agent id, string, length 1 to 120. Required."
}
},
"description": "item, object. Required."
},
"description": "replenishments, array. Optional."
},
"annualization_days": {
"type": "integer",
"maximum": 3660,
"minimum": 1,
"description": "annualization days, integer, from 1 to 3660. Optional."
},
"cost_of_capital_bps": {
"type": "integer",
"maximum": 1000000,
"minimum": 0,
"description": "cost of capital bps, integer, from 0 to 1000000. Optional."
}
}
},
"outputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"lines": {
"type": "array",
"items": {
"type": "object",
"properties": {
"amount": {
"type": "number",
"description": "amount. Number."
},
"nature": {
"type": "string",
"description": "nature. String."
},
"formula": {
"type": "string",
"description": "formula. String."
},
"agent_id": {
"type": "string",
"description": "agent_id. String."
},
"category": {
"type": "string",
"description": "category. String."
},
"currency": {
"type": "string",
"description": "currency. String."
},
"intermediates": {
"type": "object",
"properties": {
"amount": {
"type": "number",
"description": "amount. Number."
},
"numerator": {
"type": "number",
"description": "numerator. Number."
},
"cash_float": {
"type": "number",
"description": "cash_float. Number."
},
"period_days": {
"type": "number",
"description": "period_days. Number."
},
"total_float": {
"type": "number",
"description": "total_float. Number."
},
"electronic_float": {
"type": "number",
"description": "electronic_float. Number."
},
"funding_rate_bps": {
"type": "number",
"description": "funding_rate_bps. Number."
},
"annualization_days": {
"type": "number",
"description": "annualization_days. Number."
}
},
"description": "intermediates. Object.",
"additionalProperties": {}
}
},
"description": "item. Object.",
"additionalProperties": {}
},
"description": "lines. Array."
},
"by_agent": {
"type": "array",
"items": {
"type": "object",
"properties": {
"formula": {
"type": "string",
"description": "formula. String."
},
"agent_id": {
"type": "string",
"description": "agent_id. String."
},
"currency": {
"type": "string",
"description": "currency. String."
},
"actual_cost": {
"type": "number",
"description": "actual_cost. Number."
},
"funding_cost": {
"type": "number",
"description": "funding_cost. Number."
},
"collection_cost": {
"type": "number",
"description": "collection_cost. Number."
},
"opportunity_cost": {
"type": "number",
"description": "opportunity_cost. Number."
},
"idle_capital_cost": {
"type": "number",
"description": "idle_capital_cost. Number."
},
"transaction_count": {
"type": "number",
"description": "transaction_count. Number."
},
"transfer_fee_cost": {
"type": "number",
"description": "transfer_fee_cost. Number."
},
"replenishment_cost": {
"type": "number",
"description": "replenishment_cost. Number."
},
"cost_per_transaction": {
"type": "number",
"description": "cost_per_transaction. Number."
},
"total_liquidity_cost": {
"type": "number",
"description": "total_liquidity_cost. Number."
}
},
"description": "item. Object.",
"additionalProperties": {}
},
"description": "by_agent. Array."
},
"formulas": {
"type": "array",
"items": {
"type": "string",
"description": "item. String."
},
"description": "formulas. Array."
},
"by_currency": {
"type": "array",
"items": {
"type": "object",
"properties": {
"formula": {
"type": "string",
"description": "formula. String."
},
"currency": {
"type": "string",
"description": "currency. String."
},
"actual_cost": {
"type": "number",
"description": "actual_cost. Number."
},
"funding_cost": {
"type": "number",
"description": "funding_cost. Number."
},
"collection_cost": {
"type": "number",
"description": "collection_cost. Number."
},
"opportunity_cost": {
"type": "number",
"description": "opportunity_cost. Number."
},
"idle_capital_cost": {
"type": "number",
"description": "idle_capital_cost. Number."
},
"transaction_count": {
"type": "number",
"description": "transaction_count. Number."
},
"transfer_fee_cost": {
"type": "number",
"description": "transfer_fee_cost. Number."
},
"replenishment_cost": {
"type": "number",
"description": "replenishment_cost. Number."
},
"cost_per_transaction": {
"type": "number",
"description": "cost_per_transaction. Number."
},
"total_liquidity_cost": {
"type": "number",
"description": "total_liquidity_cost. Number."
}
},
"description": "item. Object.",
"additionalProperties": {}
},
"description": "by_currency. Array."
},
"period_days": {
"type": "number",
"description": "period_days. Number."
},
"annualization_days": {
"type": "number",
"description": "annualization_days. Number."
}
},
"additionalProperties": {}
},
"annotations": {
"title": "Analyze liquidity cost",
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}| decline bps threshold, integer, from 0 to 1000000. Optional. |
| inactive_days_threshold | integer | inactive days threshold, integer, from 1 to 3660. Optional. |
| permanent_days_threshold | integer | permanent days threshold, integer, from 1 to 3660. Optional. |
{
"name": "agent-networks_dormant-outlet-detect",
"title": "Detect dormant outlets",
"description": "Classify caller-supplied outlets as active, declining, temporarily inactive, permanently inactive, seasonal, suspended, closed, never active, or not yet active. Docs: https://www.brainiac.software/api/agent-networks/dormant-outlet-detect Keywords: as of date, outlets, transactions, inactive days threshold, permanent days threshold, decline bps threshold, baseline days, recent days, schedules, status records, as_of_date, thresholds, inactive outlets, inactive_outlets, requiring investigation.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"as_of_date",
"outlets",
"transactions"
],
"properties": {
"outlets": {
"type": "array",
"items": {
"type": "object",
"required": [
"id"
],
"properties": {
"id": {
"type": "string",
"maxLength": 120,
"minLength": 1,
"description": "id, string, length 1 to 120. Required."
},
"activation_date": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$",
"description": "activation date, string. Optional."
},
"expected_transactions_per_active_day": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0,
"description": "expected transactions per active day, integer, from 0 to 9007199254740991. Optional."
}
},
"description": "item, object. Required."
},
"description": "outlets, array. Required."
},
"schedules": {
"type": "array",
"items": {
"type": "object",
"required": [
"outlet_id",
"weekday"
],
"properties": {
"weekday": {
"type": "integer",
"maximum": 6,
"minimum": 0,
"description": "weekday, integer, from 0 to 6. Required."
},
"outlet_id": {
"type": "string",
"maxLength": 120,
"minLength": 1,
"description": "outlet id, string, length 1 to 120. Required."
}
},
"description": "item, object. Required."
},
"description": "schedules, array. Optional."
},
"as_of_date": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$",
"description": "as of date, string. Required."
},
"recent_days": {
"type": "integer",
"maximum": 3660,
"minimum": 1,
"description": "recent days, integer, from 1 to 3660. Optional."
},
"transactions": {
"type": "array",
"items": {
"type": "object",
"required": [
"id",
"outlet_id",
"date"
],
"properties": {
"id": {
"type": "string",
"maxLength": 120,
"minLength": 1,
"description": "id, string, length 1 to 120. Required."
},
"date": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$",
"description": "as of date, string. Required."
},
"count": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 1,
"description": "count, integer, from 1 to 9007199254740991. Optional."
},
"outlet_id": {
"type": "string",
"maxLength": 120,
"minLength": 1,
"description": "outlet id, string, length 1 to 120. Required."
}
},
"description": "item, object. Required."
},
"description": "transactions, array. Required."
},
"baseline_days": {
"type": "integer",
"maximum": 3660,
"minimum": 1,
"description": "baseline days, integer, from 1 to 3660. Optional."
},
"status_records": {
"type": "array",
"items": {
"type": "object",
"required": [
"outlet_id",
"kind",
"start_date"
],
"properties": {
"kind": {
"enum": [
"closure",
"suspension",
"seasonal"
],
"type": "string",
"description": "kind, string, one of closure, suspension, seasonal. Required."
},
"end_date": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$",
"description": "end date, string. Optional."
},
"outlet_id": {
"type": "string",
"maxLength": 120,
"minLength": 1,
"description": "outlet id, string, length 1 to 120. Required."
},
"start_date": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$",
"description": "as of date, string. Required."
}
},
"description": "item, object. Required."
},
"description": "status records, array. Optional."
},
"decline_bps_threshold": {
"type": "integer",
"maximum": 1000000,
"minimum": 0,
"description": "decline bps threshold, integer, from 0 to 1000000. Optional."
},
"inactive_days_threshold": {
"type": "integer",
"maximum": 3660,
"minimum": 1,
"description": "inactive days threshold, integer, from 1 to 3660. Optional."
},
"permanent_days_threshold": {
"type": "integer",
"maximum": 3660,
"minimum": 1,
"description": "permanent days threshold, integer, from 1 to 3660. Optional."
}
}
},
"outputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"outlets": {
"type": "array",
"items": {
"type": "object",
"properties": {
"evidence": {
"type": "array",
"items": {
"type": "string",
"description": "item. String."
},
"description": "evidence. Array."
},
"outlet_id": {
"type": "string",
"description": "outlet_id. String."
},
"recent_volume": {
"type": "number",
"description": "recent_volume. Number."
},
"classification": {
"type": "string",
"description": "classification. String."
},
"baseline_volume": {
"type": "number",
"description": "baseline_volume. Number."
},
"active_status_kinds": {
"type": "array",
"items": {
"type": "string",
"description": "Item. String."
},
"description": "active_status_kinds. Array."
},
"activity_decline_bps": {
"type": "number",
"description": "activity_decline_bps. Number."
},
"last_transaction_date": {
"type": "string",
"description": "last_transaction_date. String."
},
"requires_investigation": {
"type": "boolean",
"description": "requires_investigation. Boolean."
},
"open_days_without_activity": {
"type": "number",
"description": "open_days_without_activity. Number."
}
},
"description": "item. Object.",
"additionalProperties": {}
},
"description": "outlets. Array."
},
"as_of_date": {
"type": "string",
"description": "as_of_date. String."
},
"thresholds": {
"type": "object",
"properties": {
"recent_days": {
"type": "number",
"description": "recent_days. Number."
},
"baseline_days": {
"type": "number",
"description": "baseline_days. Number."
},
"decline_bps_threshold": {
"type": "number",
"description": "decline_bps_threshold. Number."
},
"inactive_days_threshold": {
"type": "number",
"description": "inactive_days_threshold. Number."
},
"permanent_days_threshold": {
"type": "number",
"description": "permanent_days_threshold. Number."
}
},
"description": "thresholds. Object.",
"additionalProperties": {}
},
"explanations": {
"type": "array",
"items": {
"type": "string",
"description": "item. String."
},
"description": "explanations. Array."
},
"inactive_outlets": {
"type": "array",
"items": {
"type": "object",
"properties": {
"evidence": {
"type": "array",
"items": {
"type": "string",
"description": "item. String."
},
"description": "evidence. Array."
},
"outlet_id": {
"type": "string",
"description": "outlet_id. String."
},
"recent_volume": {
"type": "number",
"description": "recent_volume. Number."
},
"classification": {
"type": "string",
"description": "classification. String."
},
"baseline_volume": {
"type": "number",
"description": "baseline_volume. Number."
},
"active_status_kinds": {
"type": "array",
"items": {
"type": "string",
"description": "Item. String."
},
"description": "active_status_kinds. Array."
},
"inactivity_start_date": {
"type": "string",
"description": "inactivity_start_date. String."
},
"last_transaction_date": {
"type": "string",
"description": "last_transaction_date. String."
},
"requires_investigation": {
"type": "boolean",
"description": "requires_investigation. Boolean."
},
"open_days_without_activity": {
"type": "number",
"description": "open_days_without_activity. Number."
}
},
"description": "item. Object.",
"additionalProperties": {}
},
"description": "inactive_outlets. Array."
},
"requiring_investigation": {
"type": "array",
"items": {
"type": "object",
"properties": {
"evidence": {
"type": "array",
"items": {
"type": "string",
"description": "item. String."
},
"description": "evidence. Array."
},
"outlet_id": {
"type": "string",
"description": "outlet_id. String."
},
"recent_volume": {
"type": "number",
"description": "recent_volume. Number."
},
"classification": {
"type": "string",
"description": "classification. String."
},
"baseline_volume": {
"type": "number",
"description": "baseline_volume. Number."
},
"active_status_kinds": {
"type": "array",
"items": {
"type": "string",
"description": "Item. String."
},
"description": "active_status_kinds. Array."
},
"activity_decline_bps": {
"type": "number",
"description": "activity_decline_bps. Number."
},
"last_transaction_date": {
"type": "string",
"description": "last_transaction_date. String."
},
"requires_investigation": {
"type": "boolean",
"description": "requires_investigation. Boolean."
},
"open_days_without_activity": {
"type": "number",
"description": "open_days_without_activity. Number."
}
},
"description": "item. Object.",
"additionalProperties": {}
},
"description": "requiring_investigation. Array."
}
},
"additionalProperties": {}
},
"annotations": {
"title": "Detect dormant outlets",
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}