現在のアカウントの Identity 集計統計を取得します。
GET /api/v1/forward/identities/stats
リクエストヘッダー
| Header | 必須 | 説明 |
|---|---|---|
Authorization | はい | Bearer <PAT または SAT> |
レスポンス例
HTTP 200 OK
レスポンスフィールド
| フィールド | 型 | 説明 |
|---|---|---|
total_identities | integer | 現在のアカウントの Identity 総数。 |
active_identities | integer | 最近アクティブだった Identity の数。 |
total_agents | integer | 現在のアカウントで使用された Template の数。 |
total_sessions | integer | 現在のアカウントの Session 総数。 |
エラー
| HTTP | Type | Code | 発生条件 |
|---|---|---|---|
| 401 | authentication_error | authentication_required | PAT または SAT が無効、期限切れ、または指定されていません。 |
| 500 | api_error | - | 統計の取得に失敗しました。 |
注意事項
active_identities は、直近 7 日以内にアクティビティがあった Identity を集計します。