integrations

Get Billing Usage

Changed on
get/billing/usage/{metric}

Request

  • Base URL
    https://api.galileo.ai
  • URL
    https://api.galileo.ai/billing/usage/{metric}
  • Auth
    • API key in header Splunk-AO-API-Key
    • or API key in header Galileo-API-Key
    • or OAuth 2
      Password
      Token URL: https://api.galileo.ai/login
    • or HTTP basic

Path parameters

metric'traces' | 'spans' | 'luna_tokens' | 'luna_fine_tuning_runs' | 'total_users' | 'monthly_active_users' required

Query parameters

start_timestring date-time required

Start of time range (UTC)

end_timestring date-time required

End of time range (UTC)

interval'hourly' | 'daily' | 'weekly' | 'monthly' required

Aggregation interval

project_idstring uuid nullable

Optional project filter

Response

Successful Response

metric'traces' | 'spans' | 'luna_tokens' | 'luna_fine_tuning_runs' | 'total_users' | 'monthly_active_users' required
totalinteger
availableboolean
unavailable_reasonstring nullable

Changes

    • warning

      added the new monthly_active_users enum value to the response property for the response status

    • info

      added the new enum value monthly_active_users to the path request parameter metric

    • warning

      added the new total_users enum value to the response property for the response status

    • info

      added the new enum value total_users to the path request parameter metric