Skip to content

Find locations, systems, components and catalog entries by name

GET
/search
curl --request GET \
--url 'https://example.com/api/v1/search?q=auditorium&limit=8'

The read behind the command palette. Returns up to limit hits of each kind whose name or label holds q, case-insensitively, best match first (exact, then prefix, then the rest by name). Locations, systems and components are searched inside the caller’s own read scope for each kind, so nothing outside it appears; a caller with no scope for a kind gets an empty group, not an error. Each fleet hit carries its location_path, so many components with one name are told apart. Catalog hits cover products (product:read), drivers (driver:read), calc rules and event rules (rule:read) and metrics (metric_type:read), each only for a caller who holds that permission. Gated by location:read, the floor of every fleet reader; the component group also needs component:read.

q

The text to find, matched case-insensitively anywhere in a name or label

string
>= 1 characters <= 200 characters

The text to find, matched case-insensitively anywhere in a name or label

limit

The most hits returned for each kind

integer format: int64
default: 8 >= 1 <= 20

The most hits returned for each kind

OK

Media type application/json
object
$schema

A URL to the JSON Schema for this object.

string format: uri
catalog
required

Catalog hits across products, drivers, calc rules, event rules and metrics, best match first, at most limit of each kind

Array<object> | null
object
detail

A short qualifier: a product’s vendor, a driver’s version, a metric’s unit

string
kind
required

Which catalog the entry belongs to; the console opens its drawer on that catalog’s page

string
Allowed values: product driver calc_rule event_rule metric
label

The entry’s display label

string
name
required

The entry’s name, its address in the catalog

string
components
required
Array<object> | null
object
id
required

The entity’s uuid, the address its page opens at

string
label

The entity’s display label, when it has one

string
location

A system’s address: the label (the name when it has none) of the location it sits at, when the caller may read that location. A company names its rooms (the system’s label) and addresses them (the location), and the console shows both

string
location_path

The locations it sits under, outermost first, joined with ’ / ’. Empty for a component that has no location of its own and is in a system; its system field says where it is

string
name
required

The entity’s name; many components share one, the location_path tells them apart

string
system

A component’s primary system, when it has one

string
locations
required
Array<object> | null
object
id
required

The entity’s uuid, the address its page opens at

string
label

The entity’s display label, when it has one

string
location

A system’s address: the label (the name when it has none) of the location it sits at, when the caller may read that location. A company names its rooms (the system’s label) and addresses them (the location), and the console shows both

string
location_path

The locations it sits under, outermost first, joined with ’ / ’. Empty for a component that has no location of its own and is in a system; its system field says where it is

string
name
required

The entity’s name; many components share one, the location_path tells them apart

string
system

A component’s primary system, when it has one

string
systems
required
Array<object> | null
object
id
required

The entity’s uuid, the address its page opens at

string
label

The entity’s display label, when it has one

string
location

A system’s address: the label (the name when it has none) of the location it sits at, when the caller may read that location. A company names its rooms (the system’s label) and addresses them (the location), and the console shows both

string
location_path

The locations it sits under, outermost first, joined with ’ / ’. Empty for a component that has no location of its own and is in a system; its system field says where it is

string
name
required

The entity’s name; many components share one, the location_path tells them apart

string
system

A component’s primary system, when it has one

string

Example

{
"$schema": "/api/v1/schemas/SearchOutputBody.json",
"catalog": [
{
"kind": "product"
}
]
}

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"
}