# An idea's chat thread

> The chat thread of one idea. Free.

Source: https://firmtape.com/docs/developers/lab/thread

The chat thread of one idea. Free.

`GET /api/lab/thread`

Plan LAB · Key scope lab · Limit Credits; one idea on the conveyor at a time · Version 1.0.0 · Since 2026-08-12

**This endpoint serves:** [LAB: LAB from a script](https://firmtape.com/docs/lab#lab-api). **Plan:** [LAB](https://firmtape.com/features/lab). LAB credits: developing an idea is free, a backtest or an optimize pass is one credit, the desk is free once an idea is tested. LIVE includes 5 credits a month.

## Parameters

| Name | What it does | Default | Error |
| --- | --- | --- | --- |
| `id` (required) query, string | The idea, `i_...`. |  |  |

## Response

The thread.

## Errors

| Status | Code | What to do |
| --- | --- | --- |
| 401 |  | No key, or an unknown or revoked one. Send a `lab` key. |
| 404 |  | No such idea or job. Check the id. |

## Request

```sh
curl \
  -H "Authorization: Bearer $FIRMTAPE_LAB_KEY" \
  "https://firmtape.com/api/lab/thread?id=p_4f2a9c"
```

```python
import os, requests

H = {"Authorization": f"Bearer {os.environ['FIRMTAPE_LAB_KEY']}"}
r = requests.get("https://firmtape.com/api/lab/thread?id=p_4f2a9c", headers=H)
print(r.status_code, r.text[:500])
```

```js
const r = await fetch("https://firmtape.com/api/lab/thread?id=p_4f2a9c", {
  method: "GET",
  headers: { Authorization: `Bearer ${process.env.FIRMTAPE_LAB_KEY}` },
});
console.log(r.status, await r.text());
```

## Changes

- 2026-08-12: Added.
