1. Usage
Power Guard AI
  • Getting Started
    • hello-powerguard (starts here!)
    • ai-controller-guide
    • chat-controller-guide
    • health-controller-guide
    • models-controller-guide
    • usage-controller-guide
  • AI
    • Generate AI responses for form fields
      POST
    • Generate AI text completion
      POST
    • Generate embeddings for input text
      POST
  • Chat
    • Process chat completions
      POST
    • Process chat completions
      POST
  • Health
    • Check API health status
      GET
  • Models
    • List all available models
      GET
    • Get specific model information
      GET
  • Usage
    • Get API usage statistics
      GET
    • Get API usage statistics
      POST
  • Esquemas
    • Schemas
    • CompletionRequest
    • ChatCompletionChoice
    • EmbeddingRequest
    • ChatCompletionFunction
    • FunctionParameters
    • ChatCompletionMessage
    • Message
    • ChatCompletionResponse
    • QuestionModel
    • ChatCompletionToolCall
    • QuestionRequest
    • ChatCompletionUsage
    • Choice
    • QuestionValidationRules
    • Tool
    • ChoiceMessage
    • ToolFunction
    • CompletionResponse
    • DataItem
    • EmbeddingResponse
    • HealthResponseModel
    • ModelCapabilities
    • ModelInfo
    • ResponseModel
    • Role
    • SingleReadOnlyMemory
    • SingleReadOnlySpan
    • Usage
    • UsageModel
    • UsageRequest
  1. Usage

Get API usage statistics

GET
/api/Usage
Returns detailed usage statistics for the API

Requisição

Nenhum

Respostas

🟢200OK
text/plain
Usage statistics returned successfully
Body

Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://ai.thrust.com.br/api/Usage'
Response Response Example
{
    "MonthYear": "string",
    "Model": "string",
    "TotalRequests": 0,
    "TotalTokens": 0,
    "AverageTokensPerRequest": 0,
    "Customer": "string"
}
Modificado em 2025-07-16 20:45:28
Página anterior
Get specific model information
Próxima página
Get API usage statistics
Built with