Skip to main content

Documentation Index

Fetch the complete documentation index at: https://hubify.com/docs/llms.txt

Use this file to discover all available pages before exploring further.

Costs API

The Costs API surfaces lab compute spend: GPU hours, LLM API calls, and storage. It also provides the live-burn view (pods currently running) and the approval queue (high-cost experiment requests awaiting Captain sign-off).

Get Cost Summary

labId
string
required
Convex ID of the lab.
curl "https://www.hubify.com/api/v1/costs?labId=$LAB_ID" \
  -H "Authorization: Bearer $HUBIFY_TOKEN"
summary
object
required
Aggregated cost data.
experiments
object[]
required
Per-experiment cost records (most recent 200).
The liveRunning.costUsd field is derived at query time from running pods’ hourly rates. It shows your current exposure even before experiments complete.