AI Services

Get AI usage metrics

Retrieve the last 30 days of AI usage for the specified application, including token, cost, and request counts.

Admin access required.

get/ai/usage/{appId}

Request

  • Base URL: https://us-central1-paymentgateway-ab783.cloudfunctions.net/api
  • URL: https://us-central1-paymentgateway-ab783.cloudfunctions.net/api/ai/usage/{appId}
  • Auth: HTTP bearer

Path parameters

appIdstring required

Application identifier whose AI usage should be retrieved.

Response

Usage metrics retrieved

appIdstring

Changes

No recorded changes to this operation across all 1 revision of this API.