Skip to content

List a component's properties and where each stands

GET
/components/{name}/properties
curl --request GET \
--url https://example.com/api/v1/components/example/properties

Every property the component has: each its product declares, resolved to the component’s own value or the contract default (is_set marks a declared value), each set directly on the component (from_contract false), each a calc rule writes (source_rule), and each only observed or told by a command. Every row but a calculated one carries its reconciliation: want (declared), told (intended), is (observed, worst case across every live instance, naming is_instance) and drift, computed on read. Gated by component:read; an out-of-scope component is a non-disclosing 404.

name
required

The component’s name, or a dotted address (e.g. boi.17c.415a.$comp.display-1)

string

The component’s name, or a dotted address (e.g. boi.17c.415a.$comp.display-1)

OK

Media type application/json
object
$schema

A URL to the JSON Schema for this object.

string format: uri
component
required
string
properties
required
Array<object> | null
object
data_type
required

The declared value type, from the property catalog

string
default_value

The contract default; omitted when the contract sets none

from_contract
required

True when the component’s product declares the property; false for one set directly on the component

boolean
is_set
required

True when the component declares its own value over the contract default

boolean
label

The property’s human label; omitted when unset

string
property_type_id
required

The catalog property’s uuid, the stable form of property_type_name

string
property_type_name
required

The catalog property name

string
reconciliation

Where the property stands: what was declared (want), what a command told the owner (told) and what is observed (is), with drift computed on read. Absent on a property only a calc rule writes, since a calculated value is not what anyone asked for

object
drift
required

True when any live observed instance differs from want; false when nothing is declared, since there is nothing to drift from

boolean
is
required

The observed value, resolved across every live instance of the property (a deleted endpoint’s frozen reading left out): an instance that disagrees with want if any does (the newest such), else the newest observed; null when nothing observes it

is_instance
required

The instance the observed value came from: the endpoint that observed it or the instance its sender named, empty for the owner-level series (and when is is null)

string
told
required

The newest intended value a command set, on any instance; null until commanded

want
required

The declared value, resolved live from the cascade (the owner’s set value, else the contract default); null when nothing declares the property

required
required

Whether the product contract requires a value; always false off-contract

boolean
set_value

The component’s declared value; omitted when the property is unset

source_rule

The calc rule whose calculated sample is the value, by the name it was written under; absent when the value is a declared one or a default

string
source_rule_id

That calc rule’s uuid, the stable form of source_rule

string
value

The effective value: the declared value, else a calc rule’s calculated value, else the contract default; omitted for a property nothing declares or calculates (one only observed or told), whose standing is its reconciliation

value_id

The stored value’s id when set; omitted when the property is unset

string

Example

{
"$schema": "/api/v1/schemas/ComponentPropertiesOutputBody.json"
}

Error

Media type application/problem+json
object
$schema

A URL to the JSON Schema for this object.

string format: uri
detail

A human-readable explanation specific to this occurrence of the problem.

string
errors

Optional list of individual error details

Array<object> | null
object
location

Where the error occurred, e.g. ‘body.items[3].tags’ or ‘path.thing-id’

string
message

Error message text

string
value

The value at the given location

instance

A URI reference that identifies the specific occurrence of the problem.

string format: uri
status

HTTP status code

integer format: int64
title

A short, human-readable summary of the problem type. This value should not change between occurrences of the error.

string
type

A URI reference to human-readable documentation for the error.

string format: uri
default: about:blank

Example

{
"$schema": "/api/v1/schemas/ErrorModel.json",
"detail": "Property foo is required but is missing.",
"instance": "https://example.com/error-log/abc123",
"status": 400,
"title": "Bad Request",
"type": "about:blank"
}