Skip to main content
Identities

Identity の統計を取得する

現在のアカウントの Identity 集計統計を取得します。

GET /api/v1/forward/identities/stats

リクエストヘッダー

Header必須説明
AuthorizationはいBearer <PAT または SAT>

レスポンス例

HTTP 200 OK
{
  "total_identities": 12,
  "active_identities": 8,
  "total_agents": 5,
  "total_sessions": 126
}

レスポンスフィールド

フィールド説明
total_identitiesinteger現在のアカウントの Identity 総数。
active_identitiesinteger最近アクティブだった Identity の数。
total_agentsinteger現在のアカウントで使用された Template の数。
total_sessionsinteger現在のアカウントの Session 総数。

エラー

HTTPTypeCode発生条件
401authentication_errorauthentication_requiredPAT または SAT が無効、期限切れ、または指定されていません。
500api_error-統計の取得に失敗しました。

注意事項

active_identities は、直近 7 日以内にアクティビティがあった Identity を集計します。
ベストプラクティス
Identity の統計を取得する - Qoder