メインコンテンツへスキップ
GET
/
v3
/
enterprise
/
consumption
/
daily
/
service-users
/
{service_user_id}
サービスユーザーの日次消費量を取得
curl --request GET \
  --url https://api.devin.ai/v3/enterprise/consumption/daily/service-users/{service_user_id} \
  --header 'Authorization: Bearer <token>'
{
  "consumption_by_date": [
    {
      "acus": 123,
      "acus_by_product": {
        "cascade": 123,
        "devin": 123,
        "terminal": 123
      },
      "date": 123
    }
  ],
  "total_acus": 123
}

権限

Enterprise レベルの ManageBilling 権限を持つサービスユーザーが必要です。

承認

Authorization
string
header
必須

サービスユーザーの認証情報(接頭辞: cog_)

パスパラメータ

service_user_id
string
必須

クエリパラメータ

time_before
integer | null
time_after
integer | null

レスポンス

成功時のレスポンス

consumption_by_date
ConsumptionByDateResponse · object[]
必須
total_acus
number
必須