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/
Indexable
Section titled “Indexable”[
key:string]:unknown
Properties
Section titled “Properties”wref:
string
pinnedWref?
Section titled “pinnedWref?”
optionalpinnedWref?:string
name:
string
kind:
string
shape?
Section titled “shape?”
optionalshape?:string
shapeName?
Section titled “shapeName?”
optionalshapeName?:string
validatedShape?
Section titled “validatedShape?”
optionalvalidatedShape?:string
version
Section titled “version”version:
number
active
Section titled “active”active:
boolean
optionaldata?:unknown
aboutWref?
Section titled “aboutWref?”
optionalaboutWref?:string
committerWref?
Section titled “committerWref?”
optionalcommitterWref?:string
createdByWref?
Section titled “createdByWref?”
optionalcreatedByWref?:string
metadata?
Section titled “metadata?”
optionalmetadata?:ThingMetadata
Hit a problem or have a question? Get in touch.