- X-Jojapi-Gateway-Response: Always has the value
true. Its presence indicates that the response body was generated by the gateway rather than the upstream API — see Gateway Generated Responses for details. - X-Jojapi-Request-Latency: Specifies the completion time for the current request on the gateway. The duration of the request measured by the consumer may be longer.
- X-Jojapi-User-Balance: Specifies the remaining user balance after the current request has been processed. Sent on pay-as-you-go plans only.
Per-object usage headers
Usage is reported per billable object, keyed by the object’s slug:- X-Jojapi-<slug>-Used: The amount of this object consumed by the current request — e.g.
X-Jojapi-Credits-Used, orX-Jojapi-Ai-Tokens-Usedfor an object with the slugai-tokens. - X-Jojapi-<slug>-Remaining: The remaining included quota for this object after the current request. Applies to fixed-price plans.
- X-Jojapi-<slug>-Total-Used: The total amount of this object consumed within the current period after this request. Applies to pay-as-you-go plans only.
credits, so the long-standing X-Jojapi-Credits-Used, X-Jojapi-Credits-Remaining and X-Jojapi-Credits-Total-Used headers are unchanged — they are simply the Credits instance of the per-object scheme.