Get Request Count
Changed onRetrieve the daily count of API requests made by your team within a specified date range. Filter by types, exact endpoint path, origin, API key or search_pattern_key. credit_start_datetime/credit_end_datetime selects requests by charge date and suppresses request-date defaults; returned buckets still use the actual request date. credit_types selects positive API or Company credit charges. min_credits_consumed/max_credits_consumed bound the total (api + ui) credits a request consumed, matching the filter on the request list.
Request
- Base URLhttps://api.theirstack.com
- URLhttps://api.theirstack.com/v0/requests/count
- AuthHTTP bearer
Query parameters
Start datetime in ISO format (e.g., 2023-01-01T00:00:00)
End datetime in ISO format (e.g., 2023-01-01T23:59:59)
Filter by origin app or api
Filter by request origin (api, app, web, mcp)
Filter by API key id
Exact request URL path, e.g. /v1/jobs/search; host and query string are ignored.
Start of the charge-date window (inclusive), independent of when requests ran.
End of the charge-date window (inclusive).
Only requests with positive charges of these types in the charge window: api or ui (Company credits). Returned credit totals use the same window and selected types.
Filter by search type.
Match any exact request URL path; unassigned selects charges without a recorded endpoint. Intersects the singular endpoint filter.
Match any HTTP response status code.
Only requests whose total (api + ui) credits consumed are at least this.
Only requests whose total (api + ui) credits consumed are at most this.
IANA timezone, such as Europe/Madrid.
Response
Successful Response
Changes
- warning
deleted the
queryrequest parametercampaign_key - info
added the new optional
queryrequest parametersearch_pattern_key
- warning
- info
added the new optional
queryrequest parametercampaign_key - info
added the new optional
queryrequest parametercredit_end_datetime - info
added the new optional
queryrequest parametercredit_start_datetime - info
added the new optional
queryrequest parametercredit_types - info
added the new optional
queryrequest parameterendpoint - info
added the new optional
queryrequest parameterendpoints - info
added the new optional
queryrequest parametermax_credits_consumed - info
added the new optional
queryrequest parametermin_credits_consumed - info
added the new optional
queryrequest parameterorigins - info
added the new optional
queryrequest parameterstatus_codes - info
added the new optional
queryrequest parametertypes
- info