Skip to content

ThingDetail

ThingDetail = object

Full record shape for a single Thing returned by single-record SDK reads. Returned by client.thing.get and client.thing.resolve, the items[] element type for client.thing.getMany, the base of client.thing.graph, and the return of client.repo.getReadme and getAgents (nullable). Identity fields (wref, name, kind, shape/shapeName) are always populated. data carries the shape-validated payload when present; active is false for retracted reads. The [key: string]: unknown index signature is a forward-compat affordance — current callers should rely on the named fields. Note: list reads — client.thing.head, query, and search — return a thinner row shape (no shape, validatedShape, or committerWref); use client.thing.get to hydrate a full ThingDetail from a list result.

https://docs.warmhub.ai/data-modeling/things/

[key: string]: unknown

wref: string


optional pinnedWref?: string


name: string


kind: string


optional shape?: string


optional shapeName?: string


optional validatedShape?: string


version: number


active: boolean


optional data?: unknown


optional aboutWref?: string


optional committerWref?: string


optional createdByWref?: string


optional metadata?: ThingMetadata