---
title: "Session"
description: "No title: who, which agent and model, where, when. Active while it has a record from the last 30 minutes."
---

> Documentation Index
> Fetch the complete documentation index at: https://docs.gitpando.com/llms.txt
> Use this file to discover all available pages before exploring further.

Path: Pando API

No title: who, which agent and model, where, when. Active while it has a record from the last 30 minutes.

## Fields

- `Session.id` (string, required)
- `Session.state` (string, required)
  - one of `"active"`, `"inactive"`
- `Session.person` (string, required)
- `Session.machine` (string, required)
- `Session.program` (string, required)
  - one of `"claude-code"`, `"codex"`, `"pi"`, `"opencode"`
- `Session.models` (array<object>, required) — Most answers first, then the latest used.
  - `Session.models.model` (string, required)
  - `Session.models.answers` (integer, required)
- `Session.repo` (string | null, required)
- `Session.branch` (string | null, required)
- `Session.parent` (string | null, required)
- `Session.subagents` (integer, required)
- `Session.started_at` (string | null, required)
  - format `date-time`
- `Session.last_at` (string | null, required)
  - format `date-time`
- `Session.prompts` (integer, required)
- `Session.tool_calls` (integer, required)
- `Session.images` (integer, required)
- `Session.redactions` (integer, required)
- `Session.bytes` (integer, required)
- `Session.end` (integer, required) — Where the next piece starts.
- `Session.removed` (array<object>, required)
  - `Session.removed.prompt` (integer, required)
  - `Session.removed.by` (string, required)
  - `Session.removed.at` (string, required)
    - format `date-time`
- `Session.commits` (array<object>, required) — Its pushed commits, oldest first by committer time; within one second, the branch's own order, then sha. At most 500.
  - `Session.commits.repo` (string, required)
  - `Session.commits.sha` (string, required)
  - `Session.commits.branch` (string | null, required)
  - `Session.commits.title` (string, required)
  - `Session.commits.committed_at` (string, required)
    - format `date-time`
  - `Session.commits.on_main` (boolean, required)
  - `Session.commits.model` (string | null, required) — 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.


Source: https://docs.gitpando.com/api/schemas/Session/index.md
