---
title: "Get a thread by ID"
method: GET
path: "/thread/{threadId}"
tags: ["thread"]
---

# Get a thread by ID

`GET /thread/{threadId}`

## Path parameters

- `threadId` string, required

## Response `200`

A thread

- SessionThreads
  - `id` string
  - `name` string
  - `created_on` string, date-time
  - `threads` Thread[]
    - `id` string
    - `session_id` string
    - `name` string
    - `start_time` string, date-time
    - `end_time` string, date-time
    - `input` string
    - `output` string

---

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