docs cortecs
cortecs.aiModels
  • Getting started
    • Introduction
    • Quickstart
    • LLM Workers
  • Examples
    • Basics
    • Structured output
    • Batch jobs
    • Multi-agents
    • Realtime streams
  • cortecs-py
    • Python client
      • Objects
    • Integrations
  • API
    • Authentication
    • User
    • Instances
    • Models
    • Hardware Types
  • Discord
Powered by GitBook
On this page
  1. API

User

PreviousAuthenticationNextInstances

Last updated 5 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"
}