Skip to content

GET Get Prop Challenge

Endpoint

GET /prop/challenges/{id}

Description

Returns a customer-owned prop challenge with runtime phase state, latest metric snapshot and latest rule breach.

Authorization

Available for authenticated customer sessions. The challenge must belong to the customer.

Response Example

{
  "challenge": {
    "id": 1,
    "purchase_id": 10,
    "program_id": 1,
    "customer_id": 5,
    "account_login": 2000100,
    "current_phase_index": 1,
    "status": 1,
    "start_time": 1778160000,
    "end_time": 0,
    "created_time": 1778160000,
    "updated_time": 1778160000
  },
  "purchase": {},
  "program": {},
  "phases": [
    {
      "id": 1,
      "challenge_id": 1,
      "program_id": 1,
      "phase_index": 1,
      "phase_type": 0,
      "account_group": "PROP_DEMO_USD",
      "account_login": 2000100,
      "initial_balance": 100000,
      "initial_equity": 100000,
      "final_balance": 0,
      "final_equity": 0,
      "status": 1,
      "status_name": "active",
      "start_time": 1778160000,
      "end_time": 0,
      "created_time": 1778160000,
      "updated_time": 1778160000,
      "latest_metric": {
        "balance": 100000,
        "equity": 104500,
        "profit_target": 4.5,
        "daily_loss": 0,
        "total_loss": 0,
        "trading_days": 3
      },
      "progress": {
        "profit_pct": 4.5,
        "profit_target_pct": 8,
        "profit_target_progress_pct": 56.25,
        "daily_loss_pct": 0,
        "daily_loss_limit_pct": 5,
        "total_loss_pct": 0,
        "total_loss_limit_pct": 10,
        "trading_days": 3,
        "min_trading_days": 5,
        "max_trading_days": 30,
        "max_positions": 10
      }
    }
  ],
  "current_phase": {},
  "latest_metric": {},
  "latest_breach": null
}