Get Connection Usage

Returns 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.

Authentication

AuthorizationBearer
Bearer user API key
OR
AuthorizationBasic

Basic organization-scoped API key

Path parameters

idstringRequiredformat: "uuid"
Unique identifier of the connection whose API consumption should be returned.

Headers

X-Polytomic-VersionstringOptional

Response

OK
dataobject

Errors

401
Unauthorized Error
404
Not Found Error
500
Internal Server Error