トレーニング・アーキタイプ API¶
ユーザーの行動とモチベーションを、実践的なアーキタイプとプログラム戦略の推奨にマッピングする。
エンドポイント¶
GET /api/v1/fitness/training-archetypePOST /api/v1/fitness/training-archetype/post
パラメータ¶
| 名前 | タイプ | 必須 | クエリ/ボディ | 説明 |
|---|---|---|---|---|
preferred_training_style | 文字列 | はい | クエリ/ボディ | strength,endurance,hybrid,functional,mind_body。 |
recovery_rate | 数値 (1-10) | はい | クエリ/ボディ | 自己評価による回復スコア。 |
motivation_type | 文字列 | はい | クエリ/ボディ | intrinsic,competitive,social,data_driven,habit_based。 |
goal | 文字列 | はい | クエリ/ボディ | fat_loss,muscle_gain,performance,maintenance,recomposition。 |
lang | 文字列 | いいえ | クエリ | レスポンス言語 (en,es,de,fr,pt,ja,hi,ar)。 |
このエンドポイントを使用する理由¶
- 一般的な目標テンプレートを超えた、パーソナライズされたトレーニングの UX を提供する。
- プログラムの意思決定に、燃え尽きのリスクに関するインテリジェンスを追加する。
- アーキタイプに適合した計画スタイルを通じて、アドヘランスを向上させる。
リクエストの例¶
curl -X GET "https://api.hefitapi.com/api/v1/fitness/training-archetype?preferred_training_style=hybrid&recovery_rate=6.8&motivation_type=data_driven&goal=recomposition&lang=en" \
-H "X-API-Key: YOUR_API_KEY"
curl -X POST "https://api.hefitapi.com/api/v1/fitness/training-archetype/post?lang=en" \
-H "Content-Type: application/json" \
-H "X-API-Key: YOUR_API_KEY" \
-d '{"preferred_training_style":"strength","recovery_rate":5.4,"motivation_type":"competitive","goal":"performance"}'
レスポンスの例¶
Info
以下のレスポンスの例は、デモンストレーションのみを目的としています。 このエンドポイントに対してライブリクエストを実行して、完全でリアルタイム、および可能性のあるより詳細な JSON 構造を受け取ってください。
{
"preferred_training_style": "hybrid",
"preferred_training_style_label": "Hybrid",
"recovery_rate": 6.8,
"motivation_type": "data_driven",
"motivation_type_label": "Data Driven",
"goal": "recomposition",
"goal_label": "Recomposition",
"athlete_archetype": {"type": "adaptive_hybrid", "type_label": "Adaptive Hybrid", "insight": "You respond well to varied stimulus with structure."},
"ideal_program_style": {"type": "dual_focus_rotation", "type_label": "Dual Focus Rotation", "insight": "Alternate emphasis while maintaining total consistency."},
"burnout_risk_pattern": {"score": 55, "level": "moderate", "level_label": "Moderate", "insight": "Manage intensity clustering to avoid cumulative fatigue."},
"strategic_recommendation": ["Use planned intensity waves and recovery anchors"],
"next_review_window_days": 21,
"summary": "Hybrid profile with moderate burnout risk and strong adaptability.",
"language": "en",
"_enterprise": {"client": "Acme Health", "plan": "pro", "request_id": "1582fd58511dbe57", "quota": 120, "usage_tracking": true},
"_api_metadata_": {"endpoint_name": "fitness_training_archetype", "response_language": "en"}
}
製品のポジショニング¶
エンタープライズコーチングおよびプレミアムトレーニング製品向けの、高インパクトのパーソナライズエンドポイント。
Note
recovery_rate は 1 と 10 の間でなければなりません。
推奨されるエンドポイント¶
GET /api/v1/fitness/adaptive-training-load- Adaptive Training Load APIGET /api/v1/fitness/fasted-training-risk- Fasted Training Risk APIGET /api/v1/bmi- Bmi APIGET /api/v1/tdee- Tdee APIGET /api/v1/bmr- Bmr APIGET /api/v1/protein-calculator- Protein Calculator API