---
title: "Get a terminal session corresponding to an id."
method: GET
path: "/api/terminals/{terminal_id}"
tags: ["terminals"]
---

# Get a terminal session corresponding to an id.

`GET /api/terminals/{terminal_id}`

## Path parameters

- `terminal_id` string, required

## Response `200`

Terminal session with given id

- Terminal — A Terminal object
  - `name` string, required — name of terminal
  - `last_activity` string — ISO 8601 timestamp for the last-seen activity on this terminal. Use this to identify which terminals have been inactive since a given time. Timestamps will be UTC, indicated 'Z' suffix.

## Other responses

- `403` — Forbidden to access
- `404` — Not found

## Changes

> 2 revisions in range; 1 could not be searched.

- **2025-12-10** `e9ae9d653401` — 1 breaking
  - removed the media type `application/json` for the response with the status `200`

[Change history](https://skmtc.dev/google/apis/jupyter-server-api/changes/api/terminals/:terminal_id/get.md)

---

[API](https://skmtc.dev/google/apis/jupyter-server-api.md) · [All operations](https://skmtc.dev/google/apis/jupyter-server-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/google/jupyter-server-api/revisions/b6f1ce06c896/schema)
