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 Devices API
description: Public API gateway for VAAS-X. Validates API keys, enforces limits, and proxies to private shards.
version: 1.0.0
tags:
- name: Devices
paths:
/devices/{device_id}/fit:
post:
summary: Fit My Device Model
description: 'Fit the estimator of one of the caller''s numeric devices now (it also fits by itself in the background once the device has encoded readings, and refits after 25 more
resolved outcomes or 14 days). Validated on whole held-out sources; the answer is the model card, which says whether it may produce a probability (`active`), only ranks
(`rank_only`) or is not validated, and why. At most one fit per device per hour. Changes no stored episode.'
operationId: fit_my_device_model_devices__device_id__fit_post
parameters:
- name: device_id
in: path
required: true
schema:
type: string
title: Device Id
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
tags:
- Devices
/devices/{device_id}/model:
get:
summary: My Device Model
description: The model card of one of the caller's devices (what it was trained on, how well it did on sources it had not seen, whether it may give a probability), or null if none yet.
operationId: my_device_model_devices__device_id__model_get
parameters:
- name: device_id
in: path
required: true
schema:
type: string
title: Device Id
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
tags:
- Devices
/devices/{device_id}/reindex:
post:
summary: Reindex My Device
description: 'Rebuild the exact state index of one of the caller''s devices from everything it has stored: the baseline is learned from the whole history, so readings from before a live
baseline would have been set (and any stored before the index existed) become searchable by value. Safe to repeat. Does not change any stored episode.'
operationId: reindex_my_device_devices__device_id__reindex_post
parameters:
- name: device_id
in: path
required: true
schema:
type: string
title: Device Id
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
tags:
- Devices
/devices/{device_id}/fields:
get:
summary: Get Field Notes
description: 'What the owner has said the fields of this device mean: {"fields": {name: meaning}}.'
operationId: get_field_notes_devices__device_id__fields_get
parameters:
- name: device_id
in: path
required: true
schema:
type: string
title: Device Id
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
tags:
- Devices
put:
summary: Put Field Notes
description: 'Replace this device''s field notes with the ones sent ({"fields": {"watchers_count": "the star count"}}). A blank meaning removes that note; an empty object removes all. The device does
not need to have data yet. Only the owner''s key can do this: an agent connected to the memory cannot change what a field means.'
operationId: put_field_notes_devices__device_id__fields_put
parameters:
- name: device_id
in: path
required: true
schema:
type: string
title: Device Id
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/FieldNotesRequest'
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
tags:
- Devices
delete:
summary: Delete Field Notes
operationId: delete_field_notes_devices__device_id__fields_delete
parameters:
- name: device_id
in: path
required: true
schema:
type: string
title: Device Id
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
tags:
- Devices
/devices/{device_id}:
delete:
summary: Delete My Device
description: Permanently delete everything stored under one of the caller's device names. `confirm` must repeat the name exactly.
operationId: delete_my_device_devices__device_id__delete
parameters:
- name: device_id
in: path
required: true
schema:
type: string
title: Device Id
- name: confirm
in: query
required: false
schema:
type: string
default: ''
title: Confirm
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
tags:
- Devices
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
FieldNotesRequest:
properties:
fields:
additionalProperties: true
type: object
title: Fields
type: object
required:
- fields
title: FieldNotesRequest
securitySchemes:
HTTPBasic:
type: http
scheme: basic