Usage

GEThttps://zylai-a779.zyllion.network/v1/usage

info

Feel free to use the Zyllion2025 as a test Bearer Token

Retrieve the current token usage for the authenticated user.

  • user: Authenticated user information (through HTTP Bearer header)

  • Returns: Usage statistics for the user's token consumption

Example

# Retrieves token usage for the logged-in user
usage = await get_usage(user)

Responses

  • 200

Successful Response

  • application/json

  • Schema

  • Example (auto)

  • curl

  • dart

  • go

  • http

  • java

  • javascript

  • kotlin

  • c

  • nodejs

  • objective-c

  • ocaml

  • php

  • powershell

  • python

  • r

  • ruby

  • rust

  • shell

  • swift

  • HTTPCLIENT

  • RESTSHARP

var client = new HttpClient();
var request = new HttpRequestMessage(HttpMethod.Get, "https://zylai-a779.zyllion.network/v1/usage");
request.Headers.Add("Accept", "application/json");
request.Headers.Add("Authorization", "Bearer <TOKEN>");
var response = await client.SendAsync(request);
response.EnsureSuccessStatusCode();
Console.WriteLine(await response.Content.ReadAsStringAsync());

RequestCollapse all

Send API RequestResponseClear

Click the Send API Request button above and see the response here!

Last updated