Get Connection Usage
Changed onReturns the connection's API consumption over the last 24 hours, broken down by sync when the backend supports it.
Not all integrations support usage reporting.
- callsLast24h is null when the backend does not expose a usage count.
- reportsSyncStats is false, and bySync is empty, when the backend reports a total but cannot attribute calls to individual syncs.
When per-sync stats are available, each entry in bySync carries a categories breakdown. Category keys and labels are integration-specific. For example, Salesforce reports rest and bulk categories (collapsing Bulk API v1 and v2 into a single bulk bucket), while another integration may report an entirely different set or none at all. Treat key as an opaque, backend-defined identifier and use label for display; do not assume a fixed vocabulary across connection types.
Request
- Base URLhttps://app.polytomic.com
- Auth
- HTTP bearer
- or HTTP basic
Path parameters
Unique identifier of the connection whose API consumption should be returned
Headers
Response
OK
Example response
{
"data": {
"bySync": [
{
"syncId": "248df4b7-aa70-47b8-a036-33ac447e668d"
}
],
"connectionId": "248df4b7-aa70-47b8-a036-33ac447e668d"
}
}Changes
- breaking
the
response's property type changed fromobjectto no type for status - warning
removed the optional property
/from the response with the status - warning
removed the optional property
/from the response with the status - warning
removed the optional property
/from the response with the status - warning
removed the optional property
/from the response with the status - info
added to the
response propertyallOflist for the response status
- breaking