Usage History
curl --request GET \
--url https://veogen.studio/api/v1/account/usageimport requests
url = "https://veogen.studio/api/v1/account/usage"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://veogen.studio/api/v1/account/usage', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://veogen.studio/api/v1/account/usage",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://veogen.studio/api/v1/account/usage"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://veogen.studio/api/v1/account/usage")
.asString();require 'uri'
require 'net/http'
url = URI("https://veogen.studio/api/v1/account/usage")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body{
"data": [
{
"id": 123,
"model_key": "<string>",
"generation_type": "<string>",
"amount_usd": 123,
"source": "<string>",
"created_at": "<string>"
}
]
}Account
Usage History
Retrieve a paginated log of your API usage and charges.
GET
/
api
/
v1
/
account
/
usage
Usage History
curl --request GET \
--url https://veogen.studio/api/v1/account/usageimport requests
url = "https://veogen.studio/api/v1/account/usage"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://veogen.studio/api/v1/account/usage', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://veogen.studio/api/v1/account/usage",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://veogen.studio/api/v1/account/usage"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://veogen.studio/api/v1/account/usage")
.asString();require 'uri'
require 'net/http'
url = URI("https://veogen.studio/api/v1/account/usage")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body{
"data": [
{
"id": 123,
"model_key": "<string>",
"generation_type": "<string>",
"amount_usd": 123,
"source": "<string>",
"created_at": "<string>"
}
]
}This page covers the usage history endpoint. For account balance, see Get Account.
Query Parameters
Filter by model slug (e.g.
veo-3.1-fast, gpt-4o-image).Filter by generation type:
video or image.Results per page. Defaults to
25.Response 200 OK
Returns a paginated list of usage records.
Example
curl "https://veogen.studio/api/v1/account/usage?type=video" \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Accept: application/json"
⌘I