GET/api/v1/activity

Get daily activity by model and provider

Rollups per (UTC settlement day, model, provider), newest day first. Without date, the last 30 UTC days. usage is charged USD; byok_usage_inference is the never-charged list estimate of your own provider keys. A plan-bound customer key sees only its identity's cells. 503 means analytics are unavailable; there is no partial result.

認証: AuthorizationヘッダーにBearer形式のAPIキー

クエリパラメータ

  • datestring

    One UTC calendar day (YYYY-MM-DD) between 1970-01-03 and 2105-12-30.

レスポンス

  • 200

    Activity rows.

    レスポンス
    • dataarray<object>必須
      data
      • datestring

        UTC settlement day.

      • modelstring
      • model_permaslugstring
      • endpoint_idstring | null

        Always null.

      • provider_namestring | null
      • usagenumber

        Charged spend, USD.

      • byok_usage_inferencenumber

        List estimate of requests on your own provider keys (never charged), USD.

      • requestsinteger
      • prompt_tokensinteger
      • completion_tokensinteger
      • reasoning_tokensinteger
  • 400

    Malformed or out-of-range date.

    レスポンス
    • errorstring必須

      Human-readable message.

    • codestring

      Stable machine reason, when the route defines one (for example pro_required).

    • actionstring

      Stable remediation action, when the route defines one.

    • detailsobject

      Customer-safe string facts the caller needs to act (for example a suggested identifier).

  • 401

    Missing, unknown or revoked API key.

    レスポンス
    • errorstring必須

      Human-readable message.

    • codestring

      Stable machine reason, when the route defines one (for example pro_required).

    • actionstring

      Stable remediation action, when the route defines one.

    • detailsobject

      Customer-safe string facts the caller needs to act (for example a suggested identifier).

  • 503

    Activity analytics are temporarily unavailable or not configured. May carry Retry-After.

    レスポンス
    • errorstring必須

      Human-readable message.

    • codestring

      Stable machine reason, when the route defines one (for example pro_required).

    • actionstring

      Stable remediation action, when the route defines one.

    • detailsobject

      Customer-safe string facts the caller needs to act (for example a suggested identifier).

リクエスト

curl https://api.experientiallabs.ai/api/v1/activity?date=2026-11-18 \
  -H "Authorization: Bearer YOUR_API_KEY"

レスポンス

{
  "data": [
    {
      "date": "2026-11-18",
      "model": "claude-opus-5.5",
      "model_permaslug": "claude-opus-5.5",
      "endpoint_id": null,
      "provider_name": "anthropic",
      "usage": 12.48,
      "byok_usage_inference": 0,
      "requests": 311,
      "prompt_tokens": 1820455,
      "completion_tokens": 210337,
      "reasoning_tokens": 48120
    }
  ]
}

https://api.experientiallabs.ai/api/v1/activity?date=2026-11-18