---
title: "Get aggregate totals for a session"
method: GET
path: "/api/logs/sessions/{session_id}/summary"
tags: ["Logging"]
---

# Get aggregate totals for a session

`GET /api/logs/sessions/{session_id}/summary`

Returns aggregate request count, token usage, cost, and duration for a single session.

## Path parameters

- `session_id` string, required

## Response `200`

Session summary retrieved successfully

- object — Aggregate totals for a single parent-request session
  - `session_id` string
  - `count` integer
  - `total_cost` number
  - `total_tokens` integer
  - `started_at` string — Timestamp of the first log in the session (RFC3339 nanos)
  - `latest_at` string — Timestamp of the most recent log in the session (RFC3339 nanos)
  - `duration_ms` integer

## Other responses

- `400` — Bad request
- `500` — Internal server error

---

[API](https://skmtc.net/getbifrost/apis/bifrost-api.md) · [All operations](https://skmtc.net/getbifrost/apis/bifrost-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/getbifrost/bifrost-api/versions/f8cab88f64ea/schema)
