Get credit unit
GET
Reads saved credit state. Missing projections return unavailable, never a zero estimate. Secret and trusted tokens require read permissions.
header
AuthorizationBearer <token>A secret, trusted or limited token. See Authentication.
Success.
application/json- response
object?unknownunit?|nullcurrent_rates?array<>curl -X GET 'https://api.comecero.com/api/v1/usage/credit_unit'Example Response
{ "object": "credit_unit_configuration", "unit": { "object": "credit_unit", "credit_unit_id": "unit_compute", "account_id": "AB1234", "test": true, "name": "Compute", "singular_label": "credit", "plural_label": "credits", "revision": 2, "date_created": "2026-11-01T00:00:00Z", "date_modified": "2026-11-02T00:00:00Z" }, "current_rates": [ { "object": "credit_unit_rate", "credit_unit_rate_id": "rate_compute_usd_1", "credit_unit_id": "unit_compute", "account_id": "AB1234", "test": true, "currency": "USD", "version": 1, "money_per_credit": "0.01", "credits_per_money": "100", "singular_label": "credit", "plural_label": "credits", "date_published": "2026-11-02T00:00:00Z" } ]}Overview
Previous Page
Save credit unit POST
Revision checked credit operation. Secret and trusted tokens require the applicable resource permission. New writes require header idempotency. Immutable rates do not reprice existing agreements. Core validates exact conversion, current funding, prepared work and protected billing boundaries.