Skip to content

Sessions by last activity, newest first (deleted ones are not listed)

GET
https://app.gitpando.com/v1/monorepos/{owner}/{monorepo}/sessions

Authorisation

  • credentialoptionalHTTP
  • sessionoptionalAPI key in cookie

Path parameters

  • ownerstringrequired

    The monorepo's owner, a namespace (a person's login or an organization). Matched without case.

    pattern: ^[a-z0-9](?:[a-z0-9]|-(?=[a-z0-9])){0,38}$
  • monorepostringrequired

    The monorepo's name within its owner (or an old name). Matched without case.

    pattern: ^[a-z0-9](?:[a-z0-9._]|-(?!-)){0,38}$

Query parameters

  • personoptionalstring

    A login, or @me.

  • agentoptionalclaude-codeorcodexorpioropencode
  • repooptionalstring
  • branchoptionalstring
  • stateoptionalactiveorinactive
  • cursoroptionalstring
  • limitoptionalinteger
    maximum: 100, minimum: 1
    Default: 30

Returns

200

OK

JSON
  • sessionsarray ofobjectrequired
    20 properties
    • idstringrequired
    • stateactiveorinactiverequired
    • personstringrequired
    • machinestringrequired
    • programclaude-codeorcodexorpioropencoderequired
    • modelsarray ofobjectrequired

      Most answers first, then the latest used.

      2 properties
      • modelstringrequired
      • answersintegerrequired
    • repostring | nullrequired
    • branchstring | nullrequired
    • parentstring | nullrequired
    • subagentsintegerrequired
    • started_atstring | nullrequired
      format: date-time
    • last_atstring | nullrequired
      format: date-time
    • promptsintegerrequired
    • tool_callsintegerrequired
    • imagesintegerrequired
    • redactionsintegerrequired
    • bytesintegerrequired
    • endintegerrequired

      Where the next piece starts.

    • removedarray ofobjectrequired
      3 properties
      • promptintegerrequired
      • bystringrequired
      • atstringrequired
        format: date-time
    • commitsarray ofobjectrequired

      Its pushed commits, oldest first by committer time; within one second, the branch's own order, then sha. At most 500.

      7 properties
      • repostringrequired
      • shastringrequired
      • branchstring | nullrequired
      • titlestringrequired
      • committed_atstringrequired
        format: date-time
      • on_mainbooleanrequired
      • modelstring | nullrequired

        The model in force in the session at the commit's time; null when the sessions naming the commit disagree or one has none, the same in every view.

  • next_cursorstring | nullrequired

400

An error

JSON
  • errorobjectrequired
    4 properties
    • codestringrequired
    • messagestringrequired
    • pathsoptionalarray ofstring
    • checksoptionalobject

      GitHub's combined status, plus the required contexts and which are missing.

      6 properties
      • shastring | nullrequired
      • statesuccessorpendingorfailureorerrorormissingorunknownrequired

        success when the merge gate passes; missing when a required context has not reported; unknown while the required checks are (an unforced merge is refused).

      • requiredarray | nullrequired

        Null while unknown.

      • checks_unknownstring | nullrequired

        Why the required checks are unknown, in plain words: "Pando couldn't read this monorepo's required checks; try again", or "pando.toml line 3: expected comma or end of structure; fix it on main, or merge with force". Null otherwise.

      • statusesarray ofobjectrequired

        The latest status per context.

        8 properties
        • shastringrequired
        • contextstringrequired
        • statependingorsuccessorfailureorerrorrequired
        • created_atstringrequired
          format: date-time
        • target_urloptionalstring | null
        • descriptionoptionalstring | null
        • creatoroptionalstring

          The member who posted it (a login); app:<slug> for a status posted with a status token or by a CI integration; hook:<hook id> for a status token from a web hook with no app.

        • appoptionalstring | null

          The CI service that reported it (buildkite, github-actions, ...), stamped by Pando from a status token or a CI integration, never from the body or target_url. Null when a member posted it with their own credential. The web shows the service's mark for a slug it knows.

      • missingoptionalarray ofstring
Navigation

Type to search…

↑↓ navigate↵ selectEsc close