Skip to content

Entrim publishes no balance endpoint after all - #31

Merged
naturalmoods merged 1 commit into
mainfrom
entrim-no-api
Aug 18, 2026
Merged

naturalmoods merged 1 commit into
mainfrom
entrim-no-api

Conversation

@naturalmoods

Copy link
Copy Markdown
Owner

First real-account check of the two undocumented guesses, using @naturalmoods' own keys. Entrim's is wrong.

The manifest guessed /v1/credits and marked the reading undocumented. On a live account that URL answers 404 — and the guess had been shipping since the first commit, because nobody had a key to check it with.

Two designs worked while it was wrong: the reading never entered the verified total (inferred figures never do), and the run reported a visible error with exit code 1 rather than a green 0.00.

The absence, established without spending a credential

Cheaper and safer than probing, and worth writing down as a technique: on api.entrim.ai a route that does not exist answers 404, while a route that exists answers 401. So an unauthenticated sweep separates them.

paths swept result
/v1/credits /v1/balance /v1/quota /v1/account /v1/usage /v1/user/balance /user/balance /v1/billing/balance /v1/me /v1/users/me/balance /v1/user/info /v1/account/billing /v1/key /v1/subscription all 404
/v1/models 401

That 401 is what makes the models list a key check here rather than a liveness check — the rule CONTRIBUTING gained with straitly (#30). Their docs site has no API reference and no billing page; its only substantive pages are coding plans and editor setup.

So: no-api, a dated note recording all of it, and a key check that requires the key.

Knock-ons

  • provider table: 2 undocumented, 13 no-api (the registry-matching test enforces it)
  • config.example.yaml no longer uses entrim to illustrate balance_url, since that URL is now known not to exist. The field is still the right answer for a provider whose endpoint you find yourself.

neuralwatt is the other inferred one: its /v1/quota does answer, but none of the four guessed paths match. That needs the response shape, which is a separate change.

🤖 Generated with Claude Code

The manifest guessed one at /v1/credits and marked the reading undocumented. On a
live account that URL answers 404, so the guess was wrong — this is the first time
anyone had a key to check it with, and the guess had been shipping since the first
commit.

Two things worked exactly as designed while it was wrong. The reading never entered
the verified total, because undocumented figures never do. And the run reported a
visible error with exit code 1 rather than a green 0.00, because a response that
matches no amount is a failure and not a zero.

The absence was then established without spending a credential, which is both
cheaper and safer than probing: on api.entrim.ai a route that does not exist
answers 404 while a route that exists answers 401, so an unauthenticated sweep
separates the two. All fourteen conventional balance paths answered 404.
/v1/models answered 401, which is what makes it a key check rather than a liveness
check — the rule CONTRIBUTING gained with straitly.

Their documentation site carries no API reference and no billing page; its only
substantive pages cover coding plans and editor setup. So: no-api, a dated note
recording all of the above, and a key check that requires the key.

The provider table drops to two undocumented and thirteen no-api. config.example
no longer uses entrim as the illustration for balance_url, since we now know that
particular URL does not exist — the field is still the right answer for a provider
whose endpoint you find yourself.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
@naturalmoods
naturalmoods merged commit 4dcc33e into main Aug 18, 2026
5 checks passed
@naturalmoods
naturalmoods deleted the entrim-no-api branch August 18, 2026 17:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant