CLIENT API / V1 COMPANY CREDITS & USAGE

Read company-wide API usage

GET/company/usagebilling:read

Read company-wide API usage. Only explicitly granted sites and permissions are accessible. No credentials or raw worker payloads are returned. Requires explicitly delegated company-wide billing:read; business-unit-restricted integrations are rejected. No date filters or credit mutations are supported.

RequestGET https://satelliteai.io/api/v1/company/usage
Permissionbilling:read
ResponseA list (cursor or offset paginated): data is array of CompanyApiUsage.
Operation IDgetCompanyApiUsage

More context and worked examples are in the developer guide.

Example request

cURL · Bash
curl --fail-with-body \
  'https://satelliteai.io/api/v1/company/usage' \
  -H "Authorization: Bearer $SATELLITE_API_KEY"

Replace the example IDs with values returned by the discovery endpoints. Example values are placeholders, not real records.

Parameters

NameInTypeDescription
limitqueryintegerMaximum records per page. Default 50, maximum 100.
default 50 · min 1 · max 100
offsetqueryintegerZero-based row offset, default 0, maximum 100000.
default 0 · min 0 · max 100000

Unknown or repeated query parameters return 400.

Data dictionary

Scoped result. Lists return pagination metadata; unavailable records return 404. Daily API request counters across this company’s integrations. latency_ms_total is the sum, not an average. Credit spending is in credit-transactions.

[] marks an array element. nullable means the value can be null; treat it as unknown, not zero. always present means the key is always included in the object.

Fields in data
FieldTypeDescription
data[].idintegerId.
data[].integration_idintegerIntegration id.
data[].request_countintegerRequest count.
data[].successesintegerSuccesses.
data[].errorsintegerErrors.
data[].throttlesintegerThrottles.
data[].response_bytesintegerResponse bytes.
data[].latency_ms_totalintegerLatency ms total.
data[].daystring (date)
data[].endpoint_familystring

Response metadata

Fields in meta
FieldTypeDescription
meta.request_idstringalways presentRequest identifier; also returned in X-Request-ID. Include it in support requests.
meta.api_versionstringalways presentAPI version that produced the response.
one of: v1
meta.limitintegerApplied page size; default 50, maximum 100.
meta.has_morebooleanWhether another page exists.
meta.next_cursorstringnullableOpaque cursor for the next page; send as cursor. Null on the last page.
meta.availabilitystringavailable when stored data exists; not_available when it does not.
one of: available, not_available
meta.billingobjectPresent for paid live SERP requests; replayed receipts describe the original debit, not an additional charge.
meta.billing.operationstringalways present
one of: client_api_serp_refresh
meta.billing.credits_chargedintegeralways present
min 0
meta.billing.transaction_idintegeralways present
meta.billing.replayedbooleanalways present
meta.offsetintegerApplied offset, maximum 100000.
meta.next_offsetintegernullableNext offset, null at the end.

Error responses

Errors return {"error": {"code", "message", "request_id"}}. See error handling for retry guidance.

HTTPWhen
400Invalid parameters
401Invalid credentials
403Missing permission
404Missing or inaccessible resource