Scripto docs
View as Markdown

GET /api/articles/[id]/notes

The cheap Brief map — one entry per note (anchor, kind, title, url), never the bodies. Backs scripto note list.

The CLI equivalent is scripto note list <id>.

Returns the cheap Brief map: one entry per note (anchor, kind, title, url), never the bodies. Owner-scoped. For full bodies use GET …/brief or GET …/notes/[nid].

Endpoint

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

Auth

Authorization: Bearer scripto_…

Response (200)

{
  "success": true,
  "data": {
    "notes": [
      { "anchor": "1a2b3c4d", "kind": "source", "title": "Medium import docs", "url": "https://…" },
      { "anchor": "5e6f7a8b", "kind": "decision", "title": "Lead with the install", "url": null }
    ]
  }
}

Errors

HTTPcodeCause
401unauthenticatedMissing or invalid key.
404not-foundNo such article, or you don’t own it.

curl

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

Next