sayintel
Endpoint

Get provider usage

GET/api/public/v1/provider-usageread

How many paid-provider credits this account used. provider is apollo, fullenrich, firecrawl, apify, xai, exa, perplexity, gateway, anthropic, or all. Optional campaign_id limits it to one conference you own. since is an ISO time (default the last 30 days). group_by is day, trigger, or campaign. Returns credits today, the last 7 days and the last 30 days, the groups, whether the ledger is on, the Apollo pause and caps, and the Apollo balance when the key allows it. Spends nothing.

Request

curl "https://sayintel.com/api/public/v1/provider-usage" \
  -H "Authorization: Bearer $SAYINTEL_TOKEN"

Try it out

Try it outGET/api/public/v1/provider-usageread

Sent as a bearer token to this site only, and kept in this tab's session storage. It is never written to disk or sent anywhere else.

Paste an API key to run.

Query parameters

NameInTypeRequiredDescription
providerquerystringapollo | fullenrich | firecrawl | apify | xai | exa | perplexity | gateway | anthropic | allno—
campaign_idquerystringno—
sincequerystringno—
group_byquerystringday | trigger | campaignno—
workspacequerystringnoOptional. Read this call against another account you belong to: pass the workspace_id that list_workspaces returns. Omit to use your own account. Refused for accounts where you hold only a client or conference seat.
acting_accountquerystringnoWhich sayintel login this call acts on: an account_id or email from list_accounts. Required once logins are linked to this connection.

Response

{
  "ok": true,
  "tool": "get_provider_usage",
  "kind": "read",
  "data": { ... },
  "error": null
}

Notes