Credit Consumption
List Credit Usage Sources
Changed onList the endpoints and origins that charged credits to the team in a date range (the last 30 days by default). Use it to pick values for the endpoint and origin filters of the daily credit consumption. unassigned stands for charges with no recorded endpoint or origin, and webhook appears only for charges linked to a webhook event.
get/v0/teams/credits_consumption/facets
Request
- Base URLhttps://api.theirstack.com
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Query parameters
start_datetimestring date-time nullable
end_datetimestring date-time nullable
Response
Successful Response
Changes
- info
endpoint added
- info