Dagon InferenceDocs Console

API

Endpoint reference

The public HTTP surface. The full schemas are in /openapi.json.

On this page

Inference

EndpointAuthPurpose
POST /v1/chat/completionskey or x402OpenAI Chat Completions
POST /v1/responseskey or x402OpenAI Responses
POST /v1/messageskey or x402Anthropic Messages
POST /v1/messages/count_tokenskey with creditFree token count

Catalog and identity

EndpointAuthPurpose
GET /v1/modelsnoneLive models, prices and endpoints
GET /v1/identitynoneThe receipt signing key
GET /v1/payment-methodsnoneWhich payment rails are enabled, top-up bounds

Keys and credits

EndpointAuthPurpose
POST /v1/keysnone (rate limited)Create a key
GET /v1/key, DELETE /v1/keykey (GET also a session)Read or revoke the key
GET /v1/credits, GET /v1/credits/historykey or sessionBalance and credit history
POST /v1/keys/children, GET /v1/keys/children, …/:id/fund, …/:id/reclaim, DELETE /v1/keys/children/:idroot key or sessionChild keys
POST /v1/credits/checkout, POST /v1/credits/reconcilekey or sessionUSDC checkout
POST /v1/credits/purchase, …/purchase/confirm, GET /v1/credits/purchase/:idkeyWallet purchase
GET /v1/credits/near-intents/assets, POST /v1/credits/near-intents, GET /v1/credits/near-intents, GET …/near-intents/:deposit_address, POST …/:deposit_address/checkkey or sessionPay with any coin, when enabled

Receipts

EndpointAuthPurpose
GET /v1/receipts, GET /v1/receipts/:idkey or sessionList and fetch
POST /v1/receipts/verifynoneVerify a receipt

Passkeys and sessions

EndpointAuthPurpose
POST /v1/passkeys/register/options, …/register/verify, …/login/options, …/login/verifynone, or a session to add a devicePasskey login
GET /v1/passkeys, DELETE /v1/passkeys/:id, POST /v1/session/logout, POST /v1/session/logout-allsessionManage passkeys and sessions

Other

EndpointAuthPurpose
POST /v1/provider-applications, POST /v1/provider-applications/:id/verify, POST /v1/provider-applications/:id/resend-code, GET /v1/provider-applications/:idnone / status tokenInference providers applying to be routed: become a provider
GET /healthznone{"ok": true}

Last updated