Check languages and balance
Two reference calls. Any valid key works — no verify:read / verify:submit required.
Use them before POST /v1/projects so language tags and wallets are known.
Languages
curl -s https://api-arbitr.straker.ai/v1/languages \
-H "X-API-Key: abr_live_…"
{
"languages": [
{ "bcp47": "en-us", "name": "English (United States)" },
{ "bcp47": "ja-jp", "name": "Japanese (Japan)" }
],
"page": {
"number": 1,
"has_more": false,
"limit": 2
}
}
Pass languages[].bcp47 as source_language_code and in target_language_codes. name is display only.
The list is one page (has_more is false). See Language codes.
Balance
curl -s https://api-arbitr.straker.ai/v1/credits/balance \
-H "X-API-Key: abr_live_…"
| Field | Meaning |
|---|---|
intelligence_credits |
Remaining AI-stage credits |
used_intelligence_credits |
Intelligence already used |
trust_credits |
Remaining human-stage credits (can be fractional) |
used_trust_credits |
Trust already used |
balance |
Combined remaining figure |
ic_used_cycle / tc_used_cycle |
Usage in the current billing cycle (0 if none) |
cycle_start / cycle_end |
Cycle window, or null if no active subscription |
currency |
"credits" |
abr_test_… returns canned balances and does not charge.
If a live project parks at awaiting_payment, top up in the UI and resume. See Workflows & credits.