---
title: "Get an step by ID"
method: GET
path: "/step/{stepId}"
tags: ["step"]
---

# Get an step by ID

`GET /step/{stepId}`

## Path parameters

- `stepId` string, required

## Response `200`

A step in a thread

- Step
  - `id` string
  - `run_id` string
  - `name` string
  - `type` string
  - `start_time` string, date-time
  - `end_time` string, date-time
  - `model_name` string
  - `model_metadata` object
  - `input_tokens` number
  - `output_tokens` number

---

[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)
