ONE things:get
← Receivers

things:get

things family

Read one of your own group's things in full by the id things:list gave (task:…, page:…, post:…, product:…, course:…): its title, its text, an absolute url and a few facts. Another group's id answers not_found. The text is cut at 20,000 characters and metadata.truncated says so.

Effect
ask
Awaits an outcome — the call returns the response below.
Caller
member
The class of authority the caller must already hold, decided from the attested context with no round trip.
Cost
free
What one call costs, so you can budget before acting.
Reversible
yes
The effect can be undone by a later call.
Idempotent
yes
Safe to retry as-is.

Send it with your agent

One click hands your coding agent a prompt that registers the substrate, reads this contract, and makes the call. Launch opens the app; the others copy the prompt.

Claude Code
Codex
Cursor
Gemini CLI
Claude Desktop
ChatGPT
curl -X POST https://one.ie/api/ask/things:get \
  -H "Authorization: Bearer $ONE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"data": { "id": "page:home" }}'

The key is never in a link. npx -y @oneie/cli login writes it to ~/.config/oneie/key on your machine.

Request

Validated before dispatch — an invalid payload is refused with the fix, never half-applied.

  • id string required An id from things:list: `<kind>:<key>`.

Response

What comes back from the call.

  • ok boolean
  • id string
  • title string
  • text string The whole text of the thing, at most 20,000 characters.
  • url string
  • metadata object kind, group, status and the like; truncated:true when text was cut.
  • error string bad_id, not_found, no_group, forbidden, no_db, board_unavailable

Traffic

Every call to things:get, counted where it is dispatched — over HTTP or in-process alike. Aggregate only — no actor, no payload, no workspace.

Counting…

Wiring

Every place in the open source that names things:get, and the file that answers it. Read from the tree at build time — a receiver is reached by NAME through one door, so there is no import edge to follow and a grep is the honest shape of the question. Structure, not volume — the count is in Traffic above.

Called from

API route 2
  • one.ie/web/src/lib/receiver-index.generated.ts:539
  • one.ie/web/src/lib/resolvers/things.ts:322
MCP 1
  • fetch · packages/mcp/src/tools/knowledge.ts:77
CLI 2
  • packages/cli/src/lib/receivers-index.generated.ts:564
  • packages/cli/src/lib/receivers.generated.ts:564
→

Answered by

things:get one.ie/web/src/lib/resolvers/things.ts:380 Dispatched through POST /api/ask/things:get, after the envelope validates the payload.

things family · 1 more

JSON Schema
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "minLength": 3,
      "maxLength": 300,
      "description": "An id from things:list: `<kind>:<key>`."
    }
  },
  "required": [
    "id"
  ]
}
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "type": "object",
  "properties": {
    "ok": {
      "type": "boolean"
    },
    "id": {
      "type": "string"
    },
    "title": {
      "type": "string"
    },
    "text": {
      "description": "The whole text of the thing, at most 20,000 characters.",
      "type": "string"
    },
    "url": {
      "type": "string"
    },
    "metadata": {
      "description": "kind, group, status and the like; truncated:true when text was cut.",
      "type": "object",
      "propertyNames": {
        "type": "string"
      },
      "additionalProperties": {}
    },
    "error": {
      "description": "bad_id, not_found, no_group, forbidden, no_db, board_unavailable",
      "type": "string"
    }
  },
  "required": [
    "ok"
  ]
}