ReferenceHTTP APIShapes
Shapes: V
Named input and output shapes starting with V, referenced from the router pages.
Each shape is a TypeScript-style rendering of the validation schema. ? marks an optional field; self is a recursive reference.
VacuumControlStatusSchema
{
state: VacuumStateSchema
batteryLevel: number | null
fanSpeed: string | null
availableFanSpeeds: string[]
progress: number | null
errorCode: number | null
errorLabel: string | null
lastChangedAt: number
}VacuumStateSchema
"idle" | "cleaning" | "paused" | "returning" | "docked" | "drying" | "error"ValveStateSchema
"open" | "opening" | "closing" | "closed" | "stopped"ValveStatusSchema
{
state: ValveStateSchema
position: number | null
lastChangedAt: number
}VectorDeclareIndexInputSchema
{
index: string
dim: number
metric?: VectorMetricSchema = "cosine"
}VectorDeleteByFilterInputSchema
{
index: string
filter: VectorFilterSchema
}VectorDeleteInputSchema
{
index: string
ids: string[]
}VectorDeleteResultSchema
{
deleted: number
}VectorFilterSchema
{
equals?: Record<string, string | number | boolean>
between?: Record<string, [number, number]>
}VectorGetInputSchema
{
index: string
ids: string[]
}VectorGetResultSchema
{
items: ({ id: string; metadata: VectorMetadataSchema })[]
}VectorItemSchema
{
id: string
vector: string
metadata: VectorMetadataSchema
}VectorMatchSchema
{
id: string
score: number
metadata: VectorMetadataSchema
}VectorMetadataSchema
Record<string, string | number | boolean>VectorMetricSchema
"cosine" | "dot" | "euclidean"VectorQueryInputSchema
{
index: string
vector: string
topK: number
minScore?: number
filter?: VectorFilterSchema
}VectorQueryResultSchema
{
matches: VectorMatchSchema[]
scanned: number
truncated: boolean
effectiveTopK: number
}VectorStatsInputSchema
{
index: string
}VectorStatsResultSchema
{
backend: string
count: number
dim: number
metric: VectorMetricSchema
bytes?: number
exact: boolean
}VectorUpsertInputSchema
{
index: string
items: VectorItemSchema[]
}VectorUpsertResultSchema
{
upserted: number
rejected: number
}VehicleRefreshRefusalSchema
"not-supported" | "budget-exhausted" | "in-progress" | "too-soon" | "vehicle-unreachable" | "account-error"VehicleRefreshResultSchema
| { ok: true; reportedAt: number | null }
| { ok: false; reason: VehicleRefreshRefusalSchema; retryAt: number | null }VehicleStatusSchema
{
odometer: number | null
range: number | null
engineOn: boolean | null
doors: VehicleWheelOpeningsSchema
windows: VehicleWheelOpeningsSchema
trunkOpen: boolean | null
hoodOpen: boolean | null
sunroofOpen: boolean | null
tyreWarnings: VehicleTyreWarningsSchema
auxBatteryLevel: number | null
auxBatteryVoltage: number | null
reportedAt: number | null
lastChangedAt: number
}VehicleTyreWarningsSchema
{
frontLeft: boolean | null
frontRight: boolean | null
rearLeft: boolean | null
rearRight: boolean | null
}VehicleWheelOpeningsSchema
{
frontLeft: boolean | null
frontRight: boolean | null
rearLeft: boolean | null
rearRight: boolean | null
}VibrationStatusSchema
{
detected: boolean
lastChangedAt: number
}