Get credit balance
Get credit balance. Scoped to the organization named by organization_id.
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: credits:read
organization_id*string^org_Endless-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
available*numberused*numbertotal*numbersubscription_credits*numberpurchase_credits*numberbuckets*array<>usage_cycle_start*string|nullusage_cycle_end*string|nullcurl -X GET 'https://api.endless.app/organizations/org_abc123/credits'{ "available": 0, "used": 0, "total": 0, "subscription_credits": 0, "purchase_credits": 0, "buckets": [ { "kind": "string", "amount": 0, "remaining": 0, "expires_at": "string" } ], "usage_cycle_start": "string", "usage_cycle_end": "string"}Update conversation PATCH
Updates a conversation and returns the updated row. Scoped to the conversation named by `conversation_id`. Send a sparse body — only the fields that changed. Each field is authorized on its own, so resending an unchanged one also demands its permission.
Get credit cycle GET
Get credit cycle. Scoped to the organization named by `organization_id`.