Skip to main content
TroopyDocs
Open Troopy
Troopy

API reference / Support Agent

Get the number of Liquid SaaS

How often a chat ended with something done for the customer, week by week, for 4 weeks. Also how the signed-in customers with something done compare with the others: who started to pay and who stopped, in 7 and 14 days. It is a signal, not a cause. Not found while Liquid SaaS is off.

get/api/v1/support-liquid/report

Authorization

HeaderAuthorization: Bearer <API key>
Or the headerX-API-Key: <API key>
API keyMake one in Troopy under Settings > API keys. It acts as you, in its workspace.

Other ways to call it

CLItroopy liquid report
MCP tooltroopy_get_liquid_report
Rate limit30 calls in 60 seconds, for each key

Response

200 · application/json
data*object
3 properties
weeks*array<object>
3 properties
start*string

ISO 8601 date and time

chats*integer
withAction*integer
cohorts*array<object>
3 properties
days*integer
action*object
5 properties
chats*integer
free*integer

Customers who did not pay at the chat

converted*integer

Of those, the customers who started to pay within the days

paying*integer

Customers who paid at the chat

churned*integer

Of those, the customers who stopped within the days

none*object
5 properties
chats*integer
free*integer

Customers who did not pay at the chat

converted*integer

Of those, the customers who started to pay within the days

paying*integer

Customers who paid at the chat

churned*integer

Of those, the customers who stopped within the days

capped*boolean

The report read the newest 5,000 chats only

Errors

401 unauthorizedSend an API key as `Authorization: Bearer tr_live_...`. Create one in Troopy under Settings.
403 forbiddenThe key lacks a scope this operation needs, or its owner lacks the role. detail says which; create a key with the scope, or ask an organization owner or admin.
429 rate_limitedWait the number of seconds in Retry-After, then retry.