Docs
cortecs.aiDedicated ModelsServerless ModelsLogin
  • Introduction
  • DEDICATED INFERENCE
    • Quickstart
    • Provisioning API
      • Authentication
      • User
      • Instances
      • Models
      • Hardware Types
    • Python client
      • Objects
      • Langchain integration
    • Examples
      • Batch jobs
      • Realtime streams
  • SERVERLESS INFERENCE
    • Quickstart
    • About Serverless Routing
    • API
      • Chat Completions
      • Models
  • Discord
Powered by GitBook
On this page
  1. DEDICATED INFERENCE
  2. Provisioning API

User

PreviousAuthenticationNextInstances

Last updated 6 months ago

Retrieve user balance

get

This endpoint retrieves the current balance information of the authenticated user. The request requires a Bearer token in the header for authentication.

Authorizations
Responses
200
Successfully retrieved user balance.
application/json
401
Unauthorized - Bearer token missing or invalid.
500
Internal server error.
get
GET /api/v1/user/balance HTTP/1.1
Host: cortecs.ai
Authorization: Bearer JWT
Accept: */*
{
  "current_balance": 1234.56,
  "currency": "EUR"
}