Skip to main content
GET
/
v2
/
integrations
/
connections
/
{connection_id}
/
api-usage-metrics
Get Connection API Metrics
curl --request GET \
  --url https://api.example.com/v2/integrations/connections/{connection_id}/api-usage-metrics \
  --header 'Authorization: Bearer <token>'
[
  {
    "timestamp": "2023-11-07T05:31:56Z",
    "avg_payload_size": 123,
    "avg_response_time": 123,
    "interval": "<string>",
    "total_requests": 123,
    "total_success": 123
  }
]

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

connection_id
string
required

Query Parameters

since
string<date-time> | null

Response

Successful Response

timestamp
string<date-time>
required
avg_payload_size
number
required

Average payload size in bytes.

avg_response_time
number
required

Average response time in seconds.

interval
string
required
total_requests
integer
required

Total number of requests for this period.

total_success
integer
required

Total number of successful requests for this period.