Insights

Sum agent token usage per raw phase across merged Trails in a window

Changed on
get/api/v1/insights/{forge}/{project}/trail-activity-summary

Request

  • Base URL
    https://entire.io (the document declares no server; this is the origin it was published from)
  • URL
    https://entire.io/api/v1/insights/{forge}/{project}/trail-activity-summary
  • Auth
    none declared

Path parameters

forge'gh' | 'et' required
projectstring required

Query parameters

repo_idstring required

Public repo_<group> ID

sincestring date-time

Inclusive lower bound on merge time.

untilstring date-time

Exclusive upper bound on merge time.

Response

Phase totals; trails_with_phases counts Trails with any phase row, including zero-token ones. Phase names are raw and may grow.

trails_with_phasesinteger required

Changes

    • warning

      changed the pattern of the query request parameter repo_id from ^(?:repo_)?[0-7][0-9A-HJKMNP-TV-Z]{25}$ to ^repo_[0-7][0-9A-HJKMNP-TV-Z]{25}$

    • warning

      changed the pattern of the query request parameter repo_id from ^[0-7][0-9A-HJKMNP-TV-Z]{25}$ to ^(?:repo_)?[0-7][0-9A-HJKMNP-TV-Z]{25}$