Token Kiosk
API Reference

Overview

Base URL, authentication, and the full endpoint list.

Base URL: https://agent-router.gaib.ai

All endpoints are under /v1/ except /health.

Machine-readable spec

The full API is published as an OpenAPI 3.1 spec — point your agent, SDK generator, or API client at it. For LLM context, /llms.txt indexes the docs and /llms-full.txt is every page as one markdown file.

Authentication

MethodUsed for
API keyAuthorization: Bearer sk-<64 hex>Inference, usage queries
SIWE — signed message + signatureAPI key management
x402 — payment signatureTop-up

See Authentication for details.

Endpoints

EndpointMethodAuthDescription
/healthGETHealth check
/v1/modelsGETList models with pricing
/v1/topupPOSTx402Fund balance with USDC or USDT
/v1/topups/:walletGETAPI key / SIWEList top-up history
/v1/auth/keysPOSTSIWECreate API key
/v1/auth/keysGETSIWEList API keys
/v1/auth/keys/:idDELETESIWERevoke API key
/v1/chat/completionsPOSTAPI keyInference (OpenAI-compatible)
/v1/usage/:walletGETAPI key / SIWEBalance & usage stats
/v1/balance/:walletGETAvailable balance only

Health

GET /health

curl https://agent-router.gaib.ai/health
{ "status": "ok" }

On this page