---
title: GET /api/articles/[id]/notes/[nid]
description: Fetch one note's full record — Markdown body and rendered HTML — by anchor. Backs scripto note get.
---

<Note>

The CLI equivalent is `scripto note get <id> <anchor>` (`-o <file>` to write the body).

</Note>

Returns one note's full record (Markdown body + rendered HTML). `nid` is a **note anchor** — any unique prefix of the note id.

## Endpoint

```text
GET https://scripto.codika.io/api/articles/{id}/notes/{nid}
```

## Auth

`Authorization: Bearer scripto_…`

## Response (200)

```json
{
  "success": true,
  "data": {
    "note": {
      "anchor": "1a2b3c4d",
      "kind": "decision",
      "title": "Lead with the install",
      "body": "Every answer starts with `scripto <cmd>`.",
      "url": null,
      "createdBy": "agent",
      "html": "<p>Every answer starts with <code>scripto &lt;cmd&gt;</code>.</p>"
    }
  }
}
```

## Errors

| HTTP | `code` | Cause | `nextAction` |
|---|---|---|---|
| 400 | `invalid-argument` | The anchor is ambiguous. | Use a longer anchor. |
| 404 | `not-found` | No such article, or no note matches the anchor. | Call GET /notes for current anchors. |
| 401 | `unauthenticated` | Missing or invalid key. | — |

## curl

```bash
curl -sS "https://scripto.codika.io/api/articles/$ID/notes/1a2b3c4d" \
  -H "Authorization: Bearer $SCRIPTO_API_KEY"
```

## Next

- **[PATCH .../notes/[nid]](/api-reference/update-note)** — edit it.
- **[DELETE .../notes/[nid]](/api-reference/delete-note)** — remove it.
