Teams
Get team credits
GET
Get team credits. Scoped to the team named by team_id.
header
AuthorizationBearer <esk_live_…>A workspace API key created in workspace settings. It acts as the member who created it, narrowed to its abilities, projects and credit limit. Each operation names the ability it needs.
Scope: teams:read
team_id*stringFormat
uuidEndless-Api-Version?stringPin the caller to an API major (1). Omit to accept the current version. A major this deployment cannot serve is refused with 400 unsupported_api_version.
OK
application/json- response
team_used*numberspending_limit*number|nullspending_limit_remaining*number|nullusage_cycle_start*string|nullusage_cycle_end*string|nullcurl -X GET 'https://api.endless.app/teams/0191e5a2-1c40-7b3a-8f21-6d0c2a91f4e7/credits'Example Response
{ "team_used": 0, "spending_limit": 0, "spending_limit_remaining": 0, "usage_cycle_start": "string", "usage_cycle_end": "string"}