Skip to main content
GET
Get usage

Authorizations

Authorization
string
header
required

An InsightChain API key: ic_live_... for your organization, ic_test_... for its sandbox

Query Parameters

days
integer
default:30

UTC calendar days, today included

Required range: 1 <= x <= 30
environment
enum<string>

A key reads its own environment only: the other value returns nothing

Available options:
live,
test

Response

OK

as_of
string<date-time>
required
days
integer
required
keys
object[]
required
daily
object[]
required

One row per key and day (UTC) that had calls, newest day first

retention_days
integer
required

Days the log is kept

request_id
string
required

Quote this when asking about the request; also the X-Request-ID header