Get Usage
Records held and searched, per index and in total, over the last days days.
Authentication
AuthorizationBearer
A write key, issued by Captain. Server side only. Sent as Authorization: Bearer <key>.
Query parameters
days
Response
usage
days
start_date
end_date
indexes
total
partial
true when the search log was too large to read whole within one request’s budget: the numbers cover what was counted
partial_reason
row_budget: more searches than one request holds (500,000); time_budget: more than about 3.5 seconds of reading; counting (usage): days still being counted
Allowed values: