Pull this API's OpenAPI, operations, scores and pricing into your own code or AI agent
with a free APIs.io key —
sign in with
GitHub,
Google or
LinkedIn.
No form to fill in; signing in shares your email address with us (Privacy).
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we
store it to create your key and to recognise you if you sign in with another
provider. By signing up you are subscribing to the APIs.io and API Evangelist
newsletters — you can unsubscribe from any issue. See our
Privacy Policy and Terms.
openapi: 3.2.0
info:
title: VAAS-X Public Resolver Neighbours API
description: Public API gateway for VAAS-X. Validates API keys, enforces limits, and proxies to private shards.
version: 1.0.0
tags:
- name: Neighbours
paths:
/neighbours:
get:
summary: Neighbours
description: 'The exact nearest STATES of one stored reading, as ordinary search hits (outcome, source, tags) with the source each cluster belongs to (a `unit:` tag, else the day)
added: what `assess` counts. `like` is an episode id; `latest=true` uses the device''s newest encoded reading. 404 `no_state_vector` for an episode that was not encoded
(text notes, readings before the baseline froze, records with text fields). By default (`resolved_only`) it looks past nearer readings that have no outcome yet and returns the
nearest k that have one, saying how many it skipped: the readings closest to the newest one are its own recent neighbours, which have no outcome yet, and would otherwise
crowd out every resolved situation. `resolved_only=false` returns the plain nearest states. Counted as one query.'
operationId: neighbours_neighbours_get
parameters:
- name: like
in: query
required: false
schema:
type: string
default: ''
title: Like
- name: latest
in: query
required: false
schema:
type: boolean
default: false
title: Latest
- name: device_id
in: query
required: false
schema:
anyOf:
- type: string
- type: 'null'
title: Device Id
- name: k
in: query
required: false
schema:
type: integer
default: 20
title: K
- name: resolved_only
in: query
required: false
schema:
type: boolean
default: true
title: Resolved Only
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
tags:
- Neighbours
components:
schemas:
ValidationError:
properties:
loc:
items:
anyOf:
- type: string
- type: integer
type: array
title: Location
msg:
type: string
title: Message
type:
type: string
title: Error Type
input:
title: Input
ctx:
type: object
title: Context
type: object
required:
- loc
- msg
- type
title: ValidationError
HTTPValidationError:
properties:
detail:
items:
$ref: '#/components/schemas/ValidationError'
type: array
title: Detail
type: object
title: HTTPValidationError
securitySchemes:
HTTPBasic:
type: http
scheme: basic