← 返回
开发者工具 Key 中文

Venice Admin

Venice AI account administration - check balance, view usage history, and manage API keys. Requires an Admin API key.
{"answer":"Venice AI 账户管理 - 查询余额、查看使用历史及管理 API 密钥。需要管理员 API 密钥。"}
sabrinaaquino
开发者工具 clawhub v1.0.1 1 版本 99916.8 Key: 需要
★ 3
Stars
📥 1,141
下载
💾 4
安装
1
版本
#latest

概述

Venice Admin

Manage your Venice AI account - check balance, view usage history, and manage API keys.

⚠️ Important: These endpoints require an Admin API key, not a regular inference key. Create one at venice.ai → Settings → API Keys → Create Admin Key.

API Base URL: https://api.venice.ai/api/v1

Setup

  1. Create an Admin API key from venice.ai → Settings → API Keys
  2. Set the environment variable:
export VENICE_API_KEY="your_admin_api_key_here"

Check Balance

View your current DIEM and USD balances.

uv run {baseDir}/scripts/balance.py

Output includes:

  • Whether you can consume (has balance)
  • Current consumption currency (DIEM or USD)
  • DIEM balance and epoch allocation
  • USD balance

View Usage History

View detailed usage history with filtering and pagination.

uv run {baseDir}/scripts/usage.py

Options:

  • --currency: Filter by currency: DIEM, USD, VCU (default: DIEM)
  • --start-date: Start date filter (ISO format: 2024-01-01)
  • --end-date: End date filter (ISO format: 2024-12-31)
  • --limit: Results per page (default: 50, max: 200)
  • --page: Page number (default: 1)
  • --sort: Sort order: asc or desc (default: desc)
  • --format: Output format: json or csv (default: json)
  • --output: Save to file instead of stdout

Examples:

# Last 50 DIEM transactions
uv run {baseDir}/scripts/usage.py

# USD usage in January 2024
uv run {baseDir}/scripts/usage.py --currency USD --start-date 2024-01-01 --end-date 2024-01-31

# Export to CSV
uv run {baseDir}/scripts/usage.py --format csv --output usage.csv

List API Keys

View all your API keys.

uv run {baseDir}/scripts/api_keys_list.py

Output includes:

  • Key ID and name
  • Key type (Admin, Inference, etc.)
  • Creation date
  • Last used date
  • Rate limits

Runtime Note

This skill uses uv run which automatically installs Python dependencies (httpx) via PEP 723 inline script metadata. No manual Python package installation required - uv handles everything.


Security Notes

  • Admin keys have elevated permissions - protect them carefully
  • Admin keys can view billing info and manage other keys
  • Never commit admin keys to version control
  • Consider using inference-only keys for production workloads

API Reference

| Endpoint | Description | Auth Required |

|----------|-------------|---------------|

| GET /billing/balance | Check DIEM/USD balance | Admin key |

| GET /billing/usage | View usage history | Admin key |

| GET /api_keys | List all API keys | Admin key |

Full API docs: docs.venice.ai

版本历史

共 1 个版本

  • v1.0.1 当前
    2026-03-29 08:27 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

content-creation

Venice API Kit

sabrinaaquino
完整的Venice AI API工具包,涵盖图像生成、视频、音频、嵌入、转录、角色、模型及管理功能。注重隐私...
★ 0 📥 1,618
developer-tools

CodeConductor.ai

larsonreever
AI驱动平台,提供快速全栈开发、智能体、工作流自动化及低代码AI集成的可扩展产品创建。
★ 68 📥 180,111
developer-tools

Gog

steipete
Google Workspace 命令行工具,支持 Gmail、日历、云端硬盘、通讯录、表格和文档。
★ 921 📥 185,783