This month's usage and the day or month buckets
https://api.floconnector.com/v1/activity/summary- Scope
activity.read- Rate limit
- the key's read budget, 120 a minute
month is this UTC calendar month: metered calls, free calls and failed calls. buckets is the trailing series for a chart, one per UTC day (days, up to 90) or month (months, up to 24), zero-filled and oldest first. month.plan is null unless the key also holds billing.read.
Query parameters
The bucket size: day or month. Default day.
Default day
Buckets when period=day (trailing, zero-filled, UTC).
Default 14Range 1 to 90
Buckets when period=month (trailing, zero-filled, UTC).
Default 12Range 1 to 24
Responses
200Success
periodenumThe bucket size the request asked for.
daymonthmonthobjectThis UTC calendar month's usage.
ShowHide 5 fields
external_callsintegerMetered vendor calls this month: the calls that count against the plan's included calls.
internal_callsintegerFree calls this month: analytics queries plus calls on connectors that are not metered.
errorsintegerFailed vendor calls this month, metered or not.
planobjectnullableThe plan's monthly allowance. Null unless the caller may see billing: an API key needs the billing.read scope as well.
ShowHide 2 fields
namestringThe plan's display name.
included_calls_per_monthintegerCalls the plan includes each month. 0 means every call is metered from the first one.
scoped_to_youbooleanTrue when the counts cover only the caller's own calls and the calls made through connections they authorized. Always false for an API key.
bucketsarray of objectOne per day or month of the trailing range, zero-filled, oldest first.
ShowHide 4 fields of each item
atstringThe bucket's UTC date: YYYY-MM-DD when period is day, YYYY-MM when it is month.
externalintegerMetered vendor calls in the bucket.
internalintegerFree calls in the bucket: analytics queries plus calls on connectors that are not metered.
errorsintegerFailed vendor calls in the bucket.
400validation: a field failed validation; field names it.
Every error has the same envelope:
errorobjectShowHide 5 fields
codeenumWhat went wrong, as a stable word. Branch on this, never on message.
unauthorizedforbiddeninsufficient_scopeplan_limitnot_foundvalidationconflictread_onlyrate_limitedcsrfunavailableinternalmessagestringThe same thing in a sentence, written for a person.
fieldstringoptionalvalidation only: the field that failed, as a path into the request.
requiredstringoptionalinsufficient_scope only: the scope the route needs.
detailsobjectoptionalExtra structure some errors carry, such as a refused record batch's per-record errors.
401unauthorized: no key, or an unknown, revoked or expired key.
Every error has the same envelope:
errorobjectShowHide 5 fields
codeenumWhat went wrong, as a stable word. Branch on this, never on message.
unauthorizedforbiddeninsufficient_scopeplan_limitnot_foundvalidationconflictread_onlyrate_limitedcsrfunavailableinternalmessagestringThe same thing in a sentence, written for a person.
fieldstringoptionalvalidation only: the field that failed, as a path into the request.
requiredstringoptionalinsufficient_scope only: the scope the route needs.
detailsobjectoptionalExtra structure some errors carry, such as a refused record batch's per-record errors.
403insufficient_scope: the key lacks the route's scope, named in required. Or forbidden, or plan_limit when the plan does not include the API.
Every error has the same envelope:
errorobjectShowHide 5 fields
codeenumWhat went wrong, as a stable word. Branch on this, never on message.
unauthorizedforbiddeninsufficient_scopeplan_limitnot_foundvalidationconflictread_onlyrate_limitedcsrfunavailableinternalmessagestringThe same thing in a sentence, written for a person.
fieldstringoptionalvalidation only: the field that failed, as a path into the request.
requiredstringoptionalinsufficient_scope only: the scope the route needs.
detailsobjectoptionalExtra structure some errors carry, such as a refused record batch's per-record errors.
404not_found: the thing is not in this workspace.
Every error has the same envelope:
errorobjectShowHide 5 fields
codeenumWhat went wrong, as a stable word. Branch on this, never on message.
unauthorizedforbiddeninsufficient_scopeplan_limitnot_foundvalidationconflictread_onlyrate_limitedcsrfunavailableinternalmessagestringThe same thing in a sentence, written for a person.
fieldstringoptionalvalidation only: the field that failed, as a path into the request.
requiredstringoptionalinsufficient_scope only: the scope the route needs.
detailsobjectoptionalExtra structure some errors carry, such as a refused record batch's per-record errors.
429rate_limited: the key's per-minute budget is spent. Retry after Retry-After seconds.
Every error has the same envelope:
errorobjectShowHide 5 fields
codeenumWhat went wrong, as a stable word. Branch on this, never on message.
unauthorizedforbiddeninsufficient_scopeplan_limitnot_foundvalidationconflictread_onlyrate_limitedcsrfunavailableinternalmessagestringThe same thing in a sentence, written for a person.
fieldstringoptionalvalidation only: the field that failed, as a path into the request.
requiredstringoptionalinsufficient_scope only: the scope the route needs.
detailsobjectoptionalExtra structure some errors carry, such as a refused record batch's per-record errors.
Errors lists every error code and what to do about it.