General

Get deployment stats

Changed on
get/api/v2/deployment/stats

Request

  • Base URL
    / (relative, and the document was published on a file host, not at the API’s origin)
  • URL
    /api/v2/deployment/stats
  • Auth
    API key in header Coder-Session-Token

Response

OK

aggregated_fromstring date-time

AggregatedFrom is the time in which stats are aggregated from. This might be back in time a specific duration or interval.

collected_atstring date-time

CollectedAt is the time in which stats are collected at.

next_update_atstring date-time

NextUpdateAt is the time when the next batch of stats will be updated.

Changes